Omron CQM1H-SCB41 Operation Manual page 163

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

Advertisement

CompoWay/F Master Protocol
The 2nd and 3rd operands of the PMCR(260) instruction are specified as follows.
Send Data Word Allocation (2nd Operand of PMCR(260))
Receive Data Word Allocation (3rd Operand of PMCR(260))
Broadcast with ASCII Conversion, No Response
(Sequence No. 601)
This sequence converts the specified data beginning with the command code to ASCII and broadcasts it. No
responses are received.
Send Data Word Allocation (2nd 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.
148
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 (12 digits Hex)
+5
+6
Offset
Contents (data format)
+0
Number of receive data words
(4 digits BCD)
+1
Response code (4 digits Hex)
+2
Receive data (8 digits Hex)
+3
+0
Number of send data words
+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 (4-digit Hex)
on
0007
Node No. (2 dig-
0000 Hex
its BCD)
SRC
0101 Hex
(2 digits Hex)
0012 (BCD)
C000 Hex
0000 Hex
0001 Hex
EX is stored at reception (0004)
The response code will be stored in hexa-
decimal form.
The normal end response code is 0000.
The 4 bytes of read data.
SRC
0005 to 0128
---
SRC
Set the command code for the required
(2 digits Hex)
service
Number of data bytes from the next
byte after the command code until the
byte just before the ETX.
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.
Appendix B
Data
Data
Data

Advertisement

Table of Contents
loading

Table of Contents