![background image](http://html1.mh-extra.com/html/omron/cj1w-scu22/cj1w-scu22_operation-manual_742498343.webp)
R-9
A Standard System Protocol
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
R
-2
Com
p
o
W
a
y
/F Mast
er Pr
otoc
o
l
Re
f
R
-2-4
Command an
d Response F
or
m
ats
Command Frame Contents
Response Frame Contents
* The end codes are described in the following table.
Item
Meaning
STX
A code, 02 Hex, indicating the beginning of a communications frame (text). This
code must always be set as the first byte.
Node number
The node number identifies the destination of the command frame. Specify "XX"
to broadcast a transmission. There will be no response made to a broadcast.
Subaddress
Set "00" for most components. Other values must be set for special components.
SID
Set "0" for most components. Other values must be set for special components.
Command text
The body of the command. Refer to the command text for individual sequences.
MRC and SRC
The command code specifies the service to be used. Refer to the command
codes for individual sequences.
ETX
A code, 03 Hex, indicating the end of text.
BCC
The block check character (horizontal parity, 1 byte display). The character is an
exclusive OR of all data from just after the STX to the ETX.
Item
Meaning
STX
A code, 02 Hex, indicating the beginning of a communications frame (text). This
code must always be set as the first byte.
Node number
The node number identifies the destination of the command frame. "XX" is speci-
fied to broadcast a transmission. There will be no response made to a broadcast.
Subaddress
"00" for most components. Other values must be set for special components.
End code (*)
The results of executing the command frame.
Note: The response code (MRES and SRES) indicates the results for the com-
mand code; the end code indicates the results for the command frame. These are
not the same.
Response text
The body of the response. Refer to the response text for individual sequences.
MRES and SRES
The response code specifies the results of processing the service requested by
the command code. Refer to the response codes for individual sequences.
ETX
A code, 03 Hex, indicating the end of text.
BCC
The block check character (horizontal parity, 1 byte display). The character is an
exclusive OR of all data from just after the STX to the ETX.
Содержание CJ1W-SCU22
Страница 192: ...4 Using Protocol Macros 4 56 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 250: ...6 No protocol Mode 6 22 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 460: ...A Standard System Protocol R 126 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 473: ...Index 1 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494 I Index...