SB214SA Hardware and Setup Guide 1.08
SB214SA Hardware and Setup Guide 1.08
SB214SA Hardware and Setup Guide 1.08
Website: http://www.acs-tech80.com/
E-mail: [email protected]
[email protected]
ACS-Tech80 Inc.
WK$YHQXH NortK6XLWH
3O\PRXWK01
USA
Tel: (1) (763) - (800-545-2980 in USA)
Fax: (1) (763) -
ACS-Tech80 Ltd.
Ramat Gabriel Industrial Park
POB 5668
Migdal Ha'Emek, 10500
ISRAEL
Tel: (972) (4) 6546440
Fax: (972) (4) 6546443
NOTICE
Information deemed to be correct at time of publishing. ACS-Tech80 reserves the right to change
specifications without notice. ACS-Tech80 is not responsible for incidental, consequential, or special
damages of any kind in connection with this document.
CONTENTS
FIGURES
TABLES
PREFACE
1. INTRODUCTION 1-1
8. WARRANTY 8-1
INDEX
FIGURES
FIGURE 4-17 Sink type input connection example (via VIN_RET terminal of I/O connector)...4-
18
FIGURE 4-18 Sink type input connection example (NPN switch supplied via I/O supply
terminals)...........................................................................................................4-20
FIGURE 4-19 Sink type input connection example (NPN switch supplied via VIN and
VIN_RET terminals of I/O connector)..............................................................4-20
FIGURE 4-20 Output connection example (load supplied via – terminal of I/O supply) .........4-22
FIGURE 4-21 Output connection example (load supplied via VOUT_RET terminal of I/O
connector)..........................................................................................................4-22
FIGURE 4-22 Output connection example (load supplied via + and – terminals of I/O supply)..4-
24
FIGURE 4-23 Output connection example (load supplied via VOUT and VOU_RET terminals
of I/O connector) ...............................................................................................4-24
FIGURE 4-24 Joystick connection ............................................................................................4-28
FIGURE 4-25 PEG outputs and corresponding digital outputs .................................................4-30
FIGURE 4-26 The 7-segment display........................................................................................4-31
FIGURE 4-27 DIP switches (off) ..............................................................................................4-32
FIGURE 5-1 Working with the controller ...................................................................................5-2
FIGURE 5-2 Adjustment procedure ............................................................................................5-6
FIGURE 5-3 Adjuster status bar ..................................................................................................5-8
FIGURE 5-4 "Communication error" message............................................................................5-9
FIGURE 5-5 Communications settings .......................................................................................5-9
FIGURE 5-6 Choose version dialog box ...................................................................................5-10
FIGURE 5-7 Add amplifier command.......................................................................................5-11
FIGURE 5-8 "Create a new amplifier database" message .........................................................5-12
FIGURE 5-9 Add new amplifier item dialog box......................................................................5-12
FIGURE 5-10 Opening the amplifier list...................................................................................5-13
FIGURE 5-11 Amplifier specification (varies by type).............................................................5-14
FIGURE 5-12 Add motor command..........................................................................................5-16
FIGURE 5-13 "Create a new motor database" message ............................................................5-16
FIGURE 5-14 Add new motor item dialog box.........................................................................5-17
FIGURE 5-15 New motor record dialog box.............................................................................5-17
FIGURE 5-16 Motor type list ....................................................................................................5-18
FIGURE 5-17 Motor specification (varies by type)...................................................................5-18
FIGURE 5-18 Starting adjustment session ................................................................................5-21
FIGURE 5-19 Control unit warning before adjustment session ................................................5-22
TABLES
PREFACE
The SB214SA Hardware and Setup Guide describes how to mount, connect, tune, and operate the
SB214SA motion control module. Regarding operation, only an introduction to the ACS-Tech80
programming language, ACSPL, is provided. For a detailed description of ACSPL, refer to the
ACS™ Software Guide.
The information in this guide is organized sequentially according to the steps involved in
installing and setting up the control module. An index is included.
Conventions
Visual cues are used in this guide in an attempt to make it easier to absorb the information.
Note
A note box is used for information of special interest or importance.
Caution
A caution box is used when an action must be done with care. Otherwise minor
equipment damage or loss of data could occur.
Warning
A warning box is used when an action must be done with great care.
Otherwise personal injury or significant equipment damage can occur.
Further information
An information box is used to refer to other sections of the guide or other
guides.
Guide Outline
Chapter 1 INTRODUCTION. Introduction to the control module.
Chapter 2 SAFETY & EMC GUIDELINES. End-user installed protective devices, safety
precautions, and suggestions for proper wiring and shielding
Chapter 3 FEATURES & SPECIFICATIONS. Primary features of the control module and
specification.
Chapter 4 MOUNTING & WIRING. Mounting dimensions and temperature requirements;
electrical interface.
Chapter 5 WORKING WITH THE CONTROL UNIT. Setting up, tuning, and programming the
control module.
Chapter 6 TUNING THE CONTROL LOOPS. Detailed description of the control loops, how to
fine tune them, and how to implement dual loop control.
Chapter 7 HARDWARE INTERFACE PARAMETERS. Motion monitoring and other
programming guidelines for communication, feedback, and I/O interface.
Note
For information developed after this guide was published, please refer to the
ACS-Tech80 web site (http://www.acs-tech80.com/) or contact ACS-Tech80.
Related Documentation
Programming the control module is covered in the ACS Software Guide.
1. INTRODUCTION
Motor Cable
Separation of 1 inch for every 3 feet
Encoder / RS232 Cable
COVER SHIELD
2.2.3. Shielding
To reduce EMI radiation, do the following:
• Attach the cable shield with a 180° metal clamp to a dedicated paint-free area around the
unit.
• Install a ferrite core around the cable as close to the unit as possible to reduce.
4.1. Mounting
Mounting guidelines:
• Mount only on a well grounded surface.
• Do not mount units on top of each other.
• The support surface should be a rigid, non-vibrating object, such as, a wall or rack.
• Keep the environment free from corrosive chemical vapors, oil, steam, metal particles,
moisture, and dust.
The ambient temperature must be maintained between +5o C and 45o C. At nominal power, the
unit dissipates 50W of heat.
Warning
Do not turn on the power while making connections. Doing so could result in
severe bodily injury or damage to the unit.
Warning
Do not solder wires before insertion into the connector. Solder will contract
and cause a loose connection over time.
ENA+
ENA-
When making the serial connection, verify that the PC receive is wired to the control module
transmit and the PC transmit is wired to the control module receive.
PC Control
RS-232 Module
Rx Rx
Tx Tx
Gnd Gnd
Shield
PC Control
RS-422/485 Module
Rx+ Tx+
Rx- Tx-
Tx+ Rx+
Tx- Rx-
Gnd Shield
FIGURE 4-8 RS-422/485 connection
1 NU Reserved
2 CANL CAN bus negative signal
3 CGND CAN bus supply ground
4 NU Reserved
5 SHIELD Cable shield / screen
6 CGND CAN bus supply ground
Warning
Facilities for overspeed protection are not provided in the control unit.
Therefore, when facilities for overspeed protection are required for the end-
product, they will have to be provided separately by the end-user.
CONTROLLER
C H#+
200R
C H#-
All the digital I/Os are isolated and must be energized by an external supply of 5Vdc (±10%) or
24Vdc (±20%). The supply voltage is detected automatically.
Use 24 to 20 AWG wire for the Digital I/O connector.
Warning
Do not connect any external supply to pin-20 (VIN) or pin-37 (VOUT).
8. IN13 Input 13
9. IN15 Input 15
10. SCREEN Connect to cable shield
11. OUT2 Output 2
12. OUT4 Output 4
13. OUT6 Output 6
14. OUT8 Output 8
15. OUT10 Output 10
16. OUT12 Output 12
17. OUT14 Output 14
18. OUT16 Output 16
19. VOUT_RET If external voltage (5Vdc or 24Vdc) is supplied to Supply Connector
(J17; pins 3 and 4), then this pin is available for return from external
output circuits. See FIGURE 4-21 and FIGURE 4-23.
20. VIN If external voltage (5Vdc or 24Vdc) is supplied to Supply Connector
(J17; pins 3 and 4), then that voltage is available here for supplying
external input circuits. The voltage is fused internally. See FIGURE
4-13, FIGURE 4-15, FIGURE 4-19.
21. IN2 Input 2
22. IN4 Input 4
23. IN6 Input 6
24. IN8 Input 8
25. IN10 Input 10
26. IN12 Input 12
27. IN14 Input 14
28. IN16 Input 16
29. OUT1 Output 1
30. OUT3 Output 3
31. OUT5 Output 5
32. OUT7 Output 7
33. OUT9 Output 9
34. OUT11 Output 11
FIGURE 4-12 Source type input connection example (via + terminal of I/O supply)
FIGURE 4-13 Source type input connection example (via VIN terminal of I/O
connector)
FIGURE 4-14 Source type input connection example (PNP switch supplied via I/O
supply terminals)
FIGURE 4-15 Source type input connection example (PNP switch supplied via VIN
and VIN_RET terminals of I/O connector)
FIGURE 4-16 Sink type input connection example (via - terminal of I/O supply)
FIGURE 4-17 Sink type input connection example (via VIN_RET terminal of I/O
connector)
FIGURE 4-18 Sink type input connection example (NPN switch supplied via I/O
supply terminals)
FIGURE 4-19 Sink type input connection example (NPN switch supplied via VIN
and VIN_RET terminals of I/O connector)
FIGURE 4-20 Output connection example (load supplied via – terminal of I/O
supply)
FIGURE 4-21 Output connection example (load supplied via VOUT_RET terminal
of I/O connector)
FIGURE 4-22 Output connection example (load supplied via + and – terminals of
I/O supply)
FIGURE 4-23 Output connection example (load supplied via VOUT and VOU_RET
terminals of I/O connector)
Warning
Do not connect any external supply to pin 1 (VIN).
Warning
The Emergency Stop and Safety Interlock means provided with the controller
are software-based only. Therefore, if the end product requires facilities for
hardware-based Emergency Stop and/or Safety Interlock, these must be
provided separately by the end user.
Note
Physically the PEG outputs and the corresponding digital outputs have the
same source but different output levels. The PEG connector outputs are
differential with respect to digital ground (DGND) whereas the equivalent
digital outputs are isolated with respect to the I/O return (VOUT_RET).
4.12.2. Display
The 7-segment display is shown in FIGURE 4-26.
ON
PROG.
COM_SD
Switch ON
Note
For CAN communication, the COM_SD switch must be OFF.
Getting started Equipment requirements, power on, installing the ACS software
tools for Windows
Adjusting the unit An overview of using ACS Adjuster to setup and tune the control
unit.
ACSPL programming An introduction to ACSPL, the programming language for the
with ACS Debugger control module, and ACS Debugger, the ACSPL development
environment
Direct mode Description and working examples of direct mode programming
Programming mode Description and working example of an ACSPL program
Saving and loading Overview of the ACS Saver and ACS loader for saving and
control unit memory loading control unit memory contents
Related
Action Documentation
Setup &
tune Install Tools
controller Chapter 4, "Working
with the Control Unit"
Check
communication No Communication? &
settings
Chapter 5, "Fine
Yes Tuning the Control
Loops
Update motor
New amp
and/or amplifier No
or motor?
database
Adjuster online Help
Yes
Adjust Controller
TABLE 5-2 Resources for more information about topics covered in this chapter
Required information Documentation resource
Fine tuning the module's control loops. Chapter 5, "Adjusting the Control
Loops" & ACS Adjuster online Help
ACS Adjuster - Tool for setting up and adjusting ACS Adjuster online Help
the control module.
5.1.2. Power On
Warning
The control unit's power requirements are stamped on the nameplate.
Failure to connect the control unit to the correct voltage could result in serious
damage to the control unit.
Warning
It is recommended when activating the motor for the first time to disconnect it
from external loads and verify that the area is clear of any object that might be
hit by the moving motor.
Power on During power up, the MP_ON indicator flickers as the control processors
the unit. communicate with each other. The 7-segment display goes on (i.e., displays
an "8") for a few seconds to show it is functioning properly and then goes
off.
Once power up is complete, the MP_ON indicator remains on, showing that
the control processors are functioning properly.
If the I/O supply has been connected, the 24V_I/O indicator remains on,
showing that the output power is present.
Note
There are two sets of installation diskettes, one for ACS Adjuster and ACS
Debugger and one for ACS Saver/Loader.
3. Insert disk 1 of the The following ACS software tools will be added to the
Saver/Loader in the PC disk ACS Tools program group.
drive. ACS Saver
ACS Loader
Setup
10. Review View all the results of the previous steps. Edit as necessary.
parameters
Controller RAM
1 4
Controller RAM
Hard disk
3 RAM
Windows PC
Adjustment
parameter ACSPL program
values storage
storage
EPROM (firmware)
Controller
FIGURE 5-2 Adjustment procedure
The adjustment procedure affects both the volatile and nonvolatile memory of the control module.
The Adjuster keeps the control module's memory in sync with the application database (on the
PC). If the control module is shut off during an adjustment session and the data was not saved to
the module's nonvolatile memory, that synchronization will be lost and the adjustment session
must be repeated.
Firmware Program
version status
1. On the Database menu, point to The first time that the amplifier database is accessed,
Amplifiers, and then click Add the message in FIGURE 5-7 appears, to prevent the
item. default amplifier database from being overwritten.
2. Click OK in the message box This creates a new amplifier database, which includes
and save the amplifier database copies of all the ACS amplifier definitions in the
with a new name. default database, and opens the Amplifier database
(create new item) dialog box.
3. Enter the name of the new The new record dialog box opens with the new item
amplifier and click OK. name displayed in the Amplifier field.
Either use the arrow keys to move the selection . . . click here.
point here and then press Enter, or . . .
4. Open the Type list by either The list of amplifier types opens.
moving the selection point with
the arrow keys to the Type box
label and then pressing Enter or Select this type when using a/an
by clicking in the list (last
column). SB controller SB10XX control module
DCL drive DCL10X1 digital
amplifier (from OSAI)
5. Select the amplifier type by The specification fields for the selected amplifier
clicking on it, then press type appear. The fields will vary depending on the
ENTER. motor type.
6. Edit the fields based on the manufacturer's specifications. The fields displayed depend on
the amplifier type. Fields common to most amplifier types are described in TABLE 5-5.
Currently, only some fields are mandatory. However, it is recommended to fill in all the
fields for future compatibility.
7. Click the OK tool button The new amplifier is added to the amplifier database.
.
If the system's motor is not in the database yet, it should be added now.
Action Effect of action
1. On the Database menu, point to The first time that the motor database is accessed, the
Motors, and then click Add message in FIGURE 5-13 appears, to prevent the
item. default motor database from being overwritten.
2. Click OK in the message box This creates a new motor database and opens the
and save the motor database with Motor database (create new item) dialog box.
a new name.
3. Enter the name of the motor and The new motor record dialog box opens with the new
click OK. item name displayed in the Motor field.
Either use the arrow keys to move the selection . . . click here.
point here and then press Enter, or . . .
4. Open the Type list by either The list of motor types opens.
moving the selection point with
the arrow keys to the Type box
label and then pressing Enter or
by clicking in the list (last
column).
5. Select the motor type by clicking The specification fields for the selected motor type
on it, then press ENTER. appear. (The fields will vary depending on the motor
type).
6. Edit the fields based on the manufacturer's specification. The specific fields depend on the
motor type selection.
Warning
Failure to specify correct values for critical fields such as Nominal current,
could result in damage to the motor.
Number of All except Must be specified for AC servo (DC brushless) and AC
poles DC brush induction motors.
Maximum All The maximum speed that the motor will be run.
required
Required.
velocity
Nominal All Required to protect the motor from overcurrent. This is the
current maximum amplitude of the continuous phase current.
Some manufacturers specify the rms phase current. To calculate
the nominal current from the rms phase current, multiply by
1.41.
Required.
Magnetic Linear only Distance between two adjacent magnets. The magnetic field
pitch changes by 180 electrical degrees along one magnetic pitch.
Nominal AC induction This parameter is used for initial calculation of the SK (slip
velocity only constant) parameter.
Torque Rotary only The amount of torque that the motor generates for 1A of phase
constant current.
(Kt)
Required for SB214SA.
Force Linear only The amount of force that the motor generates for 1A of phase
constant current.
(Kf)
Required for SB214SA.
Phase All Phase to phase inductance. The inductance measured between
inductance any two terminals of the motor.
(Lmotor)
Required for SB214SA.
[mH]
Phase All Phase to phase resistance. The resistance measured between any
resistance two terminals of the motor.
(Rm) [Ohm]
Peak Maximum current for acceleration/deceleration. Can be derived
current from Tp/Kt (Tp is peak torque and Kt is torque constant).
Stall current Maximum continuous current allowed during a stall. If this
value is not known, use the nominal current.
Moving part Rotary only Total inertia of the motor's moving part and the load.
inertia
Moving part Linear only Total mass of the motor's moving part and the load.
mass
Feedback All Commutation and position feedback sensor. Options:
sensor Resolver
Encoder
Encoder + Hall (AC servo (DC brushless) motor only)
Required
Encoder Rotary only If the Feedback sensor selection is "Resolver," Adjuster
lines per ignores any values entered here and sets LR=4096, LF=0.
revolution
The total Counts per Revolution. = 4 x (Encoder lines per
revolution) x (External multiplier), where 4 is an internal
multiplier provided by control unit.
Example: For a 1000 line encoder (Encoder lines per
revolution = 1000) and no external multiplier (External
multiplier = 1), the Counts per Revolution = 4000 (because of
the internal 4x multiplier).
Based on the value of the Encoder lines per revolution and the
External multiplier defined here, Adjuster calculates the
internal controller parameters, LR and LF.
For rotary motors, the Total Number Of Counts per Revolution
= LR x 2LF.
Required
Encoder Linear only If the Feedback sensor selection is "Resolver," Adjuster
lines per ignores any values entered here and sets LR=4096, LF=0.
mm/inch
The total number of counts per mm/inch = Encoder lines per
mm/inch) x (External multiplier) x 4.
Required
External If the encoder does not have an external multiplier
multiplier (interpolator), select 1. The external multiplier is used in the
calculation of the Encoder Counts Per Revolution and the
Encoder Counts per mm/inch.
Dual loop All When improved velocity and position loop bandwidth is
required, two encoders can be used. Dual loop control is
described in Section 6.7, "Dual Loop Control."
Dual loop All The ratio of the encoder one to encoder two. This ratio is
ratio described in Section 6.7.1, "Dual Loop Control -
Implementation"
7. Click the OK tool button New motor record dialog box closes.
.
1. From the Adjust menu, select the Adjuster displays a warning that some of the values in
axis to adjust, for example, Axis the control unit RAM may change. (Leave the Partial
X. adjustment option unchecked.)
3. Select an amplifier from the list by The parameters for the selected amplifier are displayed.
clicking on it once and pressing
ENTER or by double clicking on
it.
Warning
Failure to select the amplifier parameters correctly can result in damage to the
motor.
The purpose of the protection parameters is to protect the system from misuse, overcurrent,
overheat, and other mistakes. For each parameter there are two columns. The left column applies
during the adjustment session only. The right column applies during normal operation.
Action Effect of action
1. Select 3. Protection parameters and The Protection parameters dialog box opens.
click Step.
2. Set the protection parameters
Warning
Failure to set the correct current limit can result in damage to the motor. For
more information about the current limit, refer to Chapter 5, "Adjusting
Control Loops."
Current level CL sets the limit for the actual RMS current of the motor. When the RMS
(CL) current exceeds that limit, the amplifier is disabled, generating error
message 27. Set CL as a percentage of the motor continuous current and the
amplifier nominal current. CL is specified as a percentage of the nominal
current of the amplifier. For example, if the nominal continuous current of
the amplifier is 25A, and the maximum continuous current of the motor is
15A, set CL to 60 (SXCL60<cr>). If the maximum current of the motor is
10.0A, set CL to 40 (SAXCL40<cr>). In summary:
I continuous − motor
CL[%] = × 100
I no min al − amplifier
Torque limit The TL parameter limits the maximum value of the current command
low (TL) (Torque) when the motor is not moving. (When the motor moves, TO is
used.) A value of 1638 allows for twice the nominal current of the amplifier
(Ipeak = 2 x Inominal). A value of 819 allows for 50% of the peak. During the
setup procedure it is recommended to set TL to 820 or higher. During
normal operation it is recommended to set TL to a value that is 20%-30%
above the maximum anticipated torque disturbance when not moving. Thus,
providing a protection to the system if the axis is stacked. TD milliseconds
after switching from moving to non-moving state, TL becomes effective.
As soon as motion starts, TO becomes effective.
Torque limit The TO parameter limits the maximum value of the current command while
(TO) moving. A value of 1638 allows for the nominal peak current of the
amplifier. A value of 819 allows for 50% of the nominal peak.
Parameter Description
Error limit ER specifies the maximum position error allowed during periods of
(ER) constant velocity (otherwise EA is used). When the error value exceeds ER,
the motor is automatically disabled and an error massage 25 is generated.
During the initial set-up it is recommended to use a large ER value (32000),
to prevent false error situations. Afterwards, when moving a large distance
back and forth, using the maximum required velocity and acceleration, it is
recommended to reduce the ERror limit gradually until the motor traps on
error. Then, to increase the value by 100%. Such a value provides a good
protective measure against any malfunction.
Error limit EA specifies the maximum position error allowed during acceleration and
during deceleration. When the error value during acceleration exceeds EA, the
accel./decel. motor is automatically disabled and an error massage 25 is generated.
(EA) During the initial set-up it is recommended to use a large EA value
(32,000), to prevent false error situations. Afterwards, when moving a large
distance back and forth, using the maximum needed velocity and
acceleration, it is recommended to reduce EA gradually until the motor
traps on error. Then, to increase the value by 100%. Such a value provides a
good protective measure against any malfunction.
1. Select 4. Feedback Verification and The Feedback Verification dialog box opens.
click Step.
When the position feedback sensors are counting in opposite directions, an error message will
occur suggesting that you rotate the axis more slowly or check the wiring. The following is a list
of corrective measures:
• Slowly rotate the axis
• Make sure all cables are firmly secured
• Confirm connectivity and polarity (pin assignment)
• Confirm that the proper feedback sensor type has been selected during the Motor Adjustment
step
• The following wire swaps may be necessary to match encoder and Hall direction:
• A+ and A-, or
• B+ and B-, or
• 2 pins on Hall
Note
If any safety devices are turned off during the adjustment session, they
should be turned back on upon session completion.
Warning
During commutation, the motor physically moves.
Note
At this point, the phase order of the wiring is fixed. Keep a record of how the
motor and encoder are wired to use as a future reference.
It is recommended that there be no load during the commutation step.
6. Click OK. The values of the control unit's parameters are saved
to the control unit's nonvolatile memory. The
Adjuster initiates commutation adjustment. The
process can take up to several minutes. When the
process is complete, the status message should read
"Setup finished successfully."
Warning
Commutation adjustment MUST complete successfully. Do not proceed
further until this has been accomplished. For more information about
commutation adjustment, see Chapter 5, "Adjusting the Control Loops."
1. Select 7. Velocity loop The Velocity loop adjustment dialog box and
adjustment and click Step. ACScope window open.
2. First set the motion parameters for The Motion parameters dialog box is displayed.
the velocity loop adjustment. To
do so, click Motion.
3. Change the Period to 600msec. The Motion parameters dialog box closes.
Click OK.
4. Click the Start button (green The button function changes to Stop (red light).
light) in the ACScope window. The soft oscilloscope is now active.
5. Click Go in the Velocity loop A waveform of the velocity response appears in the
adjustment dialog box. ACScope window.
Note
Avoid setting Vel (% of max) higher than 10%.
8. Click OK. The Velocity loop adjustment dialog box and the
ACScope window close.
1. Select 8. Position loop The Position loop adjustment dialog box and the
adjustment and click Step. ACScope window open.
2. First set the motion parameters The Motion parameters dialog box opens.
for the position loop adjustment.
To do so, click Motion.
7. Increase/decrease the Gain (GA) Typical velocity and position error profiles for the
until a good response profile is position loop are shown in the figures above. (If the
achieved. profile extends out of view, click the Adjust vertical
scale button in the ACScope toolbar.)
Note
If the protection parameters are too restrictive, it can cause position error
failures. To correct this, click Protection to open the Protection parameters
dialog box, then increase the value of the limiting parameter.
8. Click OK. The Position loop adjustment dialog box and the
ACScope window close.
The Polishing step is for final optimization of the system performance. Polishing is not required
at this time.
This is the last stage of the adjustment session. The parameter values set during the adjustment
session (steps 1 through 9) are accessible here. If it is necessary to change a parameter value, it
can be done here directly or, if preferred, by closing the Review parameters step going back to
the step containing the parameter.
Action Effect of action
1. Select 10. Review parameters The Review parameters dialog box opens. The
and click OK. results of the nine previous steps are organized in an
expandable tree format.
Click on field to
open it for editing
2. When done click OK. The Review parameters dialog box closes.
3. Click Yes Adjuster performs the actions stated and the Axis
Adjustment dialog box closes.
4. On the Application menu, click The Application is written to the PC hard disk. This
Save. is recommended as a backup precaution. Upon
successful save, a confirmation box is displayed.
Warning
If any safety devices were turned off during the adjustment session, they
should be turned back on upon session completion.
To illustrate the relationship between the ACSPL operation modes the following table shows
different ways to accomplish the following task:
Read the unit's current level, then set the current level to 55%.
Direct mode Type RXCL and press carriage Type SXCL55 and press carriage
return (Enter) return (Enter)
Programming Add to program: Add to program:
mode
disp XCL let XCL=55
1. From the Windows Start menu, The ACS Debugger window opens. Debugger
point to the ACS Tools program attempts to communicate with the control unit. If it
group and click ACS Debugger succeeds, the Communication parameter in the
status bar will read ON (FIGURE 4-44). If it fails,
verify that the communication parameters are set
correctly by clicking Communication on the
Settings menu.
FIGURE 5-44 Debugger status bar - successful communication with control unit
Action Effect of action
3. Click the Enable Direct The Terminal is ready to use for programming the
Communication tool button . control unit using direct mode (FIGURE 5-47).
1. Type in each command and press The command is downloaded to the control unit
ENTER. where it is immediately interpreted and executed.
An End message of 01, indicates successful completion. The most recent Begin and End
messages can be retrieved using the T1 and T2 commands. Type: T1 T2<cr> to see the
result.
This "smart joystick's" speed can be adapted to the needs of the application. ACSPL
programming, (introduced in the next section), can be used to write a simple program that
switches from high speed (for long travel) to low speed, with better position resolution and
control, when a switch on one of the inputs is pressed.
In order to prevent axis movement around the stationary point of the joystick, a dead band can be
defined via the Lower Threshold (LT) and Upper Threshold (UT) parameters. For more
information about these parameters, see Chapter 6, "Reference" in the ACS Software Guide.
1. Press ESC (or click Cancel). The Open dialog box closes and the File window is
displayed (FIGURE 5-50).
1. Click the Write Program to The program is loaded to the control unit RAM. The
Control unit tool button . Program window, which displays the control unit
RAM contents, now shows the program (FIGURE
5-53).
FIGURE 5-53 Program window shows the program in control unit RAM
1. On the View menu, click Trace The Trace window opens (FIGURE 5-56).
(FIGURE 5-54).
2. Click the Run program button . The program execution can be seen in the Program
window and the program status in the Trace window
(FIGURE 5-58).
1. SearchI: Label.
2. let XMO=1 Let X axis MOTOR Enable the motor.
be 01
1. I_O: Label.
2. V0=IP&15 Variable V0 assigned Read the input port and ignore
the result of the Input the values of inputs 5 to 16.
Ports parameter & the
binary representation
of 15 (decimal).
3. let OP=V0 Let the Output Port Set the outputs to the value of
parameter be assigned the inputs.
the value of V0
4. disp "IP = ",IP Display the values of Display the values of the I/O
the Input Ports and the ports
disp "OP =",OP Output Ports.
5. Stop End of program
Controller 1
Adjustment Direct mode ACSPL
parameter commands & Save entire contents of
values ACSPL program
Controller 1 memory
Motion
control Filters
algorithms
Load Controller 1 memory
contents to Controller 2
EPROM (firmware)
Saver/
Loader
Controller 2
Adjustment Direct mode ACSPL
parameter commands &
values ACSPL program
Hard disk
EPROM (firmware)
This chapter starts with a description of the D and K arrays of control loop parameters. The description
also covers how to work with the arrays directly although in most cases it is preferable to work with them
using ACS Adjuster.
Block diagrams of the control loops are followed by descriptions and fine tuning instructions. Slip
constant optimization and polishing are also covered.
D0 Internal use.
D1 Internal use.
D2 Internal use.
D3 Programmable parameter. Used by ACS Adjuster.
D4 Programmable parameter. Used by ACS Adjuster.
D5 Programmable parameter.
D6 Programmable parameter
D7 Programmable parameter. Used in velocity loop - integral gain (Ki).
D8 Programmable parameter. Used in velocity loop - velocity gain (Kv).
D9 Programmable parameter. Used in velocity loop -- integrator limit.
D10 Programmable parameter.
D11 Internal use.
D12 Internal use.
D22 Determines the scaling factor for the velocity feedback and the velocity feed
forward.
K1 Internal use.
K2 Internal use.
Element Function
K3 Internal use.
K4 Internal use.
K5 Programmable parameter.
K5 = 0: Sets the velocity loop output to DA. Enables open loop operation: When
GA is set to zero (which zeroes the position error (PE)), the DA parameter is used
to command the motor.
K5 = 1: Default.
K5 = 2: Used only by ACS Adjuster
K5 = 3: Used only by ACS Adjuster.
K5 = 4: Used only by ACS Adjuster.
NOTE: It is recommended not change K5 (default value is 1).
K6 Programmable parameter. Used only by ACS Adjuster.
K6 = 0: Positive.
K6 = 1: Negative.
NOTE: It is recommended not to change K6.
K7 Programmable parameter. Used only by ACS Adjuster (during commutation setup).
K8 Internal use.
K9 Internal use.
K10 Internal use.
Restoring the protection prevents unintentional changes to sensitive control parameters held by the arrays.
Manually removing and restoring protection is not required when using ACS Adjuster.
*S (AF) Key:
d
* S - Laplace transformer in time domain: S =
Acceleration feed forward dt
** D22 - Velocity scaling factor (gain)
*** DA - Bias input
*S **D22 System and control parameters are indicated in Courier font.
S
Velocity feed forward For example: (DP) and D22.
***DA ***DA
command command
Motor + load
+ + +
Position Velocity +
Velocity Power amplifier
Profile
generator Desired
+ error Position
filter
+
Velocity
error
filter
+
Uc
Plant Encoder
position - command - (voltage
GA x 2GF Velocity command)
(DP)
feedback
Current
position
(CP) POSITION **D22
LOOP Actual VELOCITY LOOP
velocity
(AV)
*S
Encoder counts
Key
:
2]
Jt - Total inertia (motor + reflected load) [kg x m
Torque
disturbance
Ke
Uc (voltage
D0 +/-10V R
command)
Sin (CP) A External S
Sin (CP + 120 o) D1 +/-10V 0 PA T
A
TL 1
T0 S1
0
1
S1
S1 = 0: DC brushless
S1 = 1: DC brush
1
DA* *DA is a % of the maximum velocity required for
command the application
2
+ +
Velocity
feed forward +
ω2
D8 1
+ s 2 + 1.4ωs + ω 2
Uc (voltage
- Low pass filter +
3 command)
D23, D24, D25 D7 1/S
Velocity
command
Integrator +/-D9
4
Velocity
feedback
216
D25 =
A
ωn = 2*3.14* Fn
Example: For Fn =637Hz: D23 = 1986
D24 = 56599
D24 = 49648
Parameter D22 determines the scaling factor for the velocity feedback and the velocity feed
forward. Adjuster automatically sets D22 to:
600 × 10 5
D22 =
Max velocity
Max velocity is the maximum velocity [count/sec] that the motor will be running at.
(Max velocity is defined in the Motor feedback parameters step of the adjustment session.)
The default value for D22 is 2000 [maximum value: 30,000].
20 log (amplitude)
(dB)
20 dB
D8
1. Set the Bandpath (bandwidth) of the Low pass filter at around 650 Hz.
2. If the motion system has high inertia and low resonance, it is useful to reduce the
Bandpath to between 100 Hz and 500 Hz.
Action
Note
The Velocity loop adjustment step is also affected by the values of the
D5, D6, and D10 parameters. The parameters are accessible later, in the
Position loop adjustment step.
1. Click the Motion button to open the Motion parameters dialog box as shown in
FIGURE 6-7.
2. Define the motion profile for the test by setting the First point and the Second
point. To set a point, either enter a number (corresponds to an absolute position of
the encoder) or move the motor axis to the desired position and click the Set From
Encoder button to set the point directly to the value of the current encoder
reading. For the second point, there is also a Set One Revolution button , which
sets the second point exactly one full encoder revolution distant from the first point.
3. Set other motion parameters as necessary, and click OK to close the Motion
parameter dialog box.
4. Click the start button in the Scope toolbar and the Go button in the Position loop
adjustment dialog box.
5. Set Dead Zone Min (D5), Dead Zone Max (D6), and Zero FF Zone (D10) to 0.
(These parameters are used only with piezoelectric motors.)
6. Set FN to zero. For a high friction load, increase FN (range 0 to 255) to overcome
friction.
7. Select Velocity (Scope CH1).
Velocity 80
1000
60
800 SK=100, to low
40
600
SK =600 still too low 20
400
0
200
-20
SK=1000, optimal SK
0
-40
0
100 200 300 400 500 600 700 800 900
-200 -60
Time [msec]
l
6.6. Polishing
Action
Increase AF until the error is minimized. (If AF is too large, the error may be excessive,
causing more motor noise.
Action
In a dual loop application two encoders are used, one mounted on the motor axis and the other on
the load. (The load encoder can be linear for a linear stage application or rotary for a rotary load
application).
Examples of applications that benefit from dual loop control:
Linear stage drive with a screw.
Printer drum drive with a flexible belt.
A high-inertia antenna driven by a high-ratio gear motor.
In all these examples, the use of dual loop control will improve the performance of the system.
The dual loop control block diagram is shown in FIGURE 6-14.
DA
CURRENT or
VEL COMMAND K5
1 2 1 2
1 for velocity
2 for current
0 TD
Load
du/dt D21
Velocity FF
DA Command Torque Disturbance POS 1
DP + V_FF Current Current
GA*2GF Velocity Command Command Command
Profile Current
generator
- AV
Command
Current Command POS 2
VELOCITY FILTER CURRENT FILTER PLANT
D22 du/dt
CP Counts
Counts
$CU = 2 Encoder (no Hall), single loop, for a DC brush, AC servo (DC
brushless), or AC induction motor
$CU = 3 (Not supported by SB214SA) Encoder + Hall, single loop, for an
AC servo (DC brushless) motor.
$CU = 6 Encoder (no Hall), dual loop, for a DC brush, AC servo (DC
brushless), or AC induction motor.
$CU = 7 (Not supported by SB214SA) Encoder + Hall, dual loop, for an AC
servo (DC brushless) or AC induction motor.
$D21, $D22 from the D array are used for velocity scaling.
$D22 is determined from the maximum velocity of the motor for the application.
$D21 is determined from the maximum velocity of the load for the application.
500 × 10 6
D22 =
VMm
Where
VMm - Max velocity of the motor (counts/sec).
D22 × ENC1(res)
D21 = ENC2(res)
Where
ENC1(res) - Number of counts of ENC1 per motor revolution ( LR × 2 LF ).
ENC2(res) - Number of counts of ENC2 per motor revolution.
Note: ENC1(res)/ENC2res = The dual loop ratio used in the Adjuster motor definition.
The position loop bandwidth [Hz] (Fc) is computed as follows:
1 20000
Fc (position) = × GA × 2 GF ×
2π D 21
This chapter summarizes ACSPL parameters relating to the hardware interface. The interface is
described in Chapter,4, "MOUNTING & WIRING."
Serial communications Changing the baud rate and configuring multiple drop connections
CAN communications Understanding the CAN switch and parameters
(option)
Input and output ports Motion monitoring and other I/O functions
Further information
More detailed information about ACSPL is contained in the ACS Software
Guide
SBR57600<cr> Set the baud rate to 57600. Changes the baud rate to 57600.
SAVE<cr> Save the change. Saves the change.
(Enter command twice).
SAVE<cr>
HWRES Perform a hardware reset. Resets the processor (equivalent to
power off, power on). The change in
the baud rate takes effect upon
completion of the hardware reset.
Note
Shielding connections will vary according to the installation.
Note
For CAN communication, the COM_SD switch on the control unit's front
panel must be OFF.
Examples:
Set CAN Node ID to 60: SNI60<cr>
Report CAN Node ID: RNI<cr> displays result: Can Node ID 60
7.3. Encoders
Warning
Facilities for overspeed protection are not provided in the control unit.
Therefore, when facilities for overspeed protection are required for the end-
product, they will have to be provided separately by the end-user.
The primary encoder feedback type and speed is governed by the Encoder Type (ET) parameter.
The maximum edge count speed can be up to 20 million counts per second (when ET is in the
range 1 to 6) or 40 million counts per second (when ET is in the range 100 to 106).
The secondary encoder feedback behavior can be programmed with the 2nd Encoder Type (Et)
parameter.
For more information, see the "Reference" section of the ACS Software Guide.
Note
In ACSPL descriptions, the symbol "$" is used a placeholder for the axis
(i.e., it can stand for X, Y, Z, or T).
The polarity of the digital inputs is controlled by the Input Logic (IN) parameter. When a bit in
IN is set to 1, it causes the state of the corresponding input to be inverted. For example, if IN = 4
(i.e., bit 2 is set to 1), then if input three (IN3) is on, the controller considers it off.
The polarity of the digital inputs is controlled by the Input Logic (IN) parameter. When a bit in
IN is set to 1, it causes the state of the corresponding input to be inverted. For example, if IN = 4
(bit 2 set to 1), then if input three (IN3) is on, the controller considers it off. The IN parameter
does not affect the registration input (or the execution of the AUTO_M1$ automatic routine). The
IN parameter can be useful for application debugging.
The Input Source (IS) parameter controls execution of a Begin on Input (B$I) command. When a
Begin on Input (B$I) command is issued, the control unit delays execution until the appropriate
input is activated. The IS (Input Source) axis parameter defines which input. For example, if
XIS = 1, then when a BXI command is issued, it is not executed until input 1 is high. The default
IS are:
X 16 Y 14 Z 12 T 8
Warning
The E-STOP input must not be used as the Emergency Stop for the entire
system. Its sole use is to indicate to the control unit that an emergency
situation exists.
The safety inputs comprise left limit and right limit (per axis), and emergency stop.
Warning
The Emergency Stop and Safety Interlock means provided with the
controller are software-based only. Therefore, if the end product requires
facilities for hardware-based Emergency Stop and/or Safety Interlock,
these must be provided separately by the end user.
The limit inputs reduce the motor current to zero in order to avoid axis over-travel by preventing
further motion in the inhibited direction. The emergency stop input stops and deactivates the
motor instantaneously.
The SI (System Input Port) parameter holds the status of the safety inputs.
The polarity of the safety inputs can be altered with the IL (Input Logic) parameter.
B/E Motion Signals when the axis is in motion ("ON") or not in motion ("OFF").
X: output 1. Y: output 2. Z: output 3. T: output 4.
Ready After a Begin on Input (BXI), indicates that the calculations are complete
and the axis is ready for motion.
X: output 5. Y: output 6. Z: output 7. T: output 8.
Early Ready Indicates that the axis is ready to accept a new move command.
Also indicates that a superimposed move has been executed. (A
superimposed move is initiated by setting the Master-slave relative Distance
[MD] while in Master-Slave Mode [Mode 12]).
X: output 9. Y: output 10. Z: output 11. T: output 12.
Interpolation Signals that the axis interpolation (profile generation) for the present move
Complete is completed.
X: output 13. Y: output 14. Z: output 15. T: output 16.
When serving a dedicated function, an output can still be set and reset using the direct mode
commands SHI (Set output High), SLO (Set output Low) and SOP (Set Output Port) and the
corresponding programming commands let HI, let LO, and let OP. See the ACS Software Guide
for more details.
SOM3<cr> Set output mask to Enables outputs 1 and 2 for B/E Motion
3 (= 00000011 binary). function for X axis and Y axis respectively.
ROP<cr> Report output port status. Displays status of the output ports.
When MN = 3, it is the Data Collection (DC) bit assignment that defines the source of the analog
output. If more than one DC bit is set, only the least significant bit is read.
Bit 11 - 15 10 9 8 7 6 5 4 3 2 1 0
For more information about the DC parameter, refer to the ACS Software Guide.
The MF (Monitor Factor) is available for scaling for scaling the internal digital source fed to the
analog output's DAC.
Analog output signal = (internal digital source) x 2MF x (10[volts]/512)
To prevent an overflow, MF must adhere to the following condition:
-511 < (internal digital source) x 2MF < 511
MF VPE [volts/count]
-2 0.00488
-1 0.00976
0 0.0195
1 0.039
2 0.078
3 0.156
4 0.312
8. WARRANTY
ACS-TECH80 warrants that its products are free from defects in materials and workmanship
under normal use during the warranty period. The warranty period is one (1) year from receipt by
the end user. This warranty does not apply to any product from which the serial number has been
removed or destroyed, or damage as a result of accident, fire, misuse, abuse, negligence, operation
outside the usage parameters, unauthorized modifications, or acts of G-d.
ACS-TECH80 is not liable for any damages (material, financial, or physical) caused by the
products or the failure of the products to perform. These limits of liability shall including, but not
limited to: any lost profits, lost savings, lost earnings, loss of programs or other data, business
interruption, incidental damages, consequential damages or personal injury.
These limitations apply whether damages are sought, or a claim made, under this warranty or as a
tort claim (including negligence and strict product liability), or any other claim. These limitations
of liability will be effective even if you have advised ACS-Tech80 of the possibility of any such
damages.
ACS-Tech80 makes no other warranties, expressed or implied, including any implied warranties
of merchantability or fitness of any product for a particular purpose. ACS-Tech80 expressly
disclaims all warranties not stated in this warranty. ACS-Tech80 reserves the right to make
change to this warranty without notice.
INDEX
Page Comments