
R-31
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 writes the same data from the address of the specified variable type using a broadcast.
Send Data Word Allocation (3rd Operand of PMCR(260))
Receive Data Word Allocation (4th Operand of PMCR(260))
None. (Specify a dummy value for the operand, such as #0000.)
This sequence reads the contents of the specified number of elements from the address of the speci-
fied parameter area from the specified node number and stores the data starting at the specified word.
Send Data Word Allocation (3rd Operand of PMCR(260))
Variable Area Broadcast Send
(Sequence No. 614 (Hex 0266))
Offset
Contents (data format)
Data
+0
Number of send data words
Always 0006 hex (6 decimal)
+1
(Undefined)
---
+2 Variable
type
(2 digits hex)
Set the area type (2 digits) and the first write address (6
digits). The leftmost byte of the first write address speci-
fies the address and the rightmost byte specifies the bit
location. Set the rightmost byte to 00 when bit access is
not required.
+3
First write address (6 digits BCD)
+4
Number of elements (4 digits BCD)
Set the number of elements to write.
+5
Write data (4 digits hex)
Set the write data.
Parameter Area Read
(Sequence No. 615 (Hex 0267))
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
Parameter type (4 digits hex)
Set the parameter type.
+3
First read address (4 digits hex)
Set the first read address.
+4
Number of elements (4 digits hex)
Set the number of elements to read.
(The leftmost bit in the number of elements is always 1.)
Write data
First word of
send data
(Undefined)
+1
+2
+3
First write address
Variable type
+4
Number of elements
+5
Number of send data words
+0
Number of elements
First word of
send data
Number of send data words
+0
+1
+2
+3
+4
(Undefined)
First read address
Parameter 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...