Omron SYSMAC CS1W-SCB41-V1 Operation Manual page 403

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

Advertisement

CompoWay/F Master Protocol
Broadcast with ASCII Conversion, No Response
(Sequence No. 601 (Hex 0259))
This sequence converts the specified data beginning with the command code to ASCII and broadcasts it. No
responses are received.
Send Data Word Allocation (3rd Operand of PMCR(260))
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))
None. (Specify a dummy value for the operand, such as #0000.)
Send with No Conversion and with Response
(Sequence No. 602 (Hex 025A))
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 (3rd Operand of PMCR(260))
374
+0
First word of
Number of send data words
send data
+1
MRC
+2
+3
+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
+0
First word of
Number of send data words
send data
+1
(Undefined)
+2
+3
+4
(Undefined)
SRC
Number of send bytes
Send data
0005 to 00FA Hex (5 to 250 decimal)
---
SRC
Set the command code for the required ser-
(2 digits Hex)
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"
Node No.
MRC
SRC
Number of send bytes
Send data
Appendix B
Data

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents