Overview - Omron CJ1W-NC271 - 12-2009 Operation Manual

Position control units
Table of Contents

Advertisement

Overview

11-1 Overview
Devices in the Sample System
Position Control Unit
MECHATROLINK Devices
(Servo Drives)
CPU Unit
422
This section shows sample programs that execute the various PCU functions
from the ladder program.
Refer to 11-2 Basic Program Examples for descriptions of the sample ladder
program sections containing the functions. Refer to 11-3 Application Exam-
ples for sample programs that combine those various program sections.
This section explains the example system and conditions used for the sample
programs.
Note
The sample programs shown in this section use the PCU's functions and are
configured only with ladder programs related to the interface between the PLC
and PCU.
When creating the program for the actual equipment in the system, add pro-
gram sections to perform tasks such as interlocking the equipment's move-
ment, managing I/O from other equipment, and controlling operation so that
the program will provide the required operating commands to the PCU.
In addition, always test the new program thoroughly to verify proper operation
before switching to full-scale operation in the system.
CJ1W-NCF71
Unit number: 0 (Beginning word of Common Operating Memory Area: CIO
1500)
Only one PCU is used in the PLC.
When a different unit number is required, use the following equation to deter-
mine the beginning word of Common Operating Memory Area.
Beginning word of Common Operating Memory Area: n = 1500 + (unit
number × 25)
W-series Servo Drive (R88D-WT@)
FNY-NS115 MECHATROLINK-II I/F Unit mounted to Servo Drive
Axis 1 (MECHATROLINK-II station address 1) is used to demonstrate axis
operation in these sample ladder programs.
When a different number of axes or station number is required, use the follow-
ing equation to determine the beginning CIO word addresses for each axis.
Beginning word of Axis Operating Output Memory Area for Axis N:
Beginning word of Axis Operating Output Areas specified in Common Pa-
rameters + (Axis No. −1) × 25
Beginning word of Axis Operating Input Memory Area for Axis N:
Beginning word of Axis Operating Input Areas specified in Common Pa-
rameters + (Axis No. −1) × 25
Refer to 11-3-1 Initial PCU Settings for an example that shows how to set the
beginning words of Axis Operating Input/Output Areas.
The standard settings are used for the Servo Drive's I/O signals; for details on
the standard settings, refer to 6-4 Standard Settings for Servo Drives Using
MECHATROLINK.
Model number: CJ1H-CPU@@
In 11-3 Application Examples, the CPU Unit's EM Area is used to store the
PCU's Common Parameter, Axis Parameter, and Servo Parameter data.
If the CJ1H-CPU@@ CPU Unit being used is not equipped with an EM Area,
change the storage area to an unused section of the DM Area.
Section 11-1

Advertisement

Table of Contents
loading

Table of Contents