
R-21
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 subaddress and SID 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))
General-purpose Send with No Conversion and with Response
(Sequence No. 604 (Hex 025C))
Offset
Contents (data format)
Data
+0
Number of send data words (4 digits Hex)
0006 to 00FA Hex (6 to 250 decimal)
+1
(Undefined) (00 Hex)
Node No.
(2 digits BCD)
00 to 99
+2 (Undefined)
(00
Hex)
Subaddress
(2 digits Hex)
Specify the subaddress of the device being com-
municated with.
+3
(Undefined)
(000 Hex)
SID (1 digit Hex)
Set the service ID of the required service (e.g.,
retries).
+4
Number of send bytes (4 digits Hex)
Number of data bytes from the MCR until the byte
just before the ETX.
0000 to 01EA Hex (0 to 490 decimal)
+5
on
Send data
The data specified in hexadecimal here is not con-
verted and the number of send bytes specified in
S+5 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
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
+5
on
(Undefined)
(Undefined)
Number of send bytes
(Undefined)
SID
Node No.
Subaddress
Receive data
storage words
Number of receive data words
+0
+1
+2
on
Response code
Response 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...