TSL Automation Solutions Logo
Chapter 3: Creating Panel Applications: 54 topics
  1. 3.1Setting up the Panel Application
  2. 3.1.1General Setup - General Settings
  3. 3.1.2General Setup - Custom Settings
  4. 3.1.3Activating Multiple Overlapped Buttons by One Touch
  5. 3.1.4Specifying Default Folder for File I/O
  6. 3.1.5Avoiding Data Corruption Due To Random Power-off
  7. 3.2Working with Keys
  8. 3.2.1Default Key Settings for the Panel Application
  9. 3.2.2Key Settings for a Screen
  10. 3.2.3Key Usage Table Settings
  11. 3.2.4Usage Settings for a Key
  12. 3.3Internal Memory
  13. 3.3.1Types of Internal Memory
  14. 3.3.2Index Registers
  15. 3.3.3System Memory
  16. 3.3.4Setting up Internal Memory
  17. 3.4Communication Links
  18. 3.4.1Types of Communication Links
  19. 3.4.2General Settings for Commnunication Links
  20. 3.4.3Communication Parameter Settings (Serial Port)
  21. 3.4.4Communication Parameter Settings (Ethernet Port)
  22. 3.4.5Sub-link Settings
  23. 3.4.6Sharing Data among Panels Using Data Sharer
  24. 3.4.7Writing Communication Programs Using Macro Commands
  25. 3.4.8Using Gateway Server of the Target Panel
  26. 3.4.8.1Setting up Gateway Service
  27. 3.4.9Selecting Modbus Communication Drivers
  28. 3.4.10Accessing Internal Memory through Ethernet
  29. 3.4.11Accessing Siemens PLC through Ethernet
  30. 3.4.12Using the OPC UA Client Driver
  31. 3.5Sound Table
  32. 3.6Command Block and Status Words
  33. Types of Command Block and Status Words
  34. 3.6.1.1Command & Status - Type A
  35. 3.6.1.2Command & Status - Type H (Binary)
  36. 3.6.1.3Command & Status - Type H (BCD)
  37. 3.6.2Command & Status - General Settings
  38. 3.6.3Command Block Settings (Type A)
  39. 3.6.4Status Word Settings (Type A)
  40. 3.6.5Command Block Settings (Type H)
  41. 3.6.6Status Word Settings (Type H)
  42. 3.6.7Using General Commands
  43. 3.7Setting up Clock Operations
  44. 3.8Setting up Passwords
  45. Screens
  46. 3.9.1Types of Screens
  47. 3.9.2Creating and Opening Screens
  48. 3.9.3Setting up a Screen
  49. 3.9.3.1Screen - General Page
  50. 3.9.3.2Screen - Background Page
  51. 3.9.4Importing/Exporting a Screen
  52. 3.9.5Cutting/Copying/Pasting/Deleting a Screen
  53. 3.9.6Saving Screens as Pictures
  54. 3.9.7Protecting Screens
All 20 chapters →

Section 3.6.1.1 · Chapter 3: Creating Panel Applications

Command & Status - Type A

■ Type A Command Block
The following command words for the application and their order 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 Change the language that the panel displays.
Parameter One Register: Specifies the number of the desired language
2 Set Current Recipe Number Set the current recipe number of the 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 Read a recipe from the specified address 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 Write the specified recipe of the specified recipe block to the specified address 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 Clear the alarm history.
6 Clear Alarm Counts Clear the alarm counts.
7 Sound Buzzer Turn on or turn off the sound buzzer.
Parameter One Register: Specifies the sound type.
Sound Type Value Description
0 Continuous beep
1 500ms beeps
2 200ms beeps
3 100ms beeps
4 50ms beeps
8 Print Screen Print the specified screen.
Parameter One Register Operation
(Undefined) Prints the top screen.
0 Prints the top screen.
The number of the screen to be printed Prints the specified screen.
9 Backlight On Turn the backlight on.
10 Backlight Off Turn the backlight off.
11 Set Current User Level Set the current user level to the specified level.
Parameter One Register: the user level
12 Close All Window Screens Close all window screens.
13 (reserved)
14 (reserved)
15 Execute General Command See the Section 3.6.7 Using General Commands for details.

Note:

To activate any of the above functions, change the corresponding command bit from Off to On. The panel does not reset the command bit, so you have to reset the command bit before commanding the panel to perform the same function again. Keep the state of the command bit long enough so the panel can detect the change. The best way is to use the corresponding acknowledge bit in the Command Status Word. The panel turns on the acknowledge bit when it detects the change. It is safe to reset the command bit when the acknowledge bit turns on. The panels turns off the acknowledge bit when it sees the command bit turn off.

Low Trigger Word (Trigger Bits #0 - #15), High Trigger Word (Trigger Bits #16 - #31)

You can use the trigger bits to initiate the following operations:

  1. Asking the associated data loggers to collect data
  2. Asking the associated data loggers to clear their logging buffers
  3. Executing event macros
  4. Increasing the clock by one hour
  5. Decreasing the clock by one hour
  6. Logging in
  7. Logging out
  8. Asking the associated line charts to read and draw a new set of data.
  9. Asking the associated line charts to clear its content.
  10. Asking the associated scatter charts to read and draw a new set of data.
  11. Asking the associated scatter charts to clear its content.

Enabling Word (Enabling Bits #0 ~ #15)

You can use the enabling bits to enable the following operations:

  1. The data collection of data loggers

Parameter One Register

This word specifies parameter #1 for the specified operation.

Parameter Two Register

This word specifies parameter #2 for the specified operation.

Parameter Three Register

This word specifies parameter #3 for the specified operation.

Parameter Four Register

This word specifies parameter #4 for the specified operation.

■ Type A Status Words

You can have the following status words for the application.

Status Word

Description
Command Status Word
(Command Flag Ack. Bits #0 - -#15)
Stores the acknowledge bits of the command bits #0 - #15.
Low Trigger Ack. Word
(Trigger Ack. Bits #0 - #15)
Stores the acknowledge bits of the trigger bits #0 - #15.
High Trigger Ack. Word
(Trigger Ack. Bits #16 - #31)
Stores the acknowledge bits of the trigger bits #16 - #31.
Current Screen Number Word Stores the current main screen number.
Current Recipe Block ID Word Stores the current recipe block number.
Current Recipe Number Word Stores the current recipe number of the current recipe block.
Current User Level Word Stores the current user level.
Current Language Word Stores the current language number.

Need PM Designer itself?

V4 for current PK, PT, ITV and PM panels, V2 for older models. Free, sent by email.

Source.Section 3.6.1.1 of the PM Designer Software User Manual, Edition 2.0, © Cermate Technologies Inc. (www.cermate.com, service@cermate.com). Reproduced online, with the manual's own figures, by TSL Automation Solutions, authorised Cermate distributor, for users of Cermate HMI panels. PM Designer and PanelMaster are trademarks of Cermate Technologies Inc.

Text and figures are the manufacturer's and may describe features your panel or software version does not have. For a plain-language introduction read the PM Designer guide; for help with a specific panel contact TSL Automation.