![Omron SYSMAC CJ1W-SCU21-V1 Operation Manual Download Page 274](http://html1.mh-extra.com/html/omron/sysmac-cj1w-scu21-v1/sysmac-cj1w-scu21-v1_operation-manual_743586274.webp)
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
Summary of Contents for SYSMAC CJ1W-SCU21-V1
Page 3: ...iv...
Page 5: ...vi...
Page 9: ...x...
Page 15: ...xvi...
Page 89: ...60 Basic Operating Procedure Section 1 9...
Page 151: ...122 RS 232C and RS 422A 485 Wiring Section 3 4...
Page 173: ...144 Host Link Function for Replacing Existing PLCs Section 4 6...
Page 223: ...194 Enhanced Protocol Macro Functions Section 5 6...
Page 277: ...248 Communications Frames Section 6 8...
Page 291: ...262 Basic Operating Procedure in No protocol Mode Section 7 4...
Page 301: ...272 Auxiliary Area and CIO Area Allocations Section 8 3...
Page 391: ...362 Introduction Appendix A...
Page 421: ...392 CompoWay F Master Protocol Appendix B...
Page 513: ...484 E5 K Digital Controller Read Protocol Appendix F...
Page 571: ...542 E5ZE Temperature Controller Write Protocol Appendix I...
Page 587: ...558 E5 J Temperature Controller Protocol Appendix J...
Page 627: ...598 ES100 Digital Controller Protocol Appendix K...
Page 661: ...632 V500 V520 Bar Code Reader Protocol Appendix M...
Page 697: ...668 3Z4L Laser Micrometer Protocol Appendix N...
Page 717: ...688 Visual Inspection System Protocol Appendix O...
Page 755: ...726 V600 V620 ID Controller Protocol Appendix P...
Page 763: ...734 Hayes Modem AT Command Protocol Appendix Q...
Page 767: ...738 Changing Communications Port Settings Using STUP 237 Appendix R...
Page 781: ...752 Revision History...