Command block and status words, Types of command block and status words, Type a – B&B Electronics WOP-2121V-N4AE - Manual User Manual
Page 93: Pm designer operation manual

3
PM Designer Operation Manual
3-32
CHAPTER 3 CREATING PANEL APPLICATIONS
3.6. Command Block and Status Words
Your can command the panel to do a variety of things using the command block. The command block is a block of words in 
your controller or the internal memory. The panel scans the control block periodically and performs the specified 
operations according to the contents of the control block. You can decide the size of the command block, the command 
words that are required in the command block, and the rate of scanning the command block, so the overhead of reading 
the command block is minimized.
The panel can provide its status information to you by writing status values to the status words. The status words are in 
your controller or the internal memory. You can decide the status words that are required for your application so the panel 
will not waste time to output useless status values.
3.6.1. Types of Command Block and Status Words
There are three types of control block and status words that you can choose for your application.
3.6.1.1. Type A
■ Type A Command Block 
You can have the following command words for the application and their orders in the command block are adjustable.
Screen Switching Register
You can command the panel to change the main screen or display a window screen by setting this word to the number of 
the desired screen. 
Command Flag Word (Command Flags #0 ~ #15)
The following table describes the function of each bit in the Command Flag Word.
Bit
Function
Description
0 (reserved)
1
Switch Language
Changes the language that the panel displays. 
Parameter One Register: Specifies the number of the desired language 
2
Set Current Recipe 
Number 
Sets the current recipe number of the specified recipe block to the specified 
recipe number. 
Parameter One Register: Specifies the recipe number 
Parameter Two Register: Specifies the recipe block 
Note: You do not need to specify the recipe block if the application has only one 
recipe block. 
3
Read Recipe From PLC
Reads a recipe from the specified address which is defined in the Recipe Block 
dialog box and use that recipe to replace the specified recipe of the specified 
recipe block. 
Parameter One Register: Specifies the recipe number 
Parameter Two Register: Specifies the recipe block 
Note: You do not need to specify the recipe block if the application has only one 
recipe block. 
4
Write Recipe To PLC
Writes the specified recipe of the specified recipe block to the specified address 
which is defined in the Recipe Block dialog box. 
Parameter One Register: Specifies the recipe number 
Parameter Two Register: Specifies the recipe block 
Note: You do not need to specify the recipe block if the application has only one 
recipe block. 
5
Clear Alarm History
Clears the alarm history.
Continued
