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.7 · Chapter 3: Creating Panel Applications

Using General Commands

This section describes how to use the general commands provided by the type A command block. To issue a general command, specify necessary parameters in the parameter registers and then turn on command flag #15 in Command Flag Register.
You can request the panel to perform the following file operations using the General Command and the default filename:

Operation

Parameter One Register (Operation code) Parameter Two Register (Data ID) Default Filename Format
Save logged data (.TXT) 1 ID of the data logger (0-15) DL<ID>_<Date>_<Time>.txt
Save logged data (.CSV) 14 ID of the data logger (0-15) DL<ID>_<Date>_<Time>.csv
Save logged alarms (.TXT) 2 (Not required) AL_<Date>_<Time>.txt
Save logged alarms (.CSV) 15 (Not required) AL_<Date>_<Time>.csv
Save alarm counts (.TXT) 3 (Not required) AC_<Date>_<Time>.txt
Save alarm counts (.CSV) 16 (Not required) AC_<Date>_<Time>.csv
Save recipe data (.TXT) 4 ID of the recipe block (0-15) RB<ID>.txt
Save recipe data (.CSV) 17 ID of the recipe block (0-15) RB<ID>.csv
Save recipe data (.PRD) 5 ID of the recipe block (0-15) RB<ID>.dat
Print screen to BMP file (256 colors) for HMI units 6 Number of the screen S<ID>_<Date>_<Time>.bmp
Print screen to BMP file (true color) for PC runtime 6 Number of the screen S<ID>_<Date>_<Time>.bmp
Print screen to BMP file (64K colors) for HMI units 7 Number of the screen S<ID>_<Date>_<Time>.bmp
Print screen to JPG file for PC runtime 7 Number of the screen S<ID>_<Date>_<Time>.jpg
Save logged operations (.TXT) 9 (Not required) OL_<Date>_<Time>.txt
Save logged operations (.CSV) 18 (Not required) OL_<Date>_<Time>.csv
Save logged data (.LDF) 10 ID of the data logger (0-15) DL<ID>_<Date>_<Time>.ldf
Take picture in BMP format for PC runtime 12 ID of the USB camera (0-3) CAM<ID>_<Date>_<Time>.bmp
Take picture in JPG format for PC runtime 13 ID of the USB camera (0-3) CAM<ID>_<Date>_<Time>.jpg
Print Screen to File in JPG format 19 Number of the screen S<ID>_<Date>_<Time>.jpg
Take picture in JPG format for HMI units 24 ID of the video channel (1-2) V<ID>_<Date>_<Time>.jpg

Note for default filename format:
<ID>: ID of the data logger, ID of the recipe block, ID of the USB camera, or number of the screen
<Date>: date when saving the data; format is YYMMDD
<Time>: time when saving the data; format is hhmmss

You can request the panel to perform the following file operations using the General Command and the specified filename:

Operation

Parameter One Register (Operation code) Parameter Two Register (Data ID) Default Filename Format (Specified filename)
Save logged data (.TXT) 31 ID of the data logger (0-15) Specifies the address in the internal memory $U that stores the specified filename or full pathname. The name must be a valid Windows pathname with ASCII characters only. The character string must be null terminated and each character occupies one byte. The maximum length of the string is 127. All the folders stated in the full pathname must already exist or the file operation will fail. For example, if the number stored in this register is 400, it means the specified filename is stored in $U400.
Save logged alarms (.TXT) 32 (Not required) Same as above
Save alarm counts (.TXT) 33 (Not required) Same as above
Save recipe data (.TXT) 34 ID of the recipe block (0-15) Same as above
Save recipe data (.PRD) 35 ID of the recipe block (0-15) Same as above
Save logged operations (.TXT) 39 (Not required) Same as above
Save logged data (.LDF) 40 ID of the data logger (0-15) Same as above
Take picture in BMP format for PC runtime 42 ID of the USB camera (0-3) Same as above
Take picture in JPG format for PC runtime 43 ID of the USB camera (0-3) Same as above
Take picture in JPG format for HMI units 54 ID of the video channel (1-2) Same as above

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.7 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.