0% found this document useful (0 votes)
18 views

Chapter 5 Control Block and Status Block: Revision 05/30/2006, EH00

This document summarizes the control block and status block used for two-way communication between a DOP HMI and a PLC. The control block contains registers that allow the PLC to control the HMI screen number, flags, curves, history, and recipes. The status block contains registers for the HMI to send data to the PLC, including alarm and production information. Setting the addresses of these blocks in the HMI configuration allows the PLC to remotely operate the HMI for monitoring and control.

Uploaded by

ryo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

Chapter 5 Control Block and Status Block: Revision 05/30/2006, EH00

This document summarizes the control block and status block used for two-way communication between a DOP HMI and a PLC. The control block contains registers that allow the PLC to control the HMI screen number, flags, curves, history, and recipes. The status block contains registers for the HMI to send data to the PLC, including alarm and production information. Setting the addresses of these blocks in the HMI configuration allows the PLC to remotely operate the HMI for monitoring and control.

Uploaded by

ryo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Chapter 5 Control Block and Status Block

For two-way communication and display screen between DOP series and all brands’ PLC, it needs to define
the address of HMI control block and status block in Standard tab. Please choose Options > Configuration to
find the Standard tab in Configuration dialog box (Fig. 5.1 and Fig. 5.2).

Fig. 5.1 Configuration settings

Fig. 5.2 Standard tab

Revision 05/30/2006, EH00 5-1


Chapter 5 Control Block and Status Block|ScrEdit Software User Manual

5.1 Control Block

HMI can be controlled via PLC by designating the register from control block settings. The register is a
continuous data block and its length is from 0 to 8 WORDs. The length is different depends on function. For
example, it needs at least 7 WORDs for recipe function. When the control block size is set to 0, the control
block function is disabled. If the control block function is enabled, HMI can judge the operation that
commanded by the external controller by reading the setting in control block rapidly and continuously.

The function and explanation of each WORD are listed below. (In the following table, we assume that the
users use Delta PLC, so the available starting addresses in control block are Dn ~ Dn+7 (D0 ~ D7).)
Word Number Register Number Example
0 Register for designating Screen Number (SNIR) Dn (D0)
1 Control Flag Register (CFR) Dn+1 (D1)
2 Curve Control Register (CUCR) Dn+2 (D2)
3 Register for Sampling History Buffer (HBSR) Dn+3 (D3)
4 Register for Clearing History Buffer (HBCR) Dn+4 (D4)
5 Recipe Control Register (RECR) Dn+5 (D5)
6 Register for designating Recipe Group Number (RBIR) Dn+6 (D6)
7 System Control Flag Register (SCFR) Dn+7 (D7)

„ Register for Designating Screen Number (SNIR)

Word Function
0 Designate screen number

This register SNIR (Dn) is used to designate HMI screen by setting PLC (D0). HMI screen can be switched
automatically by changing D0.

„ Control Flag Register (CFR)

Bit Number Function


0 Enable / disable communication
1 Enable / disable back light
2 Enable / disable buzzer
3 Clear alarm buffer
4 Clear alarm counter
5~7 Reserved
8 Setting user level bit0
9 Setting user level bit1
10 Setting user level bit2
11~15 Reserved

5-2 Revision 05/30/2006, EH00


Chapter 5 Control Block and Status Block|ScrEdit Software User Manual

„ Enable / Disable Communication

Control the HMI communication. When Bit 1 is set to ON, it will disable HMI communication. When Bit 1
is set to OFF, it will enable HMI communication.

„ Enable / Disable Back Light

Control HMI back light. When Bit 1 is set to ON, it will turn off HMI back light. When Bit 1 is set to OFF,
it will turn on HMI back light.

„ Enable / Disable Buzzer

Control HMI buzzer. When Bit 2 is set to ON, it will turn off HMI buzzer. When Bit 1 is set to OFF, it will
turn on HMI buzzer.

„ Clear Control Flag for Alarm Buffer

It is used to clear alarm buffer. Set Bit 3 to be ON to trigger this control flag. It clears alarm buffer when
this flag is triggered to ON. This flag needs be set to OFF and then ON if the users want to trigger again.

„ Clear Control Flag for Alarm Counter

It is used to clear alarm counter. Set Bit 4 to be ON to trigger this control flag. It clears alarm buffer
when this flag is triggered. This flag needs be set to OFF and then ON if the users want to trigger again.

„ Setting User Level

PLC can set the user level of using HMI from Bit 8, Bit 9 and Bit 10. The setting level is from level 0 to
level 7. MSB: Bit 10 and LSB: Bit 8.

„ Curve Control Register (CUCR)

Bit Number Function


0 Curve sampling flag 1
1 Curve sampling flag 2
2 Curve sampling flag 3
3 Curve sampling flag 4
4~7 Reserved
8 Curve clear flag 1
9 Curve clear flag 2
10 Curve clear flag 3
11 Curve clear flag 4
12~15 Reserved

Revision 05/30/2006, EH00 5-3


Chapter 5 Control Block and Status Block|ScrEdit Software User Manual

„ Curve Sampling Control Flag (1-4)

HMI curve (general curve or X-Y curve) sampling is controlled by PLC. When this control flag is
triggered to ON (Bit 0 ~ Bit 3 is set to ON), HMI will sample ONCE by reading continuous data of curve
on HMI screen and convert the data to graph and show on HMI screen. This flag needs be set to OFF
and then ON if the users want to trigger again.

