Omron CQM1H-SCB41 Operation Manual page 164

Sysmac cqm1h series serial communications board
Hide thumbs Also See for CQM1H-SCB41:
Table of Contents

Advertisement

CompoWay/F Master Protocol
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 (3rd Operand of PMCR(260))
None. (Specify a dummy value for the operand, such as 000.)
Send with No Conversion and with Response
(Sequence No. 602)
This sequence sends the specified data beginning with the command code to the specified Unit. The response
is stored starting at the specified word. No conversions are performed on the send and receive data.
Send Data Word Allocation (2nd Operand of PMCR(260))
First word of
send data
Receive Data Word Allocation (3rd Operand of PMCR(260))
Receive data
storage words
Send data words
1 2 3 4
5 6 7 8
Number of send data words
+0
+1
(Undefined)
+2
MRC
+3
Number of send bytes
+4
Send data
Offset
Contents (data format)
+0
Number of send data words
(4 digits BCD)
+1
(Undefined)
+2
MRC
(2 digits Hex)
+3
Number of send bytes (4 digits BCD)
+4
Send data
on
+0
+2
+4
+6 etc.
Number of receive data words
+0
+1
Response code
Receive data
+2
Offset
Contents (data format)
+0
Number of receive data words
(4 digits BCD)
+1
Response code (4 digits Hex)
+2
Receive data (Hex)
on
+0
+2
+4
+6 etc.
Send frame
"56"
"78"
"12"
"34"
Node No.
SRC
0005 to 0128
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.
0 to 492 decimal
The data specified in hexadecimal here is
not converted and the number of bytes
+1
specified in S+3 is sent.
+3
+5
0003 to 0128
The response code will be stored in hexa-
decimal form.
The data from just after the response code
until just before the ETX is stored here with-
+1
out conversion.
+3
+5
Appendix B
Data
Data
149

Advertisement

Table of Contents
loading

Table of Contents