384
CompoWay/F Master Protocol Appendix B
Variable Area Broadcast Send
(Sequence No. 612 (Hex 0264))
This sequence writes the specified number of elements from the address of the specified variable type using a
broadcast address.
Send Data Word Allocation (3rd Operand of PMCR(260))
Set the number of write bytes to twice the number of send data in memory. 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 program-
ming 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 send data words 0007 to 00FA hex (7 to 250 decimal)
+1 (Undefined) Node No.
(2 digits BCD)
---
+2 Variable type
(2 digits hex)
Set the area type (2 digits) and the first read
word (6 digits). The leftmost byte of the first write
address specifies 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 Number of bytes to write
(4 digits hex)
Set the number of write bytes to send.
Note: The data is converted to ASCII in the com-
munications line, so the number of data bytes is
doubled from S+6 and onwards.
+6
on
Write data Set the data to write from the first write address.
Number of bytes to write
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
Write data
+6
0003
0002
0001
0000
4
3
2
1
0000 0001 0003
1 2 3 4
000 2
Send data words
Send frame