„ Curve Clear Control Flag (1-4)

Clear HMI curve (general curve or X-Y curve) when this control flag is triggered (Bit 8 ~ Bit 11 is set to
ON). This flag needs be set to OFF and then ON if the users want to trigger again.

„ Register for Sampling History Buffer (HBSR)

For the settings of sampling history buffer, the users can refer to the description of “History Setup” in Chapter
2. HMI provides 12 records for tracking sampling register of history buffer. Besides, HMI time interval settings,
sampling or clearing history buffer can be controlled via PLC.
Bit Number Function
0 Control flag for Sampling History Buffer 1
1 Control flag for Sampling History Buffer 2
2 Control flag for Sampling History Buffer 3
3 Control flag for Sampling History Buffer 4
4 Control flag for Sampling History Buffer 5
5 Control flag for Sampling History Buffer 6
6 Control flag for Sampling History Buffer 7
7 Control flag for Sampling History Buffer 8
8 Control flag for Sampling History Buffer 9
9 Control flag for Sampling History Buffer 10
10 Control flag for Sampling History Buffer 11
11 Control flag for Sampling History Buffer 12
12~15 Reserved

„ Control Flag Register for Sampling History Buffer

Controls sampling history buffer operation of HMI by the external controller, i.e. PLC. It will sample 1
time once the control flag is triggered to ON (Bit 1 ~ Bit 12 is set to ON). This flag needs be set to OFF
and then ON if the users want to trigger again.

5-4 Revision 05/30/2006, EH00


Chapter 5 Control Block and Status Block|ScrEdit Software User Manual

„ Register for Clearing History Buffer (HBCR)

Bit Number Function


0 Clear flag of history buffer 1
1 Clear flag of history buffer 2
2 Clear flag of history buffer 3
3 Clear flag of history buffer 4
4 Clear flag of history buffer 5
5 Clear flag of history buffer 6
6 Clear flag of history buffer 7
7 Clear flag of history buffer 8
8 Clear flag of history buffer 9
9 Clear flag of history buffer 10
10 Clear flag of history buffer 11
11 Clear flag of history buffer 12
12~15 Reserved

„ Clear flag of history buffer

HMI history buffer can be cleared by the external controller, i.e. PLC. Once the control flag is triggered
to ON (Bit 1 ~ Bit 12 is set to ON), it will clear HMI history buffer ONCE. This flag needs be set to OFF
and then ON if the users want to trigger again.

„ Recipe Control Register (RECR)

Bit Number Function


0 Change recipe group number
1 Read recipe (PLC → HMI)
2 Write recipe (HMI → PLC)
3~15 Reserved

„ Control flag for changing recipe group number

RCPNo is the internal system register used for designating recipe group number. RCPNo value can be
changed by writing recipe group number (N) into Designated Recipe Group Number Register (RBIR)
Dn+6 and trigger this control flag to ON (Bit 0 is set to ON). After setting, RCPNo will be changed to N
automatically. This flag needs be set to OFF and then ON if the users want to trigger again.

„ Control flag for reading recipe

Before reading a recipe from PLC, the users should designate the recipe group number (N) first
(Please refer to the section “Control flag for changing recipe group number”). Then, trigger this control
flag to ON (Bit 1 is set to ON). After setting, the recipe will be read from PLC and stored in designating
area of HMI. This flag needs be set to OFF and then ON if the users want to trigger again.

Revision 05/30/2006, EH00 5-5


Chapter 5 Control Block and Status Block|ScrEdit Software User Manual

„ Control flag for writing recipe

Before writing a recipe to PLC, the users should designate the recipe group number (N) first (Please
refer to the section “Control flag for changing recipe group number”). Then, trigger this control flag to
ON (Bit 2 is set to ON). After setting, the recipe will be written to PLC. This flag needs be set to OFF
and then ON if the users want to trigger again.

„ Register for designating Recipe Group Number (RBIR)

Word Function
0 Designate receipt group number which

By writing recipe group number (N) into Designated Recipe Group Number Register (RBIR), RCPNo value
can be changed. The users can use the control flag for changing recipe group number of Recipe Control
Register (RECR) to write recipe group number (N) into Designated Recipe Group Number Register (RBIR)
and change RCPNo value.

„ System Control Flag Register (SCFR)

Bit Number Function


0 Multi-language setting value Bit 0
1 Multi-language setting value Bit 1
2 Multi-language setting value Bit 2
3 Multi-language setting value Bit 3
4 Multi-language setting value Bit 4
5 Multi-language setting value Bit 5
6 Multi-language setting value Bit 6
7 Multi-language setting value Bit 7
8 Printer flag
9 Printer form feed flag
10~15 Reserved

„ Multi-language Setting Value

Store the designating multi-language setting value into this register and command HMI to switch to the
designating language according to the settings in this register.

„ Printer Flag

When this flag is triggered to ON, the current display or editing screen can be printed out. When this
flag is set to OFF, the printer function is disabled.

„ Printer Form Feed Flag

When this flag is triggered to ON, the printer will retract the paper and align the paper for the next run
automatically. When this flag is set to OFF, the printing form feed function is disabled.

5-6 Revision 05/30/2006, EH00

You might also like