Omron TJ2-MC64 - PROGRAMMING Programming Manual page 138

Hide thumbs Also See for TJ2-MC64 - PROGRAMMING:
Table of Contents

Advertisement

BASIC commands
Description
The MOTION_ERROR parameter contains a bit pattern showing the axes
which have a motion error. For example. if axis 2 and 6 have the motion error
the MOTION_ERROR value would be 68 (4+64).
A motion error occurs when the AXISSTATUS state for one of the axes
matches the ERRORMASK setting. In this case the enable switch (WDOG)
will be turned off, and MOTION_ERROR contains a bit pattern showing all
axes which have the motion error. The ERROR_AXIS parameter will contain
the number of the first axis to have the error.
Due to technical limitations MOTION_ERROR can return an invalid bit
pattern when multiple axes have a motion error. To obtain the correct
value use the INTEGER_READ command to get the bit pattern in 2
parts.
A motion error can be cleared executing a DATUM(0) command or resetting
the controller with an EX command.
Arguments
N/A
Example
No example.
See also
AXIS, AXISSTATUS, DATUM, ERROR_AXIS, ERRORMASK, WDOG,
INTEGER_READ.
3.2.191 MOVE
/i
Type
Axis command
Syntax
MOVE(distance_1 [ , distance_2 [ , distance_3 [ , distance_4 [, ...]]]])
MO(distance_1 [ , distance_2 [ , distance_3 [ , distance_4 [, ...]]]])
PROGRAMMING MANUAL
Description
The MOVE command moves with one or more axes at the demand speed
and acceleration and deceleration to a position specified as increment from
the current position. In multi-axis moves the movement is interpolated and the
speed, acceleration and deceleration are taken from the base axis.
The specified distances are scaled using the unit conversion factor in the
UNITS axis parameter. If, for example, an axis has 4,000 encoder edges/mm,
then the number of units for that axis would be set to 4000, and MOVE(12.5)
would move 12.5 mm. Note that the electronic gear ratio parameters of the
Servo Drive can be used to adjust the number of encoder pulses per linear
axis distance. For details see 5.1.3.
MOVE works on the default basis axis group (set with BASE) unless AXIS is
used to specify a temporary base axis. Argument distance_1 is applied to the
base axis, distance_2 is applied to the next axis, etc. By changing the axis
between individual MOVE commands, uninterpolated, unsynchronised multi-
axis motion can be achieved. Incremental moves can be merged for profiled
continuous path movements by turning on the MERGE axis parameter.
Considering a 2-axis movement, the individual speeds are calculated using
the equations below. Given command MOVE(x
as calculated from the SPEED, ACCEL and DECEL parameters from the
base axis and the total multi-axes distance L = SQR(x
The individual speed v
for axis i at any time of the movement is calculated as:
i
v
= (x
* v
) / L.
i
i
p
Arguments
The command can take up to 64 arguments.
distance_i
The distance to move for every axis in user units starting with the base
axis.
Example
A system works with a unit conversion factor of 1 and has a 1000 line
encoder. Note that a 1000 line encoder gives 4000 edges/turn.
MOVE(40000) ' move 10 turns on the motor.
,x
) and the profiled speed v
1
2
p
2
2
+ x
).
1
2
132

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tj1-prtTj1-drtTj1-cortTj1-mlGrt1-ml2Tj1-fl02

Table of Contents