SSE232-IA3 – Serial Server- User’s Manual
Exemys
www.exemys.com
Rev.4
29
9.3
9.3
9.3
9.3
Input Reading
Input Reading
Input Reading
Input Reading
To read the inputs status, the SSE232-IA3 incorporates the INA
INA
INA
INA and IN
IN
IN
IN commands.
The INA
INA
INA
INA command returns the status of all inputs available on the SSE232-IA3.
The IN
IN
IN
IN command lets you know the status of one of the inputs available in the SSE232-IA3. If you request
the status of an input that is not available, it will respond with an error.
Command
Description
Response
INA
<CR>
Returns the status of all inputs
available.
INA
INA
INA
INA,abcdefgh <CR>
a ... h: Status of inputs 1 ... n
Where n is the total number of inputs /
outputs available in this model.
1 = High state.
0 = Low state
IN:x
<CR>
Displays the status of the x input
x = 1 ... N
(N is the number of inputs available in
each model).
IN
IN
IN
IN::::x, S <CR>
X = Input read (1 ... n).
S = Input state (0 or 1).
IN
IN
IN
IN:x,ERROR <CR>
Input x is not available on this model.
9.4
9.4
9.4
9.4
Outputs
Outputs
Outputs
Outputs
SSE232-IA3 incorporates the OUR
OUR
OUR
OUR and OUT
OUT
OUT
OUT commands to control of the output status.
The OUR
OUR
OUR
OUR command returns the status of all available outputs on the SSE232-IA3.
The OUT
OUT
OUT
OUT command lets you know the state of one of the outputs available on the SSE23-IA3. If you
request the status of an output that is not available, it will respond with an error.
Command
Description
Response
OUR
<CR>
Returns the status of all outputs
available.
OUR
OUR
OUR
OUR,abcdefgh <CR>
A ... h: State of the outputs of 1 ... n
Where n is the total number of inputs /
outputs available in this model.
1 = High state.
0 = Low state.
OUTx:S
<CR>
Changes the output state x.
X = 1 ... N
(N is the number of inputs available in
each model).
S = 0 or 1
(It is the new state of output x).
OUTx
OUTx
OUTx
OUTx:S,OK <CR>
The output is changed to S status.
OUTx:
OUTx:
OUTx:
OUTx:S,ERROR <CR>
The output x is not available on this
model, or the value S is an invalid
value.