Galil DMC-3425 Home Security System User Manual


 
DMC-3425 Chapter 6 Programming Motion 95
The main use of the virtual axis is to serve as a virtual master in ECAM modes, and to perform an
unnecessary part of a vector mode. These applications are illustrated by the following examples.
Ecam Master Example
Suppose that the motion of the AB axes is constrained along a path that can be described by an
electronic cam table. Further assume that the ecam master is not an external encoder but has to be a
controlled variable.
This can be achieved by defining the N axis as the master with the command EAN and setting the
modulo of the master with a command such as EMN= 4000. Next, the table is constructed. To move
the constrained axes, simply command the N axis in the jog mode or with the PR and PA commands.
For example,
PAN = 2000
BGN
will cause the AB axes to move to the corresponding points on the motion cycle.
Sinusoidal Motion Example
The A axis must perform a sinusoidal motion of 10 cycles with an amplitude of 1000 counts and a
frequency of 20 Hz.
This can be performed by commanding the A and N axes to perform circular motion. Note that the
value of VS must be
VS = 2π * R * F
where R is the radius, or amplitude and F is the frequency in Hz.
Set VA and VD to maximum values for the fastest acceleration.
Instruction Interpretation
VMAN Select Axes
VA 68000000 Maximum Acceleration
VD 68000000 Maximum Deceleration
VS 125664 VS for 20 Hz
CR 1000, -90, 3600 Ten Cycles
VE
BGS
Stepper Motor Operation
When configured for stepper motor operation, several commands are interpreted differently than from
servo mode. The following describes operation with stepper motors.
NOTE: If two steppers are to be used with the DMC-3425, the controller must be ordered from the
factory as a DMC-3425-Stepper.
Specifying Stepper Motor Operation
In order to command stepper motor operation, the appropriate stepper mode jumpers must be installed.
See chapter 2 for this installation.