SAVE_EEP data, addr
Purpose To store a 16-bit integer data in the user’s 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 i-TRiLOGI). Actual PLC may have less EEPROM space. Please refer to your PLC’s reference manual for the upper limit.

Examples save_EEP relay[1],100
See Also LOAD_EEP( ), GETHIGH16( ), SETHIGH16, SAVE_EEP$

backbutton.gif (507 bytes)  Basic to TBASIC Reference Manual