Communications: Smart Active Parts And Function Blocks - Omron CP1L - 12-2007 Operation Manual

Cp1l cpu unit
Table of Contents

Advertisement

Serial Communications
Auxiliary Area Flags
and Bits
6-3-4

Communications: Smart Active Parts and Function Blocks

Overview
System Configuration
Using SAPs from an NS-series PT
NS-series PT
RS-232C
CP1L CPU Unit
XW2Z-200T/500T Cable
CPU Unit functions as a gateway
350
The Modbus-RTU command set in the DM fixed allocation words for the Mod-
bus-RTU Easy Master is automatically sent when the Modbus-RTU Master
Execution Bit is turned ON. The results (normal or error) will be given in corre-
sponding flags.
Word
Bit
A640
00
01
02
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 CP1L 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 CP1L CPU Unit.
The communications mode in the PLC Setup must be set to the Gateway
Mode to enable this functionality.
Note
Function blocks cannot be used in the CP1L-J CPU Unit.
Smart Active Parts
RS-422A/485 Option Board
RS-232C Option Board
RS-422A/485 (CompoWay/F or Modbus-RTU)
OMRON components that support CompoWay/F or
Modbus-RTU slave functionality
Port
M-type
Modbus-RTU Master Execution Bit
CPU
Turned ON: Execution started
Units:
ON: Execution in progress.
Serial
OFF: Not executed or execution completed.
port 2
Modbus-RTU Master Execution Normal Flag
L-type
CPU
ON: Execution normal.
Units:
OFF: Execution error or still in progress.
Serial
Modbus-RTU Master Execution Error Flag
port 1
ON: Execution error.
OFF: Execution normal or still in progress.
M-type
Modbus-RTU Master Execution Bit
CPU
Turned ON: Execution started
Unit:
ON: Execution in progress.
Serial
OFF: Not executed or execution completed.
port 1
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
CP1L CPU Unit
Contents
User program
Function block
FB
RS-422A/485 Option Board
RS-422A/485 (CompoWay/F or Modbus-RTU)
OMRON components that support CompoWay/F or Modbus-
RTU slave functionality
Section 6-3

Advertisement

Table of Contents
loading

Table of Contents