• 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.
Trademarks
• Microsoft, Windows, Windows Vista, Excel, and Visual Basic are either registered trademarks or trademarks of
Microsoft Corporation in the United States and other countries.
• EtherCAT® is registered trademark and patented technology, licensed by Beckhoff Automation GmbH, Germany.
Other company names and product names in this document are the trademarks or registered trademarks of their
respective companies.
Copyrights
• Microsoft product screen shots reprinted with permission from Microsoft Corporation.
• This product incorporates certain third party software. The license and copyright information associated with this
software is available at http://www.fa.omron.co.jp/nj_info_e/.
3-3 Various Equipment Connection............................................................................................3-6
3-4 Various Controller Settings...................................................................................................3-8
3-4-1 Notes List ..................................................................................................................................3-13
3-5 Confirmation of Settings ..................................................................................................... 3-17
3-6 Motor Tuning ........................................................................................................................3-19
3-6-1 Open Loop Test.........................................................................................................................3-19
3-6-2 Current Loop Gain Setting ........................................................................................................3-20
To safely utilize the system, obtain a manual or user's guide for each device and piece of equipment,
confirm their content, including “Safety Precautions”, “Precautions for Safe Use”, and other precautions related to safety, and then proceed with use.
The manuals for OMRON Corporation (hereafter, “OMRON”) and Delta Tau Data Systems Inc. (hereafter “DT”) are as shown below.
PMACThis is the acronym for Programmable Multi-Axis Controller.
Power PMAC IDEThis is computer software that is used to configure the Motion Controller, create
user programs, and perform monitoring.
DirectPWMThis is a proprietary interface method developed by Delta Tau Data Systems, Inc.
for connecting Servo Drives.
Digital Quadrature Encod-erThis is a type of encoder that outputs pulse signals.
• For actual system construction, check the specifications for each device and piece of equipment that
makes up the system, use a method with sufficient margin for ratings and performance, and adopt
safety circuits and other safety measures to minimize risks even if a breakdown occurs.
• To safely utilize the system, obtain a manual or user's guide for each device and piece of equipment
that makes up the system, confirm and understand their content, including “Safety Precautions”,
“Precautions for Safe Use”, and other precautions related to safety, and then proceed with use.
• The customer must check all regulations, laws, and rules that are applicable to the system themselves.
• Copying, duplication, or redistribution of part or all of these materials without the permission of OMRON Corporation is prohibited.
• The content listed in these materials is valid as of July 2019.
The content listed in these materials may be changed without notice for purposes of improvement.
The marks used in these materials are defined as follows.
Precautions for Correct Use
Precautions on what to do and what not to do to ensure correct operation and performance.
Additional Information
Additional information to read as required.
This information is provided to increase understanding and make operation easier.
This document summarizes the procedures and confirmation methods for connecting a Servo Drive
that is compatible with the DirectPWM interface method to the OMRON Programmable Multi-Axis Controller CK3M-££££ (hereinafter called “Controller”).
By understanding the setting content and setting procedure points described in Section 3 DirectPWMInterface Connection Procedure on page 3-1, you can configure the Controller to send commands
to the DirectPWM interface-capable Servo Drive and control Servomotors.
The connection procedure in this document describes an example when a digital quadrature encoder
is used to perform position and velocity feedback for CK3W-AX1313£.
*1.
If CK3W-AX2323£ is used, the same DirectPWM interface as CK3W-AX1313£
setting needs to be changed because a different type of encoder needs to be connected. Refer to the following documents for encoder settings.
• Startup Guide Sinusoidal Encoder
• Startup Guide for SSI/Mitutoyo/EnDat 2.1/2.2 Serial Encoder
Intended Audience
This guide is intended for the following personnel, who must also have knowledge of electrical systems (electrical or the equivalent).
• Personnel in charge of introducing F
• Personnel in charge of designing FA systems.
• Personnel in charge of installing and maintaining FA systems.
• Personnel in charge of managing FA systems and facilities.
A systems.
*1
is available but the encoder
Also, this guide is intended for personnel who understand the contents described in the DT manual.
The configuration devices for reproducing the connection procedures in this document are shown below.
This example shows a DirectPWM interface setting using the configuration where the digital quadrature encoder is connected to the output axis of a motor. This configuration is used only to show a setting example and is not a standard configuration.
Precautions for Correct Use
Always secure a Servomotor and encoder. Starting the motor that is not secured leads to a failure.
ManufacturerNameModelVersion
OMRONProgrammable Multi-Axis Controller
CPU Unit
OMRONProgrammable Multi-Axis Controller
Axis Interface Unit
OMRONProgrammable Multi-Axis Controller
Power Supply Unit
OMRONProgrammable Multi-Axis Controller
End Cover
OMRONDirectPWM Cable
OMRONMotor Cable
OMRONEncoder CableCK3W-CAES03A--ServotronixServo DriveCDHD-0032APB0--OMRONServomotorR88M-K05030T--OMRONDigital Quadrature EncoderE6B2-CWZ1X--OMRONCouplingE69-C68B
OMRONSwitching Power Supply
The procedures for connecting the Controller and Servo Drive, and operating the motion control equipment with the DirectPWM interface, are shown below.
3-2 Controller Setting Preparations on page
3-3
▼
Creation of a New Project on page 3-3
3-2-1
▼
3-2-2 Controller Initial Setting on page 3-
▽
4
3-3 Various Equipment Connection on page
3-6
▽
3-4 Various Controller Settings on page 3-8
▽
3-5 Confirmation of Settings on page 3-17
▽
▼
▼
▼
▼
▼
on page
▼
3-19
3-20
3-25
3-6 Motor T
3-6-1 Open Loop Test on page 3-19
3-6-2 Current Loop Gain Setting on page
3-6-3 Bandwidth Automatic Setting on page 3-21
3-6-4 Manual Setting of Bandwidth on page 3-23
3-6-5 Feed-Forward V
3-6-6 Checking of Operation and Creation of Tuning Parameter
Project on page 3-27
uning on page
alue Setting
Perform the Controller setting preparations.
Perform connection and wiring for each device.
Perform the Controller settings.
Check that the settings up to here are correct.
Use Power PMAC IDE tuning tools to tune
the motor.
Follow the procedure below to perform the settings for the Controller when a Servomotor is controlled
by the DirectPWM interface and digital quadrature encoder.
Precautions for Correct Use
• For items to be written in the global definitions.pmh in step 2 in the following procedure, set
appropriate values depending on the motor and Servo Drive used. If the set value is not appropriate, an excessive current flows, which may cause the equipment to fail.
Refer to Notes *24 through *26 in 3-4-1 Notes List on page 3-13 for the settings.
• If Motor[1].IaBias and Motor[1].IbBias are set to other than 0 in the following step 9 and 11,
the motor may rotate. Make sure that no problem occurs and the equipment is safe if the motor rotates before the setting.
Open the global definitions.pmh under
1
PMAC Script Language ‒ Global
Includes in the Solution Explorer
If the Motor[1].PhasePos value decreases when values in step 10 and 12
are compared, set the sign of
Motor[1].PhaseOffset to + (addition); if
the value increases, set the sign to −
(subtraction).
and
in the Terminal to
• Since the value decreases in this ex-
ample, set
Motor[1].PhaseOffset=683 in the
global definitions.pmh.
If a sign of Motor[1].PhaseOffset
needs to be changed, change the
sign in the global definitions.pmh and
perform download again following the
procedure in step 3 through 6.
Manually rotate the coupling that connects the motor to encoder and check
that the desired scale is applied to the
current position in the Position window
• The
EncTable[1].ScaleFactor value
is set to 8000 counts per rotation in
this example, so 8000 mu is added to
the current position per rotation.
3-4 Various Controller Settings
3
3-4-1 Notes List
.
Precautions for Correct Use
If the save command is not successfully completed, the transferred project is not saved in the
Controller. If the power to the Controller is switched OFF without the project being saved, the
transferred project is destroyed.
Additional Information
To change the counting direction of the digital quadrature encoder (clockwise/counterclockwise), change the sign of the following set values to write in the global definitions.pmh in step 2
to − (subtraction).
• EncT
able[1].ScaleFactor
• Motor[1].PhasePosSf
3-4-1
Notes List
The following table shows details on notes (description of set items) in step 2.
*1EncTable[1].Type1Enable EncTable[1] as single-word (32 bits) read.
*2EncTable[1].pEncGate3[0].Chan[0].S
ervoCapt.a
*3EncTable[1].Scale-
1/exp2(8)Calculate a scale factor set value in accordance with the following for-
Factor
Assign the digital quadrature encoder data to EncTable[1].
mula because EncT
able[1] is 32 bits and Gate3[0].Chan[0].ServoCapt
(digital quadrature encoder data) is 24 bits.
*4Gate3[0].Chan[0].E
ncCtrl
*5Gate3[0].Ad-
cAmpStrobe
*6
Gate3[0].AdcAmpHeaderBits
*7Gate3[0].Chan[0].P
wmFreqMult
*8Gate3[0].Chan[0].P
wmDeadTime
*9Gate3[0].Chan[0].P
ackInData
*10Gate3[0].Chan[0].P
ackOutData
*11Motor[1].pPha-
seEnc
*12Motor[1].Phase-
PosSf
7Set the digital quadrature encoder conversion method to four multipli-
cation, counterclockwise.
$fffffcSpecify AMP Strobe Word. If $fffffc is set, the Controller is compatible
with all AD converters.
2Set the header length of analog to digital conversion data to 2 bits.
Set it depending on the Servo Drive specifications.
2Set the PWM frequency to 15 kHz. Calculate the PWM frequency in
accordance with the formula below.
Make sure that the value is 40 kHz or less and the same as the Servo
Drive maximum input frequency or less.
15Set the PWM signal dead time to 800 ns. Calculate the dead time in
accordance with the formula below.
Dead time = 0.0533 μs × Gate3[0].Chan[0].PwmDeadTime
Set it depending on the Servo Drive specifications.
2AdcAmp compression: Enabled
If the digital current loop is implemented, enable data compression that
improves algorithm efficiency
.
1Enable PWM/DAC compression. If the commutation and digital current
loop are calculated, enable data compression that improves algorithm
.
Gate3[0].Chan[0].P
efficiency
Use the digital quadrature encoder for commutation position feedback.
haseCapt.a
2048/
(256*2000*4/5)
Set a scale factor (Sf) of the commutation position (angle). Use the following formula to calculate the scale factor if 24 bits digital quadrature
encoder (Gate3[0].Chan[0].ServoCapt) is assigned to 32 bits EncTable[1] as this example.
3-14
Set it depending on the specifications of equipment used.
The following shows parameters for equipment used in this example.
(32 bits - 24 bits)
256: 2
= 256
Encoder resolution: 2000 pulses per rotation
Encoder multiplication: 4 multiplication
Number of motor pole pairs: 5 pairs (10 poles)
*13Motor[1].PwmSf13458Set a scale factor for PWM output. The full range is 16384.
The scale factor is normally set to less than 95% of the full range so
that PWM waveform cannot reach the duty cycle of 0% or 100%. It is
set to approximately 82% in this example.
Set it depending on the Servo Drive specifications.
*14Motor[1].PhaseOff-
set
*15Motor[1].AmpFault-
Level
*16Motor[1].WarnFeLi-
mit
*17Motor[1].FatalFeLi-
mit
*18Motor[1].Current-
NullPeriod
*19Motor[1].pEncEncTable[1].aSpecify the digital quadrature encoder as an address used for loop
*20
*21Motor[1].pDacGate3[0].Chan[0].P
*22Motor[1].pAdcGate3[0].Chan[0].A
*23Motor[1].AdcMask$FFFC0000Specify which bit of 32 bits current feedback word is used as the actual
*24Motor[1].MaxDac28377*3.33/11.25Set an instantaneous current limit value (root mean square: RMS).
Motor[1].pEnc2EncTable[1].aSpecify the digital quadrature encoder as the address used for loop
683For a three-phase motor, set to 683 or −683.
1Specify a logic of AMP Fault detection. Set it depending on the Servo
Drive specifications.
0: Negative logic is used to detect AMP Fault.
1: Positive logic is used to detect AMP Fault.
4000The status bit Motor[1].AmpWarn is set when the positional deviation
exceeds this value.
The value for a half-rotation of the motor is set in this example. Set it
depending on applications used.
8000The motor is killed and the status bit Motor[1].FeFatal is set when the
positional deviation exceeds this value.
The value for a half-rotation of the motor is set in this example. Set it
depending on applications used.
1Motor[1].IaBias and Motor[1].IbBias are set in
Motor[1].PhaseFindingStep=1 during phase search.
feedback to control the motor position.
able[1] in Notes *2
able[1] in Notes *2
, and use a smaller
wm[0].a
dcAmp[0].a
The digital quadrature encoder is assigned to EncT
in this example.
feedback to control the motor velocity.
The digital quadrature encoder is assigned to EncT
in this example.
Assign DirectPWM to the motor command output register.
Specify the DirectPWM interface AD converter as an AD converter
used for digital current feedback.
current value.
The 14 bits AD converter is set in this example. Set it depending on the
Servo Drive specifications.
Compare those of the Servo Drive and the motor
value. The motor has a smaller value in this example.
Use the following formula for calculation.
Determine parameters depending on the equipment used.
The following shows parameters for equipment used in this example.
Maximum instantaneous current for R88M-K05030T: 4.7 A (p-p)/
3.33 A (RMS)
ADC full range current for CDHD-0032APB0: 11.25 A (RMS)
√2 =
3-15
Page 30
I2tSet =
Cos (30°) × 32767 × Rated current
Servo driver ADC full-range current
3 DirectPWM Interface Connection Procedure
No.Set itemSet valueDescription
*25Motor[1].I2tSet28377*1.1/11.25Set a rated current limit value (RMS). Compare those of the Servo
Drive and the motor, and use a smaller value. The motor has a smaller
value in this example.
Use the following formula for calculation.
Determine parameters depending on the equipment used.
The following shows parameters for equipment used in this example.
Rated current for R88M-K05030T: 1.1 A (RMS)
phase search. Although the commutation cycle (2048) 1/4 = 512 (90°)
is ideal, it is set to approximately 80% in this example considering that
problems such as friction can prevent the operation.
If Motor[1].PhaseFindingStep=1 displacement is smaller than this
value during phase search, the phase search is considered to be failed
by Power PMAC.
phase in phase search. Adjust it depending on the equipment used.
the equipment used.
The following duration is used in this example.
Duration = Servo cycle × Motor[1].PhaseFindingTime = 1 ms × 1000 =
1000 ms
Select the value rotated in the open
loop in step 3 in 3-6-1 Open Loop
T
on page 3-19.
est
*1
• For Encoder Resolution, set the
pulse counts per one motor rotation.
In this example, 2000 pulses per rotation of the digital quadrature encoder is set to be multiplied by four, so
Encoder Resolution indicates 8000.
Checking of Operation and Creation of Tuning Parameter Project
Follow the procedure below to check operations and create a tuned parameter project.
3-27
Page 42
3 DirectPWM Interface Connection Procedure
Type the
1
Motor[1].PhaseFindingStep=1 com-
mand from the T
phase search.
• The Motor[1].PhaseFindingStep
value changes to 1, 6, 7, and 0.
• When the phase search succeeds,
the Motor[1].ClosedLoop and
Motor[1].PhaseFound values
change from 0 to 1. In addition, the
Motor[1].New[0].Pos value becomes larger than the
Motor[1].AbsPhasePosOffset set
value. The AMP ENAB 0 LED is
turned on at that time.
erminal to perform a
Type the #1 j+ command from the Ter-
2
minal.
Make sure that the motor is rotating. In
3
addition, confirm that the #1 V
value is around 32 in the Position win-
ous Controller Settings on page
for the Build and Download method.
• As shown in step 5 and 6, gains can
be downloaded on PMAC as a program if you write gains in the global
definitions.pmh.
• As shown in step 7 and 8, the phase
search is automatically performed after the power is turned ON or reset to
enable Motor[1] if you write the
phase search implementation command in the pp_startup.txt.