Omron SYSMAC CS1W-SCB41-V1 Operation Manual page 475

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

Advertisement

Mitsubishi Computer Link Master (A-compatible 1C Frame, Model 1)
• Sending Commands Common to ACPU
Sequence
Communications
No.
sequence name
818 (0332) Loopback test
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 speci-
fied word.
Send Data Word Allocation (3rd Operand of PMCR(260))
Receive Data Word Allocation (4th Operand of PMCR(260))
446
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
First word of
+1
Station No.
send data
+2
Command
+3
Number of send bytes
+4
Text data
Offset
Contents (data format)
+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
+0
Number of receive data words
Receive data
storage words
Station No.
+1
+2
Receive data
Offset
Contents (data format)
+0
Number of receive data bytes
Station No.
+1
(2 digits hex)
Receive data (4 digits hex)
+2
Function
PLC No.
0004 to 00FA hex (4 to 250 decimal)
PLC No.
Station No.: 00 to FF hex
(2 digits 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 communications 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 con-
verted into ASCII and sent.
PLC No.
0002 to 00FA hex (2 to 250 decimal)
PLC No.
Station No: 00 to FF hex
(2 digits hex)
PLC No.: 00 to FF hex
Any receive data is converted into
hexadecimal and stored.
Appendix E
Data
Data

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents