Omron CJ1W-SCU32 Operation Manual page 380

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

Advertisement

A Standard System Protocol
• Sending Commands Common to ACPU
Sequence
Communications
No. (HEX)
sequence name
818
Loopback test
(0332)
The values in parentheses are hexadecimal.
Send/Receive User-specified Computer Link Commands, with ASCII
Conversion
(Sequence No. 800 (Hex 0320)) Command Code: User-specified
This sequence converts the text data of a user-specified Computer Link command into ASCII and
sends to the Mitsubishi Computer Link Module with the specified station number (and the PLC number
that follows). The response data is converted into hexadecimal and stored in the CS/CJ-series CPU
Unit starting from 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
Station No.
(2 digits hex)
+2
Command (4 digits hex)
+3
Number of send bytes (4 digits hex)
+4
Text data
on
Receive Data Word Allocation (4th Operand of PMCR(260))
Receive data
storage words
Offset
+0
Number of receive data words
+1
Station No.
(2 digits hex)
+2
Receive data (4 digits hex)
on
R-46
Computer Link
command
TT (Loopback
Executes a loopback test at the Mitsubishi Computer Link Module
test)
with the specified station number (and the PLC number that fol-
lows). (E.g, if the data starting from the specified word + 3 is sent
from the host, the Computer Link Module will return the data
unchanged to the host.)
+0
Number of send data words
+1
Station No.
PLC No.
+2
Command
+3
Number of send bytes
+4
Text data
on
Contents (data format)
PLC No.
(2 digits hex)
+0
Number of receive data words
+1
Station No.
PLC No.
+2
Receive data
on
Contents (data format)
PLC No.
(2 digits hex)
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
Function
Data
0004 to 00FA hex (4 to 250 decimal)
Station No.: 00 to FF hex
PLC No.: 00 to FF hex
Specify the service command code to be used in
ASCII.
0000 to 007A hex (0 to 122 decimal)
Specify the number of text data bytes for the com-
munications line (i.e., twice the number of text
bytes in S+4 onwards)
Set the text data for the command. The specified
hexadecimal data will be converted into ASCII and
sent.
Data
0002 to 00FA hex (2 to 250 decimal)
Station No: 00 to FF hex
PLC No.: 00 to FF hex
Any receive data is converted into hexadecimal
and stored.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1w-scu22Cj1w-scu42

Table of Contents