EasyManua.ls Logo

Omron SYSMAC CJ1W-SCU41-V1

Omron SYSMAC CJ1W-SCU41-V1
781 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
245
Communications Frames Section 6-8
Sending Host Link FINS Commands
Set any FINS command code in S.
Be sure to set the Host Link unit number (0 to 31) incremented by one (1
to 32) for the PLC slave corresponding to the send destination node
address in C+3 bits 08 to 15.
Example of Sending Host Link FINS Commands Using CMND(490)
The following example is for sending FINS commands to a CS/CJ-series PLC
connected to the Serial Communications Unit through an RS-422A/485 com-
munications path via an Ethernet network.
Example: The CMND(490) instruction is executed in the PLC on the Ethernet.
The FINS command (e.g., OPERATING MODE CHANGE STOP: 0402 hex) is
sent to the CS/CJ-series PLC (Host Link unit number = 1) that is connected to
port 2 (unit address = 81 hex + 4 hex
× unit number 6 = 99 hex = 153 decimal,
corresponding to network address 5 in the routing tables) of the Serial Com-
munications Unit (unit number 6) that is connected to the PLC on the Ether-
net. Routing is performed between the networks, so use the setting for routing
tables.
Settings
FINS Network Settings
Item Value (example) Setting location
Send destination network
address
(network address allocated
to target serial port in routing
tables)
Network address for
serial communica-
tions path allocated
in local network
table settings is 5
Set 05 hex in bits 00 to 07 (net-
work address) of control data
C+2 in the CMND(490) instruc-
tion.
Note Set 0 hex in bits 08 to 11
(serial port number) of
control data C+2 in the
CMND(490) instruction
Send destination node
address
(unit number for Host Link of
PLC connected to target
serial port + 1)
Remote PLC unit
number for Host
Link: 1
Therefore, set 1+1
= 2
Set 02 hex in bits 08 to 15
(send destination node
address) of control data C+3 in
the CMND(490) instruction.
Send destination unit
address
(unit address of remote unit
on PLC connected to target
serial port)
CPU Unit: 00 hex Set 00 hex in bits 00 to 07 of
control data C+3 in the
CMND(490) instruction.
Network (Ethernet)
Serial Communications Unit
Unit No. 6, port 2
Ethernet unit
node address: 4
Port 2 unit address:
81 hex + 4 hex × unit
No. 6 = 99 hex
(153 decimal), which
corresponds to network
address 5.
Unit No. for Host Link = 0 Unit No. for Host Link = 1 Unit No. for Host Link = 2
Host Link
header
FINS
command
Terminator
Unit No. Network address
Serial port unit
address: 153
FINS command
FINS message
RS-422A/485 (Host Link)
CS/CJ-series or
CVM1/CV-series PLC
(Host Link slave)
CPU Unit
CMND
instruction
E.g., Operation mode change
(operation stopped): 0402 hex
Protocol
conversion
Local
network
table
Serial port network
address: 5

Table of Contents

Related product manuals