![Sena Rhio10 User Manual Download Page 51](http://html1.mh-extra.com/html/sena/rhio10/rhio10_user-manual_1237630051.webp)
51
- NAK Response
START
FLAG
LENGTH
FUNCTION
DATA
LRC
(BCC)
END
FLAG
Byte
Size
1
2
2
3
2
2
Start
of
the
Command
Block,
0x3A
( “:” )
The length from
FUNCTION
field
to
DATA
field
Response
“00”
0x30,0x30
NAK
Data
“NAK”
0x4E,
0x41,
0x4B
XOR
from
START
FLAG
field to
DATA
field
CR (0x0D)
LF (0x0A)
HOST
RHIO
Command
Send Response if it receives the correct command set
Send
NAK Response (BCC Error or Timer out or Length calculation error)
-. Users have to write code to send the command again or display NAK status if the program
receives NAK Response.
*
NOTE
: In the following descriptions, each port is indicated as below:
-
Input Port: I1 - I12
-
ADC Input: A1 - A4 (Level Input and Switch Input modes)
-
Output Port: O1 - O10
5.3.2 ON/OFF Control
5.3.2.1 ON/OFF Control Command
Command
Data
Remark
Byte Size
2
“01”
( 0x30, 0x31 )
ON/OFF control
10-point output masking and
ON/OFF control data
Send output points to set
ON/OFF in a batch.