Number Of Elements "0001 - Omron SYSMAC CS1W-SCB41-V1 Operation Manual

Sysmac cs series; sysmac cj series. serial communications boards and serial communications units
Table of Contents

Advertisement

CompoWay/F Master Protocol
The received frames are stored in order from the leftmost word to the rightmost word of the I/O memory
address.
Parameter Area Write
(Sequence No. 616 (Hex 0268))
This sequence writes the contents of the specified number of elements from the address of the specified
parameter area to the specified node number.
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 frame
"12"
"34"
"56"
"78"
+0
First word of
send data
+1
+2
+3
+4
+5
+6
Offset
Contents (data format)
+0
Number of send data words
+1
(Undefined)
+2
Parameter type (4 digits hex)
+3
First write address (4 digits hex) Set the first write address.
+4
Number of elements
(4 digits hex)
+5
Number of bytes to write
(4 digits hex)
+6
Write data
on
Send data words
0
0
0
3
4
0
0
0
2
3
0
0
0
1
2
0
0
0
0
1
Receive data words
Rightmost word
1 2 3 4
Leftmost word
5 6 7 8
Number of send data words
(Undefined)
Node No.
Parameter type
First write address
Number of elements
Number of bytes to write
Write data
0007 to 00FA Hex (7 to 250 decimal)
Node No.
00 to 99
(2 digits BCD)
Set the parameter type.
Set the number of elements to write.
(The leftmost bit in the number of elements
is always 1.)
Set the number of bytes of write data to
send in hexadecimal code.
Set the data to write from the first write
address.
Send frame
1
2
3
0 0 0 0 0 0 0 1
0 0 0 2
Appendix B
Data
4
0 0 0 3
387

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents