339
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 - 05-2006
Page 2: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised May 2006...
Page 3: ...iv...
Page 11: ...xii TABLE OF CONTENTS...
Page 15: ...xvi...
Page 19: ...xx...
Page 31: ...xxxii Conformance to EC Directives 6...
Page 71: ...40 Function Blocks Section 1 5...
Page 133: ...102 Computing the Cycle Time Section 2 7...
Page 169: ...138 CPM1A Expansion I O Unit Wiring Section 3 6...
Page 411: ...380 Clock Section 6 8...
Page 519: ...488 Replacing User serviceable Parts Section 10 2...
Page 527: ...496 Standard Models Appendix A...
Page 535: ...504 Dimensions Diagrams Appendix B...
Page 628: ...597 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 629: ...598 Connections to Serial Communications Option Boards Appendix F...
Page 659: ...628 PLC Setup Appendix G...
Page 665: ...634 Index work words 159 write protection 370...
Page 667: ...636 Revision History...