
A Standard System Protocol
R-46
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
•
Sending Commands Common to ACPU
The values in parentheses are hexadecimal.
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))
Receive Data Word Allocation (4th Operand of PMCR(260))
Sequence
No. (HEX)
Communications
sequence name
Computer Link
command
Function
818
(0332)
Loopback test
TT (Loopback
test)
Executes a loopback test at the Mitsubishi Computer Link Module
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.)
Send/Receive User-specified Computer Link Commands, with ASCII
Conversion
(Sequence No. 800 (Hex 0320)) Command Code: User-specified
Offset
Contents (data format)
Data
+0
Number of send data words (4 digits hex)
0004 to 00FA hex (4 to 250 decimal)
+1
Station No.
(2 digits hex)
PLC No.
(2 digits hex)
Station No.: 00 to FF hex
PLC No.: 00 to FF hex
+2
Command (4 digits hex)
Specify the service command code to be used in
ASCII.
+3
Number of send bytes (4 digits hex)
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)
+4
on
Text data
Set the text data for the command. The specified
hexadecimal data will be converted into ASCII and
sent.
Offset
Contents (data format)
Data
+0
Number of receive data words
0002 to 00FA hex (2 to 250 decimal)
+1
Station No.
(2 digits hex)
PLC No.
(2 digits hex)
Station No: 00 to FF hex
PLC No.: 00 to FF hex
+2
on
Receive data (4 digits hex)
Any receive data is converted into hexadecimal
and stored.
Number of send bytes
Number of send data words
+0
+1
+2
PLC No.
+3
+4
on
Station No.
Command
Text data
First word of
send data
Receive data
storage words
Number of receive data words
+0
+1
PLC No.
+2
on
Station No.
Receive data
Содержание CJ1W-SCU22
Страница 192: ...4 Using Protocol Macros 4 56 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 250: ...6 No protocol Mode 6 22 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 460: ...A Standard System Protocol R 126 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 473: ...Index 1 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494 I Index...