
A Standard System Protocol
R-26
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
Receive Data Word Allocation (4th Operand of PMCR(260))
The received frames are stored in order from the rightmost word to leftmost word of the I/O memory
address.
This sequence reads the contents of the specified number of elements from the address of the speci-
fied variable type from the specified node number and stores the data starting at the specified word.
Send Data Word Allocation (3rd Operand of PMCR(260))
Offset
Contents (data format)
Data
+0
Number of receive data words
0003 to 00FA Hex (3 to 250 decimal)
+1
Response code (4 digits hex)
The CompoWay/F command response code is
stored in hexadecimal code.
+2
on
Receive data (4 digits hex)
The data from just after the response code until
just before the ETX is converted from ASCII to
hexadecimal and stored in order from the right-
most word to the leftmost word.
Variable Area Read
(Sequence No. 610 (Hex 0262))
Offset
Contents (data format)
Data
+0
Number of send data words
Always 0005 hex (5 decimal)
+1
(Undefined)
Node No.
(2 digits BCD)
00 to 99
+2 Variable
type
(2 digits hex)
Set the area type (2 digits) and the first read
address (6 digits). The leftmost 16 bits of the first
read word specify the address and the rightmost 8
bits specify the bit location. Set the rightmost 8 bits
to 00 when bit access is not required.
+3
First read address (6 digits BCD)
+4
Number of elements (4 digits BCD)
Set the number of elements to read.
Receive data
storage words
+0
+1
+2
on
Number of receive data words
Response code
Receive data
1 2 3 4
5 6 7 8
Receive data words
Receive frame
"12" "34" "56" "78"
Rightmost word
Leftmost word
Number of elements
First word of
send data
Number of send data words
+0
+1
+2
+3
+4
(Undefined)
First read address
Variable type
Node No.
Содержание 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...