Omron CJ1W-SCU32 Operation Manual page 349

Machine automation controller, cj / nj-series, serial communications units, cpu unit
Table of Contents

Advertisement

Sequence
Communications
No.
sequence name
620 (026C) Echoback test
621 (026D) Operation command
Note The hexadecimal equivalents of sequences numbers are given in parentheses.
Sequence No. 600 can be used for the normal CompoWay/F Master function (ASCII conversion, speci-
fied unit, and specification from command code).
Refer to the communications specifications for the OMRON CompoWay/F component to which the
command is being sent and set the command code and required data starting at the words specified for
the 3rd operand of PMCR(260), and execute the PMCR command.
The relationship between the CompoWay/F command and response frames and the operands of
PMCR(260) is described next.
Send with ASCII Conversion, with Response:
(Sequence No. 600 (Hex 0258))
• Send word order: Rightmost to leftmost
• Receive word order: Leftmost to rightmost
This sequence converts the specified data beginning with the command code to ASCII and sends it to
the specified Unit. The response is converted to hexadecimal and stored starting at the specified word.
Send Data Word Allocation (3rd Operand of PMCR(260))
First word of
send data
Offset
+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
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.
Frames are created and sent starting from the rightmost to leftmost word of the address in I/O memory.
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
Function
Executes an echoback test at the specified
node.
Remotely stops/starts operations of the
device at the specified node number.
+0
Number of send data words
+1
(Undefined)
Node No.
+2
MRC
SRC
+3
Number of send bytes
Send data
+4
on
Contents (data format)
Node No. (2 digits
BCD)
SRC (2 digits Hex)
Send data words
Rightmost word
1 2 3 4
Leftmost word
5 6 7 8
A Standard System Protocol
Ladder interface
Send word
allocation
Yes
Yes
Data
0005 to 00FA Hex (5 to 250 decimal)
00 to 99
Set the command code for the required service
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 send bytes
specified in S+3 will be sent in order of rightmost
to leftmost.
Send frame
"12"
"34"
"56"
"78"
Receive word
allocation
Yes
Yes
R-15

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1w-scu22Cj1w-scu42

Table of Contents