347
Serial Communications
Section 6-1
6-1-4
Communications: Smart Active Parts and Function Blocks
Overview
OMRON components that support CompoWay/F communications or Modbus-
RTU slave functionality (such as Temperature Controllers) can be easily
accessed from a CP1H CPU Unit equipped with an RS-422A/485 or RS-232C
Option Board using Smart Active Parts (SAPs) on an NS-series PT or using
function blocks in the ladder program in the CP1H CPU Unit.
The communications mode in the PLC Setup must be set to the Gateway
Mode to enable this functionality.
System Configuration
Note
Refer to OMRON’s Smart Library website for the most recent information on
using SAPs and function blocks.
Serial Gateway Function
When a FINS command is received, it is automatically converted to the proto-
col corresponding to the message and sent on the serial communications
path. Responses are also converted in the same way.
Note
Serial ports 1 and 2 on the CP1H CPU Unit can be used to convert to the fol-
lowing protocols.
• CompoWay/F
• Modbus-RTU
A641
00
Port 1
Modbus-RTU Master Execution Bit
Turned ON: Execution started
ON: Execution in progress.
OFF: Not executed or execution completed.
01
Modbus-RTU Master Execution Normal Flag
ON: Execution normal.
OFF: Execution error or still in progress.
02
Modbus-RTU Master Execution Error Flag
ON: Execution error.
OFF: Execution normal or still in progress.
Word
Bit
Port
Contents
Using SAPs from an NS-series PT
Using Function Blocks in CPU Unit
OMRON components that support CompoWay/F or
Modbus-RTU slave functionality
NS-series PT
Smart Active Parts
RS-232C
XW2Z-200T/500T Cable
CP1H CPU Unit
RS-422A/485 Option Board
RS-232C Option Board
CPU Unit functions as a gateway
RS-422A/485 (CompoWay/F or Modbus-RTU)
OMRON components that support CompoWay/F or Modbus-
RTU slave functionality
FB
User program
Function block
CP1H CPU Unit
RS-422A/485 Option Board
RS-422A/485 (CompoWay/F or Modbus-RTU)
Summary of Contents for Sysmac CP1H
Page 2: ......
Page 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised October 2014...
Page 4: ...iv...
Page 10: ...x...
Page 18: ...xviii...
Page 22: ...xxii...
Page 34: ...xxxiv Conformance to EC Directives 6...
Page 76: ...42 Function Blocks Section 1 5...
Page 176: ...142 CP series Expansion I O Unit Wiring Section 3 6...
Page 372: ...338 Analog I O XA CPU Units Section 5 5...
Page 578: ...544 Trouble Shooting Section 8 7...
Page 622: ...588 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Page 668: ...634 Standard Models Appendix A...
Page 744: ...710 Auxiliary Area Allocations by Address Appendix D...
Page 771: ...737 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 772: ...738 Connections to Serial Communications Option Boards Appendix F...
Page 800: ...766 Specifications for External Power Supply Expansion Appendix H...
Page 806: ...772 Index W Work Area 165 work bits 165 work words 165 write protection 379...
Page 808: ...774 Revision History...
Page 809: ......