5 output port setting – SENA Rhio232 User Manual
Page 39

39
-
When a run command is received, it returns a state response once and continues with
the operation paused.
4.3.4.2 Response for Set/Run command
-
Same as "4.3.2.2 Response for ON/OFF control".
-
In Setting mode, the Rhio232 returns a response once and it does not respond until run
command is received.
-
The control state field of the state response, the Rhio232 returns 0x31 in Setting mode
and 0x30 in Run mode.
4.3.5 Output Port Setting
4.3.5.1 Set Output Port Command
Command
Data
Remark
Byte
Size
2
2
1
N
“05”
( 0x30,
0x35 )
Set output
port.
Port
No.
“01”
~
“10”
0x30: Clear run condition
0x31: Set run condition
0x32: Clear Delay or Pulse
0x33: Set Delay/Pulse
0x39: Clear all settings
Setting
Data
(Max.
106
bytes)
Set the attribute of
each output port.
(When cleared, the
setting data is 0x30
in 1 byte.)
-
A setting can be done only in Setting mode.
Users can set repeated run condition, pulse or delay. When a port is set for repeated
actions, run condition set up has a priority, which means it is executed first. A setting
can be cleared by mode, or the entire setting can be cleared as well. When cleared,
data setting becomes 0x30 in 1 byte.
1)
Set run condition.
It sets the run condition for the output port specified.
(It is run only when an output port is ON and will set the port as OFF when it is
configured as such.)
-
Input/Output port state + a conditional operator + Input/Output port state
(AND/OR)