3 input/output state, 4 set/run – SENA Rhio232 User Manual
Page 38

38
4.3.3 Input/Output State
4.3.3.1 I/O State Request Command
Command
Data
Remark
Byte Size
2
1
“03”
( 0x30, 0x33 )
State Request
0x30: Fixed to a
dummy value
4.3.3.2 Response for I/O State Request Command
-
Identical with ON/OFF control response.
-
Sent even if the state of input port or ADC (in Switch Input mode) has been changed
(based on a threshold voltage). A change of input state is recognized when the input
value changed is maintained for 15 ms.
-
In case of state response, the control state field returns 0x30 in Run mode and 0x31 in
Setting mode.
4.3.4 Set/Run
4.3.4.1 Set/Run Command
Command
Data
Remark
Byte Size
2
1
“04”
( 0x30, 0x34 )
Set/Run
0x30: Set
0x31: Run
Switch between Set
and Run Modes.
-
The Rhio232 returns a state response once after set command is received. It does not
return any state response until it receives run command even if it is switched to Setting
mode.
-
When setting output port, ADC input port, Port Enable, Port Power-out Recovery or
serial number, send set command first to switch it to Setting mode. (Check command is
working in both Setting and Run mode.)
-
Once each setting is completed, send run command to switch it to Run mode.