Communications: Smart Active Parts And Function Blocks - Omron CP1H CPU Operation Manual

Cp1h cpu unit
Hide thumbs Also See for CP1H CPU:
Table of Contents

Advertisement

Serial Communications
6-1-4

Communications: Smart Active Parts and Function Blocks

Overview
System Configuration
Using SAPs from an NS-series PT
NS-series PT
Smart Active Parts
RS-232C
CP1H CPU Unit
XW2Z-200T/500T Cable
CPU Unit functions as a gateway
OMRON components that support CompoWay/F or
Modbus-RTU slave functionality
Note
Note
Word
Bit
A641
00
01
02
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.
RS-422A/485 Option Board
RS-232C Option Board
RS-422A/485 (CompoWay/F or Modbus-RTU)
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.
Serial ports 1 and 2 on the CP1H CPU Unit can be used to convert to the fol-
lowing protocols.
• CompoWay/F
• Modbus-RTU
Port
Port 1
Modbus-RTU Master Execution Bit
Turned ON: Execution started
ON: Execution in progress.
OFF: Not executed or execution completed.
Modbus-RTU Master Execution Normal Flag
ON: Execution normal.
OFF: Execution error or still in progress.
Modbus-RTU Master Execution Error Flag
ON: Execution error.
OFF: Execution normal or still in progress.
Using Function Blocks in CPU Unit
CP1H CPU Unit
RS-422A/485 Option Board
Section 6-1
Contents
User program
Function block
FB
RS-422A/485 (CompoWay/F or Modbus-RTU)
OMRON components that support CompoWay/F or Modbus-
RTU slave functionality
345

Advertisement

Table of Contents
loading

Table of Contents