Pacific Research Solutions RI-1 User Manual

Page 54

Advertising
background image

Pacific Research Solutions

RI-1 and PE-1 User Manual

Page 48

S-Cmd 65 RESERVED

S-Cmd 66 READ / WRITE SYSTEM DATA

The RI-1 controller stores all of its system data on EEPROM, a non-volatile memory. It also has temporary RAM memory
locations for storing this same system data. These RAM locations hold the systems data that is used in operating the controller.
When you first turn on the power, the controller will copy the EEPROM data into this first RAM data location. You can
modify this RAM data and then by using the WRITE command, save your changes to the EEPROM. Or, you may have system
RAM that has been modified, and you can READ the EEPROM data back into the RAM, returning the controller to a normal
state. When power is first turned on, the controller will copy the EEPROM to the RAM locations. Only S-Commands that are
labeled with “STORAGE: RAM/EEPROM” have data that is affected by this command.

SYNTAX:

66

[Operation]

READ

BACK

N/A

STORAGE:

RAM

PARAMETERS: Operation 0 = READ system data from EEPROM

Operation 1 = WRITE system data to EEPROM

DEFAULT:

N/A

EXAMPLE: 66 1 Copy the system RAM to the EEPROM

S-Cmd 67 RESERVED

S-Cmd 68 MACRO LINE JUMP

This command can be used at the end of a macro to jump to another macro start line number. You can also use this command
to test or execute a macro when you are in the S-Command mode. Be careful not to create a loop where at the end of one macro
you jump to a second macro, and at the end of the second macro you jump back to the first.

SYNTAX: 68 [Macro start line]

READ

BACK

N/A

STORAGE:

N/A

PARAMETERS: 1 – 255 Macro start line
DEFAULT:

N/A

EXAMPLE: 68 34

Jump to macro starting at line 34 and continue executing S-Commands

Advertising
This manual is related to the following products: