388
CompoWay/F Master Protocol Appendix B
Receive Data Word Allocation (4th Operand of PMCR(260))
Parameter Area Broadcast Send
(Sequence No. 617 (Hex 0269))
This sequence writes the specified number of elements from the address of the specified parameter area using
a broadcast address.
Send Data Word Allocation (3rd Operand of PMCR(260))
Set the number of write bytes to twice the of the actual number of send data bytes. This is necessary because
the data is converted to ASCII data before being written. When hexadecimal data is converted to ASCII data,
data in the first write address +0 and +1 is stored in I/O memory in order from the leftmost word to the rightmost
word and the data is sent starting from the send data word with the largest offset. This is done because ladder
programming handles data in 2-word (4-byte) units.
Receive Data Word Allocation (4th Operand of PMCR(260))
None. (Specify a dummy value for the operand, such as #0000.)
Offset Contents (data format) Data
+0 Number of receive data words Always 0002 Hex (2 decimal)
+1 Response code (4 digits hex) The CompoWay/F command response code
is stored in hexadecimal code.
Receive data
storage words
+0
+1
Number of receive data words
Response code
Offset Contents (data format) Data
+0
Number of send data words 0007 to 00FA Hex (7 to 250 decimal)
+1
(Undefined)
---
+2
Parameter type (4 digits hex) Set the parameter type in hexadecimal
code.
+3
First write address (4 digits hex) Set the first write address in hexadeci-
mal code.
+4
Number of elements (4 digits hex) Set the number of elements to write in
hexadecimal code.
(The leftmost bit in the number of ele-
ments is always 1.)
+5
Number of bytes to write
(4 digits hex)
Set the number of bytes of write data to
send in hexadecimal code.
+6
Write data Set the data to write from the first write
address.
Write data
First word of
send data
(Undefined)
+1
+2
+3
+4
Number of elements
+5
Number of send data words
+0
Parameter type
First write address
Number of bytes to write
+6
0003
0002
0001
0000
4
3
2
1
0000 0001 0003
1 2 3 4
000 2
Send data words
Send frame