Omron CS1W-SCU21 Operation Manual page 231

Hide thumbs Also See for CS1W-SCU21:
Table of Contents

Advertisement

CompoWay/F Master Protocol
Send Data Word Allocation (3rd Operand of PMCR(260))
First word of
send data
Note 1. Set the number of send bytes to twice the number of bytes in memory. This is necessary because the
data is converted to ASCII data before being sent.
2. When hexadecimal data is converted to ASCII data, data is sent starting from the send data word with
the largest offset. This is done because ladder programming handles data in 4-byte units.
Receive Data Word Allocation (4th Operand of PMCR(260))
Note When ASCII data is converted to hexadecimal data, data is stored starting from the receive data word
with the largest offset. This is done because ladder programming handles data in 4-byte units.
212
+0
Number of send data words
+1
(Undefined)
+2
MRC
+3
Number of send bytes
Send data
+4
Offset
Contents (data format)
+0
Number of send data words
(4 digits Hex)
+1
(Undefined)
+2
MRC
(2 digits Hex)
+3
Number of send bytes (4 digits Hex)
+4
Send data (4-digit Hex)
on
Send data words
1 2 3 4
5 6 7 8
Number of receive data words
Receive data
+0
storage words
+1
+2
Offset
Contents (data format)
+0
Number of receive data words
(4 digits Hex)
+1
Response code (4 digits Hex)
+2
Receive data (4-digit Hex)
on
Receive frame
"01"
"23"
"45"
"67"
Node No.
SRC
0005 to 00FA Hex (5 to 250 decimal)
Node No. (2 digits
00 to 99
BCD)
SRC (2 digits Hex) Set the command code for the required ser-
vice
Number of data bytes from the next byte
after the command code until the byte just
before the ETX.
0000 to 03D8 Hex (0 to 984 decimal)
The data specified in hexadecimal here will
be converted to ASCII and the number of
bytes specified in S+3 will be sent.
Send frame
"56"
"78"
"12"
"34"
Response code
Receive data
0003 to 00FA Hex (3 to 250 decimal)
The response code will be stored in hexa-
decimal form.
The data from just after the response code
until just before the ETX will be converted
from ASCII to hexadecimal and stored here.
Receive data words
4 5 6 7
0 1 2 3
Appendix B
Data
Data

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1w-scu41

Table of Contents