Omron SYSMAC CS1W-SCB41-V1 Operation Manual page 274

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

Advertisement

Communications Frames
Sending Host Link FINS Commands
Example of Sending Host Link FINS Commands Using CMND(490)
• 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.
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
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.
Network (Ethernet)
Serial Communications Unit
Unit No. 6, port 2
Ethernet unit
node address: 4
Protocol
conversion
Host Link
header
Port 2 unit address:
81 hex + 4 hex × unit
Unit No. for Host Link = 0
No. 6 = 99 hex
(153 decimal), which
corresponds to network
address 5.
Settings
• FINS Network Settings
Item
Send destination network
address
(network address allocated
to target serial port in routing
tables)
Send destination node
address
(unit number for Host Link of
PLC connected to target
serial port + 1)
Send destination unit
address
(unit address of remote unit
on PLC connected to target
serial port)
×
unit number 6 = 99 hex = 153 decimal,
FINS command
E.g., Operation mode change
(operation stopped): 0402 hex
CPU Unit
Unit No.
Network address
Serial port unit
Serial port network
address: 153
address: 5
Local
network
table
FINS
Terminator
command
RS-422A/485 (Host Link)
Unit No. for Host Link = 1
CS/CJ-series or
CVM1/CV-series PLC
(Host Link slave)
Value (example)
Network address for
• Set 05 hex in bits 00 to 07 (net-
serial communica-
work address) of control data
tions path allocated
C+2 in the CMND(490) instruc-
in local network
tion.
table settings is 5
Note Set 0 hex in bits 08 to 11
Remote PLC unit
• Set 02 hex in bits 08 to 15
number for Host
(send destination node
Link: 1
address) of control data C+3 in
Therefore, set 1+1
the CMND(490) instruction.
= 2
CPU Unit: 00 hex
• Set 00 hex in bits 00 to 07 of
control data C+3 in the
CMND(490) instruction.
Section 6-8
CMND
instruction
FINS message
Unit No. for Host Link = 2
Setting location
(serial port number) of
control data C+2 in the
CMND(490) instruction
245

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents