XtraWare User Manual
XtraWare User Manual
AC SERVO DRIVER
XtraWare
User Manual
Revision E
MAIN OFFICE:
13 Hamelacha St.,
Afeq Industrial Estate
Rosh Ha’ayin 48091
ISRAEL
Tel: +972-3-9004114
Fax: +972-3-9030412
E-mail: info@yetmotion.com
Homepage: http://www.yetmotion.com/
USA OFFICE:
YET US Inc.
531 King St.,
Unit 1
Littleton, MA 01460
USA
Tel: +1-866-YET-8080
E-mail: USinfo@yetmotion.com
Homepage: http://www.yetmotion.com/
Table of Contents
Table of Contents
1. Introduction...................................................................... 1
MOVE_R...........................................................................135
READ_FROM_ARRAY ..........................................................138
REGISTRATION_DISTANCE.................................................138
RETURN ...........................................................................140
RUN ................................................................................141
SET_OUTPUT ....................................................................141
SET_OUTPUTS ..................................................................143
SET_VAR..........................................................................144
SET_ZERO_POSITION ........................................................145
SLIDE ..............................................................................146
SLIDE_ANALOG ................................................................147
SPEED .............................................................................148
SPEED_CONTROL ..............................................................149
START .............................................................................149
STOP ...............................................................................150
STOP_EX .........................................................................151
STOP_MOTION..................................................................152
TORQUE...........................................................................154
TORQUE_ANALOG .............................................................155
TORQUE_LIMITS ...............................................................156
WAIT_EXACT ....................................................................157
WAIT_FOR_START.............................................................158
WAIT_INPUT.....................................................................159
WAIT_STOP......................................................................160
WAIT_VAR .......................................................................161
WRITE_TO_ARRAY ............................................................162
5.6. Serial Communication Commands ...............................163
CLEAR_BUFFER .................................................................163
ECAM_POINTS ..................................................................163
ECAM_PROFILE .................................................................164
ECAM_SEGMENT ...............................................................165
ECAM_TABLE_BEGIN .........................................................165
ECAM_TABLE_END ............................................................166
GET_FROM_ARRAY ............................................................166
GET_PAR..........................................................................166
GET_VAR .........................................................................167
GET_VERSION ..................................................................167
POLLING ..........................................................................167
SAVE_PRG_ECAM ..............................................................168
SET_PAR..........................................................................168
8. Parameter Reference.......................................................191
8.1. Table 17: Parameters ................................................191
8.2. Table 18: Switches....................................................199
8.3. Table 19: Input Signal Selections ................................206
8.4. Table 20: Home Switches...........................................208
8.5. Table 21: Extended Input Signal Selection....................208
8.6. Table 22: Output Signal Selections ..............................209
8.7. Table 23: Extended Output Signal Selection..................210
8.8. Table 24: Auxiliary Functions ......................................211
8.9. Table 25: Monitor Modes ............................................212
1. Introduction
The XtraWare software constitutes the user interface and tool of
operation for the XtraDrive. It enables parameter setting, control
loops tuning, fault status reporting and facilitates programming
of the driver both for professional programmers and novices.
The topics described in this manual include:
♦ Software installation (including system requirements and
setup instructions).
♦ Description of user menus and toolbars.
♦ Operation of the XtraDrive driver using the XtraWare
software (including communication, parameters and program
handling).
♦ Command Reference which lists alphabetically:
The commands used in the XtraWare software.
The commands available in the serial communication
protocol.
♦ Description of the XtraDrive serial communication protocol.
♦ Error Messages.
♦ Parameter Reference providing information on all the
parameters available in the XtraWare software.
♦ System Variables.
♦ Status Word Bits.
♦ Operation Codes.
Related documents:
To install XtraWare:
1. Insert the CD into the CD-ROM drive.
2. If the procedure does not start automatically (i.e.,
autoplay is not enabled) either:
Click Start | Run and type "D:\Install\SETUP" (where
D: is your CD drive), or
Using Windows Explorer, load the CD-ROM contents, and
double-click D:\Install\SETUP.EXE.
The installation screen is displayed, the installation
procedure commences and a message welcoming you to
XtraWare is displayed.
3. Click Next to continue.
4. Follow the onscreen instructions to choose a destination
folder for the XtraWare files.
NOTE:
If new versions of the PC support files are needed to install
XtraWare, a window will appear asking whether to overwrite
the current version or to cancel the installation. XtraWare may
not run correctly if the new versions of the support files are not
installed.
NOTE:
In the different modes, some of the menu options are disabled
(grayed) and cannot be accessed. Similarly, disabled icons
indicate that communication is offline.
NOTE:
1) The ECAM related options are only activated if an ECAM
license has been purchased.
OPTION DESCRIPTION
Cut Deletes selected text or lines from the program, and places
(Ctrl+X) the selection on the Windows and XtraWare clipboards.
Copy Places a copy of selected text or lines from the program on
(Ctrl+C) the Windows and XtraWare clipboard.
Paste Inserts the contents of the XtraWare clipboard into the
(Ctrl+V) program.
OPTION DESCRIPTION
Online Switches to working in online mode.
Offline Switches to working in offline mode.
Setting Opens the Communication Settings window. See
Section 4.1.1, Communication Settings, for details on
this option.
NOTE:
1) The ECAM related options are only activated if an ECAM
license has been purchased.
OPTION DESCRIPTION
Project Displays the default XtraWare Main Screen interface,
Screen which includes the Workspace, Program, History, Cam
and Parameters windows.
Program Enlarges the Program window to facilitate program
Edit editing. The History, Cam and Parameters windows are
Screen hidden.
User Displays the current user customized screen saved under
Screen the Save User Screen option.
Save The size and location of the Workspace, Program,
User History, Cam and Parameters windows can be
Screen customized to facilitate your work session. This option
enables you to save your customized screen for future
work sessions. Each time you save a new customized
screen, the previous user screen is overwritten.
The icon next to each command indicates its current status. The
availability or unavailability of a command depends on the
current working mode.
Table 9: Command Tab Icons
ICON DESCRIPTION
Available command. This command can be used in the current
working mode.
Currently selected command. When a command is selected its
description is displayed in the Description area under the
command list.
Command is not available in the currently selected mode.
To select a command:
1. Double-click on the command name. The appropriate
command dialog box is displayed.
See Section 4.4.1, Writing a Program, for details on how
to insert commands into the program.
2. Click on a command name to see a short description of
the command in the Description pane or see Chapter 5,
Command Reference, for a more detailed description.
NAME DESCRIPTION
ID A sequential number assigned to the command.
Command The name of the command executed.
Operation The operation mode (Program, Immediate,
Mode Sequential) active when the command was issued.
To download parameters:
NOTE:
If the motor is not fitted with a serial encoder (SII or W
Series) and the project was opened using Open Project
and not by running the Wizard, you must enter a password
or the motor parameters (highlighted in red) will not be
changed.
To upload parameters:
Use the buttons below each digit to change the value of the
parameter. Note that the changed value is sent on-line to the
XtraDrive. Some values take effect immediately; others are sent
to the driver but take effect only after the power is cycled. The
Need Reset indicator appears in the status line when this action
is necessary.
4.4.2.1. Example
♦ Clicking the RUN icon to run the program from the first
line.
♦ In Immediate and Sequential modes, selecting the RUN
command from the Program Flow Control commands in the
Workspace window. In the pop-up window that is displayed,
type in the label number from which you want the program
to run.
♦ After downloading a user program to the driver, it is possible
to run it automatically every time the driver turns ON by
setting the parameter Pn2CC to 1. For further information,
see Section 5.10 of the XtraDrive User Manual.
4.6.2. Autotuning
Autotuning is applicable in programming mode only (Pn000.1 =
D).
In driver version 2.91, autotuning is not available for linear
motors.
When you select the Autotuning option from the Maintenance
menu, the Autotuning window (Figure 21) is displayed:
NOTE:
The value of the command filter is calculated automatically and
stored in parameter Pn216 during fast tuning
WARNING:
After pressing Start, the motor will begin to move.
4.7. Charts
The Charts option provides a graphical display of signals over a
specified time period. Two analog signals and two digital I/O
signals can be displayed.
4.7.1.1. Trigger
For all of the graph settings described below, you can select the
scale (available values are 1, 2, 5, 10, 25, 50, 100, 500, 1000)
and the color in which the results will be displayed.
♦ X – Sampling Time Interval
Specifies the time interval for obtaining trace data (default:
25ms). The total trace time for which results are obtained is
the sampling time interval multiplied by 10.
♦ Y1 / Y2 – Sampled Channel
Available values are:
Target Speed
Smoothed Target Speed
Acceleration
Motor Speed
Position Error
Torque Reference
♦ I/O 1 / I/O 2 – Sampled Digital I/O
Select the sampled output and input signals.
4.7.1.3. Show
4.7.1.4. Caption
Open
Loads a trace data file.
Up one zoom
Restores the previous zoom level.
level
Reset zoom Restores the area shown in the window to its
normal size.
Start Trace Starts the trigger searching. Click the icon again
to cancel the search.
Enable Measures the delta values of X, Y1 and Y2 by
Measure right-clicking and dragging the mouse. The
values are displayed on the respective axes.
Show
Displays information on current cursor location.
markers
Save
Saves graph data in Excel format (*.csv).
To zoom in on an area:
1. Position the mouse at one corner of the area you want to
select.
2. Hold down the left mouse button and drag to the opposite
corner.
A white area will appear around the selected area.
3. Release the left mouse button.
The selected area of the graph is enlarged.
NOTE:
1. Sometimes the trigger cannot be detected in under 2ms due
to the relationship of the detection period.
2. If the sampling time is increased, XtraWare may continue to
wait for the trigger even after the trigger has been applied.
XtraWare waits because data for the sampling time is saved in
the XtraDrive after the trigger has been applied.
To print a chart:
1. Select the Print Chart option from the File menu while
the chart is open.
NOTE:
The process uses the predefined parameters of Notch Filter
(Pn408.0, Pn409, Pn40A) and does not take control gains into
consideration.
with the load inertia and the balance would cause alarms,
and accurate measurements would be impossible.
NOTE:
Accurate measurement is not possible if the torque is restricted
during excitation. Refer to the XtraDrive User Manual for details
on the Torque Limit function.
WARNING:
The motor will begin moving once Start has been pressed.
Once the end points and the resolution of a segment have been
specified, specify how the positions of the remaining points in
the segment must be calculated. The number of points
generated is dependent on the Master Step setting.
The length of the segment is 1000 master counts and the Master
Step is 20. The number of points in the segment, including the
start and end points is thus 51.
4. Click OK.
The Curve Shape window is closed. Array will be displayed
in the Curve Shape column of the Position Setting table.
To save a profile:
1. Click Save in the Cam Profile File area.
The Save Cam Profile dialog box is displayed.
2. Enter a name for the profile file in the File name field,
select a folder in which to save the file, and click Save.
The file is saved, with an .XDP extension.
NOTE:
After downloading a profile, it is saved in the XtraDrive. Unlike
parameters and programs, which can be uploaded from the
XtraDrive to XtraWare, ECAM tables cannot be uploaded. Thus,
it is important that profiles are saved on a disk for backup
purposes.
To load a profile:
1. Select Electronic CAM from the Tool menu, or click
Electronic Cam on the toolbar.
The Electronic CAM window is displayed.
2. Enter a number that you will use to identify the profile in
the Profile Number field.
3. Click Add Profile.
The profile is added to the Profile List.
4. Click on the Position Setting tab.
5. Click Open in the Cam Profile File area.
The Open Cam Profile dialog box is displayed.
6. Select the file to open, and click Open.
To delete a segment:
1. Click any field in the row of the segment that is to be
deleted.
2. Click Delete. 0.
The selected segment is deleted.
WARNING:
Clicking Delete Profile deletes the profile immediately – you
will not be asked for confirmation.
To download a profile:
1. Ensure that the relevant Download checkboxes in the Cam
List window are checked.
NOTE:
After downloading a profile, the profile is saved in the
XtraDrive, but unlike parameters and programs, which can be
uploaded from the XtraDrive to XtraWare, profiles cannot be
uploaded. Thus, it is important that profiles are saved on a disk
for backup purposes.
4.9.14.1. ECAM_ENGAGE
4.9.14.2. ECAM_DISENGAGE
Format: ECAM_DISENGAGE
This command is used to terminate ECAM motor motion.
ECAM_DISENGAGE will cause the motion to stop only once the
current profile is completed. To stop the motion immediately,
use the STOP_EX command.
4.9.14.3. ENGAGE_VIRTUAL_AXIS
To apply scaling:
1. Set the variables ECAM_Master_scale_num,
ECAM_Master_scale_den, ECAM_Slave_scale_num and
ECAM_Slave_scale_den using the SET_VAR command.
NOTE:
When using a virtual axis, it is recommended that scaling only
be used to scale the graph down, that is, A/B and C/D should
be set to values lower than one. If a profile is stretched, a lack
of sufficient data points will result in a profile that is not
smooth. When designing a profile, you should therefore design
it for the largest movements that could possibly be required, so
that it will only ever be necessary to scale the profile down.
NOTE:
The scaling factors discussed above do not affect the size of the
shift or offset, if defined.
4.9.15.2. Shift
To apply a shift:
1. Set the value of the variable ECAM_Shift using the
SET_VAR command.
NOTE:
The size of the shift is not affected by scaling the master axis
4.9.15.3. Offset
To apply an offset:
1. Set the value of the variable ECAM_Offset using the
SET_VAR command.
NOTE:
The size of the offset is not affected by scaling the slave axis.
Both shifts and offsets can be applied during motion. This will
usually result in a sudden, jolting motion as the target slave
position is adjusted instantly across a discontinuity. When
applying a shift before engaging ECAM motion, ensuring that the
profile is shifted to a point at which the slave position is zero will
ensure a smooth initial motion. Applying an offset will always
result in a sudden change to the target slave position.
When the application of a shift or offset does result in a sudden
change to the target slave position, the resulting motion will be
constrained by the maximum torque settings, not by the default
profile settings. The maximum torque settings in each direction
are defined by the variables Forward_Torque_Limit and
Reverse_Torque_Limit. (Use the TORQUE_LIMITS command to
temporarily reduce those values.) Reducing the limits will result
in smoother motion at a discontinuity caused by a shift or offset.
ECAM_POINTS 4 15 14 14 13
ECAM_POINTS 4 12 12 11 9
ECAM_POINTS 4 9 8 6 6
ECAM_POINTS 4 4 3 2 1
ECAM_TABLE_END
In the diagram:
♦ D1: The delay between the input being received and
registration beginning.
♦ D2: The predefined registration distance.
♦ The dashed line in the Velocity graph represents the motion
that would have taken place had the input not been received.
NOTE:
Only input 6 (CN1-46) is used to trigger registration. There is
no need to set In_6 to function as a latch input.
4.10.2. Troubleshooting
In certain circumstances, the motor will not stop at the point
specified by the registration process. The variable Motion_status
indicates how the motion ended.
1. The motor traveled further than the registration distance,
but not as far as the target position of the original motion
command.
This will occur if the registration distance is not sufficiently
long for the motor to be able to decelerate to a stop at
the profile acceleration. Either increase the registration
distance, or increase the profile acceleration.
2. The motor stopped at the target position specified by the
original motion command, as if registration had not
occurred.
This will occur if the latching condition was not met. To
ensure that the motor will stop by registration, increase
the distance to be traveled specified by the motion
command.
4.10.3. Commands
Two commands are required when using latching: one to enable
and define a condition for latching, and another to define the
stopping distance once the condition has been met.
4.10.3.1. LATCHING_TRIGGER
4.10.3.2. REGISTRATION_DISTANCE
4.10.4.1. Latched_motor_position
This variable records the position of the motor when the latching
condition was met. Because the sampling time is 62.5µs, the
accuracy of the latching is dependent on the motor speed and
the exact moment in the sampling interval at which latching
takes place. The position is recorded in terms of user position
units.
4.10.4.2. Latched_master_position
This variable records the position of the master axis when the
latching condition was met. Because the sampling time is
62.5µs, the accuracy of the latching is dependent on the motor
speed and the exact moment in the sampling interval at which
latching takes place. The position is recorded in terms of master
counts.
4.10.4.3. Motion_status
4.10.4.4. Latched_position_ready
4.11. Interrupts
When an event for which an interrupt has been defined occurs,
program execution is postponed while the specified interrupt
service routine is executed. This allows the XtraDrive to react to
events regardless of when they occur. Typical interrupt events
include the onset of an emergency situation or changes in user
inputs or in user or system variables.
4.11.6.1. Interrupt_request
4.11.6.2. Interrupt_mask
4.11.6.3. Interrupt_pending
Interrupt_mask:
To specify that only interrupts 3 and 7 be handled, should their
conditions be met, bits 3 and 7 in the variable Interrupt_mask
must be set to 1 and all other bits must be set to 0, as shown:
BIT# 7 6 5 4 3 2 1 0
Setting 1 0 0 0 1 0 0 0
Interrupt_request:
If the interrupt conditions for interrupts 1, 3 and 4 are met, then
bits 1,3 and 4 in the variable Interrupt_request will be set to 1
and all other bits will be set to 0.
BIT# 7 6 5 4 3 2 1 0
Setting 0 0 0 1 1 0 1 0
Interrupt_ reg:
Because only bit 3 is set to 1 in the Interrupt_mask variable,
only interrupt 3 will be handled; interrupts 4 and 1 will be
ignored. Only bit 3 in Interrupt_pending will be set to 1, as it is
the only bit set to 1 in both Interrupt_request and
Interrupt_mask:
BIT# 7 6 5 4 3 2 1 0
Setting 0 0 0 0 1 0 0 0
4.11.7.1. EXT_INT
4.11.7.2. INT
4.11.7.3. INT_RETURN
NOTE:
If both interrupts occur simultaneously, the interrupt of priority
0 will be handled as in case 1, and then the interrupt of priority
1 will be handled as in case 2. The program will then return to
label 2.
5. Command Reference
This chapter contains an alphabetical list of:
♦ The commands available for writing a program in the
XtraWare system.
♦ The commands available in the serial communication protocol
The following information is presented for the commands:
♦ Command Name: The name of the command.
♦ Command Group: The group to which the command
belongs.
♦ Syntax: The format in which the command should be
written.
♦ Operation Code: The operation code of the command, in
decimal format, to be used when issuing the command using
the serial communication protocol. See Chapter 6, Serial
Interface Protocol.
♦ Modes: The modes in which the command is available. For
details of the available modes, see Section 4.5, Program
Modes. Information on how commands are executed in the
different modes is provided below.
♦ Motion Mode: The motion modes in which the command
functions (applicable to motion commands only). See Section
5.3, Motion Modes.
♦ Description: A detailed description of the command.
♦ Syntax Arguments: A description of the arguments used in
the command syntax, including the units where applicable.
Additional information is provided in the Serial blocks for
use when issuing the command using the serial
communication protocol, see Chapter 6, Serial Interface
Protocol.
The length of each argument is given. The number shown
is the number of data bytes of each argument. Each byte
consists of 2 hexadecimal digits, e.g. 01011111 = 5Fx0.
Arguments that must be specified by an unsigned integer
are indicated with a U.
Arguments that can be specified either by a numerical
value or by the ID number of a system variable are
indicated by a V. This is applicable for version 3.0 and
upward.
Where the argument is specified by an option, such as a
conditional operator, and not by a number, the numerical
code for each option is provided. When programming in
Serial 2 U V
MOTION
COMMAND
BUFFER
(MCB)
1
2
3
4
5
NOTE:
When you issue a motion command (MOVE, MOVE_D, GO,
GO_D, SLIDE), the motion is calculated internally by the
controller and then placed in a “motion queue” inside the
motion command buffer (MCB). Therefore, changes made in
profile commands (ACCELERATION, SPEED, JERK) in
Immediate mode do not affect motions that are already in the
MCB.
(-7)
(-5)
(-4)
(-3)
(-2)
(-1)
(0)
(6)
Analog torque
Analog Speed
Speed mode
Auto tuning
Pulse train
Homing.
Hunting
ECAM
Speed mode
(0) C S S C S S C S S S S
Profile position
(1) S C C C S S C C S S C
Profile Velocity.
(3) S S C C S S C C S S C
Profile Torque.
(4) S S S C S S C S S S S
Homing
(6) S S S S C S S S S S S
ECAM
(-7) S S S S S C S S S S S
Analog torque
(-5) S S S C S S C S S S S
Analog Speed
(-4) S S C C S S C C S S C
Pulse train
(-3) S S C C S S C C C S C
Auto tuning
(-2) S S S S S S S S S C S
Hunting
(-1) S S C C S S C C S S C
Command Name
GROUP The command group under which the command is listed in
XtraWare.
SYNTAX The format in which the command is written.
OP. CODE The operation code of the command, in decimal format, to
be used when issuing the command using the serial
communication protocol, see Chapter 6, Serial Interface
Protocol.
MODES Modes in which the command is available. For details of
the available modes, see Section 4.5, Program Modes.
MOTION The motion modes in which the command functions
MODE (applicable to motion commands only). See 5.3, Motion
Modes.
DESCRIPTION A detailed description of the command and how it is used.
SYNTAX Argument Description of the argument.
ARGUMENT [The units in which the argument is defined,
name
when applicable].
Condition/Variable Code
Lists the codes to be used
when specifying an argument
as a condition (e.g. =, <, >)
or a variable (variable ID
code) when using the serial
communication protocol.
When using XtraWare, simply
select the required option
from a drop-down menu.
ACCELERATION
Table explanation
OP. CODE 64
MODES Program, Immediate, Sequential
DESCRIPTION Sets the acceleration value for the motion profile. The
command changes the profile acceleration value set by
parameters Pn2A4, Pn2A5 and remains in effect until the
next controller reset.
SYNTAX n Profile acceleration.
ARGUMENT [user acceleration units]
Serial 4 U
EXAMPLE LABEL 1
ACCELERATION 720
SLIDE 200
DELAY 1000
ACCELERATION 360
SLIDE 1000
DELAY 1000
SLIDE 0
END
CALL
Table explanation
OP. CODE 66
MODES Program
DESCRIPTION Calls a subroutine. The program flow is transferred to
the subroutine. The called subroutine must begin with
a LABEL command and end with a RETURN command.
SYNTAX n The label number at which the subroutine
ARGUMENTS begins.
Serial 1 U
EXAMPLE LABEL 1
INPUT_CASE 3 2
CALL 2
END
LABEL 2
SLIDE 1000
DELAY 500
SLIDE 0
RETURN
CONTROL
Table explanation
GROUP System
SYNTAX CONTROL <switch>
OP. CODE 69
MODES Program, Immediate, Sequential
DESCRIPTION Enables/disables the motor.
If the servomotor is disabled while a motion is in
progress, a quick stop is first made using the
maximum deceleration before the motor disable
command is executed.
SYNTAX Switch Specifies whether to enable or disable:
ARGUMENTS Setting Code
OFF – disables the motor 0
ON – enables the motor 1
Serial 1 U
EXAMPLE LABEL 1
CONTROL ON
DELAY 1000
MOVE_D 3600 -1
CONTROL OFF
END
DELAY
Table explanation
GROUP Wait
SYNTAX DELAY <n>
ECAM_DISENGAGE
Table explanation
GROUP ECAM
SYNTAX ECAM_DISENGAGE
ECAM_ENGAGE
Table explanation
GROUP ECAM
SYNTAX ECAM_ENGAGE <Profile_ID> <Mode>
Serial 1 U
END
Table explanation
OP. CODE 70
MODES Program, Immediate
DESCRIPTION Terminates the user program currently being
executed.
EXAMPLE LABEL 1
WAIT_INPUT 1 = 1 -1
CALL 2
END
LABEL 2
SET_OUTPUT 1 ON
RETURN
ENGAGE_VIRTUAL_AXIS
Table explanation
GROUP ECAM
SYNTAX ENGAGE_VIRTUAL_AXIS <Profile_ID> <Direction>
Serial 1 U
EXT_INT
Table explanation
GROUP Interrupt
SYNTAX EXT_INT <Priority> <Input_Number> <Edge>
Serial 1 U
EXAMPLE The interrupt mask is set so that the program will only
EXPLANATION respond to interrupt 0. A motor movement to position
655360 is started. If, during the motion, the value of
input 1 changes from 0 to 1, Output 1 will be set ON.
The program will then continue: once the motor
motion has finished, Output 1 will be set OFF.
SEE ALSO INT, INT_RETURN
Variables: Interrupt_mask, Interrupt_request,
Interrupt_pending
FAST_OUTPUT_SETTING
Table explanation
GROUP Output
SYNTAX FAST_OUTPUT_SETTING <Variable> <Condition>
<Value>
Serial 1 U
Serial 1 U
GAIN
Table explanation
GROUP System
SYNTAX GAIN <n>
OP. CODE 71
MODES Program, Immediate, Sequential
DESCRIPTION Sets a user factor for the control loop gains. This
command can be used to momentarily decrease
system bandwidth, i.e., when the motor is not in
motion but holding its position, or to increase system
bandwidth for short and stiff motion.
SYNTAX n User gain [%].
ARGUMENTS Range: 0 - 1000
Default gain is 100%.
Serial 2 U
GO
GROUP Motion
SYNTAX GO <target> <time>
EXAMPLE GO 10000 –1
SET_OUTPUT 1 ON
GO 0 300
GO_D
Table explanation
GROUP Motion
SYNTAX GO_D <target> <time>
EXAMPLE LABEL 1
GO_D 10000 –1
SET_OUTPUT 1 ON
GO_D 0 300
END
GO_H
Table explanation
GROUP Motion
SYNTAX GO_H <target>
GO_TO
Table explanation
OP. CODE 73
MODES Program
DESCRIPTION Changes the flow of the program by specifying a label
to which to jump.
SYNTAX n The number of the label number to which to
ARGUMENTS jump.
Serial 1 U
EXAMPLE LABEL 1
MOVE 3600 500
MOVE -3600 500
GO_TO 1
HOME Commands
♦ The home switch is a digital input that defines the start point
to search for the C-pulse. Do not define the over travel
switch as the home switch.
♦ The accuracy of Home position in A quad B encoder by C-
pulse is +/- 1 count if the motor searches in the same
direction. If the motor searches in both directions the
accuracy is the C-pulse width +/- 1 count.
HARD_HOME
Table explanation
GROUP Home
SYNTAX HARD_HOME <torque> <speed>
HOME_C
Table explanation
GROUP Home
SYNTAX HOME_C <speed1>
HOME_SW
Table explanation
GROUP Home
SYNTAX HOME_SW <speed1> <speed2>
HOME_SW_C
Table explanation
GROUP Home
SYNTAX HOME_SW_C <speed1> <speed2>
IF
Table explanation
Serial 1 U
Serial 1 U
IF_INPUT
Table explanation
Serial 1 U
Serial 1 U
EXAMPLE LABEL 1
IF_INPUT 1 = 0 THEN GO_TO 2
SET_OUTPUT 2 ON
LABEL 2
MOVE_D -4096 –1
END
INPUT_CASE
Table explanation
OP. CODE 97
MODES Program
RANGE <input mask> – 1 to 0x00FFFFFF
<input state> – 0 to 0x00FFFFFF
DESCRIPTION The program flow is conditional on the state of a
combination of digital inputs. If the condition is True,
the next program line is executed. Otherwise, the
next program line is skipped.
<input mask> is used to define which inputs are
detected and which are ignored (1 - detected, 0 -
ignored). For example, if <input mask> is set to 5 (in
binary: 0101) only inputs 0+2 are checked; the rest
are ignored.
Input Mask
…. 0 0 0 1 0 1
<input state> defines the logical combination to be
detected as True. For example, if <input state> is
set to 4 (in binary: 0100), True means input 0 OFF,
input 1 OFF, input 2 ON and input 3 OFF.
Input State
…. 0 0 0 1 0 1
Serial 4 U V
EXAMPLE LABEL 1
INPUT_CASE 7 2
MOVE 4096 –1
GO_TO 1
END
INT
Table explanation
GROUP Interrupt
SYNTAX INT <Priority> <Variable> <Condition> <Value>
Serial 1 U
INT_RETURN
Table explanation
GROUP Interrupt
SYNTAX INT_RETURN <Label>
JERK_TIME
Table explanation
OP. CODE 74
MODES Program, Immediate, Sequential
DESCRIPTION Defines the time duration for the changing of
acceleration and deceleration. Sets the jerk time
value for the motion profile. The command changes
the profile jerk time value set by parameter Pn2A6
and remains in effect until the next controller reset.
The jerk time affects the profile of motions
commanded by: MOVE, MOVE_D, MOVE_R, MOVE_H,
GO, GO_D, SLIDE, SLIDE_ANALOG
SYNTAX time Jerk time.
ARGUMENTS [µs] Range: 0 – 63999 µs
Serial 4 U
LABEL
Table explanation
OP. CODE 88
MODES Program
DESCRIPTION Defines the beginning of a program or subroutine.
May be used to mark the beginning of a code line in
order to use the GO_TO, CALL or LOOP commands or
for program auto-start after power-up.
SYNTAX n The label number.
ARGUMENTS
Serial 1 U
EXAMPLE LABEL 1
CONTROL ON
DELAY 1000
GO_D 10000 –1
IF_INPUT 1 = 1 THEN CALL 2
CONTROL OFF
END
LABEL 2
SET_OUTPUT 1 ON
RETURN
LATCHING_TRIGGER
Table explanation
Serial 1 U
LOOP
Table explanation
OP. CODE 75
MODES Program
DESCRIPTION Repeats a portion of code beginning at a label a
specified number of times. Up to four loops may be
nested within one another but may not cross one
another.
SYNTAX n The levels of nesting within this loop (up to
ARGUMENTS 4).
Serial 2 U
EXAMPLE Three loops with two nesting levels are shown below
(the command lines have been separated for clarity).
Loops 2 and 3 are nested in Loop 1.
MATH
Table explanation
GROUP Variables
SYNTAX MATH <Result> <R Operator> <Variable>
<Operation> <Value>
R Operator Operator:
Operator Code
= 18
Serial 1 U
Serial 1 U
Serial 1 U
EXAMPLE LABEL 1
SET_VAR Var_01 8192
MATH ECAM_Shift =
Actual_position_registration / Var_01
ECAM_ENGAGE 1 Non Cyclic
END
MOVE
Table explanation
GROUP Motion
SYNTAX MOVE <distance> <time>
EXAMPLE LABEL 1
MOVE 4096 1000
DELAY 2000
MOVE –4096 –1
END
MOVE_D
Table explanation
GROUP Motion
SYNTAX MOVE_D <distance> <time>
EXAMPLE LABEL 1
MOVE_D 4096 1000
MOVE_D –4096 –1
END
MOVE_H
Table explanation
GROUP Motion
SYNTAX MOVE_H <distance>
MOVE_R
Table explanation
GROUP Motion
SYNTAX MOVE_R <distance>
READ_FROM_ARRAY
Table explanation
GROUP Variables
SYNTAX READ_FROM_ARRAY <Index> <Variable>
Value 56312
REGISTRATION_DISTANCE
Table explanation
RETURN
Table explanation
OP. CODE 77
MODES Program
DESCRIPTION Returns from a subroutine to the command following
the CALL command that called the subroutine.
EXAMPLE LABEL 1
CONTROL ON
DELAY 1000
JERK_TIME 700
MOVE_D 7200 1
CALL 2
SET_OUTPUT 2 OFF
CONTROL OFF
END
LABEL 2
SET_OUTPUT 2 ON
JERK_TIME 350
MOVE_D -7200 -1
RETURN
RUN
Table explanation
OP. CODE 78
MODES Immediate, Sequential
DESCRIPTION Runs a program or a subroutine
from the specified label.
SYNTAX n The label number.
ARGUMENTS
Serial 1 U
SET_OUTPUT
Table explanation
GROUP Output
SYNTAX SET_OUTPUT <n> <switch>
OP. CODE 79
MODES Program, Immediate, Sequential
DESCRIPTION Sets a digital output pin to ON or OFF.
There are three logical outputs that can be set
corresponding to the three output pins on the
XtraDrive.
SYNTAX n Digital output number, set according to
ARGUMENTS the table below.
Output Digital Output
number
1 Out_1 (CN1-25,26)
2 Out_2 (CN1-27,28)
3 Out_3 (CN1-29,30)
Serial 2 U V
Serial 1 U
EXAMPLE LABEL 1
SET_ZERO_POSITION demand_position
SLIDE 200
WAIT_VAR Position_actual_value >= 10000
SLIDE 0
SET_OUTPUT 2 ON
END
SET_OUTPUTS
Table explanation
GROUP Output
SYNTAX SET_OUTPUTS <output mask> <output state>
Range: 1 to 0x00FFFFFF
Serial 4 U V
SET_VAR
Table explanation
GROUP Variables
SYNTAX SET_VAR <variable> <value>
OP. CODE 81
MODES Program, Immediate, Sequential.
DESCRIPTION Sets the contents of a writeable user variable.
SYNTAX variable Set to the ID number of one of
ARGUMENTS the writeable system variables.
In driver ver 2.91, only the
following variables can be set:
Exact_mode,
Motion_end_window, Clock,
Speed_reference.
Serial 1 U
SET_ZERO_POSITION
Table explanation
GROUP Home
SYNTAX SET_ZERO_POSITION <mode>
OP. CODE 95
MODES Program, Immediate, Sequential
DESCRIPTION Zeroes motor position according to <mode>. Actual
position - Sets the actual motor position as zero
position. Demand position - Sets the demand position
as zero position (the position error remains).
SYNTAX mode Specify the mode:
ARGUMENTS Mode Code
Actual position - Sets the actual 0
motor position as zero position.
Demand position - Sets the 1
demand position as zero
position (The position error will
remain.)
Serial 1 U
EXAMPLE LABEL 1
HOME_C 200
GO_D 7800 1000
SET_ZERO_POSITION demand_position
SLIDE
Table explanation
GROUP Motion
SYNTAX SLIDE <n>
EXAMPLE LABEL 1
SLIDE 10000
DELAY 1000
SLIDE 2000
DELAY 1000
SLIDE –2000
DELAY 1500
SLIDE 0
DELAY 1000
END
SLIDE_ANALOG
Table explanation
GROUP Motion
SYNTAX SLIDE_ANALOG
SPEED
Table explanation
OP. CODE 83
MODES Program, Immediate, Sequential
DESCRIPTION Sets the velocity value for the motion profile. The
command changes the profile velocity value set by
parameters Pn2A2, Pn2A3. The profile velocity
value then remains in effect until the next
controller reset.
SYNTAX n Sets the profile velocity.
ARGUMENTS [user speed units]
Serial 4 U
EXAMPLE LABEL 1
CONTROL ON
DELAY 500
SPEED 50
MOVE 3600 -1
SPEED 200
MOVE_D -3600 -1
CONTROL OFF
END
SPEED_CONTROL
Table explanation
GROUP Motion
SYNTAX SPEED_CONTROL <switch>
Serial 1 U
START
Table explanation
GROUP Motion
SYNTAX START
OP. CODE 82
MODES Immediate
STOP
Table explanation
GROUP Motion
SYNTAX STOP <switch>
OP. CODE 84
DESCRIPTION Immediately stops the motor motion using the quick
stop deceleration as defined by parameters Pn2A8
and Pn2A9, and stops the program and clears the
immediate, sequential and motion buffers.
SYNTAX switch This parameter defines system behavior
PARAMETERS after the motion actually stops:
Switch Code
ON – keeps the motor enabled 1
OFF – disables the motor 0
STOP_EX
Table explanation
GROUP Motion
SYNTAX STOP_EX <Type> <Servo>
Serial 1 U
Serial 1 U
STOP_MOTION
Table explanation
GROUP Motion
SYNTAX STOP_MOTION
OP. CODE 99
TORQUE
Table explanation
GROUP Motion
SYNTAX TORQUE <n>
EXAMPLE LABEL 1
TORQUE 100
DELAY 1000
TORQUE 200
DELAY 1000
TORQUE –200
DELAY 1500
TORQUE 0
DELAY 1000
END
TORQUE_ANALOG
Table explanation
GROUP Motion
SYNTAX TORQUE_ANALOG
TORQUE_LIMITS
Table explanation
GROUP System
SYNTAX TORQUE_LIMITS <FRW> <REV>
OP. CODE 87
MODES Program, Immediate, Sequential
RANGE 0 to 1000
DESCRIPTION Sets torque limits in the forward <FRW> and reverse
<REV> directions in a single command.
The torque value is specified as 0.1% of the
maximum motor torque set by Pn402 and Pn403.
When applied to linear motors, the maximum force in
the forward and reverse directions is set by Pn483
and Pn484 respectively.
SYNTAX FRW Torque limit in forward direction.
ARGUMENTS [0.1% of the maximum motor torque]
Serial 2
WAIT_EXACT
Table explanation
GROUP Wait
SYNTAX WAIT_EXACT <n>
EXAMPLE LABEL 1
MOVE 10800 3000
SET_OUTPUT 2 ON
WAIT_EXACT –1
SET_OUTPUT 1 ON
END
WAIT_FOR_START
Table explanation
GROUP Wait
SYNTAX WAIT_FOR_START
WAIT_INPUT
Table explanation
GROUP Wait
SYNTAX WAIT_INPUT <input number> <input condition
<input state> <time>
Serial 1 U
Input 0 or 1
state
Serial 1 U
EXAMPLE LABEL 1
WAIT_INPUT 2 = 1 –1
MOVE 10800 –1
WAIT_INPUT 2 = 0 10000
MOVE -10800 -1
END
WAIT_STOP
Table explanation
GROUP Wait
SYNTAX WAIT_STOP <n>
EXAMPLE LABEL 1
MOVE 4096 –800
SET_OUTPUT 1 ON
WAIT_STOP -1
SET_OUTPUT 1 OFF
END
WAIT_VAR
Table explanation
GROUP Wait
SYNTAX WAIT_VAR <variable> <condition> <value>
Serial 1 U
EXAMPLE LABEL 1
SET_ZERO_POSITION demand_position
SLIDE 50
WAIT_VAR Position_actual_value = 20000
SLIDE 0
END
WRITE_TO_ARRAY
Table explanation
GROUP Variables
SYNTAX WRITE_TO_ARRAY <Index> <Value>
Value 98
WRITE_TO_ARRAY 17 5432
Array value after:
Index 1 2 3 ... 17 ... 512
Value 5432
CLEAR_BUFFER
Table explanation
OP. CODE 94
MODES Immediate
DESCRIPTION Clears either the program buffer or the sequential
buffer, depending on the value of <Buffer>.
It is recommended that this command be used before
sending a program to the drive by serial
communication to remove an existing program from
memory. Not doing so can result in unexpected
behavior, such as the program jumping to labels
within the old program.
SYNTAX <Buffer> Indicates which buffer is to be cleared:
ARGUMENTS Buffer Code
Sequential Buffer 0
Program Buffer 1
Serial 1 U
ECAM_POINTS
Table explanation
ECAM_PROFILE
Table explanation
ECAM_SEGMENT
Table explanation
ECAM_TABLE_BEGIN
Table explanation
SYNTAX ECAM_TABLE_BEGIN
ECAM_TABLE_END
Table explanation
SYNTAX ECAM_TABLE_BEGIN
GET_FROM_ARRAY
Table explanation
GET_PAR
Table explanation
OP. CODE 85
MODES Immediate, Sequential
DESCRIPTION Reads the contents of XtraDrive parameter.
SYNTAX Parameter XtraDrive parameter (see Chapter 8,
ARGUMENTS number Parameter Reference).
Serial 2 U
GET_VAR
Table explanation
OP. CODE 72
MODES Immediate, Sequential
DESCRIPTION Reads the contents of the variable.
SYNTAX variable System variable (see Chapter 9, List of
ARGUMENTS System Variables).
Serial 1 U
GET_VERSION
Table explanation
SYNTAX GET_VERSION
OP. CODE 63
MODES Immediate
DESCRIPTION Reads XtraDrive version number.
POLLING
Table explanation
SYNTAX POLLING
OP. CODE 0
MODES Immediate
DESCRIPTION Reads XtraDrive status. For details, see Chapter 10,
List of Status Word Bits.
SAVE_PRG_ECAM
Table explanation
SYNTAX SAVE_PRG_ECAM
OP. CODE 96
MODES Immediate
DESCRIPTION Saves program and ECAM table to the EPROM for
further use after power up.
SET_PAR
Table explanation
OP. CODE 80
MODES Immediate, Sequential.
DESCRIPTION Sets XtraDrive parameter. The driver must be reset
before the change takes effect.
SYNTAX parameter number XtraDrive parameter (see
ARGUMENTS Chapter 5, Parameter
Reference).
Serial 2 U
NOTE:
0x## represents a hexadecimal number.
→ S1 S2 CR
NOTES:
Message ID enables rewriting of lines in XtraDrive
program. The program must be stopped prior to line
rewriting.
Message ID enables synchronization between status
received from XtraDrive and a specific message
Message ID may be ignored and set as 0x00.
Because the range is greater than 0xF, two bytes are required for
holding the number.
Range: 0x0 – 0xFF. 0x0 – 0xF each (see Chapter 11, List of
Operation Codes).
NOTE:
It is possible to work without checksum by setting Pn2C6 = 0.
When working without checksum, set 00 instead of checksum
(S1S2).
CONTROL ON command
Example of CONTROL_ON command to axis 0 in Immediate
mode:
Format:
N A M ID1 ID2 C1 C2 V1 V2 P1 P2 S1 S2 CR
N 0 A 0 0 4 5 0 0 0 1 B 0 CR
Where:
MOVE command
Example of MOVE command (600uu in 1000ms), of axis 2 in
Sequential mode:
Format:
N As a m Id1 Id2 C1 C2 V1 V2 P1 P2 P3 P4
→
N 2 B 3 0 0 7 1 0 0 0 0 0 0
P16 S1 S2 CR
→
8 1 F CR
Where:
Mode Code
Broadcast Message 0x0
Polling Message 0x1
Immediate Mode 0x2
Sequential Mode 0x3
Program Mode 0x4
NOTE:
The short format is the same format as was used in previous
versions of XtraWare, in which the specification of arguments
was limited to numerical values.
N A M ID 1 ID 2 ANSWER S1 S2 CR
Where:
Where:
C1 C2 D1 D2 … DN
Where:
command type.
Where:
Where:
Parameter Reference.
Where:
with:
C1 C2 2 8 0 A
CONTROL ON command
Example of response message to CONTROL_ON command to
axis 0 in Immediate mode with message identification of 0x7F.
Master Message Format:
N A M ID1 ID2 C1 C2 V1 V2 P1 P2 S1 S2 CR
N 0 A 7 F 4 5 0 0 0 1 3 1 CR
S1 S2 CR
→
C 5 CR
Where:
MOVE Command
Example of response message to MOVE <600> <1000>
command (600uu in 1000ms), of axis 0 in Sequential mode,
with message identification of 0x96 when control is off. Because
a motion cannot be executed when CONTROL_OFF, fault 0x8C
occurs.
N A M ID1 ID 2 C1 C2 V1 V2 P1 P2 P3 P4 P5 P6
→
N 0 B 9 6 7 1 0 0 0 0 0 0 0 2
S1 S2 CR
→
A 6 CR
Where:
S1 S2 CR
→
C 5 CR
GET_VAR command
Example of response message to GET_VAR command to variable
Position_Actual_value (0x09) to axis 0 in Immediate mode with
message identification of 0x7F.
Master Message Format:
N A M ID1 ID2 C1 C2 V1 V2 P1 P2 S1 S2 CR
N 0 A 6 5 4 8 0 0 0 9 4 0 CR
N A M ID 1 ID 2 C1 C2 INX_1 INX_2
→
N 0 2 6 5 4 8 0 9
V1 V2 V3 V4 V5 V6 V7 V8 S1 S2 CR
→
F F F F F 0 6 0 F A CR
Where:
6.3. Troubleshooting
PROBLEM POSSIBLE CAUSE SOLUTION
Unable to establish Communication cable See cable scheme in
communication with does not match XtraDrive User Manual,
XtraDrive XtraDrive Appendix C.11.
requirements.
Communication setting See Section 4.1.1,
is different than Communication
XtraDrive Settings.
requirements.
XtraDrive axis address Match axis address (a
is different than the – second byte) to
one referred to by the XtraDrive axis address
master. (Pn000.2).
XtraWare (or any other Close all programs that
program that communicate with COM
communicates with the port.
COM port) is online.
The response message The response message To accept a specific
format or value is which accepts Data response message,
different than Request Commands write a loop with
expected. response does not POLLING command
necessarily match the (Command Operational
master command. Data Code 0x00) until the
Request Command appropriate response
response will match message is accepted.
the master command
unless a fault was
occur and then fault
acknowledgment will
be accepted before.
After a variable has To delete a variable
been watched in the from the watch list, set
XtraWare variable XtraWare to Online
watch-window (even if mode. Delete the
XtraWare is no longer desired variable(s) and
open), message return to Offline mode.
response type is If XtraWare is closed,
changed to 3 (m=3) rerun the program and
and the message go Online and then
format holds the Offline.
variable value as well.
No checksum value Pn2C6 setting is Set Pn2C6=0001 and
accepted on the different than 0x0001. reset XtraDrive.
response message.
7. Error Messages
Error messages that may be generated by XtraWare are listed
below together with a short description of each.
8. Parameter Reference
This chapter provides information on all the parameters
available in XtraWare.
5.1.2,
Function Selection
Pn001* - - 0000 5.4.2,
Application Switches 1**
5.5.7
Function Selection Parameters
5.2.8,
Function Selection
Pn002* - - 0000 5.2.9,
Application Switches
5.7.2
Function Selection
Pn003 - - 0002 6.4
Application Switches 3
Function Selection
Pn006 - - 0000 6.4
Application Switches 3
Function Selection
Pn007 - - 0000 6.4
Application Switches 3
1 to
Pn100 Speed Loop Gain Hz 40
2000
6.2.2,
6.2.7,
Speed Loop Integral 15 to 6.2.10
Pn101 0.01ms 2000
Time Constant 51200
Gain Parameters
1 to
Pn102 Position Loop Gain s-1 40 6.2.10
2000
10000 6.3.1,
6.3.5
Feed-Forward (Speed
Pn109 % 0 to 100 0 6.2.2
control)
Online Autotuning
Pn110* - - 0010 6.3.4
Switches
pulse*
Pulses number of A quad
Pn193* 10000/ 0-419 0 5.8
B encoder (High)
rev
counts/
Encoder counts per Scale
Pn199 scale 1-256 1
Pitch of linear motor
pitch
Proportional feedback
Pn1AA Hz 0-500 40 6.3.3
gain
Supplementary
Pn1AB proportional feedback Hz 0-500 30 6.3.3
gain
100-
Pn1B5 Maximum variable gain % 160 6.3.7
1000
Gain parameters
Feed forward
Pn1BB Hz 10-2000 2000 6.3.4
compensation
Filter on command
Pn1BC 0.01ms 0-2500 300 6.3.4
acceleration
Reduction of vibrations
Pn1BD Hz 10-2000 2000 6.3.4
due to system flexibility.
Position Control
Pn200* Reference Selection - - 0000 5.2.2
Switches
PG Divider (rotary 0 to
Pn201* p/r 2048 5.2.3
motor) 65635
Multi-Turn Limit 0 to
Pn205* rev 65535 5.7.2
Setting** 65535
speed
Pn2A2* Work speed default (low) 0-65535 0 5.9.1.2
units
speed
Work speed default
Pn2A3* units* 0-256 0 5.9.1.2
(high)
65536
accelera
Work acceleration default
Pn2A4* -tion 0-65535 0 5.9.1.2
(low)
units
accelera
Work acceleration default -tion
Pn2A5* 0-256 0 5.9.1.2
(high) units*
Serial communication command
65536
accelera
Quick stop deceleration
Pn2A8* -tion 0-65535 65535 5.9.1.2
(low)
units
accelera
Quick stop deceleration -tion
Pn2A9* 0-256 256 5.9.1.2
(high) units*
65536
user
Pn2C0 Motion end window position 0-250 10 5.9.1.2
units
0.1% of
rated
Pn2C1 Torque slope 1-24000 24000 5.9.2
torque/
ms
user Chapter 6,
Synchronize window for
Pn2C4 position 0-250 7 Command
pulse train
units Reference
Communication switch
Pn2C6 null 0-1 1 Appendix E
selection
% of
Autotuning – speed of
Pn2C9 maximu 0-100 50 5.9.5
movement
m speed
Autotuning – acceleration
Pn2CA ms 1-1000 50 5.9.5
time
Autotuning – plateau
Pn2CB ms 0-1000 50 5.9.5
time of movement
Pn2D0* Reserved - - - -
0.01V/
Speed Reference Input 150 to
Pn300 rated 600 5.2.1
Gain 3000
speed
0 to
Pn301 Speed 1 rpm 100 5.2.6
10000
0 to
Pn302 Speed 2 rpm 200 5.2.6
10000
0 to
Pn303 Speed 3 rpm 300 5.2.6
10000
0 to
Pn304 Jog Speed rpm 500 5.3.2
10000
Time 10000
0.1V/
Torque Reference Input 10 to
Pn400 rated 30 5.2.7
Gain 100
torque
Torque Function
Torque Parameters
50 to
Pn409 Notch Filter Frequency Hz 2000 6.2.9
2000
70 to
Pn40A Notch Filter width Hz 70 6.2.9
1000
0 to
Pn501 Zero Clamp Level rpm 10 5.4.3
10000
1 to
Pn502 Rotation Detection Level rpm 20 5.5.5
10000
ref.
Pn504 NEAR Signal Width 1 to 250 7 5.5.8
units
256 ref. 1 to
Pn505 Overflow Level 1024 6.2.1
units 32767
Sequence Parameters
20 to
Pn509 Momentary Hold Time ms 20 5.5.9
1000
0 to
Regenerative Resistor capa-
Pn600 10W city 0 5.6.1
Other Para-meters
Capacity ****
*****
0 to
Reserved parameter (do capa-
Pn601 - city 0 -
not change)
*****
NOTES
* After changing this parameter, cycle the main circuit and
control power supplies to enable the new settings.
Digit Default
Parameter Name Setting Description
Place Setting
Control
Position control (pulse train
1 Method D
8 reference)/Torque control (analog
Selection
reference)
Pn000
3 Reserved - 0
Digit Default
Parameter Name Setting Description
Place Setting
coasting state
0 None
Speed 1
Function Selection
REF 2
Terminal input
Allocation)
Uses T-REF as an external torque
3 limit input when P-CL and N-CL are
ON
1 Torque 0 None 0
Digit Default
Parameter Name Setting Description
Place Setting
Control
Option (V-
REF Uses V-REF as an external speed limit
1
Terminal input
Allocation)
3 Not used 0 - 0
Analog
Monitor 2
1 Speed 0-7 Same as Pn003.0 (see above)
Reference
Monitor
2 Not used - - 0
3 Not used - - 0
Digit Default
Parameter Name Setting Description
Place Setting
Analog
monitor 1 – 0: x1, 1: x10, 2: x100 3: x1/10, 4:
2 0-4 0
magnificatio x1/100
n of signal
3 Not used 0 - 0
Analog
monitor 2 – 0: x1, 1: x10, 2: x100 3: x1/10,
2 0-4 0
magnificatio 4: x1/100
n of signal
3 Not used 0 - 0
0 tion sensor 1
switch 1 Without commutation sensors
Switch
Pn080
Communica- 0 UVW
1 tion sensor
order 1 UVW
Digit Default
Parameter Name Setting Description
Place Setting
2 Reserved - - 1
3 Reserved - -
1 1
Compensatio Disabled
n Selection 1
1 A quad B encoder
Encoder
2 A quad B encoder with commutation 0
selection 2
sensors (U,V,W)
0 Not defined
selection
switches
Pn191
Motor
Motor phase
0 1 UVW 0
order
2 UWV
Digit Default
Parameter Name Setting Description
Place Setting
Digit Default
Parameter Name Setting Description
Place Setting
1
Pn2C6
2 - -
3 Not used 0
1 Normally open
2 Home failure
Switch
Pn2D4
1 0
2 Not used - -
3
Switches
Function
Control
Torque
Pn408
Notch filter
0 0 Disabled 0
selection
Digit Default
Parameter Name Setting Description
Place Setting
7 Sets signal ON
Digit Default
Parameter Name Setting Description
Place Setting
/P-CON Signal
2 Mapping (Pcontrol 0 to F Same as above 1: SI1
when low)
P-OT Signal
Mapping
3 0 to F Same as above 2: SI2
(overtravel when
high)
N-OT Signal
Mapping
0 0 to F Same as above 3: SI3
(overtravel when
high)
/ALM-RST Signal
1 Mapping (alarm 0 to F Same as above 4: SI4
Pn50B reset when low)
/P-CL Signal
2 Mapping (Torque 0 to F Same as above 5: SI5
control when low)
/N-CL Signal
3 Mapping (Torque 0 to 8 Same as above 6: SI6
control when low)
/SPD-D Signal
Mapping (Internal
0 0 to F Same as above 8: OFF
Set Speed
Selection)
/SPD-A Signal
Mapping (Internal
1 0 to F Same as above 8: OFF
Set Speed
Selection)
Pn50C
/SPD-B Signal
Mapping (Internal
2 0 to F Same as above 8: OFF
Set Speed
Selection)
/C-SEL Signal
Mapping
3 0 to F Same as above 8: OFF
(Control Mode
Switching)
/ZCLAMP Signal
Pn50D 0 Mapping (Zero 0 to F Same as above 8: OFF
Clamping)
Digit Default
Parameter Name Setting Description
Place Setting
/INHIBIT Signal
Mapping
1 0 to F Same as above 8: OFF
(Disabling
Reference Pulse)
/G-SEL Signal
2 Mapping (Gain 0 to F Same as above 8: OFF
Switching)
NOTE:
When Pn50A.0 is set to 0 for the XtraDrive servo amplifier, only
the following modes are compatible: Pn50A.1=7, Pn50A.3=8,
and Pn50B.0=8.
Digit Default
Parameter Name Setting Description
Place Setting
1 Reserved - - 0
Pn2C7
2 Reserved - - 0
3 Reserved 0
Digit Default
Parameter Name Setting Description
Place Setting
3 Reserved - - 0
Digit Default
Parameter Name Setting Description
Place Setting
0 Disabled
/V-CMP Signal
1 0 to 3 Same as above 1: SO1
Mapping
/TGON Signal
2 0 to 3 Same as above 2: SO2
Mapping
/S-RDY Signal
3 0 to 3 Same as above 3: SO3
Mapping
/CLT Signal
0 0 to 3 Same as above
Mapping
/VLT Signal
1 0 to 3 Same as above
Pn50F Mapping
/NEAR Signal
0 0 to 3 Same as above
Mapping
2 Not used 0 - 0
3 Not used 0 - 0
Digit Default
Parameter Name Setting Description
Place Setting
3 Not used - - 0
Digit Default
Parameter Name Setting Description
Place Setting
0 Disabled.
1 Not used - - 0
2 Not used - - 0
3 Not used - - 0
NOTES:
1. When more than one signal is allocated to the same output
circuit, data is output using OR logic.
2. Depending on the control mode, undetected signals are
treated as OFF. For example, in the speed control mode, the
/COIN signal is treated as OFF.
3. Types of /WARN signals: Overload and regenerative
overload.
Parameter Function
Fn007 Writing to EEPROM inertia ratio data obtained from online autotuning.
Reference
Un008* Error counter value Amount of position error
-units
NOTE:
*Not used in serial communication command.
NOTE:
1) U.T: Update Time
U.T specifies when the value of each variable is updated.
ST Start setting: The variable is updated only after power-
up or software reset.
BG Background setting: A low priority is assigned to the
variable update – the driver updates the variable when
there is an opportunity to do so between other
operations.
T Task setting: The variable is updated when the relevant
conditions are met.
C Command setting: The variable is updated when a
command to do so is issued.
2 2ms: The variable is updated every 2 milliseconds.
Whenever specifying a condition based on the value of a
variable, it is important that the update time or interval of that
variable is considered.
Mode of
Op-Code Name Arg 1(2) Arg 2(2) Arg 3(2) Arg 4(2) Arg 5(2)
Operation(1)
78 RUN 2;3 1U - - - -
96 SAVE_PRG_ECAM 2 - -
79 SET_OUTPUT 2;3;4 2UV 1U
107 SET_OUTPUTS 2;3;4 4UV 4UV - - -
80 SET_PAR 2;3 2U 2U - - -
81 SET_VAR 2;3;4 1 U(6) 4V - - -
95 SET_ZERO_POSITION 2;3;4 1 U(4) - - - -
115 SLIDE 3;4 4V - - - -
102 SLIDE_ANALOG 3;4 - - - - -
83 SPEED 2;3;4 4U - - - -
100 SPEED_CONTROL 3;4 1 U(4) - - - -
82 START 2 - - - - -
7
84 STOP 2;3;4 1U - - - -
(4) (4)
153 STOP_EX 2; 3;4 1U 1U - -
99 STOP_MOTION7 2;3;4 - - - - -
116 TORQUE 3;4 2V - - - -
103 TORQUE_ANALOG 3;4 - - - - -
87 TORQUE_LIMITS 2;3;4 2 2 - - -
145 WAIT_EXACT 3;4 4V - - - -
146 WAIT_FOR_START 3;4 - - - - -
109 WAIT_INPUT 3;4 1U 1 U(3D) 1U 4V -
148 WAIT_STOP 3;4 4V - - - -
110 WAIT_VAR 3;4 1 U(5) 1 U (3B) 4V - -
158 WRITE_TO_ARRAY 2;3;4 2UV 4V
NOTES:
(1) Mode of operation: 2 Immediate; 3 Sequential; 4 Program;
(2) Argument size. Number of data bytes of each argument. In
serial communication, each data byte consists of two
hexadecimal digits.
Example: to issue a TORQUE command, to specify a torque
value of 1000%: The table shows that the number of data
bytes is 2. 1000 in hexadecimal form is 0x03E8. The string that
should therefore be sent consists of the ASCII values 30, 33,
45, 38.
U - Unsigned integer.
V – Argument value can be specified by numerical value or by a
variable.
Example: 2 U V indicates that the argument consists of 2
hexadecimal digits, is unsigned, and can be specified either by
a numerical value or by a variable.
Command Name
GROUP The command group under which the command is listed in
XtraWare.
SYNTAX The format in which the command is written.
OP. CODE The operation code of the command, in decimal format, to
be used when issuing the command using the serial
communication protocol, see Chapter 6, Serial Interface
Protocol.
MODES Modes in which the command is available. For details of
the available modes, see Section 4.5, Program Modes.
MOTION The motion modes in which the command functions
MODE (applicable to motion commands only). See 5.3, Motion
Modes.
DESCRIPTION A detailed description of the command and how it is used.
SYNTAX Argument Description of the argument.
ARGUMENT [The units in which the argument is defined,
name
when applicable].
Condition/Variable Code
Lists the codes to be used
when specifying an argument
as a condition (e.g. =, <, >)
or a variable (variable ID
code) when using the serial
communication protocol.
When using XtraWare, simply
select the required option
from a drop-down menu.