OMRON products are manufactured for use according to proper procedures by a qualified operator
and only for the purposes described in this manual.
The following conventions are used to indicate and classify precautions in this manual. Always heed
the information provided with them. Failure to heed precautions can result in injury to people or damage to property.
DANGERIndicates an imminently hazardous situation which, if not avoided, will result in death or
!
serious injury.
WARNINGIndicates a potentially hazardous situation which, if not avoided, could result in death or
!
serious injury.
CautionIndicates a potentially hazardous situation which, if not avoided, may result in minor or
!
moderate injury, or property damage.
OMRON Product References
All OMRON products are capitalized in this manual. The word “Unit” is also capitalized when it refers
to an OMRON product, regardless of whether or not it appears in the proper name of the product.
The abbreviation “Ch,” which appears in some displays and on some OMRON products, often means
“word” and is abbreviated “Wd” in documentation in this sense.
The abbreviation “PC” means Programmable Controller and is not used as an abbreviation for anything else.
Visual Aids
The following headings appear in the left column of the manual to help you locate different types of
information.
OMRON, 1997
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any
form, or by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permission of OMRON.
No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is
constantly striving to improve its high-quality products, the information contained in this manual is subject to change
without notice. Every precaution has been taken in the preparation of this manual. Nevertheless, OMRON assumes no
responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained in this publication.
Note Indicates information of particular interest for efficient and convenient operation
of the product.
1, 2, 3...1. Indicates lists of one sort or another, such as procedures, checklists, etc.
This manual describes the operation of the C200HW-NC113/NC213/NC413 Position Control Units and
includes the sections described below.
Please read this manual carefully and be sure you understand the information provided before attempting
to install and operate the C200HW-NC113/NC213/NC413 Position Control Units.
Section 1 introduces the features of the Position Control Unit and explains the system configuration in
which it is used.
Section 2 provides the Position Control Unit’s specifications and explains the wiring.
Section 3 explains how to use the RELATIVE MOVEMENT command employing the direct operation
method, and provides examples of how to use a stepping motor.
Section 4 provides information on the data areas used by the Position Control Unit.
Section 5 explains how to transfer and save parameters and data.
Section 6 explains the origin search and origin return operations.
Section 7 provides an outline of direct operation, details about data areas and how to set data, and sam-
ple programs.
Section 8 provides an outline of memory operation, details about data areas and how to set data, and
sample programs.
Section 9 describes the following operations: jogging, teaching, interrupt feeding, forced interrupt, deceleration stop, changing the present position, override, releasing pulse output prohibition, deviation counter
reset output/origin-adjustment command output, and backlash compensation.
Section 10 provides examples of programs for using the Position Control Unit.
Section 11 describes how to diagnose and correct errors that can occur during operation.
The Appendices provide data calculation standards, information on estimating times and pulses for
acceleration/deceleration, error code list, information on the effect of cable length on pulse output, and
parameter coding sheets.
!
WARNING Failure to read and understand the information provided in this manual may result in
personal injury or death, damage to the product, or product failure. Please read each
section in its entirety and be sure you understand the information provided in the section
and related sections before attempting any of the procedures or operations given.
xi
PRECAUTIONS
This section provides general precautions for using the Programmable Controller (PC), Position Control Unit (PCU), and
related devices.
The information contained in this section is important for the safe and reliable application of the Programmable Controller and the Position Control Unit. You must read this section and understand the information contained before
attempting to set up or operate a PC system.
This manual is intended for the following personnel, who must also have knowledge of electrical systems (an electrical engineer or the equivalent).
• Personnel in charge of installing FA systems.
• Personnel in charge of designing FA systems.
• Personnel in charge of managing FA systems and facilities.
2General Precautions
The user must operate the product according to the performance specifications
described in the operation manuals.
Before using the product under conditions which are not described in the manual
or applying the product to nuclear control systems, railroad systems, aviation
systems, vehicles, combustion systems, medical equipment, amusement
machines, safety equipment, and other systems, machines, and equipment that
may have a serious influence on lives and property if used improperly, consult
your OMRON representative.
Make sure that the ratings and performance characteristics of the product are
sufficient for the systems, machines, and equipment, and be sure to provide the
systems, machines, and equipment with double safety mechanisms.
This manual provides information for programming and operating Position Control Unit. Be sure to read this manual before attempting to use the PCU and keep
this manual close at hand for reference during operation.
3Safety Precautions
3Safety Precautions
WARNING Never attempt to disassemble any Units while power is being supplied. Doing so
!
may result in serious electrical shock or electrocution.
WARNING Never touch any of the terminals while power is being supplied. Doing so may
!
result in serious electrical shock or electrocution.
WARNING Provide safety measures in external circuits (i.e., not in the Programmable
!
Controller), including the following items, to ensure safety in the system if an
abnormality occurs due to malfunction of the PC or another external factor
affecting the PC operation. Not doing so may result in serious accidents.
• Emergency stop circuits, interlock circuits, limit circuits, and similar safety
measures must be provided in external control circuits.
• The PC will turn OFF all outputs when its self-diagnosis function detects any
error or when a severe failure alarm (FALS) instruction is executed. As a countermeasure for such errors, external safety measures must be provided to
ensure safety in the system.
• The PC outputs may remain ON or OFF due to deposits on or burning of the
output relays, or destruction of the output transistors. As a countermeasure for
such problems, external safety measures must be provided to ensure safety in
the system.
• When the 24-V DC output (service power supply to the PC) is overloaded or
short-circuited, the voltage may drop and result in the outputs being turned
OFF. As a countermeasure for such problems, external safety measures must
be provided to ensure safety in the system.
xiv
CautionTighten the screws on the terminal block on the AC Power Supply Unit to the
!
torque specified in the C200H, C200HS, or C200HX/HG/HE-(Z)E installation
guide. Loose screws may result in short-circuits, malfunction, or burning.
CautionConfirm safety at the destination node before transferring a program to another
!
node or editing the I/O area. Doing either of these without confirming safety may
result in injury.
4Operating Environment Precautions
Do not operate the control system in the following places.
• Locations subject to direct sunlight.
• Locations subject to temperatures or humidity outside the range specified in
the specifications.
• Locations subject to condensation as the result of severe changes in tempera-
ture.
• Locations subject to corrosive or flammable gases.
• Locations subject to dust (especially iron dust) or salts.
• Locations subject to shock or vibration.
• Locations subject to exposure to water, oil, or chemicals.
• Take appropriate and sufficient countermeasures when installing systems in
the following locations.
• Locations subject to static electricity or other forms of noise.
• Locations subject to strong electric fields or magnetic fields.
• Locations subject to possible exposure to radioactivity.
• Locations close to power supplies.
5Application Precautions
5Application Precautions
Observe the following precautions when using the Position Control Unit (PCU)
and Programmable Controller (PC).
WARNING Failure to abide by the following precautions could lead to serious or possibly
!
fatal injury. Always heed these precautions.
• Always ground the system to 100 Ω or less when installing the system to pro-
tect against electrical shock.
• Always turn off the power supply to the PC before attempting any of the follow-
ing:
• Mounting or dismounting the Power Supply Unit, I/O Units, CPU Unit,
other Units, or Memory Casettes.
• Assembling the devices.
• Setting DIP switches or rotary switches.
• Wiring or connecting cables.
• Connecting or disconnecting the connectors.
CautionFailure to abide by the following precautions could lead to faulty operation of the
!
PC or the system or could damage the PC or PC Units. Always heed these precautions.
• Fail-safe measures must be taken by the customer to ensure safety in the
event of incorrect, missing, or abnormal signals caused by broken signal lines,
momentary power interruptions, or other causes.
• Interlock circuits, limit circuits, and similar safety measures must be provided
by the customer as external circuits.
• Install external breakers and take other safety measures against short-circuit-
ing in external wiring.
xv
• Tighten the PC mounting screws, terminal block screws, and cable screws to
the torque specified in this manuals.
• Always use the power supply voltage specified in this manual.
• Take appropriate measures to ensure that the specified power with the rated
voltage and frequency is supplied. Be particularly careful in places where the
power supply is unstable.
• Use crimp terminals for wiring. Do not connect bare stranded wires directly to
terminals.
• Leave the dustproof labels affixed to the top of the Unit when wiring. After wir-
ing, remove the labels for proper heat radiation.
• Do not apply voltages to the Input Units in excess of the rated input voltage.
• Do not apply voltages or connect loads to the Output Units in excess of the
maximum switching capacity.
• Check the user program for proper execution before actually running it in the
Unit.
• Be sure that the terminal blocks, memory units, extension cables, and other
items with locking devices are properly locked.
• Double-check all the wiring before turning on the power supply.
• Disconnect the functional ground terminal when performing withstand voltage
tests.
• Confirm that no adverse effect will occur in the system before performing the
following operations:
• Changing the operating mode of the PC.
• Force-setting/resetting the relay contacts.
• Changing the present values or set values.
• Changing positioning data or parameters.
• Resume operation only after transferring to the new CPU Unit the contents of
the DM and HR Areas required for operation.
• Do not attempt to disassemble, repair, or modify any Units.
• Do not pull on or bend the cables beyond their natural limit. Doing so may break
the cables.
• Do not place heavy objects on top of the cables. Doing so may break the
cables.
• Resume operation only after saving in the Position Control Unit the parameters
and position data required for resuming operation.
• Be sure that the set parameters and data operate properly.
• Be sure to check the pin numbers before wiring the connectors.
5Application Precautions
xvi
SECTION 1
Introduction
This section introduces the features of the Position Control Unit and explains the system configuration in which it is used.
These Position Control Units are C200HX/HG/HE-series and C200H/HS-series
Special I/O Units. The Units receive instructions from the Programmable Controller’s IR area and output pulse trains to various motor drivers for positioning.
C200HW-NC213
(2-axis control)
C200HW-NC113
(1-axis control)
Functions
Motor Driver Selectable
by Axis Unit
Number of Control Axes
and Control Capacity
Memory Operation and
Direct Operation
Interrupt Feeding
High-speed Response
Compact Size
The operating mode can be set by axis unit, so it is possible to select the motor
driver by axis unit. The Position Control Unit outputs pulse trains, so it can easily
be connected to the following motor drivers.
• Stepping motor driver
• Servomotor drivers with pulse input.
The Position Control Unit is available with one, two, or four control axes. With the
two-axis model, the two axes can either be used together for linear interpolation
or they can be operated independently. With the four-axis model, up to four axes
can be used together for linear interpolation or the axes can all be operated independently.
There are two different control methods. The first is memory operation, in which
the data required for positioning is transferred to the Position Control Unit and
then specified for position control, and the second is direct operation, in which
the target position and target speed are set each time from the Programmable
Controller.
When an interrupt is input during pulse output, positioning is continued for only
the specified number of pulses and then stopped.
The Position Control Unit responds to instructions from the Programmable Controller within 10 ms. (This applies to the C200HW-NC113.)
The single-axis, two-axis, and four-axis models are all one size, so space efficiency can be maximized by using multi-axis control with the two-axis and fouraxis models.
Special Support Tool
(SYSMAC-NCT)
2
A special support tool, SYSMAC-NCT, that runs on Windows 95 can be used
with C200HX/HG/HE-series Programmable Controllers. The SYSMAC-NCT
Support Tool can be used for writing data created or edited at a personal computer to the PCU, for reading data from the PCU, and for saving or printing out
data. It also enables the monitoring of status such as I/O and positioning
sequence numbers during execution. For details on operating this Support Tool,
refer to the SYSMAC-NCT Support Tool Operation Manual.
1-1SectionFeatures
The SYSMAC-NCT Support Tool can only be used to access PCUs mounted on
a CPU Rack or an Expansion I/O Rack. It cannot access PCUs mounted on
Slave Racks. The SYSMAC-NCT Support Tool cannot be used with
C200H/C200HS CPU Units.
Data Capacity and
Backup
High-speed Data Transfer
The amounts of data that can be set for memory operation are shown in the following table:
These data items are transferred to the PCU for use. Once they have been transferred to the PCU they can be saved to the PCU’s flash memory, so there is no
need for battery maintenance.
Note There is a limit to the service life of the flash memory. A total of up to 100,000 data
saving operations can be performed.
With C200HX/HG/HE-series Programmable Controllers, not only can data be
transferred by means of data transfer bits and SYSMAC-NCT Support Tool, but
high-speed data transfers can also be performed by means of the Intelligent I/O
Write (IOWR) and Intelligent I/O Read (IORD) instructions.
3
1-2System Configuration
The Position Control Unit receives control signals (CW limit, CCW limit, origin,
origin proximity, emergency stop, and external interrupt input signals) from
devices and a control panel, and outputs pulse trains to stepping motor drivers
and servomotor drivers.
The Position Control Unit belongs to the SYSMAC C200H, C200HS, and
C200HX/HG/HE Special I/O Unit group. The numbers of Special I/O Units
(including PC Link Units) that can be mounted to a single CPU Unit are shown in
the following table.
C200HX/HG-CPU5j/6j-(Z)E
C200HX/HG-CPU3j/4j-(Z)E
• For details on the particular Units that belong to each of the Special I/O Unit
groups, refer to the appropriate Programmable Controller operation manual.
4
1-2SectionSystem Configuration
• There are restrictions on the maximum current provided to each Rack and the
the current consumption for each Unit. For details, refer to the appropriate Programmable Controller operation manual.
• There are restrictions on the use of Remote I/O Slave Racks. These restric-
tions are explained in Restrictions on Using Remote I/O Slave Racks below.
Restrictions on Using
Remote I/O Slave Racks
As shown in the following table, the number of Special I/O Units that can be used
on a single Remote I/O Slave Rack is determined by the the particular Special
I/O Unit group (A, B, C, or D).
Group AGroup BGroup CGroup D
Units in
group
Number of
Units that
can be used
High-speed Counter
Units
Position Control Unit
(NC111/112)
(NC113/213)
ASCII Units
Analog I/O Units
ID Sensor Units
Fuzzy Logic Units
4 Units8 Units6 Units2 Units
High-density I/O Units
Temperature Control
Heat/Cool Temperature
PID Control Units
Cam Positioner Unit
• If Special I/O Units from different groups are to be mixed, then use a combina-
tion that satisfies the following two formulas:
3A + B + 2C + 6D x 12
A + B + C + D x 8
• There are restrictions on the number of Units that can be used with particular
CPU Units. For details, refer to Number of Usable Units described previously.
System Configuration Considerations
• The I/O bits allocated to a particular Special I/O Unit are determined by the unit
number that is set by the switch on the front panel of the Unit, and not by the slot
in which the Unit is mounted.
• With the C200H, do not mount a Position Control Unit in the two slots adjacent
to the CPU Unit. If it is mounted in those slots, it will not be possible to mount
tools such as the Programming Console.
• Special I/O Units cannot be used with C200H Remote I/O Slave Racks that are
connected to Remote I/O Master Racks for other SYSMAC Programmable
Controller models (such as C120, C500, C1000H, and C2000H).
Units
Control Units
Temperature Sensor Units
Voice Unit
Position Control Units
(NC211)
(NC413)
Mounting the Unit
Follow the procedure outlined below to mount the Position Control Unit to the
Backplane.
1, 2, 3...1. Insert the hook on the upper rear of the Unit into the slot in the Backplane.
Hook
Backplane
Lock lever
2. Carefully insert the Unit into the connector on the Backplane.
5
1-2SectionSystem Configuration
3. To remove the Unit. use an implement such as a screwdriver to press down
on the lock lever and then carefully lift the Unit out.
Lock lever
Note When installing Units on a Rack, leave adequate space for mounting and remov-
ing the Units as shown in the following diagram.
20 mm min.
Precautions When Handling the Unit
• Before installing or disconnecting the Unit or connecting cable, be sure to first
turn off both the Programmable Controller and the power supply.
• To minimize any influence from noise, place I/O wiring, high-voltage lines, and
power lines in separate ducts.
• Wire clippings tend to get scattered around during wiring, so leave the label in
place on top of the Unit to prevent any clippings from getting inside the Unit.
Once the wiring has been completed, be sure to remove the label to provide
ventilation.
Backplane
20 mm min.
Flathead screwdriver
Remove the label after
completing the wiring.
6
1-3Basic Operations
The C200HW-NC113 (one axis), C200HW-NC213 (two axes), and C200HWNC413 (four axes) Position Control Units are designed for use with C200HX/
HG/HE-series and C200H/C200HS-series systems.
1-3-1Position Control
Positioning can be executed with either an absolute value (i.e., to an absolute
position from the origin) or with an incremental value (i.e., to a relative position
from the present position).
There are two methods for positioning: memory operation and direct operation.
Interrupt feeding, in which operation proceeds for the specified amount after an
interrupt input, is also possible.
1-3SectionBasic Operations
Memory Operation
Positioning sequence #0
Acceleration time number
Initial speed
number
With memory operation, positioning sequences (i.e., individual positioning
operations, which include data such as positions and speeds) are transferred to
the Position Control Unit in advance, and then positioning is executed from the
Programmable Controller by specifying those positioning sequences by number.
Depending on the completion code that is set, positioning sequences can be
executed using terminating positioning, automatic positioning, or continuous
positioning. In the following illustrations, “#0” and “#1” indicate positioning
sequence numbers.
#0
Time
Start
#1
Time
Pauses for length of
dwell time that is set.
#0
StartDoes not stop.
#1
Time
With direct operation, positions and speeds are set in allocated areas in the Programmable Controller’s DM and EM areas, and positioning is executed using
that data.
7
1-3SectionBasic Operations
Interrupt Feeding
1-3-2Speed Control
When an interrupt input signal is received, positioning is continued for the specified amount of pulses and then stopped.
Interrupt input signal
Speed
Specified amount
of pulses
Time
When a start is executed once, pulses are continuously output at a constant rate.
The pattern depends on the completion code that is set for “memory operation”
positioning sequences. To stop the sequence, use the STOP command.
Speed
STOP
1-3-3Other Operations
Origin Search
Jogging
Teaching
The origin search operation finds the origin for the designated axis.
The jogging operation moves a specified axis at a designated speed and then
stops it.
The teaching operation takes the present position for the specified positioning
sequence.
Time
Start
Present position
Origin
Specified positioning sequence number
8
1-3SectionBasic Operations
Override
Changing the Present
Position
Backlash Compensation
When the override is enabled during positioning, the target speed is changed to
the override speed.
Speed
A x 1.5
Override enable
A
1
0
Override setting: 150%
Time
The PRESENT POSITION CHANGE command changes the present position to
a specified position.
This operation compensates for the amount of mechanical play, or “looseness,”
present in gears.
Zones
Zone Flag
Deceleration Stop
A zone is a range of positions which can be defined so that flags are turned ON
whenever the present position is within the range.
CCWCW
Zone setting
ON
OFF
The STOP command decelerates positioning to a stop.
STOP
Speed
1
0
Time
9
1-3SectionBasic Operations
The C200HW-NC113/NC213/NC413 Position Control Unit’s operations are as
follows:
PCU operationsPosition controlMemory
operation
Direct operation
Interrupt feeding
Speed control
Other operationsOrigin search
Independent
Automatic
Continuous
Jogging
Teaching
Override
Present position
change
Backlash
compensation
Zone setting
Deceleration stop
10
1-4Control System Principles
1-4-1Data Flow
C200HW-NC113/NC213/NC413 Position Control Unit
Pulse train
1-4SectionControl System Principles
Stepping motor driver
Stepping motor
SYSMAC
C200HX/HG
/HE
C200HS/Hseries PC
PCBUS
MPU
I/F
Memory
Pulse
generator
I/O
interface
Pulse
generator
I/O connector
Magnetizing distribution circuit
External
input
Power
amplifier
I/O
interface
I/O connector
Note For the NC113, the circuitry is for just one axis.
Pulse train
Servomotor driver
Error counterPower amplifier
Servomotor
(Positioning output)
Tachogenerator
Rotary encoder
11
1-4-2Control System Principles
1-4SectionControl System Principles
Open-Loop System
In an open-loop system, positioning is controlled according to the number of
input pulses that the motor receives, and no position feedback is provided. The
C200HW-NC113/NC213/NC413 PCUs all employ pulse-output-type open-loop
systems, and the most commonly used motor for this type of control system is a
stepping motor. The angle of rotation of a stepping motor can be controlled
through the number of pulse signals supplied to the motor driver. The number of
rotations of the stepping motor is proportional to the number of pulses supplied
by the PCU, and the rotational speed of the stepping motor is proportional to the
frequency of the pulse train.
Angle of
rotation
1 2 n
Positioning pulses
1-4-3Basic Positioning System Design
The following diagram and parameters illustrate a simplified positioning system.
M : Reduction ratio
P : Feed screw pitch (mm/revolution)
V : Feed velocity of object being positioned (mm/s)
: Stepping angle per pulse (degree/pulse)
θ
s
Angle of rotation
Positioning output
N
Stepping motor
Reduction gear
M
Object being
positioned
V
Feed screw pitch
P
The positioning accuracy in mm/pulse is computed as follows:
Positioning accuracy= P/(pulses per revolution x M)
= P/((360/ θ
= (P x θ
) x M))
s
)/(360 x M)
s
The required pulse frequency from the PCU (pulses/second) is computed as follows:
Pulse frequency = V/Positioning accuracy
= (360 x M x V)/(P x θ
)
s
And the required number of pulses to feed an object by a distance L in mm is
computed as follows:
Number of pulses= L/Positioning accuracy
= (360 x M x L)/(P x θ
)
s
12
1-5Exchanging Data
The Position Control Unit exchanges data with the Programmable Controller as
shown in the following diagram. This explanation is provided using the
C200HW-NC413 as an example. The size of the allocated areas differs with the
NC113 and NC213. For details regarding the data areas for the various PCUs,
refer to Section 4 Data Areas.
Operating Memory Area
IR area
Parameter area
I/O refresh
(Operation commands, data
transfer commands, etc.)
I/O refresh (PCU status)
1-5SectionExchanging Data
PCU
Command
interpretation
Status
DM area
DM or EM area
DM or EM area
Common
parameters
Axis parameters
Operating Data Area
Data transfer area
Address M data
Address N data
At power-up or restart
(Common parameters)
At power-up or restart
(Axis parameters)
I/O refresh
(Data transfer and operation
command information)
I/O refresh (PCU status)
When data transfer
commands are executed.
When IOWR or IORD is
executed.
Address
Common
parameters
Data transfer and
operation command
information
Status
Internal memory
Axis parameters
(Data for positioning)
When data is transferred
Saving
data
Power-up
or restart
Flash memory
13
1-5-1Explanation
1-5SectionExchanging Data
Note The axis parameter data stored in addresses 0004 to 0099 can be transferred
from words (m+4) through (m+99) of the DM area, and data can also be transferred for the data transfer area at the Programmable Controller. Moreover, data
can be saved to the flash memory.
The explanations provided here use the C200HW-NC413 PCU as an example.
With the NC213 and NC113, the sizes of the various areas differ depending on
the number of axes. For details, refer to Section 4 Data Areas.
Operating Memory Area
(IR Area)
Parameter Area
(DM Area)
Operating Data Area
The PCU occupies 20 words of the Special I/O area within the Programmable
Controller’s IR area. Of these, eight words are used during I/O refreshing for outputting information related to instructions for operations such as transferring
data from the Programmable Controller to the PCU. The remaining 12 words are
used for inputting the PCU’s status during I/O refreshing.
The PCU occupies 100 words of the Special I/O Unit data area within the Programmable Controller’s DM area. When the PCU is powered up or restarted,
common parameters and axis parameters related to control are transferred to
the PCU. The axis parameters are stored in the PCU’s internal RAM by address.
It is also possible, when the PCU is powered up or restarted, to use axis parameters previously stored in the PCU’s internal flash memory, without having them
transferred from the Programmable Controller. The selection as to which of
these two methods to use is made by a common parameter setting. For details,
refer to 4-2 Common Parameter Area.
Note The common parameter area settings are required when the PCU is used. If
these settings are not made, a common parameter error (error codes 0010 to
0013) will be generated.
Depending on a common parameters setting, 34 words are reserved in the Programmable Controller’s data areas. Of these, 26 words are used during I/O
refreshing for outputting information related to data transfers from the Programmable Controller to the PCU, and information used for operations. The remaining eight words are used for inputting the PCU’s status during I/O refreshing.
Data Transfer Area
Internal Memory and
Flash Memory
14
When data is transferred according to the data transfer information set in the
operating data area, only the portion of data transferred is used. When the data
transfer instructions, Intelligent I/O Write (IOWR) and Intelligent I/O Read
(IORD), are executed, the positioning data is transferred to the PCU.
Data in internal memory can be saved to flash memory by executing a data save
instruction from the Programmable Controller. The saved data is automatically
written to the internal memory when the PCU is powered up or restarted. However, whether axis parameters are read from the parameter area (DM) or from
flash memory is determined by a common parameters setting.
1-6Before Operation
Wiring external inputs. (Refer to Section 2 Specifications and Wiring.)
Wire the origin input signal, origin proximity input signal, CW and CCW limit input
signals, emergency stop input signal, and interrupt input signal.
Wiring the motor and motor driver.
Wire the motor and motor driver as described in the installation manual.
Wiring the motor driver and PCU. (Refer to Section 2Specifications and Wiring.)
Setting common parameters. (Refer to 4-2 Common ParameterArea.) (See note 1.)
Set the operating data area, the mounting position, and the
parameters.
Setting axis parameters. (Refer to 4-3 Axis Parameter Area.) (See
note 2.)
Set the data required for PCU control, the I/O settings, the operation mode, the origin search method, the origin search speed, the
acceleration/deceleration curve, the CW and CCW limit signals, etc.
Re-powering or restarting the PCU. (See note 5.)
The common and axis parameter settings will go into effect.
1-6SectionBefore Operation
Saving axis parameters.
(Refer to 5-7 Saving Data.)
If setting axis parameters by
means of a data transfer, save
the settings to flash memory.
Interrupt feeding and
other operations.
(Refer to Section 9Other Operations.)
Busy Flag
(See note 6.)
OFF
(When using direct operation.)
Setting the operating data area.
(Refer to 4-1 Overall Structure, 4-5 OperatingData Area)
Set the positions, speeds, and acceleration/deceleration times
Creating the ladder program.
(Refer to Section 7 Direct Operation.)
Origin search. (Refer to Section 6 Defining the Origin.)
(See note 4.)
Executing direct operation, memory operation (Refer to
Section 7 Direct Operation, Section 8 Memory Operation.)
Trial operation, debugging. (Refer to Section 11 Trouble-shooting.) (See note 5.)
ON
(When using memory operation.)
Transferring data. (Refer to Section 5Transferring and Saving Data.)
Transfer to the PCU the data to be
used for memory operation.
Saving the data (Refer to 5-1 Transfer-
ring and Saving Data, 5-7 Saving
Data.) (See note 3.)
Creating the ladder program.
(Refer to Section 8 Memory Operation.)
Correcting the data and
the ladder program.
NG
Operation. (Refer to Section 11 Troubleshooting.)
Trial operation
(See note 5.)
OK
Note1. These settings are required when first using the PCU, or when changing the
operating data area, the mounting position, or the parameter settings.
15
1-6SectionBefore Operation
2. The user can select whether to use the axis parameters set in Data Memory
or the axis parameters saved at the PCU.
3. All saved data is automatically read to the PCU’s internal memory when the
PCU is powered up. If the common parameters are set so that data saved at
the PCU is used, then the axis parameters will be automatically read at power-up.
4. For operations that cannot be performed when the origin is not established,
it will be necessary to first execute an origin search or a present position
change to establish the origin.
5. For the operational flow when an error or alarm is generated, refer to Section11 Troubleshooting.
6. When powering up or restarting the PCU, wait for the X-axis Busy Flag to
turn OFF before executing any commands.
16
Specifications and Wiring
This section provides the Position Control Unit’s specifications and explains the wiring.
The general specifications conform to the specifications for the SYSMAC
C200H, C200HS, and C200HX/HG/HE.
2-1-2Operations and Performance Specifications
2-1SectionSpecifications
Item
C200HW-NC113C200HW-NC213C200HW-NC413
Applicable PC modelsC200HX/HG/HE-series and C200HS/H-series
I/O requirements
Controlled driverPulse-train input-type servomotor driver or stepping motor driver
Control
Control unitPulse
Positioning operationsTwo types: memory operation and direct operation
Positions
Speeds
Acceleration and
deceleration times
Functions and
settings
Words5 words10 words20 words
Slots1 slot
Control systemOpen-loop control by pulse train output
Number of control
axes
Independent1 axis2 independent axes4 independent axes
Linear interpolationNone2 axes max.4 axes max.
Speed control1 axis2 independent axes4 independent axes
Interrupt feeding1 axis2 independent axes4 independent axes
Range–9,999,999 to 9,999,999 pulses
Data items100/axis
Range1 pps to 500 Kpps
Data items100/axis
Range0 to 250 s, until maximum speed is reached.
Data items9/axis for acceleration and deceleration each
Origin searchOrigin proximity input signal: selectable (absent, N.O. or N.C. contact).
JoggingJogging can be executed at a specified speed.
Dwell times19/axis can be set from 0 to 9.99 s (unit: 0.01 s).
Acceleration/
deceleration curves
ZonesZone Flag turns ON when present position is within a specified zone.
Software limitCan be set within a range of –9,999,999 to 9,999,999 pulses.
Backlash
compensation
TeachingWith a command from the PC, the present position can be taken as the
Deceleration stopThe STOP command causes positioning to decelerate to a stop
Emergency stopPulse outputs are stopped by an external emergency stop command.
1 axis2 axes4 axes
Origin input signal: selectable (N.O. or N.C. contact)
Origin compensation: –9,999,999 to 9,999,999 pulses
Origin search speed: High-speed or proximity-speed can be set.
Origin search method: May be set to stop upon origin input signal after
proximity input signal has turned ON, to stop upon origin input signal
after proximity input signal has turned OFF, to stop upon origin input
signal without using proximity input signal, or to stop upon origin input
signal after limit input signal has turned OFF.
N.O. = Normally open
N.C. = Normally closed
Trapezoidal or S-curve (Can be set separately for each axis.)
Three zones can be set for each axis.
0 to 9,999 pulses. Compensation speed can also be set.
position data.
according to the specified deceleration time.
Model
18
ItemModelItem
segs
sopecoeco
speccaos
0sa
sede
sgacoespodgo
0sa
C200HW-NC413C200HW-NC213C200HW-NC113
Functions and
settings
External I/O
Pulse output distribution period4 ms
Response timeRefer to Appendix A Data Calculation Standards.
Self-diagnostic functionFlash memory check, memory loss check, I/O bus check
Error detection functionOvertravel, CPU error, software limit over, emergency stop
Internal current consumption (provided from
Backplane)
Dimensions (one size)130 (H) x 34.5 (W) x 100.5 (D)
Weight (excluding connectors)250 g max.300 g max.350 g max.
Present position
change
OverrideWhen the override enabling command is executed during positioning,
Data saving1)Saving to flash memory. (Can be written 100,000 times.)
InputsPrepare the following inputs for each axis:
OutputsPrepare the following outputs for each axis:
The PRESENT POSITION CHANGE command can be used to change
the present position to a specified value.
the target speed is changed by applying the override coefficient.
Possible to set to a value from 1 to 999% (by an increment of 1%)
2) Reading to PC area by data reading instruction.
3) Reading by SYSMAC-NCT Support Tool and saving to personal
computer hard disk or floppy disk.
Pulse outputs (open collector outputs)
CW/CCW pulses, pulse outputs and direction outputs can be switched.
Either error counter reset or origin-adjustment command outputs can
be selected depending on the mode.
5 VDC at 300 mA
max.
5 VDC at 300 mA
max.
5 VDC at 500 mA
max.
2-1SectionSpecifications
2-1-3I/O Electrical Specifications
Input Specifications
Voltage24 VDC ±10%
Current4.3 mA (at 24 V) typ.
ON voltage17.4 VDC min.
OFF voltage5.0 VDC max.
ON response time1 ms max. (0.1 ms max.: Interrupt input)
OFF response time1 ms max.
Origin-signal Input
Specifications
ItemConnection
External signal
is open-collector
signal
External signal
is line-driver
signal
ItemSpecification
SpecificationResponse
Terminal
X/Z AxisA15
A14
Y/U AxisB15
B14
X/Z AxisA16
A14
Y/U AxisB16
B14
Conform to above input
specifications
Signal is a line-driver output
signal corresponding to
Am26LS31
Time
N.O. contact:
0.1 ms max.
N.C. contact:
1 ms max.
N.O. contact:
0.1 ms max.
N.C. contact:
1 ms max.
19
2-1SectionSpecifications
Output Specifications
CW/CCW Pulse Output
Specifications
Maximum switching
capacity
Minimum switching
capacity
Leakage current0.1 mA max.
Residual voltage0.6 V max.
External power supply24 VDC ±10% NC413: 90 mA max.
The minimum CW/CCW pulse widths are shown below.
The OFF and ON refer to the output transistor.
ItemSpecification
30 mA at 4.75 to 26.4 VDC (NPN open collector)
(16 mA: Terminals with 1.6-kΩ limit resistance)
7 mA at 4.75 to 26.4 VDC (NPN open collector)
NC213: 50 mA max.
NC113: 30 mA max.
The output transistor is ON at level “L.”
B
OFF
90%
10%
ON
A
Pulse
frequency
50 Kpps9.7 µs min.9.7 µs min. 9.8 µs min. 9.8 µs min. 9.7 µs min. 9.7 µs min.9.7 µs min. 9.7 µs min.
100 Kpps4.7 µs min. 4.7 µs min. 4.8 µs min. 4.8 µs min. 4.7 µs min. 4.7 µs min.4.8 µs min. 4.8 µs min.
200 Kpps2.3 µs min. 2.3 µs min. 2.3 µs min. 2.3 µs min. 2.2 µs min. 2.2 µs min.2.3 µs min. 2.3 µs min.
500 Kpps0.76 µs
7 mA/5 VDC±5%30 mA/5 VDC±5%7 mA/24 VDC±10%
ABABABAB
0.82 µs
min.
min.
Open or close current / Loaded power-source voltage
(1.6-kΩ resistance)
0.77 µs
min.
0.88 µs
min.
0.74 µs
min.
0.72 µs
min.
16 mA/24 VDC±10%
(1.6-kΩ resistance)
0.76 µs
min.
0.85 µs
min.
Note1. The load in the above table is the net resistance load, and the connecting
cable impedance with the load is not considered.
2. Due to distortions in pulse waveforms as a result of connecting cable impedance, pulse widths during actual usage may be smaller than those shown in
the above table.
2-1-4Dimensions (Unit: mm)
Mounted Dimensions
Backplane
Cable
Approx. 230
20
2-2Components
Nomenclature
C200HW-NC413C200HW-NC213C200HW-NC113
2-2SectionComponents
LED indicators
Show the PCU’s
operating status.
X/Y axis connector
Connects stepping
motor driver or
servomotor driver.
(2-axis control)
Unit number setting switch
Sets the unit number for the
PCU.
Z/U axis connector
Connects stepping motor
driver or servomotor
driver. (2-axis control)
X, Y axis
connector
X axis
connector
21
LED Indicators
g
g
g
g
jj
jj
NameColorStatusExplanation
RUNGreen
ERRRed
SENSRed
DATARed
DATARedNot litNone of the above has occurred.
XOrange
YOrange
ZOrange
UOrange
LitLit during normal operation.
Not litHardware error, or PC notified of PCU error.
Lit / flashingAn error has occurred.
Not litNo error has occurred.
LitEither a CW/CCW limit signal or an emergency stop input signal is being input. At
this time the LED indicator for the relevant axis (X to U) will flash.
FlashingEither a parameter loss, a data loss, or an operating data area designation error
has occurred.
Not litNone of the above has occurred.
FlashingThe check of all data (parameters, positions, etc.) following power up shows that
data is lost or corrupted.
LitData is incorrect (e.g., the parameters or positions transferred are out of the
permissible range). At this time the LED indicator for the relevant axis (X to U)
will flash.
LitPulses are being output to the X axis (either forward or reverse).
FlashingAn error has occurred, such as incorrect cable type for the X axis or faulty data.
Not litNone of the above has occurred.
LitPulses are being output to the Y axis (either forward or reverse).
FlashingAn error has occurred, such as incorrect cable type for the Y axis or faulty data.
Not litNone of the above has occurred.
LitPulses are being output to the Z axis (either forward or reverse).
FlashingAn error has occurred, such as incorrect cable type for the Z axis or faulty data.
Not litNone of the above has occurred.
LitPulses are being output to the U axis (either forward or reverse).
FlashingAn error has occurred, such as incorrect cable type for the U axis or faulty data.
Not litNone of the above has occurred.
2-2SectionComponents
Unit Number Setting
Switch
Note For details regarding errors, refer to Section 11 Troubleshooting.
• For the C200HW-NC213, this applies only to the X axis; for the C200HW-
NC213, it applies only to the X and Y axes.
• When not all of the axes are used for the C200HW-NC213 or C200HW-
NC413, either connect the CW/CCW limit inputs for the unused axes to the
input power supply and turn them ON or set the contact logic to N.O. Connect
the emergency stop to the input common and turn it ON. If it is not connected,
the ERR indicator will light. Operation will be normal, however, for all axes that
are used.
This switch sets the unit number (i.e., the machine number) for the PCU.
The permissible range of unit number settings depends on the type of Programmable Controller and the PCU model, as shown in the following table.
PC typePCU modelSetting range
C200HX/HG-CPU3j/4j
and all C200HE/HS/H models
C200HX/HG-CPU5j/6j
NC113/NC2130 to 9
NC4130 to 8
NC113/NC2130 to 9, A to F
NC4130 to 8, A to E
22
Any unit number within the permissible range can be set, as long as it does not
overlap with the unit numbers that are set for any other Special I/O Units
mounted to the same Programmable Controller.
CautionBe sure to turn off the power supply before making the settings.
!
The IR and DM areas are allocated according to the unit numbers that are set.
For details regarding allocated word addresses, refer to the memory area
allocation tables in Section 4 Data Areas.
2-2SectionComponents
23
2-3External I/O Circuitry
2-3-1Connector Pin Arrangement
X/Y axisX/Y axisX axisZ/U axis
C20HW-NC413C20HW-NC213C20HW-NC113
2-3SectionExternal I/O Circuitry
Connector pin arrangement for X and Z axesConnector pin arrangement for Y and U axes
The pulse output and error counter reset circuitry of the Position Control Unit are
provided with two types of terminals: terminals with 1.6 kΩ (1/2 W) limit resistance and terminals with no resistance. Select the terminals in accordance with
the power requirements and the specifications of the motor driver to be used.
CautionConnect a load of 7 to 30 mA (or 7 to 16 mA for terminals with 1.6 kΩ limit resis-
!
tance) to the output section. If a current greater than this is used, it will cause
damage to the PCU’s internal components. Also, be sure to use the CW/CCW
output method when using pulse output terminals with limit resistance.
Open collector output with 1.6 k
Output
7 to 30 mA
7 to 13 mA
Ω series resistance
Output
27
(Circuit example)
PCU
2-3SectionExternal I/O Circuitry
Add bypass resistance for loads less than 7 mA.
24 VDC
power
supply
Driver
7 mA
1 mA
Bypass resistance
6 mA
28
Inputs
680 Ω
680 Ω4.7 kΩ (1/2W)
680 Ω4.7 kΩ (1/2W)
680 Ω4.7 kΩ (1/2W)
4.7 kΩ (1/2W)
2-3SectionExternal I/O Circuitry
Output power supply, 24 VDC
Positioning completed input signal
Input common
External interrupt input (N.O. contact)
Emergency stop (N.C. contact)
(see note)
Origin proximity input
(N.O./N.C. contact) (see
note)
680 Ω4.7 kΩ (1/2W)
CW limit input (N.O./N.C.
contact) (see note)
680 Ω
680 Ω
4.7 kΩ (1/2W)
4.7 kΩ (1/2W)
150 Ω
CCW limit input (N.O./N.C.
contact) (see note)
Origin input signal (24 V)
(N.O./N.C. contact) (see note)
Origin input signal
(N.O./N.C. contact) (see
note)
Origin common
Line driver output
Note Either N.C. or N.O. can be set by the axis parameters. (Refer to 4-3 Axis Param-
eters Area.)
Connect a switch with a switching capacity of at least 5 mA to the 24-V origin
input signal terminal.
The origin input signal’s operating modes are used as follows:
Mode 0:Response time: 0.1 ms (N.O. contact setting)
Use a sensor such as a photoelectric switch with no chattering.
Modes 1/2: Response time: 0.1 ms (N.O. contact setting)
Use when connecting the encoder’s Z-phase output (line driver
output).
CautionUse either the 24-VDC origin input signal or the 5-VDC origin input signal, but not
!
both. If both are connected it will damage the internal circuitry.
Do not connect the 5-VDC origin input signal input to any output circuit except
the line driver.
29
2-4Connecting External I/O
This section provides motor driver connection examples. When actually connecting a motor driver, be sure to first check the specifications of the motor driver
to be used.
2-4-1Output Connection Examples
Pulses are not output when the output transistor in the pulse output section is
OFF. (For direction output, OFF indicates CCW.)
Do not use a 24-VDC power supply for pulse output in common with the power
supply for other I/O.
Output transistor
CW/CCW Pulse Outputs
CW
2-4SectionConnecting External I/O
ON
OFF
During pulse output
CWCCW
CCW
Pulse and Direction Outputs
Pulses
Direction
CWCCW
Output transistor ON
Output transistor OFF
30
2-4SectionConnecting External I/O
Outputting CW and CCW
Pulses
Position Control Unit
24-VDC
input
CW pulse
output
CCW pulse
output
1.6 kΩ
1.6 kΩ
In this example, a 5-VDC photocoupler input motor driver is used for outputting
CW and CCW pulses.
24-VDC
power
supply
+–
A1/B1
A6/B6
Approx.
12 mA
A8/B8
Approx.
12 mA
A2/B2
Motor driver (for 5-VDC input)
(For example R=220 Ω)
+
–
+
–
Note In this example, the 1.6 kΩ resistors of the Position Control Unit are used to allow
a 24-VDC power supply to be used with a motor driver rated at 5 VDC.
When wiring your system, carefully note the current required by the motor driver
in order to avoid damaging the input circuitry of the motor driver.
31
2-4SectionConnecting External I/O
Outputting CW and CCW
Pulses
Position Control Unit
24-VDC
input
CW pulse
output
CCW pulse
output
1.6 kΩ
1.6 kΩ
In this example, a 5-VDC photocoupler input motor driver is used for outputting
CW and CCW pulses.
24-VDC
power
supply
+–
A1/B1
A5/B5
A7/B7
A2/B2
5-VDC
power
supply
+–
Motor driver (for 5-VDC input)
+
–
+
–
Outputting Pulse and
Direction Signals
Position Control Unit
24-VDC
input
Pulse
(CW+CCW)
output
Direction
output
1.6 kΩ
1.6 kΩ
In this example, a 5-VDC input motor is used for outputting pulse and direction
signals.
24-VDC
power
supply
Motor driver (for 5-VDC input)
Direction input
Pulse input
A1/B1
A5/B5
A7/B7
A2/B2
+
7 to 30 mA
7 to 30 mA
–
32
When voltage-level output is used, the level is L for output ON, and H for output
OFF.
2-4SectionConnecting External I/O
Error Counter Reset
Output
Position Control Unit
24-VDC
power
supply for
output
Position Control Unit
24-VDC
power
supply for
output
1.6 kΩ
There is approximately 20 ms of output when origin search is completed in
modes 1 or 2.
24-VDC
A1/B1
A10/B10
A2/B2
A1/B1
A10/B10
A2/B2
+
power
supply
–
5-VDC
power
supply
+–
24-VDC
power
supply
+–
+ECRST
–ECRST
+ECRST
–ECRST
OMRON R88D-UP
Servomotor Driver
5
6
OMRON R88D-UP
Servomotor Driver
5
6
2-4-2Input Connection Examples
CautionIf the switching capacity is too low it may cause damage to the switch. Connect a
!
switch with a switching capacity of at least 5 mA for each input.
With N.C. inputs, be sure to connect a power supply for unused terminals and
turn them on.
This section shows examples of connecting interrupt, emergency stop, and CW/
CCW limit input signals.
33
The input section has both N.O. and N.C. inputs. Either can be used depending
on the axis parameter settings. For details regarding axis parameters, refer to
4-3 Axis Parameters Area.
External interrupt input signalN.O.
Emergency stop input signalN.C.
Origin proximity input signalN.C. or N.O.
CW limit input signalN.C. or N.O.
CCW limit input signalN.C. or N.O.
C200HW-NC113/213/413 Position Control Unit
2-4SectionConnecting External I/O
NameConnection type
24-VDC
power
supply
External
interrupt
input signal
Emergency
stop input
signal
Origin
proximity
input signal
CW limit
input signal
CCW limit
input signal
680 Ω
680 Ω
680 Ω
680 Ω
680 Ω
4.7 kΩ (1/2W)
Switch (N.O. contact)
4.7 kΩ (1/2W)
Switch (N.C. contact)
4.7 kΩ (1/2W)
Switch
(N.O./N.C. contact)
4.7 kΩ (1/2W)
Switch
(N.O./N.C. contact)
4.7 kΩ (1/2W)
Switch
(N.O./N.C. contact)
34
2-4-3Connecting Origin and Positioning Completed Input Signals
The examples below show input connections when open collector sensor output
and the encoder’s Z-phase line driver output are used.
The positioning completed input signal is also used as an origin search completed signal in modes 2 and 3. Adjust the setting of the servomotor driver so that
this signal always turns off while the servomotor is operating, and on when the
motor is stopped.
An origin search operation cannot be completed unless the positioning completed input signal turns ON after positioning has been completed.
24-VDC
power supply
OMRON R88D-UP
Servomotor Driver
8
INP
10
OGND
680 Ω
4.7 kΩ
(1/2W)
A1/B1
A12/B12
+
–
35
2-4-4Wiring Precautions
Operational errors such as dislocation can occur in most electronic control
devices if they are subjected to electronic noise from nearby power lines or
loads. Recovery from such errors is usually very difficult and time consuming. To
avoid such noise-generated operational errors and improve system reliability,
always observe the following precautions in wiring the system.
Be sure to use the sizes and materials indicated in the specifications when connecting power lines and cables.
Power lines (e.g., AC power supply, motor power line) and control lines (e.g.,
pulse output lines, external I/O signal lines) must be wired separately. Never put
these lines into the same duct or make them into a single bundle.
• Attach a 1-µF multi-layer ceramic capacitor to the pulse output power supply to
improve noise resistance.
• Use shielded cable for control lines.
• Connect the shielded cable to the frame ground at both the Position Control
Unit and the driver.
• Attach a surge absorber to all inductive loads, such as relays, solenoids, and
solenoid valves.
2-4SectionConnecting External I/O
DC relaysAC relays
+
DC
–
Solenoids, etc.
SolenoidSurge absorber
Diode for surge
absorption
ACSurge
RYRY
absorber
Note Connect the diode and surge absorber as close as possible to the relay. Use a
diode capable of withstanding a voltage five times higher than the circuit voltage.
36
• Insert a noise filter into the power supply inlet if noise enters the power line
(e.g., when it is connected to the same power supply as an electric welder or an
electric spark machine or when there is any supply generating high frequency
noise).
• Use No. 3 or greater grounding contacts and the thickest possible wire, greater
2
than 1.25 mm
.
• Twisted-pair cable is recommended for power lines.
2-5Connections in Each Operating Mode
This section provides examples of wiring the X and Y axes. If the Y and U axes
are also to be used, check the connector pin numbers in 2-3 External I/O Cir-cuitry and wire them in the same way.
Note1. Be sure to connect a power supply for unused N.C. input terminals and turn
them on.
2. Use shielded wire for connecting to stepping motor drivers and servomotor
drivers. Connect the shielded cable to an FG at both the Position Control
Unit and the driver.
Example 1: Mode 0 Connection
This example shows the use of a stepping motor with an external sensor signal
connected to the origin input signal.
2-5SectionConnections in Each Operating Mode
Position Control Unit
CW output
(with 1.6 kΩ
resistance)
CCW output
(with 1.6 kΩ
resistance)
24-V power supply
for output
24-V GND
for output
Origin proximity input signal
Origin Input
signal
Input common
CCW limit
input signal
CW limit input
signal
Emergency
stop input
signal
A6
A8
A1
A2
A21
A15
A14
A24
A23
A22
A20
FG
+
24 VDC
24 VDC
+
Shield
N.O. contact
Signal
24 V/0 V
N.C. contact
Example:
DFU1507 stepping motor driver, made by Oriental Motor Co.
contact
061Origin input signal: N.O. contact
070Pulse output stopped with
emergency stop input signal.
08 to 150--00 to 030Mode 0
04 to 070Reverse mode 1
08 to 111Takes origin input signal after origin
proximity input signal is received.
12 to 150Search direction: CW
2-5SectionConnections in Each Operating Mode
Note “m” is the beginning DM word allocated when the unit number is set.
Origin Search Operation
The origin search operation is completed with the rising edge of the origin input
signal after the rising edge of the origin proximity input signal.
ORIGIN
SEARCH
Origin proximity
input signal
Origin input
signal
Pulse output
Busy Flag
Time
38
Example 2: Mode 1 Connection
In this example, a servomotor driver is employed and the Z-phase of the encoder
is connected to the origin line driver input terminal and used as the origin input
signal. An OMRON U-Series Servomotor Driver is used.
2-5SectionConnections in Each Operating Mode
Position Control Unit
CW output
(with 1.6 kΩ
resistance)
CCW output
(with 1.6 kΩ
resistance)
24-V power supply
for output
24-V GND for
output
Error counter reset
output
Origin input
signal
Input common
A6
A8
A1
A2
A11
A16
A14
A24
+
FG
24 VDC
Shield
24 VDC
+
N.C. contact
OMRON R88D-UPjjjj
Servomotor Driver
1
+CW
–CW
2
+CCW
3
–CCW
4
13 +24VIN
14 RUN
+ECRST
5
–ECRST
6
+Z
24
–Z
25
36 FG
R88M-U
Servomotor
Origin proximity
input signal
CCW limit
input signal
CW limit input
signal
Emergency stop
input signal
A21
N.O. contact
A23
N.C. contact
A22
N.C. contact
A20
N.C. contact
39
2-5SectionConnections in Each Operating Mode
Parameter Setting Example
This example is explained in terms of the X axis. For more details, refer to 4-3
Axis Parameters Area.
00 to 031Mode 1
04 to 070Reverse mode 1
08 to 110Takes origin input signal after rising
and falling edge of origin proximity
signal.
12 to 150Motor direction: CW
Note “m” is the beginning DM word allocated when the unit number is set.
Origin Search Operation
The origin search operation stops on the rising edge of the first Z-phase signal
after the origin proximity signal has turned from ON to OFF, and after deceleration has ended.
ORIGIN SEARCH
Origin proximity
signal
Z-phase signal
Pulse output
Error counter
reset output
Approx. 20ms
Busy Flag
Time
40
Example 3: Mode 2 Connection
In this example, as in example 2, a servomotor driver is employed and the
Z-phase of the encoder is connected to the origin line driver input terminal and
used as the origin input signal. An OMRON U-Series Servomotor Driver is used.
In contrast to mode 1, the positioning completed signal (INP) of the servomotor
driver serves as both the origin search completed and the positioning completed
signals.
Set the servomotor driver so that the positioning completed signal turns OFF
during motor operation and ON while the motor is stopped.
An origin search operation cannot be completed if the positioning completed
input signal from the servomotor driver is not properly connected or set.
Note If the positioning monitor time is set to 0, the origin search operation will wait until
the positioning completed signal turns ON but other operations, such as jogging
and memory operation, will ignore the positioning completed signal.
2-5SectionConnections in Each Operating Mode
Position Control Unit
CW output
(with 1.6 kΩ
resistance)
CCW output
(with 1.6 kΩ
resistance)
24-V power
supply for
output
24-V GND
for output
Error counter
reset output
Origin input
signal
Positioning
completed
input signal
Input
common
Origin
proximity
input signal
CCW limit
input signal
CW limit
input signal
Emergency
stop input
signal
A6
A8
A1
A2
A11
A16
A14
A12
A24
A21
A23
A22
A20
24
VDC
FG
24 VDC
+
N.O. contact
N.C. contact
N.C. contact
N.C. contact
Shield
N.C. contact
OMRON R88D-UPjjjj
Servomotor Driver
R88M-U
1
2
3
4
13
14
5
6
24
25
8
10
36
+CW
–CW
+CCW
–CCW
+24
VIN
RUN
+ECRST
–ECRST
+Z
–Z
INP
GND
O
FG
Servomotor
41
2-5SectionConnections in Each Operating Mode
Parameter Setting Example
This example is explained in terms of the X axis. For more details, refer to 4-3
Axis Parameters Area.
signal output.
08 to 150--00 to 032Mode 2
04 to 070Reverse mode 1
08 to 110Takes origin input signal after rising
and falling edge of origin proximity
input signal.
12 to 150Search direction: CW
Note “m” is the beginning DM word allocated when the unit number is set.
Origin Search Operation
The origin search operation stops on the rising edge of the first Z-phase signal
after the origin proximity signal has turned from ON to OFF, and after deceleration has ended. The Busy Flag turns OFF with the positioning completed signal.
ORIGIN
SEARCH
Origin proximity
signal
Z phase signal
Pulse output
Error counter
reset output
Busy Flag
Positioning completed
input signal
Approx. 20ms
Time
42
Example 4: Mode 3 Connection
This is an example using the origin adjustment function of OMRON’s Servomotor Driver. The positioning completed signal (INP) is used as both the origin
search completion and the positioning completed signal.
Be sure to adjust the settings of the servomotor driver so that the positioning
completed signal is OFF when the motor is operating and ON when it is stopped.
Note If the positioning monitor time is set to 0, the origin search operation will wait until
the positioning completed signal turns ON but other operations, such as jogging
and memory operation, will ignore the positioning completed signal.
2-5SectionConnections in Each Operating Mode
Position Control Unit
CW output
(with 1.6 kΩ
resistance)
CCW output
(with 1.6 kΩ
resistance)
24-V power
supply for
output
24-V GND
for output
Origin
adjustment
command
output
Positioning
completed
input signal
Input
common
Origin
proximity
input signal
CCW limit
input signal
A6
A8
A1
A2
A10
A12
A24
A21
A23
24 VDC
FG
+
N.O. contact
N.C. contact
Shield
24 VDC
N.C. contact
N.C. contact
OMRON R88D-UPjjjj
Servomotor Driver
R88M-U
15
34
14
33
19
18
36
13
6
11
28
37
26
+CW
–CW
+CCW
–CCW
+24 VIN
+5 VOUT
+5 VIN
RUN
EM
HRET
INP
24 VG
FG
Servomotor
CW limit
input signal
Emergency
stop input
signal
A22
N.C. contact
A20
N.C. contact
43
2-5SectionConnections in Each Operating Mode
Parameter Setting Example
This example is explained in terms of the X axis. For more details, refer to 4-3
Axis Parameters Area.
stop input.
08 to 150--00 to 033Mode 3
04 to 070Reverse mode 1
08 to 110Takes origin input signal after rising
and falling edge of origin proximity
signal.
12 to 150Search direction: CW
Note “m” is the beginning DM word allocated when the unit number is set.
Origin Search Operation
The origin search operation begins after the origin proximity signal has risen and
fallen, and the origin adjustment command is output to the servomotor driver
after deceleration has ended. The positioning completed signal is then input
from the servomotor driver and origin search ends. The driver internally
executes the error counter reset and stops automatically with the first Z-phase
input after it has received the origin adjustment command.
ORIGIN
SEARCH
Origin proximity
signal
Pulse output
Origin adjustment
command output
Positioning completed input signal
Busy Flag
Time
44
2-6Connection of Unused Axes
This section provides a connection example for the C200HW-NC213/NC413 in
applications where not all axes are used.
2-6-1C200HW-NC213 – X Axis Only
Based on Example 2: Mode 1 Connection on page 39, the following example
shows the external I/O connections for the C200HW-NC213 when only the X
axis (and not the Y axis) is used. In this example, the limit input signals for both
axes are set to N.C. contacts. With the C200HW-NC413, if the Z axis is used and
the U axis is not used, the connection will be the same with X and Y replaced by Z
and U respectively.
Position Control Unit
2-7SectionServo Relay Unit
Input
common
Origin
proximity
input
signal
CCW limit
input signal
CW limit
input signal
Emergency
stop input
signal
X axis (used)
Y axis
(not used; no wiring required)
X axis (used)
Y axis (not used)
X axis (used)
Y axis (not used)
X axis (used)
Y axis (not used)
24 VDC
N.O. contact
N.C. contact
N.C. contact
N.C. contact
When there is an unused axis, connect the emergency stop input signal (N.C.
contact) and the CW/CCW limit input signals (N.C./N.O. switchable) for that axis
so that they are ON. If the parameters are at their default settings, the CW/CCW
limit input signals are N.C. contact inputs and so connect an input power supply
and keep power ON.
If the emergency stop input signal and the CW/CCW limit input signals for an
unused axis are not ON, a sensor input error (error codes 6000, 6100, or 6101)
will be generated for the axis, and the ERR and SENS indicators as well as the
LED indicator for the axis will light or flash. The used axis, however, will continue
to operate normally even if an error is generated for the unused axis.
Note If the CW/CCW limit input signals for the unused axis are set to N.O contacts
using the parameter settings, it is not necessary to wire the CW/CCW limit
inputs. For details, refer to 4-3 Axis Parameters and 4-8 Setting Data for UnusedAxes.
2-7Servo Relay Unit
• Wiring requirements can be reduced by connecting Servo Drivers and PCUs
via a Servo Relay Unit, which provide a connector and a terminal block in one
Unit.
45
Connections Diagram
jjj
jjj
jjj
jjj
jjj
jjj
jjj
jjj
XW2Z-jjjJ-Aj
Connecting Cable
• The connecting cable and the type of Servo Relay Unit required will depend on
the Servo Driver model connected. Refer to the tables under Connection Com-patibility given below.
• The cable length for PCU Connecting Cables is indicated in the “jjj”.
050: 0.5 m
100: 1 m
• The cable length for Servo Driver Connecting Cables is indicated in the
“jjj”.
100: 1 m
200: 2 m
• When using the C200HW-NC413, 2 Servo Relay Units and 2 PCU Connecting
Cables are required.
• When using in combination with the C200HW-NC213 (2-axis control), 2 Servo
Driver Connecting Cables are required.
• When using in combination with the C200HW-NC413 (4-axis control), 4 Servo
Driver Connecting Cables are required.
46
SECTION 3
Getting Started
This section is directed to first-time users of the Position Control Unit (PCU). It explains how to use the RELATIVE MOVEMENT command employing the direct operation method, and provides examples of how to use a stepping motor. In order to
keep the explanations simple, the minimum system required for operating the motor is used, and operations from the Programming Console are described.
In general, using a PCU requires the creation of ladder programs incorporating various kinds of data, status information,
external input information, and so on, but here the explanations are aimed only at how to operate the motor. For details regarding data configuration and allocation, refer to Section 4 Data Areas.
The examples provided in this section show how to operate a stepping motor
using the direct operation method. It is assumed that a C200HX/HG/HE CPU
Unit and a C200HW-NC113 PCU are employed, and the PCU’s factory settings
are used for the parameters.
Pulse output
1,000 pps
Target
position:
5,000 pulses
0.2 ms0.2 ms
Target speed: 1,000 pps
Time
The stepping motor rotates for approximately five seconds in the clockwise
(CW) direction (i.e., in the direction that increments the present position), and
then stops.
Use the Programming Console for the required settings and the START command. First set the data required for direct operation and then operate the motor
by turning the RELATIVE MOVEMENT command bit from OFF to ON.
The set values for acceleration and deceleration times and the actual acceleration and deceleration times are related to the axis parameters area’s maximum
speed and actual target speed set values. For details, refer to Appendix B Esti-mating Times and Pulses for Acceleration/Deceleration.
Programming Console
Data settings
RELATIVE
MOVEMENT
command bit ON
PCPCU
RELATIVE
MOVEMENT
command
Pulse output
Stepping motor driver
Stepping motor rotation
The following data must be set for this example.
• Position:5,000 pulses
• Speed:1,000 pps
• Acceleration time:100 ms (factory setting)
• Deceleration time:100 ms (factory setting)
Set the position and speed in the operating data area which is set by the common parameter area. For the acceleration and deceleration times, use the factory settings saved to the PCU.
For more details regarding the common parameter area and the operating data
area, refer to Section 4 Data Areas.
Operating Procedure
48
Use the following procedure to operate the motor.
1, 2, 3...1. Mount all of the Units and connect the Programming Console. (Refer to 3-2
System Configuration and Wiring and also refer to the C200HX/HG/HE PCs
Installation Guide.)
2. Set the unit number for the PCU. (Refer to 3-2 System Configuration and
Wiring.)
3. Wire the PCU’s external inputs and wire the PCU to the stepping motor.
(Refer to 3-2 System Configuration and Wiring.)
4. Turn on the power supply and set the common parameter area. (Refer to 3-3Setting Data and Starting.)
5. Turn on the power again or restart. (Refer to 3-3 Setting Data and Starting.)
6. Set the position, the speed, the acceleration time number, and the deceleration time number. (Refer to 3-3 Setting Data and Starting.)
7. Start. (Refer to 3-3 Setting Data and Starting.)
3-2System Configuration and Wiring
3-2SectionSystem Configuration and Wiring
(1) System Configuration
For this operation, use the configuration shown in the following diagram. In this
example only the motor will rotated, without using the mechanical system.
For the purposes of this example, it is assumed that the CPU is mounted to the
CPU Backplane and that the unit number is set to #0.
Position Control UnitCPU Unit
Set to Unit #0.
24-VDC power
supply
Power Supply
Unit
CPU Backplane
24-VDC power
supply
Stepping motor driver
Connecting cable
Programming Console
Stepping motor
The following Units and devices are used in this example.
CPU UnitSYSMAC C200HX/HG/HE
Position Control UnitC200HW-NC113
Power Supply UnitC200HW-PA204
CPU BackplaneC200HW-BC101
Programming ConsoleC200H-PRO27-E
Connecting cableC200H-CN222
Stepping motor driverDFU1507 (Oriental Motor Co.)
Stepping motorPK543-NAC (Oriental Motor Co.)
49
3-2SectionSystem Configuration and Wiring
(2) Rotary Switch Setting
(3) Wiring
Position Control Unit
CW pulse output
(with 1.6 kΩ
resistance)
Use the rotary switch on the front panel of the PCU to set the unit number (i.e.,
the machine No.).
MACHINE No.0
For details regarding rotary switch settings, refer to 2-2 Components.
Wire the system as shown in the following diagram. The CW limit input, CCW
limit input, and emergency stop input are factory set as N.C. terminals, so shortcircuit them.
Stepping motor driver
Stepping motor
PK543-NAC
(Oriental Motor Co.)
CCW pulse output
(with 1.6 kΩ
resistance)
24-V
power
supply
for
output
24-V
GND for
output
Input
common
CCW
limit
output
CW limit
output
Emergency
stop
input
signal
DFU1507
(Oriental Motor Co.)
24-VDC power supply
24-VDC power supply
50
For details on connecting the PCU and the stepping motor driver, refer to the
motor driver specifications and also Section 2 Specifications and Wiring.
3-3Setting Data and Starting
3-3SectionSetting Data and Starting
(4) Setting the Common
Parameters
(5) Powering-up Again or
Restarting
(6) Setting the Operating
Data Area
The designation of the operating data area and the mounting position of the PCU
are set in the common parameters. Use the Programming Console to write the
following data to DM 1000 through DM 1002. The common parameters area is
automatically specified when the PCU is set as Unit #0, and this data must be
set.
DM 1000
DM 1001
DM 1002
0 0 0 D
0 5 0 0
0 0 0 0
The Data Memory (DM) area is used as the operating
data area. Set the “D” for the DM area.
Set DM 0500 as the beginning word in the operating
data area.
Set the PCU’s mounting position as the CPU
Backplane or the Expansion I/O Backplane. Use the
parameters saved to the PCU.
After making the settings, either turn on the power again or restart (by turning
AR 0100 from OFF to ON and then back OFF again). This will put the data that
has been set in the common parameters into effect.
For details regarding the common parameters area settings, refer to 4-2 Com-mon Parameters Area.
By a setting in the common parameter area, the beginning word of the operating
data area has been set as DM 0500. Thus the words for the various data items
are as follows:
• Position:DM 0507 and DM 0506
• Speed:DM 0508
• Acceleration/deceleration times: DM 0510
Setting Position Data (DM 0507: Leftmost; DM 0506: Rightmost)
Use the Programming Console to write the following data.
(7) Starting
DM 0506
DM 0507
5 0 0 0
0 0 0 0
Enter 5000 (pulses) in 4 digits BCD, divided into
leftmost and rightmost.
Setting Speed Data (DM 0508)
Use the Programming Console to write the following data.
DM 0508
1 0 0 0
Enter 1000 (pps) in 4 digits BCD.
Setting Acceleration/Deceleration Times (DM 0510)
Use the Programming Console to write the following data.
DM 0519
0 0 0 0
Set acceleration time #0 and deceleration time #0.
When “0” is set, the acceleration/deceleration times
specified in the parameters saved to the PCU are used.
Not used in this example. Set to “00.”
Acceleration time #0
Deceleration time #0
• For details regarding the operating data area, refer to 4-5 Operating Data
Area.
• In this example, the direct operation method is used. For details regarding
direct operation, refer to Section 7 Direct Operation.
Starting is executed by turning ON the RELATIVE MOVEMENT command bit in
the operating memory area (IR area).
The RELATIVE MOVEMENT command is allocated to bit 10004 in the IR area.
Use the Programming Console to turn this bit from OFF to ON.
51
3-3SectionSetting Data and Starting
The operating memory area is the area that is automatically specified when the
PCU’s unit number is set (Unit #0).
04
Wd 100
RELATIVE MOVEMENT
Direct operation is started by the
RELATIVE MOVEMENT command
(i.e., by the turning ON of bit 10004).
• For details regarding the operating memory area, refer to 4-4 Operating
Memory Area.
• In this example, the direct operation method is used. For details regarding
direct operation, refer to Section 7 Direct Operation.
52
This section provides information on the data areas used by the Position Control Unit.
The Programmable Controller controls the Position Control Unit (PCU) by
means of the data and memory areas shown below, employing data inputs and
outputs during I/O refreshing and at other times.
For the purposes of this example, the explanation is provided in terms of a
C200HW-NC413 PCU. For details regarding area allocation for NC113 and
NC213 PCUs, refer to 4-1-3 Area Allocation.
IR area
Operating Memory Area
Operating
instructions
Status input
I/O refresh
PCU (NC413)
Instruction
interpretation
Status such as positioning completed,
present position
4-1SectionOverall Structure
Allocated
areas
Setting
areas
DM area
DM or EM
area
Parameter Area
Common
parameters
Axis
parameters
Operating Data Area
Transfer data
and other
operational data
Status input
Data Transfer Area
(See note 2.)
Memory
operation
data
Power up or restart
Power up or restart
(See note 1.)
I/O refresh
Data transfer
instruction execution
IOWR or IORD
execution
Data transfer
instruction execution
0004
0099
1000
1300
1400
1600
1620
1640
1660
4670
Save data
Common
parameters
Interpretation and
execution of set
data
Status such as I/O
signals of each axis,
error codes, etc.
Internal memory
Data areaAddress
Axis parameters
Positioning sequences
Speeds
Positions
Acceleration times
Deceleration times
Dwell times
Zones
Flash
memory
Data for the
X axis
Data for the
Y to U axes
Power up
or restart
54
Note1. The user can select by means of a common parameters setting whether
data is to be transferred to the PCU for use, or whether the axis parameters
saved at the PCU are to be used. (Refer to 4-2 Common Parameters Area.)
2. The data transfer area is required for transferring data to the PCU (except
when the SYSMAC-NCT Support Tool is used).
4-1SectionOverall Structure
The PCU uses the data and memory areas shown in the following table.
NameContentsReference
Parameter
areas
Operating
memory
area
Operating
data area
Data
transfer
area
m:1000+100 x Unit No.
n:100+10 x Unit No. [Unit No.x9]
l:Beginning word address in DM or EM area, specified by the operating
k:Beginning word address in DM or EM area, specified by transfer source
Allocated to the PC’s DM Area when the PCU’s unit
number is set. The parameters for controlling the PCU
are set in the common parameter area, and the
parameters for controlling individual axes are set in the
axis parameters area.
Note The settings in the axis parameters area must be
made when the PCU is used. If these settings are
not made, a common parameters error will be generated (error codes 0010 to 0013) and the PCU will
not operate normally. Be sure to read 4-2 CommonParameters.
Allocated to the Programmable Controller’s IR Area
when the PCU’s unit number is set. This area is used
for outputting data such as operational commands to
the PCU and for inputting the PCU status.
This area is set by the common parameters area. It is
used for inputting information related to the transfer of
memory operation data, direct operation settings such
as positions and speeds, and status data from the
PCU.
This area is set by the operating data area. When data
is transferred between the Programmable Controller
and the PCU, only that portion of the area employed
for transferring the data is used.
400+10 x (Unit No. – 10) [Unit No.yA(10)]
data area in the common parameter area.
word or transfer destination word in operating data area.
4-2
Common
Parameters
4-3 Axis
Parameters
4-4
Operating
Memory
Area
4-5
Operating
Data Area
---
4-1-1Flash Memory
Note The data for the number of axes for the particular Position Control Unit being
The contents of the PCU’s internal memory are lost when the power supply is
turned off or when the PCU is restarted. By saving the contents of the internal
memory to the flash memory, parameters and other data can be retained.
• Axis parameters
• Positioning sequences
• Speeds
• Acceleration and deceleration times
• Dwell times
• Zones
used is all saved at once.
For details regarding saving data, refer to 5-7 Saving Data.
Parameters and other data that have been saved to flash memory are read to the
PCU’s internal memory when the PCU is powered up or restarted. If the parameters or other data are corrupted at that time, a parameter destruction error (error
code 0001) or data destruction error (error code 0002) will be generated and the
PCU will be started up using the initial values (i.e., the factory settings) or the
parameters and data that had been saved prior to the last save to flash memory.
If parameters or data are lost, no operation other than data transfer or data
saved can be received. After transferring the data, save the data and turn the
power off and then on again, or restart the PCU.
55
4-1-2Waiting for PCU Startup
The Position Control Unit performs initial processing when it is powered up or
restarted. During this initial processing, the PCU cannot receive any instructions
or commands from the Programmable Controller and will ignore them. The
PCU’s X-axis Busy Flag remains ON until the initial processing is completed, so
after the PCU has been powered up or restarted, check to make sure that this
Busy Flag has turned OFF before executing a START.
CautionCarefully check to be sure that the parameters and data have been properly set
!
for correct operation.
CautionBefore performing any operations that will change the Operating Memory Area,
!
check to be sure that the equipment will operate safely.
4-1-3Area Allocation
4-1SectionOverall Structure
Parameter Areas
(Data Memory)
C200HW-NC113/NC213C200HW-NC413
Unit #0
Unit #1
Unit #2
Unit #3
Unit #4
Unit #5
Unit #6
Unit #7
Unit #8
Unit #9
Unit #A
Unit #B
Unit #C
Unit #D
Unit #E
Unit #F
DM 1000 to DM 1099
DM 1100 to DM 1199
DM 1200 to DM 1299
DM 1300 to DM 1399
DM 1400 to DM 1499
DM 1500 to DM 1599
DM 1600 to DM 1699
DM 1700 to DM 1799
DM 1800 to DM 1899
DM 1900 to DM 1999
DM 2000 to DM 2099
DM 2100 to DM 2199
DM 2200 to DM 2299
DM 2300 to DM 2399
DM 2400 to DM 2499
DM 2500 to DM 2599
Each unit number occupies 100 words, allocated from DM 1000 to DM 2599 (or
DM 2499 for NC413 PCUs).
Unit #0
Unit #1
Unit #2
Unit #3
Unit #4
Unit #5
Unit #6
Unit #7
Unit #8
Unit #A
Unit #B
Unit #C
Unit #D
Unit #E
DM 1000 to DM 1099
DM 1100 to DM 1199
DM 1200 to DM 1299
DM 1300 to DM 1399
DM 1400 to DM 1499
DM 1500 to DM 1599
DM 1600 to DM 1699
DM 1700 to DM 1799
DM 1800 to DM 1899
DM 2000 to DM 2099
DM 2100 to DM 2199
DM 2200 to DM 2299
DM 2300 to DM 2399
DM 2400 to DM 2499
Word addressContents
m to m+3
m+4 to m+27
m+28 to m+51
m+52 to m+75
m+76 to m+99
m: 1000+100 x Unit No.
Common parameters
Axis
parameters
For X axis
For Y axis
For Z axis
For U axis
56
4-1SectionOverall Structure
p
Operating Memory Area
(IR Area)
C200HW-NC113/NC213C200HW-NC413
Unit #0
Unit #1
Unit #2
Unit #3
Unit #4
Unit #5
Unit #6
Unit #7
Unit #8
Unit #9
Unit #A
Unit #B
Unit #C
Unit #D
Unit #E
Unit #F
C200HW-NC413
Unit #0
Unit #1
Unit #2
Unit #3
Unit #4
Unit #5
Unit #6
Unit #7
Unit #8
Unit #A
Unit #B
Unit #C
Unit #D
Unit #E
IR 100 to IR 109
IR 110 to IR 119
IR 120 to IR 129
IR 130 to IR 139
IR 140 to IR 149
IR 150 to IR 159
IR 160 to IR 169
IR 170 to IR 179
IR 180 to IR 189
IR 190 to IR 199
IR 400 to IR 409
IR 410 to IR 419
IR 420 to IR 429
IR 430 to IR 439
IR 440 to IR 449
IR 450 to IR 459
IR 100 to IR 119
IR 110 to IR 129
IR 120 to IR 139
IR 130 to IR 149
IR 140 to IR 159
IR 150 to IR 169
IR 160 to IR 179
IR 170 to IR 189
IR 180 to IR 199
IR 400 to IR 419
IR 410 to IR 429
IR 420 to IR 439
IR 430 to IR 449
IR 440 to IR 459
C200HW-NC113/213 PCUs occupy 10 words in the IR Area for Special I/O
Units, and C200HW-NC413 PCUs occupy 20 words in that area.
C200HW-NC213
I/O
Word addressAxis
Output
Input
C200HW-NC413
I/O
Output
Input
n to n+1
n+2 to n+4
Word addressAxis
n to n+1
n+2 to n+3
n+4 to n+5
n+6 to n+7
n+8 to n+10
n+11 to n+13
n+14 to n+16
n+17 to n+19
X axis
X axis
n: 100+10 x Unit No. (Unit No. x9)
400+10 x (Unit No. - 10) (Unit No. yA(10))
X axis
Y axis
Z axis
U axis
X axis
Y axis
Z axis
U axis
I/O
Output
Input
Word addressAxis
n to n+1
n+2 to n+3
n+4 to n+6
n+7 to n+9
X axis
Y axis
X axis
Y axis
Operating Memory Area
Note1. The C200HW-NC413 occupies the space for two unit numbers, i.e., the unit
number that is set and also the following number. For example, if the unit
number is set to 0, then the area for unit numbers 0 and 1 is allocated.
2. Be sure to set the unit numbers so that they do not overlap with the unit numbers of other Special I/O Units.
3. Since the C200HW-NC413 occupies the space for two unit numbers, it cannot be set for unit numbers 9 or F.
Depending on the model of the Programmable Controller that is used, it may not
be possible to set PCU unit numbers from A to F (E). Please check the operation
manual of the Programmable Controller.
For details regarding operating memory area settings, refer to Parameter Areas
under 4-1-4 Data Areas and 4-2 Common Parameter Area.
Common Parameter Area
1500
0
3
x10
x102x101x10
000
x: D (DM area), E (EM area)
0
Beginning word address
I
m
m+1
C200HW-NC113
I/OWord addressAxis
Output
InputI+11 to I+12X axis
I to I+5Common
I+6 to I+10X axis
57
C200HW-NC213
p
p
p
p
I/OWord addressAxis
Output
Input
C200HW-NC413
I/OWord addressAxis
Output
Input
4-1SectionOverall Structure
I to I+5Common
I+6 to I+10X axis
I+11 to I+15Y axis
I+16 to I+17X axis
I+18 to I+19Y axis
I to I+5Common
I+6 to I+10X axis
I+11 to I+15Y axis
I+16 to I+20Z axis
I+21 to I+25U axis
I+26 to I+27X axis
I+28 to I+29Y axis
I+30 to I+31Z axis
I+32 to I+33U axis
Note “I” represents the beginning word address of the area designated by the com-
mon parameter area.
Example
When the common parameter area settings are made as shown in this example,
the operating data area will be allocated to DM 0100 onwards.
There is no EM area for C200H/HS/HE Programmable Controllers, so in that
case the EM area cannot be designated for the operating data area.
Data Transfer Area
For details regarding data transfer area settings, refer to Operating Data Area
under 4-1-4 Data Areas.
4-1-4Data Areas
Parameter Area
Common Parameters (Data Memory)
Designation of Operating Data Area
Word m
Common Parameter Area
1500
0
m
m+1
1500
0
00D
0
100
00X
Designate the memory area to which the operating memory is to be set.
X = D (DM area)
E (EM area)
Beginning Word of Operating Data Area
Word m+1
1500
3
x10
58
x10
2
x10
1
x10
0
Designate the beginning word of the operating data area.
Unit Mounting Position and Parameter Designation
Word m+2
4-1SectionOverall Structure
Axis Parameters (Data Memory)
1500
Mounting position
08 07
Parameter designation
Mounting Position
00: To be mounted on the CPU Rack or Expansion I/O Rack
01: To be mounted to a Remote Slave Rack
Parameter Designation
00: Operate according to the axis parameters saved to the PCU.
01: Operate according to the axis parameters in DM words m+4 to m+99.
Reserved
Word m+3
Set to 0000.
I/O Settings
X axis m+4 (NC113), Y axis m+28 (NC213), Z axis m+52 and U axis m+76
(NC413)
1500
0000000000I/O settings
BitItemSettings
00Output pulse selection0: CW/CCW output; 1: Pulse/Direction output
01 to 03ReservedSet to 0.
04Limit input signal type0: N.C input, 1: N.O input
05Origin proximity input
signal type
06Origin input signal type0: N.C input, 1: N.O input
07Emergency stop input0: Stop only pulse output
08Origin undefined
designation
09 to 15ReservedSet to 0.
0804
0: N.C input, 1: N.O input
1: Pulse output stop and error counter reset
output (enabled for operation modes 1
and 2)
0: Retain prior status (for emergency stop or
limit inputs)
1: Forcibly change to origin undefined status
59
4-1SectionOverall Structure
Operation Mode Selection
X axis m+5 (NC113), Y axis m+29 (NC213), Z axis m+53 and U axis m+77
(NC413)
00 to 03Operation mode0 (Mode 0): Uses stepping motor, and uses
external sensor signal as origin input signal.
1 (Mode 1): Uses servomotor driver, and
uses encoder’s Z-phase signal for origin
input signal. Does not use positioning
completed signal.
2 (Mode 2): Same as Mode 1, but uses
positioning completed signal.
3 (Mode 3): Uses OMRON H-Series or
M-Series Servomotor Driver. Origin search is
completed by Servomotor Driver’s origin
adjustment command. Uses positioning
completed signal.
04 to 07Origin search operation 0: Reverse mode 1 (reverse at limit input)
Detects origin in designated origin search
direction.
1: Reverse mode 1 (error stop at limit input)
Detects origin in designated origin search
direction.
2: Single-direction mode (No reverse)
08 to 11Origin detection
method
0: Takes origin input signal after origin
proximity input signal turns ON (↑) and OFF
(↓).
1: Takes origin input signal after origin
proximity input signal turns ON (↑).
2: Takes origin input signal without using
origin proximity input signal.
3: Takes origin input signal after limit input
signal turns ON (↑) and OFF (↓), or OFF (↓),
without using origin proximity input signal.
(Enabled only for single-direction mode.)
12 to 15Origin search direction0: CW direction
1: CCW direction
60
Maximum Speed
X axis m+6 (NC113), Y axis m+30 (NC213), Z axis m+54 and U axis m+78
(NC413)
Origin Compensation (Rightmost Word)
X axis m+10 (NC113), Y axis m+34 (NC213), Z axis m+58 and U axis m+82
(NC413)
Origin Compensation (Leftmost Word)
X axis m+11 (NC113), Y axis m+35 (NC213), Z axis m+59 and U axis m+83
(NC413)
Acceleration/Deceleration Curves
X axis m+14 (NC113), Y axis m+38 (NC213), Z axis m+62 and U axis m+86
(NC413)
1500
000Designation
Designation: 0: Trapezoidal Curve, 1: S Curve
61
4-1SectionOverall Structure
Acceleration Time (Rightmost Word)
X axis m+15 (NC113), Y axis m+39 (NC213), Z axis m+63 and U axis m+87
(NC413)
Acceleration Time (Leftmost Word)
X axis m+16 (NC113), Y axis m+40 (NC213), Z axis m+64 and U axis m+88
(NC413)
1500
00x10
Leftmost word0015Rightmost word
5
x10
4
x10
3
x10
2
x10
1
x10
0
Setting Range: 0 to 250,000 (ms)
Deceleration Time (Rightmost Word)
X axis m+17 (NC113), Y axis m+41 (NC213), Z axis m+65 and U axis m+89
(NC413)
Deceleration Time (Leftmost Word)
X axis m+18 (NC113), Y axis m+42 (NC213), Z axis m+66 and U axis m+90
(NC413)
1500
00x10
Leftmost word0015Rightmost word
5
x10
4
x10
3
x10
2
x10
1
x10
0
Setting Range: 0 to 250,000 (ms)
Positioning Monitor Time
X axis m+19 (NC113), Y axis m+43 (NC213), Z axis m+67 and U axis m+91
(NC413)
1500
x10
3
x10
2
x10
1
x10
0
Setting Range: 0 to 9,999 (ms) (Valid when the operation mode is set to 2 or 3.)
CCW Limit (Rightmost Word)
X axis m+20 (NC113), Y axis m+44 (NC213), Z axis m+68 and U axis m+92
(NC413)
CCW Limit (Leftmost Word)
X axis m+21 (NC113), Y axis m+45 (NC213), Z axis m+69 and U axis m+93
(NC413)
CW Limit (Rightmost Word)
X axis m+22 (NC113), Y axis m+46 (NC213), Z axis m+70 and U axis m+94
(NC413)
CW Limit (Leftmost Word)
X axis m+23 (NC113), Y axis m+47 (NC213), Z axis m+71 and U axis m+95
(NC413)
12WRITE DATA (↑) (enabled only for X-axis bit)
13READ DATA (↑) (enabled only for X-axis bit)
14SAVE DATA (↑) (enabled only for X-axis bit)
15Reserved
00 to03Output code: 0 to F (hexadecimal)
04Waiting for memory operation (1: Waiting; 0: Not waiting)
05Positioning completed(↑: Completed; ↓: Starting)
06No Origin Flag(1: No origin; 0: Origin established)
07Origin Stop Flag (1: Stopped at origin; 0: Anything else)
08Zone 0(1: Within zone; 0: Outside zone)
09Zone 1(1: Within zone; 0: Outside zone)
10Zone 2(1: Within zone; 0: Outside zone)
11Teaching completed(↑: Completed; ↓: Starting)
12Error Flag(1: Error; 0: No error)
13Busy Flag (X-axis bit is also used as Unit initial processing
00 to 03Operation mode0 (Mode 0): Uses stepping motor, and uses
external sensor signal as origin input signal.
1 (Mode 1): Uses servomotor driver, and
uses encoder’s Z-phase signal for origin
input signal. Does not use positioning
completed signal.
2 (Mode 2): Same as Mode 1, but uses
positioning completed signal.
3 (Mode 3): Uses OMRON H-Series or
M-Series Servomotor Driver. Origin search is
completed by Servomotor Driver’s origin
adjustment command. Uses positioning
completed signal.
04 to 07Origin search operation 0: Reverse mode 1 (reverse at limit input)
Detects origin in designated origin search
direction.
1: Reverse mode 2 (error stop at limit input)
Detects origin in designated origin search
direction.
2: Single-direction mode (No reverse)
08 to 11Origin detection
method
0: Takes origin input signal after origin
proximity input signal turns ON (↑) and OFF
(↓).
1: Takes origin input signal after origin
proximity input signal turns ON (↑).
2: Takes origin input signal without using
origin proximity input signal.
3: Takes origin input signal after limit input
signal turns ON (↑) and OFF (↓), or OFF (↓),
without using origin proximity input signal.
(enabled only for single-direction mode.)
12 to 15Origin search direction0: CW direction
1: CCW direction
Default Setting: 0000
Note Once the I/O settings have been specified, they are enabled by turning on the
power or restarting the Unit. If the settings have been specified by data transfer,
save the data and then turn on the power or restart the Unit.
The other parameters for each axis are enabled at the point of transfer and from
the following command operations.
Maximum Speed
X axis 0006 (NC113), Y axis 0030 (NC213), Z axis 0054 and U axis 0078
(NC413)
Note When setting the origin search high speed or the origin search proximity speed
with the IOWR instruction, be sure to set both of these items together. If only one
of these items is set, an error (error code 8701) will be generated and the setting
will not be made.
x10
x10
2
2
x10
x10
1
1
x10
x10
0
0
Origin Search Proximity Speed
X axis 0009 (NC113), Y axis 0033 (NC213), Z axis 0057 and U axis 0081
(NC413)
Note When setting the origin search high speed or the origin search proximity speed
with the IOWR instruction, be sure to set both of these items together. If only one
of these items is set, an error (error code 8701) will be generated and the setting
will not be made.
Origin Compensation Value (Rightmost Word)
X axis 0010 (NC113), Y axis 0034 (NC213), Z axis 0058 and U axis 0082
(NC413)
Origin Compensation Value (Leftmost Word)
X axis 0011 (NC113), Y axis 0035 (NC213), Z axis 0059 and U axis 0083
(NC413)
Acceleration Time (Rightmost Word)
X axis 0015 (NC113), Y axis 0039 (NC213), Z axis 0063 and U axis 0087
(NC413)
Acceleration Time (Leftmost Word)
X axis 0016 (NC113), Y axis 0040 (NC213), Z axis 0064 and U axis 0088
(NC413)
x10
2
x10
1
0
x10
Designation
1500
00x10
5
x10
0015Leftmost word
4
x10
3
Rightmost word
2
x10
x10
1
x10
0
Range: 0 to 250,000 (ms)
Default Setting: 0100, 0000
Deceleration Time (Rightmost Word)
X axis 0017 (NC113), Y axis 0041 (NC213), Z axis 0065 and U axis 0089
(NC413)
Deceleration Time (Leftmost Word)
X axis 0018 (NC113), Y axis 0042 (NC213), Z axis 0066 and U axis 0090
(NC413)
1500
00x10
Leftmost wordRightmost word
5
x10
0015
4
x10
3
x10
2
x10
1
x10
0
Range: 0 to 250,000 (ms)
Default Setting: 0100, 0000
Positioning Monitor Time
X axis 0019 (NC113), Y axis 0043 (NC213), Z axis 0067 and U axis 0091
(NC413)
1500
x10
3
x10
2
x10
1
x10
0
Range: 0 to 9,999 (ms)
Enabled for operation modes 2 and 3.
Default Setting: 9999
69
4-1SectionOverall Structure
CCW Limit (Rightmost Word)
X axis 0020 (NC113), Y axis 0044 (NC213), Z axis 0068 and U axis 0092
(NC413)
CCW Limit (Leftmost Word)
X axis 0021 (NC113), Y axis 0045 (NC213), Z axis 0069 and U axis 0093
(NC413)
CW Limit (Rightmost Word)
X axis 0022 (NC113), Y axis 0046 (NC213), Z axis 0070 and U axis 0094
(NC413)
CW Limit (Leftmost Word)
X axis 0023 (NC113), Y axis 0047 (NC213), Z axis 0071 and U axis 0095
(NC413)
Reserved
X axis 0024 to 0027 (NC113), Y axis 0048 to 0051 (NC213), Z axis 0072 to
0075 and U axis 0096 to 0099 (NC413)
Set to 0000.
Default Setting: 0000
Sequence #0
X axis 1000, 1001, 1002 (NC113), Y axis 2000, 2001, 2002 (NC213), Z axis
3000, 3001, 3002 and U axis 4000, 4001, 4002 (NC413)
Example: X axis
Leftmost wordRightmost word
x10
6
x10
5
x10
0015
4
x10
3
x10
2
x10
1
x10
0
1500
Axis designationOutput code0Completion code
1000
Dwell time No.Acceleration time No. Deceleration time No.
1001
Initial speed No.Target speed No.
1002
12 1108 0704 03
Axis Designation:Set the bits for active axes to “1.”
Bit 15: U axis; 14: Z axis; 13: Y axis; 12: X axis
Output Code:0 to F
Completion Code:0 to 6 (BCD)
Dwell Time No. 00 to 19 (BCD)
Acceleration Time No. 0 to 9 (BCD)
Deceleration Time No. 0 to 9 (BCD)
Initial/Target Speed No.: 0 to 99 (BCD)
Default Setting: 0000, 0000, 0000
Sequence #1
X axis 1003 (NC113), Y axis 2003 (NC213), Z axis 3003 and U axis 4003
(NC413)
The settings are the same as for sequence #0.
Default setting: 0000, 0000, 0000
Note The word addresses continue in order for all four axes from sequence #2
through sequence #97, which are not listed in detail here.
70
4-1SectionOverall Structure
Sequence #98
X axis 1294 (NC113), Y axis 2294 (NC213), Z axis 3294 and U axis 4294
(NC413)
Same as for sequence #0.
Default setting: 0000, 0000, 0000
Sequence #99
X axis 1297 (NC113), Y axis 2297 (NC213), Z axis 3297 and U axis 4297
(NC413)
Same as for sequence #0.
Default setting: 0000, 0000, 0000
Note When setting the sequence data using the SYSMAC-NCT Support Tool, more
than one axis designation cannot be made for one sequence data number. If
more than one axis designation is made for one sequence data number, an Axis
Designation Error will occur.
For example, an Axis Designation Error will occur in the following cases;
Axis designation of “XY” for the X-axis sequence data No. 100
Axis designation of “Y” for the Y-axis sequence data No. 100.
Speed #0
X axis 1300 (NC113), Y axis 2300 (NC213), Z axis 3300 and U axis 4300
(NC413)
1500
14 1312
Factorx10
3
x10
2
x10
1
x10
0
This data sets speed #0. The permissible setting range is 0 to 1,000,000 (pps) in
the following combination. The two leftmost bits are used for setting the factor.
Speed #1
X axis 1301 (NC113), Y axis 2301 (NC213), Z axis 3301 and U axis 4301
(NC413)
The settings are the same as for speed #0.
Default Setting: 0000
Note The word addresses continue in order for all four axes from speed #2 through
speed #97, which are not listed in detail here.
Speed #98
X axis 1398 (NC113), Y axis 2398 (NC213), Z axis 3398 and U axis 4398
(NC413)
The settings are the same as for speed #0.
Default Setting: 0000
Speed #99
X axis 1399 (NC113), Y axis 2399 (NC213), Z axis 3399 and U axis 4399
(NC413)
The settings are the same as for speed #0.
Default Setting: 0000
71
4-1SectionOverall Structure
Position #0 (Rightmost Word)
X axis 1400 (NC113), Y axis 2400 (NC213), Z axis 3400 and U axis 4400
(NC413)
Position #0 (Leftmost Word)
X axis 1401 (NC113), Y axis 2401 (NC213), Z axis 3401 and U axis 4401
(NC413)
1500
Signx10
Leftmost word0015Rightmost word
6
x10
5
x10
4
x10
3
x10
2
x10
1
x10
0
This sets the data for position #0. The position can be specified as either absolute or incremental, according to the sign setting:
Set the position within a range of –9,999,999 to +9,999,999 (pulses).
Default setting: 0000, 0000
Position #1
X axis 1402 (NC113), Y axis 2402 (NC213), Z axis 3402 and U axis 4402
(NC413)
The settings are the same as for position #0.
Default Setting: 0000, 0000
Note The word addresses continue in order for all four axes from position #2 through
position #97, which are not listed in detail here.
Position #98
X axis 1596 (NC113), Y axis 2596 (NC213), Z axis 3596 and U axis 4596
(NC413)
The settings are the same as for position #0.
Default Setting: 0000, 0000
Position #99
X axis 1598 (NC113), Y axis 2598 (NC213), Z axis 3598 and U axis 4598
(NC413)
The settings are the same as for position #0.
Default Setting: 0000, 0000
Reserved
X axis 1600, 1601 (NC113), Y axis 2600, 2601 (NC213), Z axis 3600, 3601 and
U axis 4600, 4601 (NC413)
Set to 0000.
Default Setting: 0000
Acceleration Time #1 (Rightmost Word)
X axis 1602 (NC113), Y axis 2602 (NC213), Z axis 3602 and U axis 4602
(NC413)
Acceleration Time #1 (Leftmost Word)
X axis 1603 (NC113), Y axis 2603 (NC213), Z axis 3603 and U axis 4603
(NC413)
72
1500
00x10
Leftmost word0015Rightmost word
5
x10
4
x10
3
x10
2
x10
1
x10
0
This sets the data for acceleration time #1.
Default Setting: 0000, 0000
Note The word addresses continue in order for all four axes from Acceleration Time
#2 through Acceleration Time #8 which are not listed in detail here.
4-1SectionOverall Structure
Acceleration Time #9
X axis 1618 (NC113), Y axis 2618 (NC213), Z axis 3618 and U axis 4618
(NC413)
The settings are the same as for acceleration time #1.
Default Setting: 0000, 0000
Reserved
X axis 1620, 1621 (NC113), Y axis 2620, 2621 (NC213), Z axis 3620, 3621 and
U axis 4620, 4621 (NC413)
Set to 0000.
Default Setting: 0000
Deceleration Time #1 (Rightmost Word)
X axis 1622 (NC113), Y axis 2622 (NC213), Z axis 3622 and U axis 4622
(NC413)
Deceleration Time #1 (Rightmost Word)
X axis 1623 (NC113), Y axis 2623 (NC213), Z axis 3623 and U axis 4623
(NC413)
1500
00x10
Leftmost word0015Rightmost word
5
x10
4
x10
3
x10
2
x10
1
x10
0
This sets the data for deceleration time #1.
Default Setting: 0000, 0000
Note The word addresses continue in order for all four axes from Deceleration Time
#2 through Deceleration Time #8 which are not listed in detail here.
Deceleration Time #9
X axis 1638 (NC113), Y axis 2638 (NC213), Z axis 3638 and U axis 4638
(NC413)
The settings are the same as for deceleration time #1.
Default Setting: 0000, 0000
Reserved
X axis 1640 (NC113), Y axis 2640 (NC213), Z axis 3640 and U axis 4640
(NC413)
Set to 0000.
Default Setting: 0000
Dwell Time #1
X axis 1641 (NC113), Y axis 2641 (NC213), Z axis 3641 and U axis 4641
(NC413)
1500
0x10
0
x10
–1
x10
–2
This sets the data for dwell time #1.
Setting Range: 0 to 9.99 (seconds, set in units of 0.01 s)
Default Setting: 0000
Note The word addresses continue in order for all four axes from Dwell Time #2
through Dwell Time #18 which are not listed in detail here.
Dwell Time #19
X axis 1659 (NC113), Y axis 2659 (NC213), Z axis 3659 and U axis 4659
(NC413)
The settings are the same as for dwell time #1.
Default Setting: 0000
73
4-2SectionCommon Parameters
Zone #0, CCW Side (Rightmost Word)
X axis 1660 (NC113), Y axis 2660 (NC213), Z axis 3660 and U axis 4660
(NC413)
Zone #0, CCW Side (Leftmost Word)
X axis 1661 (NC113), Y axis 2661 (NC213), Z axis 3661 and U axis 4661
(NC413)
Zone #0, CW Side (Rightmost Word)
X axis 1662 (NC113), Y axis 2662 (NC213), Z axis 3662 and U axis 4662
(NC413)
Zone #0, CW Side (Leftmost Word)
X axis 1663 (NC113), Y axis 2663 (NC213), Z axis 3663 and U axis 4663
(NC413)
Make the settings so that the CCW value is less than the CW value.
Default Setting: 0000, 0000
Zone #1, CCW Side
X axis 1664 (NC113), Y axis 2664 (NC213), Z axis 3664 and U axis 4664
(NC413)
Zone #1, CW Side
X axis 1666 (NC113), Y axis 2666 (NC213), Z axis 3666 and U axis 4666
(NC413)
The settings are the same as for zone #1.
Default Setting: 0000, 0000
Zone #2, CCW Side
X axis 1668 (NC113), Y axis 2668 (NC213), Z axis 3668 and U axis 4668
(NC413)
Zone #2, CW Side
X axis 1670 (NC113), Y axis 2670 (NC213), Z axis 3670 and U axis 4670
(NC413)
The settings are the same as for zone #1.
Default Setting: 0000, 0000
4-2Common Parameters
The common parameters are allocated to the Programmable Controller’s DM
area. The locations in the DM area are determined when the Position Control
Unit’s unit number is set.
The settings for the common parameters are explained below.
Note1. The settings for the common parameters must be made when the PCU is
used. If these settings are not made, a common parameters error will be
generated (error codes 0010 to 0013) and the PCU will not operate normally.
2. After the common parameter settings have been made, they will go into
effect the next time the PCU is powered up or restarted.
74
4-2SectionCommon Parameters
Designation of Operating
Data Area
Beginning Word of
Operating Data Area
Word: m
1500
0
00X
This setting specifies whether the operating data area is to be set in the DM area
or the EM area.
X = D (DM area)
E (EM area)
If anything other than the above is set, or if the beginning word designation (in
m+1) is out of the permissible range, an operating data area word error will be
generated. If such an error is generated, the following conditions will result. In
that case, correct the setting and either power up again or restart the PCU.
• The RUN indicator on the PCU’s front panel will light, and the ERR indicator will
flash.
• The X-axis Error Flag will turn ON.
Operations (such as monitoring and data transfers) from the SYSMAC-NCT
Support Tool, however, can be executed as usual.
Word: m+1
1500
x10
3
x10
2
x10
1
x10
0
PCU Mounting Position
and Parameter
Designation
This setting specifies the beginning word for the operating data area. The words
that can be specified are the read/write-enabled DM and EM (bank 0 only) words
shown in the following table.
PC modelAreas that can be set
C200HDM 0000 to DM 0899
C200HS
C200HE(-ZE)
C200HX/HG(-ZE)[For Unit No. 10]
DM 0000 to DM 0999
DM 2000 to DM 5999 (See note.)
DM 0000 to DM 0999
DM 2000 to DM 5999 (See note.)
EM 0000 to EM 6143 (bank 0 only)
[For Unit No. 16]
DM 0000 to DM 0999 (See note.)
DM 2600 to DM 5999
EM 0000 to EM 6143 (bank 0 only)
Note The upper limit varies depending on the memory capacity.
Word: m+2
1500
Mounting position
08 07
Parameter designation
The “mounting position” setting specifies whether the PCU is mounted to a
Remote I/O Slave or to the CPU Rack or Expansion I/O Rack.
00:PCU mounted to CPU Rack or Expansion I/O Rack
01:PCU mounted to Remote I/O Slave
Note If this setting is “00” but the PCU is actually mounted to a Slave, a Special I/O Unit
error will be generated. If that occurs, correct the setting to “01” and then power
the PCU up again or restart it. Likewise, if the PCU is mounted to the CPU Rack
or an Expansion I/O Rack, be sure to set this “mounting position” setting to “00.”
If it is set to “01” in that case, the responses to instructions from the Programmable Controller will be one or two scans slower than if it is set to “00.”
75
4-3SectionAxis Parameters
The “parameter designation” setting specifies whether the axis parameters in
DM m+4 to DM m+99 or the axis parameters saved to the PCU’s flash memory
are to be used for operation.
00:Use parameters saved to PCU’s flash memory.
01:Use parameters in DM m+4 to DM m+99. (In this case, these parame-
ters must be set in advance.)
Reserved
Word: m+3
Set to 0000.
4-3Axis Parameters
The parameters for the X, Y, Z, and U axes are set in the axis parameters area.
4-3-1Setting the Axis Parameters
The data required for controlling the Position Control Unit (PCU) is set in the axis
parameters area. This essential data includes the settings for the operation
mode, the maximum speed, the acceleration/deceleration curve, the origin
search speeds, the software limits, and so on.
If the “parameter designation” setting in the common parameter area specifies
that the axis parameters in DM m+4 to DM m+99 are to be used, then those
parameters will be transferred to the PCU. If that parameter designation specifies that the axis parameters saved in the PCU’s flash memory are to be used,
then those are the values that will be used.
When the axis parameters in DM m+4 to DM m+99 are used, they are read to the
PCU and stored in the data area in addresses 0004 to 0099. (Words m+4 to
m+99 in the Programmable Controller’s DM area correspond to addresses 0004
to 9999 in the PCU). When this data is saved, the settings are stored in the
PCU’s flash memory.
76
4-3-2Axis Parameters Details
I/O Settings
X axis m+4 (NC113), Y axis m+28 (NC213), Z axis m+52 and U axis m+76 (NC413)
1500
0000000000I/O settings
These settings specify the output pulse selection, the limit input signal contacts,
and so on.
BitsSettings
00Output pulse selection:
Specifies the pulse method for outputs.
0: CW/CCW output; 1: pulse/direction output
01 to 03Reserved
04Limit input signal type:
The data set in this word specifies the operation mode, the origin detection
method, and so on. (For details regarding the operation mode, refer to 4-3-3Operation Modes.
77
4-3SectionAxis Parameters
Bit 00 to 03: Operation Mode Selection
Set the operation mode according to the motor driver and signal lines that are
used.
SettingExplanation
0 (Mode 0)Uses stepping motor, and uses external sensor signal as origin
1 (Mode 1)Uses servomotor driver, and uses encoder’s Z-phase signal for
2 (Mode 2)Same as Mode 1, but uses servomotor driver’s positioning
3 (Mode 3)Uses OMRON H-Series or M-Series Servomotor Driver. Origin
Default setting: 0000
Bit 04 to 07: Origin Search Operation
This setting specifies the origin search operation.
SettingExplanation
0Reverse mode 1
1Reverse mode 2
2Single-direction mode
input signal. In this mode, the error counter reset output and
origin adjustment command output can be used as
general-purpose outputs.
origin input signal. Does not use positioning completed signal.
completed signal.
search is completed by Servomotor Driver’s origin adjustment
command. Uses positioning completed signal.
Always detects origin in designated origin search direction.
Reverses at limit input.
Always detects origin in designated origin search direction.
Error stop at limit input.
Detects origin while operating in designated origin search
direction. (Does not reverse.) Error stop at limit input for
designated origin search direction.
Bit 08 to 11: Origin Detection Method
This setting specifies the origin detection method.
SettingExplanation
0Takes origin input signal after origin proximity input signal turns
1Takes origin input signal after origin proximity input signal turns
2Takes origin input signal without using origin proximity input
3Takes origin input signal after limit input signal turns ON (↑) and
ON (↑) and OFF (↓).
ON (↑).
signal.
OFF (↓), or OFF (↓), without using origin proximity input signal.
(Enabled only for single-direction mode.)
Bit 12 to 15: Origin Search Direction
This setting specifies the direction for detecting the origin input signal during an
origin search.
SettingExplanation
0CW direction
1CCW direction
Maximum Speed
X axis m+6 (NC113), Y axis m+30 (NC213), Z axis m+54 and U axis m+78 (NC413)
1500
14 1312
Factorx10
3
x10
2
x10
1
x10
0
78
This setting specifies the maximum speed that can be output by the PCU. If a
speed designation that exceeds this setting is given during memory operation or
direct operation, the axis will be operated at the maximum speed that is set here.
The permissible setting range is 0 to 500,000 in the following combination. The
two leftmost bits are used for setting the factor.
Note An error such as a speed data BCD error (error codes 1500 to 1599) will be gen-
erated if the initial speed, origin search high speed, origin search proximity
speed, or backlash compensation speed is set higher than the maximum speed
set here.
Initial Speed
X axis m+7 (NC113), Y axis m+31 (NC213), Z axis m+55 and U axis m+79 (NC413)
1500
14 1312
Factorx10
3
x10
2
x10
1
This setting specifies the initial speed.
The permissible setting range is 0 to 500,000 in the following combination. The
two leftmost bits are used for setting the factor.
(Example: C100) 1,000 x 100 = 100,000 (pps)
Be sure to set the origin search proximity speed so that it is lower than the origin
search high speed. If the origin search proximity speed is set equal to or higher
than the origin search high speed, an origin search speed error (error code
1603) will be generated.
x10
x10
0
0
79
Origin Compensation Value (Rightmost Word)
X axis m+10 (NC113), Y axis m+34 (NC213), Z axis m+58 and U axis m+82 (NC413)
Origin Compensation Value (Leftmost Word)
X axis m+11 (NC113), Y axis m+35 (NC213), Z axis m+59 and U axis m+83 (NC413)
1500
Signx10
Leftmost word
6
x10
0015
5
x10
4
x10
3
Rightmost word
x10
This setting specifies the amount of compensation after the origin input signal is
detected by an origin search operation. If the compensation is set to anything
other than 0, the axis will be moved at the origin search proximity speed for the
set amount of compensation after the origin input signal is detected.
• Sign:0: Positive (CW); 1: Negative (CCW)
• Range: –9,999,999 to 9,999,999 (pulses)
Backlash Compensation
X axis m+12 (NC113), Y axis m+36 (NC213), Z axis m+60 and U axis m+84 (NC413)
1500
x10
3
x10
2
x10
1
This setting specifies the backlash compensation.
• Range: 0 to 9,999 (pulses)
4-3SectionAxis Parameters
2
x10
1
x10
0
x10
0
Backlash Compensation Speed
X axis m+13 (NC113), Y axis m+37 (NC213), Z axis m+61 and U axis m+85 (NC413)
1500
14 1312
Factorx10
3
x10
2
x10
1
This setting specifies the speed for outputting the backlash compensation. If “0”
is set, then the backlash compensation will be output at 500 pps when the initial
speed is less than 500 pps, or at the initial speed when the initial speed is 500
pps or more.
This setting can be used to shorten the positioning time in cases where it has
been lengthened due to a large backlash compensation amount at a low speed.
The permissible setting range is 0 to 500,000 in the following combination. The
two leftmost bits are used for setting the factor.
Acceleration/Deceleration Curve
X axis m+14 (NC113), Y axis m+38 (NC213), Z axis m+62 and U axis m+86 (NC413)
1500
000Designation
This setting specifies the curve to be used for acceleration and deceleration.
• Designation:0: Trapezoidal; 1: S-curve
x10
0
Acceleration Time (Rightmost Word)
X axis m+15 (NC113), Y axis m+39 (NC213), Z axis m+63 and U axis m+87 (NC413)
Acceleration Time (Leftmost Word)
X axis m+16 (NC113), Y axis m+40 (NC213), Z axis m+64 and U axis m+88 (NC413)
1500
00x10
Leftmost word0015Rightmost word
5
x10
4
x10
3
x10
This setting specifies the time from 0 pps or initial speed until the maximum
speed is reached.
• Range: 0 to 250,000 (ms)
80
2
x10
1
x10
0
Deceleration Time (Rightmost Word)
X axis m+17 (NC113), Y axis m+41 (NC213), Z axis m+65 and U axis m+89 (NC413)
Deceleration Time (Leftmost Word)
X axis m+18 (NC113), Y axis m+42 (NC213), Z axis m+66 and U axis m+90 (NC413)
4-3SectionAxis Parameters
1500
00x10
Leftmost word0015Rightmost word
5
x10
4
x10
3
x10
This setting specifies the time from the maximum speed until 0 pps or initial
speed is reached.
• Range: 0 to 250,000 (ms)
Positioning Monitor Time
X axis m+19 (NC113), Y axis m+43 (NC213), Z axis m+67 and U axis m+91 (NC413)
1500
x10
3
x10
2
x10
1
After pulse output has been completed, a positioning timer timeout error (error
code 8600) will be generated if the positioning completed signal does not turn
ON within the time set here. (This function is only enabled for operation modes 2
and 3.)
• Range: 0 to 9,999 (ms)
If the positioning monitor time is set to “0,” the positioning completed signal will
be awaited only when an origin search operation is executed. For all other
operations (such as jogging, memory operation, and so on), the positioning
completed signal will be ignored.
2
x10
1
x10
0
x10
0
CCW Limit (Rightmost Word)
X axis m+20 (NC113), Y axis m+44 (NC213), Z axis m+68 and U axis m+92 (NC413)
CCW Limit (Leftmost Word)
X axis m+21 (NC113), Y axis m+45 (NC213), Z axis m+69 and U axis m+93 (NC413)
CW Limit (Rightmost Word)
X axis m+22 (NC113), Y axis m+46 (NC213), Z axis m+70 and U axis m+94 (NC413)
CW Limit (Leftmost Word)
X axis m+23 (NC113), Y axis m+47 (NC213), Z axis m+71 and U axis m+95 (NC413)
1500
Signx10
Leftmost word0015Rightmost word
6
x10
5
x10
4
x10
3
x10
These settings specify the CCW and CW software limits.
• Sign:0: Positive (CW); 1: Negative (CCW)
• Range: –9,999,999 to 9,999,999 (ms)
If the CW software limit is set to less than or equal to the CCW limit, the software
limit will not function. When this setting is made, operation proceeds as follows:
• At the beginning of operation, the present position is always 0.
• During axis operation the present position is always refreshed, and if the upper
or lower limit is reached positioning will be stopped.
Reserved
X axis m+24, m+27 (NC113), Y axis m+48, m+51 (NC213), Z axis m+72, m+75 and U axis m+96, m+99
(NC413)
Set to 0000.
81
4-3-3Operation Modes
The four operation modes are described below. The following abbreviations are
used in the wiring diagrams:
DCRI: Error counter reset input
DCRO: Error counter reset output
IC:Input common
OACI: Origin adjustment command input
OACO: Origin adjustment command output
OPI:Origin proximity input
OS:Origin input signal
PCSI: Positioning completed signal input
PCSO: Positioning completed signal output
PCU:Position Control Unit
SMD:Stepping motor driver
4-3SectionAxis Parameters
Mode 0
Mode 1
Set mode 0 when using a stepping motor driver. A sensor is connected to the
origin input signal (connector pin numbers A14/A15, B14, B15). The response
time for the origin input signal is 0.1 ms. (N.O. contact setting)
PCU
X axis
IC
OS
OPI
Pulses
SMD
24 VDC
Set mode 1 when using a servomotor driver and connecting a line driver input
and a error counter reset output without using a positioning completed signal.
The response time for the origin line driver input is 0.1 ms. (N.O. contact setting)
PCU
X axis
IC
OPI
OS
Pulses
24 VDC
Servomotor
driver
Z-phase
output
82
DCRO
DCRI
4-4SectionOperating Memory Area
Mode 2
Mode 3
Set mode 2 when using a servomotor driver and connecting a line driver input
and a error counter reset output just as in mode 1, but when also using a positioning completed signal.
PCU
X axis
IC
OPI
PCSI
OS
DCRO
Pulses
24 VDC
Servomotor
driver
PCSO
Z-phase
output
DCRI
Set mode 3 when using a servomotor driver and also using the origin adjustment
command.
PCU
X axis
IC
Pulse
24 VDC
Servomotor
driver
Note In the wiring examples for modes 1 to 3, the servomotor driver used is an
OMRON R88D Servomotor Driver. Set the servomotor driver so that the servomotor driver’s positioning completed signal is OFF during motor operation and
ON while the motor is stopped. If this setting is not made, positioning may
become impossible without the positioning completed signal in the operating
memory area turning ON.
4-4Operating Memory Area
The operating memory area is allocated to the Programmable Controller’s IR
area. The IR area addresses are determined when the Position Control Unit’s
unit number is set.
The operating memory area is divided into outputs and inputs. Commands
related to operations are allocated to the output memory area, and the commands are sent to the Position Control Unit (PCU) when their respective bits are
turned ON, or at the rising edge (↑) when the bits are turned ON.
The PCU’s status and present position are input from the PCU to the input area.
The operating data area exchanges data with the PCU with every I/O refresh, so
operating commands and so on can be executed simply by writing to the Programmable Controller’s IR area.
OPI
PCSI
OACO
PCSO
OACI
Note If the CCW limit setting is equal to or greater than the CW limit setting in the axis
parameters area, and if the software limits are disabled, the present position will
be “0” when memory operation or direct operation is started.
83
Operating Memory Area Details
p
n+2
n+2
Words
n+4n+6
I/OModel
Output NC413
NC213
NC113
X
axisYaxisZaxisUaxis
n
n
n
4-4SectionOperating Memory Area
BitsNameOperation
Mem.
00
operation
01STARTAt the rising edge (↑) when this bit
02INDEPENDENT
03Direct
operation
Sequence
number enable
START
ABSOLUTE
MOVEMENT
This setting specifies the sequence
number for beginning operation
when START or INDEPENDENT
START is executed. When START
or INDEPENDENT START is
executed while this bit is ON,
operation will begin with the
designated sequence in the
Operating Memory Area.
turns ON, START references the
sequence number enable bit and
begins memory operation.
At the rising edge (↑) when this bit
turns ON, INDEPENDENT START
references the sequence number
enable bit and begins memory
operation. The difference between
this command and START is that
the completion code is treated as
“terminating,” except for when it is
set to “bank end.”
At the rising edge (↑) when this bit
turns ON, direct operation is
started with the designated
position treated as an absolute
position.
• If ABSOLUTE MOVEMENT is
used while the origin is not established, a current position unknown
error (error code 5040) will be generated.
• If ABSOLUTE MOVEMENT is
executed again during axis feeding, or if RELATIVE MOVEMENT
is executed, feeding toward the
currently designated position will
stop, and feeding toward the
newly designated position will
begin.
• The position, speed, and accel-
eration/deceleration times are
designated in the operating data
area.
At the rising edge (↑) when this bit
turns ON, direct operation is
started with the designated
position treated as a relative
position.
• If RELATIVE MOVEMENT is
executed again during axis feeding, or if ABSOLUTE MOVEMENT
is executed, feeding toward the
currently designated position will
stop, and feeding toward the
newly designated position will
begin.
• The position, speed, and accel-
eration/deceleration times are
designated in the operating data
area.
05INTERRUPT
FEEDING
06ORIGIN SEARCHAt the rising edge (↑) when this bit
07ORIGIN RETURNAt the rising edge (↑) when this bit
08PRESENT POSITION
CHANGE
09JOG (speed feeding)When this bit turns ON, jogging
10Direction designationThis designates the direction for
At the rising edge (↑) when this bit
turns ON, interrupt feeding begins
for direct operation.
• If INTERRUPT FEEDING is used
while the origin is not established,
axis feeding will be executed with
the present position at the beginning of operation taken as “0.”
• When INTERRUPT FEEDING is
input, the present position
becomes the reference and the
axis is moved for the designated
amount.
• The position, speed, and accel-
eration/deceleration times are
designated in the operating data
area.
turns ON, an origin search is
executed. The origin search speed
will depend on the speed setting in
the axis parameters.
turns ON, positioning returns to the
origin. The origin return speed is
set in the operating data area.
At the rising edge (↑) when this bit
turns ON, the present position is
forcibly changed, and then this
position is established as the
origin. The position change is set
in the operating data area.
(speed feeding) is executed. The
jogging speed is set in the
operating data area.
when JOG or INTERRUPT
FEEDING are executed. (OFF:
CW direction; ON: CCW direction)
turns ON, the teaching operation is
executed. If TEACH is executed
while the origin is not established,
a current position unknown error
(error code 5040) will be
generated. The teaching position
number is set in the operating data
area.
12RELEASE PROHIBITAt the rising edge (↑) when this bit
turns ON, the pulse output
prohibition is released. (Refer to
9-8 Releasing Pulse Output
Prohibition.) Pulse output is
prohibited when the following
inputs are received:
• CW or CCW limit input
• Software limit
• Emergency stop input
13Error counter reset
output, origin adjustment
command output
14Override enableThis bit enables or disables the
15STOPAt the rising edge (↑) when this bit
This can be used as a
general-purpose output in
operation mode 0. (Refer to 9-9
Error Counter Reset Output and
Origin Adjustment Command
Output.
1: Signal ON; 0: Signal OFF
When an origin search is
performed in operation modes 1 to
3, outputs are automatically set as
error counter reset and origin
adjustment command outputs.
Refer to Section 6 Defining theOrigin.
override function.
• When this bit is ON (i.e., when the
override is enabled), the following
value will be used as the speed:
Feed speed = (speed designation)
x override / 100
• When this bit is OFF (i.e., when the
override is disabled), the override
will be treated as 100%.
The override is set in the operating
data area.
turns ON, positioning is
decelerated to a stop. Executing
STOP has the following effects in
memory operation and direct
operation:
• During memory operation, the
Waiting for Memory Operation Bit
turns ON after STOP is executed.
• During direct operation, the Decel-
eration Stop Execution Bit turns
ON after STOP is executed.
Sequence numberThis setting specifies, in BCD, the
to
07
08FORCED INTERRUPT
FORCED INTERRUPT
09
Reserved---
o
11
12WRITE DATAAt the rising edge (↑) when this bit
13READ DATAAt the rising edge (↑) when this bit
14SAVE DATAAt the rising edge (↑) when this bit
15Reserved--00
Output codeWith memory operation, the output
to
03
04Waiting for memory
operation
first sequence number (00 to 99) to
be executed in memory operation.
At the rising edge (↑) when this bit
turns ON, the memory operation is
forcibly ended and the memory
operation for a specified sequence
number is forcibly executed
instead. (Refer to 9-4 ForcedInterrupt.) This command is only
enabled during memory operation.
turns ON, data is written by means
of a data transfer. The Y, Z, and U
bits are not used. Word n+1, bit 12
is used to write the data for all
axes (i.e., not just the X axis).
turns ON, data is read by means of
a data transfer. The Y, Z, and U
bits are not used. Word n+1, bit 13
is used to read the data for all axes
(i.e., not just the X axis).
turns ON, data is saved to flash
memory. The Y, Z, and U bits are
not used. Word n+1, bit 14 is used
to save the data for all axes (i.e.,
not just the X axis).
code set for a positioning
sequence is output when the
positioning is completed. (“0” at the
beginning of memory operation.)
Turns ON during memory
operation for an independent start
waiting, deceleration stop, or error
stop. It turns OFF for a memory
operation start.
87
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.