During serial commmunication values can be written to objects in arrays and other parameters. These values are stored in the Compax3's RAM. If a Compax3's logic supply is removed, the values stored in RAM will be lost.
REMEDY
Before removing power, the values must be saved to flash memory. There are two objects that can be used to reference the Flash through serial communication RS232/485. Object o20.l reads and writes to the flash. This object can be used to reset the current values in the RAM and restore these parameters to the Flash values. Object o20.11, only writes to the FLASH. This object can be used to write values in RAM to FLASH.
RS232 Example
In hyperterminal or a terminal interface program. Setup the the protocol for RS232 115200 baud rate 8 data bits 1 stop bit, no parity and no flow control.
Query object
o1901.1
20.0000000
Set new value to object
o1901.1=0
Query object to test for change
o1901.1
0.0000000
Save objects to flash
o20.1=1
To test
Cut power and restart
Query object
o1901.1
0.0000000
RS485 Example
In hyperterminal or a terminal interface program. Setup the the protocol for the appropriate baudrate, 2 or 4 communication and use the appropriate address. In the example the node id is set to 1.
Query object
1o1901.1
20.0000000
Set new value to object
1o1901.1=0
Query object to test for change
1o1901.1
0.0000000
Save objects to flash
1o20.1=1
To test
Cut power and restart
Query object
1o1901.1
0.0000000