Sending Commands Using The Cmnd(490) Instruction; Compoway/F, Modbus; Link - Omron CJ - REFERENCE MANUAL 07-2009 Reference Manual

Communications commands
Hide thumbs Also See for CJ - REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

Communications Frames
Response Frame
Frame before Conversion
Host Link
header
@
Unit No. for
Host Link
(0 to 31)
Frame after Conversion
FINS header
Remote
Remote
network
node
address
address
(DNA)
(DA1)
Serial port
Unit No.
allocated
for Host
address

Link

or serial
+ 1
port unit
(1 to 32)
address
3-7-5

Sending Commands Using the CMND(490) Instruction

Setting CMND(490) Operands
S Operand
C Operand
90
Host
Etc.
Link
header
code
FINS header
FA
FINS
command
Remote
Etc.
MRC
SRC
unit
address
(DA2)
Any
User-
User-
except
speci-
speci-
serial
fied
fied
port
unit
address
Use the following method to send FINS commands to the Serial Communica-
tions Board/Unit from the PC.
• Set the FINS command code (2803/2804/2805 hex) in S.
• Set the data without spaces (see note) following the FINS command code
in S+1 onwards.
Note
Frames are set in the same order as in I/O memory from leftmost to rightmost
byte (without blank bytes (00 hex)).
C+2 bits 00 to 07 (Send destination network address)
• With routing tables that treat serial communications path as a network:
Network address corresponding to serial port in the routing tables.
• Without routing tables that treat serial communications path as a network:
• CompoWay/F, Modbus: Depends on the system configuration.
• Host Link FINS: Always set the unit address of the serial port.
C+3 bits 08 to 15 (Remote destination node address)

• CompoWay/F, Modbus

• With routing tables that treat serial communications path as a network:
00 hex (indicates local PC communications)
• Without routing tables that treat serial communications path as a net-
work: Node address for specifying the actual remote PC
• Host Link FINS
• Host Link unit number incremented by one (1 to 32)
C+3 bits 00 to 07 (Send destination unit address)
• CompoWay/F, Modbus
Always set the unit address of the serial port
Text
FINS
End code
command
End code
FINS text
User-specified
Section 3-7
Error
check
Terminator
code
FINS text
FCS
*+CR

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents