Pacific Research Solutions RI-1 User Manual

Page 49

Advertising
background image

Pacific Research Solutions

RI-1 and PE-1 User Manual

Page 43

S-Cmd 45 PORT INPUT – STATE CHANGE EVENT

The controller has two digital inputs on board that can trigger macros. Each of these inputs can be configured to act on either a
negative or positive state change (falling and rising edges). When the controller detects any changes in these inputs or
functions, a macro starting at the “Macro Start Line” (1 through 255) will be executed. To disable an input or function, use 0 as
the Macro Start Line. See section 4 and 5 for information on the connector pin numbers for each input. This feature can be
used to generate an alarm message on change of an input state.

SYNTAX: 45 [Bit] [Macro start line]

STORAGE:

RAM/EEPROM

PARAMETERS: Bit 1 = Input 1 falling edge (High to Low), Bit 2 = Input 1 rising edge (Low to High)

Bit 3 = Input 2 falling edge (High to Low), Bit 4 = Input 2 rising edge (Low to High)
Macro start line 0 = Disable, 1 – 255 = Macro start lines

DEFAULT: All bits set to 0

EXAMPLE: 45 1 10

Input #1 Falling edge triggers macro starting at line 10.

45 2 11

Input #1 Rising edge triggers macro starting at line 11.

S-Cmd 46 PORT OUTPUT ON / OFF

The controller has two digital outputs on board and is expandable to 10 outputs. Each of these outputs can be directly turned on
or off with this command. See section 4 and 5 for information on the pin numbers for each output. This function can be used to
turn on something external to the controller.

SYNTAX: 46 [Output] [Mode]

READ BACK: 46 [Output]

STORAGE: RAM (Return to default at power on reset)

PARAMETERS: Output 1-1 = On board outputs

Mode 0 = off (logic low), 1 = on (logic high)

DEFAULT: All outputs are off or logic low when power is turned on

EXAMPLE: 46 1 1 Turns output number 1 on or logic high

S-Cmd 47 through 54

RESERVED

S-Cmd 55 PASSWORD FOR S-COMMAND ACCESS

The PASSWORD is used to unlock the controller for access to the S-Commands. The factory default password is 123456 and
can be changed to another set of digits from 1 to 7 digits long. When selecting a password, you should avoid using one that is
similar to a user command or the exact equivalent to an S-Command and its data. For more information on passwords, see
section 10 of this manual.

SYNTAX:

55

[Password]

STORAGE:

EEPROM

PARAMETERS: Password = 1 to 7 DTMF digits 0 through 9, *, #, A through D
DEFAULT:

123456

EXAMPLE: 55 34*685

The new password is now 34*685

55 12

The new password is now 12

S-Cmd 56 RESERVED

S-Cmd 57 RESERVED

Advertising
This manual is related to the following products: