Software Communication 3-26
S <n> LOAD PROGRAM STRING INTO EEPROM
The EEPROM is non-volatile memory within the XP 3000. Once a program string is
stored in the EEPROM it provides the user with the option of computer-free operation.
The [s] command is placed at the beginning of a program string to load the string into the
EEPROM. The syntax for this command is:
[s<n>], where<n> = 0..14
Up to 15 program strings (numbered 0 through 14) can be loaded into the EEPROM.
Each string can use up to 42 commands or 128 bytes. Each command segment requires
three bytes in the command buffer. For example, [IA3000OA0R] has five command
segments and requires 10 bytes.
NOTE [A3000] and [A0] are considered single command segments.
Example Program String: [s8ZS1gIA3000OA0GR]
Command
Segment
Description
s8 Loads string into program 8 of EEPROM (Address switch position 8)
Z Initializes pump
S1 Sets plunger speed
g Marks start of loop
I Turns valve to input position
A3000 Moves plunger to position 3000
O Turns valve to output position
A0 Moves plunger to position 0
G Endlessly repeats loop
R Executes command string
e <n> EXECUTE EEPROM PROGRAM STRING
There are two ways to execute command strings loaded into the EEPROM:
Through the address switch on power up
Through a command sent via the communications port
Address Switch. The address switch setting (0-14) determines which string
(0-14) is to be executed on power-up, provided a jumper is installed in JP1-3.
NOTE An Initialization command should always be included in the EEPROM
command string if the pump will be used in standalone mode.
Transmitted Commands. EEPROM command strings are executed by sending an [e]
command. The executing program string can be terminated using the [T] command.