SAVE_EEP
data, addrPurpose | To store a 16-bit integer data in the users definable EEPROM address addr for non-volatile storage. If you attempt to save a 32-bit data, only the lower 16-bit will be saved. To save the entire 32-bit data, save the upper 16-bit using the GETHIGH16( ) function and the lower 16-bit directly in two separate locations.data - may be a 16-bit integer constant or variable. addr - EEPROM address (1-2000 in TRiLOGI). Actual PLC may have less EEPROM space. Please refer to your PLCs reference manual for the upper limit. |
Examples | save_EEP relay[1],100 |
See Also | LOAD_EEP( ), GETHIGH16( ), SETHIGH16 |