
R-19
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-8
Str
ucture of
the Protocol
This sequence sends the specified data beginning with the command code to the specified Unit. The
response is stored starting at the specified word. No conversions are performed on the send and
receive data.
Send Data Word Allocation (3rd Operand of PMCR(260))
Receive Data Word Allocation (4th Operand of PMCR(260))
Send with No Conversion and with Response
(Sequence No. 602 (Hex 025A))
Offset
Contents (data format)
Data
+0
Number of send data words (4 digits Hex)
0005 to 00FA Hex (5 to 250 decimal)
+1
(Undefined)
Node No. (2 digits
BCD)
00 to 99
+2
MRC (2 digits Hex)
SRC (2 digits Hex)
Set the command code for the required service
+3
Number of send bytes (4 digits Hex)
Number of data bytes from the next byte after the
command code until the byte just before the ETX.
0000 to 01EC Hex (0 to 492 decimal)
+4
on
Send data
The data specified in hexadecimal here is not con-
verted and the number of send bytes specified in
S+3 is sent.
+0
+1
+2
+3
+4
+5
+6 etc.
Offset
Contents (data format)
Data
+0
Number of receive data words (4 digits Hex)
0003 to 00FA Hex (3 to 250 decimal)
+1
Response code (4 digits Hex)
The response code will be stored in hexadecimal
form when the response code is other than 0000.
+2
on
Receive data (Hex)
The data from just after the response code until
just before the ETX is stored here without conver-
sion.
+0
+1
+2
+3
+4
+5
+6 etc.
Send data
First word of
send data
Number of send data words
+0
+1
+2
+3
+4
on
(Undefined)
MRC
SRC
Number of send bytes
Node No.
Receive data
storage words
Number of receive data words
+0
+1
+2
on
Response code
Receive data
Содержание 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...