Section 3.3.3 · Chapter 3: Creating Panel Applications
System Memory
The following table lists the system maintained data and information in the system memory of the target panels that may be useful for your application.
Note that in any case do not modify the system memory for any purpose, or the system may malfunction or crash.
|
Address |
Length(Unit:Word) | Content | |||
|---|---|---|---|---|---|
| $S0~$S25 | 26 |
Keypad input buffer for keypads. $S0: Command code for keypad display. $S1~$S24: Null terminated ASCII character string up to 48 characters. |
|||
| $S42 | 1 |
The second and minute of the current time in BCD format. Bit 0~7: Second (0x00~0x59). Bit 8~15: Minute (0x00~0x59) |
|||
| $S43 | 1 |
The hour of the current time in BCD format and the RTC
adjustment parameter.
Bit 0~7: Hour (0x00~0x23). Bit 8~15: RTC adjustment value |
|||
| $S44 | 1 |
The day and month of the current date in BCD format. Bit 0~7: Day (0x01~0x31). Bit 8~15: Month (0x01~0x12). |
|||
| $S45 | 1 |
The year and the day-of-week of the current date in BCD
format. Bit 0~7: Year (0x00~0x99). Bit 8~15: Day of week (0x00~0x06); 0 represents Sunday. |
|||
| $S46 | 1 | The second of the current time in binary format (0~59). | |||
| $S47 | 1 | The minute of the current time in binary format (0~59). | |||
| $S48 | 1 | The hour of the current time in binary format (0~23). | |||
| $S49 | 1 |
The one tenth of a second of the current time in binary
format (0~9). 9 represents 0.9 second. |
|||
| $S50 | 1 |
The date of the current day in binary format (0~30).
0 represents the first day of a month |
|||
| $S51 | 1 |
The month of the current day in binary format (0~11).
0 represents January. |
|||
| $S52 | 1 | The year of the current day in binary format (0~99). | |||
| $S53 | 1 |
The day of week of the current day in binary format
(0~6). 0 represents Sunday. |
|||
| $S219 | 1 | Current user level (0~9); 9 indicates that the user logged in with the developer password. | |||
| $S230~$S241 | 12 | The ASCII character string, up to 24 characters, to show the allowable input range for numeric keypads. | |||
| $S297 | 1 | The lowest user level that can be accepted by the current password keypad. When the value is 0, any user level is accepted. When the value is 9, only the developer password is accepted. | |||
| $S300~$S301 | 2 | 500ms timer. | |||
| $S302~$S303 | 2 | 1 second timer. | |||
| $S304 | 1 | 20 Hz sine wave (-1000 ~ 1000). | |||
| $S305 | 1 | 20 Hz cosine wave (-1000 ~ 1000). | |||
| $S306 | 1 | 20 Hz triangle wave (0~1000). | |||
| $S307 | 1 |
System signals. $S307.0: always 0 when ready. $S307.1: always 1 when ready. |
|||
| $S315 | 1 |
System status. $S315.0: 1 indicates that the data in battery backed RAM is good. |
|||
| $S317 | 1 | Current language number (0~9); 0 represents language #1 | |||
| $S319 | 1 |
Status bits of mass storage devices $S319.0: Drive C --- Built-in flash disk (1:OK; 0:None) $S319.1: Drive D --- Micro SD card (1:OK; 0:None) $S319.2: Drive E --- USB memory stick (1:OK; 0:None) |
|||
| $S555 | 1 | $S555.0: Indicates there exists at least one active alarm when the bit is 1 | |||
| $S556 | 1 | The length of time to display a file I/O error message box. The unit is second. The message box will not close automatically (and the operator must close it manually by touching the close button) when the value is 0. | |||
| $S557 | 1 | $S557.0: The system will not display error message for a file I/O operation when the associated disk/memory drive does not exist | |||
| $S654 | 1 |
Link enabled bits for Link 1~16 $S654.0 is for Link 1; 0: Disabled; 1: Enabled $S654.1 1 is for Link 2; … $S654.f is for Link 16 |
|||
| $S662~$S677 | 32 |
Communication status words for Link 1~16 $S662 is for Link 1 $S663 is for Link 2 … $S677 is for Link 16 Communication Status |
|||
| Value | Meaning | Value | Meaning | ||
| 0 | OK | 13 | Invalid request | ||
| 1 | Overrun error | 14 | Device busy | ||
| 2 | Break error | 15 | Unknown error | ||
| 3 | Parity error | 16 | Link disabled | ||
| 4 | Framing error | 17 | Initialization failure | ||
| 5 | No response | 18 | Failed to send data | ||
| 6 | Unrecognized response | 19 | Failed to receive data | ||
| 7 | Timeout | 20 | Failed to open connection | ||
| 8 | Inactive CTS | 21 | Connection not ready | ||
| 9 | Checksum error | 22 | Invalid sub-link | ||
| 10 | Command rejected | 23 | Invalid COM port | ||
| 11 | Invalid address | 24 | Error | ||
| 12 | Invalid range | 255 | Uncertain | ||
| $S838 | 1 | The ID of the current recipe block (0~15). | |||
| $S839~$S854 | 16 |
The current recipe numbers of recipe block 0~15.
$S839 is for recipe block 0. $S840 is for recipe block 1. … $S854 is for recipe block 15. |
|||
Need PM Designer itself?
V4 for current PK, PT, ITV and PM panels, V2 for older models. Free, sent by email.
Source.Section 3.3.3 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.