345
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 CP1H CPU UNITS - PROGRAMMING 05-2007
Page 2: ......
Page 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised March 2009...
Page 4: ...iv...
Page 10: ...x...
Page 18: ...xviii...
Page 22: ...xxii...
Page 34: ...xxxiv Conformance to EC Directives 6...
Page 174: ...140 CP series Expansion I O Unit Wiring Section 3 6...
Page 370: ...336 Analog I O XA CPU Units Section 5 5...
Page 552: ...518 Trouble Shooting Section 8 7...
Page 595: ...561 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Page 598: ...564 Sample Application Section 9 12...
Page 642: ...608 Standard Models Appendix A...
Page 652: ...618 Dimensions Diagrams Appendix B...
Page 745: ...711 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 746: ...712 Connections to Serial Communications Option Boards Appendix F...
Page 776: ...742 PLC Setup Appendix G...
Page 778: ...744 Specifications for External Power Supply Expansion Appendix H...
Page 786: ...752 Revision History...