5.2 Status Block: Chapter 5 Control Block and Status Block - Scredit Software User Manual
5.2 Status Block: Chapter 5 Control Block and Status Block - Scredit Software User Manual
5.2 Status Block: Chapter 5 Control Block and Status Block - Scredit Software User Manual
For two-way communication and display screen between DOP series and all brands’ PLC, it needs to input
starting address of response register in status block. The status block in DOP series is a continuous data
block, such as Dm=D10 (length is 8 WORDs = D10-D17). When the control block size is set to 0, the control
block function is disabled. If the control block function is disabled, the status block function is also disabled.
When the status block function is enabled, the external controller, i.e. PLC can know the status of HMI by
writing the setting in status block. 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 Dm ~ Dm+7 (D10 ~ D17).)
Word Number Register
0 Status Register for General Control (GCSR) Dm (D10)
1 Status Register for Screen Number (SNSR) Dm+1 (D11)
2 Status Register for Curve Control (CCSR) Dm+2 (D12)
3 Status Register for Sampling History Buffer (HSSR) Dm+3 (D13)
4 Status Register for Clearing History Buffer (HCSR) Dm+4 (D14)
5 Recipe Status Register (RESR) Dm+5 (D15)
6 Status Register for Recipe Number (RBSR) Dm+6 (D16)
7 Status Register 2 for General Control (GCSR2) Dm+7 (D17)
When the screen is switched, the Bit will be set to ON. After screen switch is completed, the Bit will be
OFF.
When HMI clear the alarm buffer (clear status of alarm buffer function is enabled), the Bit will be set to
ON. After this function is completed, the Bit will be OFF.
When HMI clear the alarm counter (clear status of alarm counter function is enabled), the Bit will be set
to ON. After this function is completed, the Bit will be OFF.
Bit 8 ~ Bit 11 are used to record the users level when HMI is in communication.
Bit
Bit 8 Bit 9 Bit 10 Bit 11
User Level
0 OFF OFF OFF OFF
1 ON OFF OFF OFF
2 OFF ON OFF OFF
3 ON ON OFF OFF
4 OFF OFF ON OFF
5 ON OFF ON OFF
6 OFF ON ON OFF
7 ON ON ON OFF
8 OFF OFF OFF ON
Word Function
0 The last open screen number
The register SNSR (Dm+1) is used to store the last screen number you opened. Every time the screen
is switched, the last screen that the users open (including sub-screen) will be memorized and stored in
this status register (D11).
When sampling general curve or X-Y curve, the curve sampling status flag will be set to be ON (Bit 0 ~
Bit 3 is set to ON). After sampling operation is completed, the curve sampling status flag will be OFF.
When clearing general curve or X-Y curve, the curve clear status flag will be set to be ON (Bit 8 ~ Bit 11
is set to ON). After clear operation is completed, the curve clear status flag will be OFF.
When sampling history buffer, the sampling history buffer flag will be set to be ON (Bit 0 ~ Bit 11 is set
to ON). After sampling operation is completed, the sampling history buffer flag will be OFF.
When clearing history buffer, the clear history buffer flag will be set to be ON (Bit 0 ~ Bit 11 is set to ON).
After sampling operation is completed, the clear history buffer flag will be OFF.
When change status of recipe number is controlled by PLC, the change status of recipe number flag
(Bit 0) is set to ON. After HMI change the status of recipe number and update the RCPNo value, the
change status of recipe number flag will be OFF.
When HMI read one recipe data from PLC, the recipe read status flag (Bit 1) is set to ON. When the
recipe data is read and saved in HMI completely, the recipe read status flag will be OFF.
When HMI send one recipe data to PLC, the recipe write status flag (Bit 2) is set to ON. When the
recipe data is sent and written to PLC completely, the recipe write status flag will be OFF.
Word Function
0 Current recipe number
When recipe number register RCPNo is changed (no matter it is changed by PLC or HMI), the status register
for recipe number (RBSR) (Dm+6) will be updated also. Monitoring this status register for recipe number
(RBSR) can know the current recipe number.
The users can know the current multi-language shown on HMI from the multi-language status value.
When this flag is triggered to ON, it indicates that the printer is printing current display or editing screen.
When this flag is set to OFF, the printer function is disabled.
When this flag is triggered to ON, it indicates that the printer is retracting the paper and aligning the
paper for the next run automatically. When this flag is set to OFF, the printing form feed function is
disabled.