User`s manual
16-14 Motion Mate™ DSM314 for Series 90™-30 PLCs User's Manual
–
January 2001 GFK-1742A
16
CAM-PHASE Command
The CAM-PHASE command is used to specify a phase for CAM commands. This command lets
you offset or shift the phase relationship between the master position and follower position. The
phase value may be specified either through a parameter register or as a constant. Note that a phase
value is active for all CAM instructions that follow it, until modified by another CAM-PHASE
command. The default Cam Phase value for a motion program is 0.
Syntax:
CAM-PHASE
<Phase>
Parameter Description
<Phase> The CAM phase value specified as a constant or a Parameter Register.
Allowed Range for constant: –MaxPosn …. (MaxPosn-1)
CAM and MOVE Instructions
A series of CAM commands may execute without any dwells or interruptions. To obtain smooth
motion you must ensure that the starting point on each subsequent CAM profile is the same as the
ending point of the preceding CAM profile. This ensures a continuous position and velocity
trajectory. For a sequence of Non-Cyclic CAMs, the starting and ending points may be adjusted in
the CAM Editor to obtain smooth transitions. Transitions between CAM and MOVE commands
while the slave axis is moving are not permitted at this time. Consequently, the slave axis must
have a start velocity equal to 0 at the transition point between a CAM and MOVE command.
When a CAM command exits, if it is not immediately followed by another CAM command, the
axis will use the programmed acceleration rate to decelerate to a stop.
Time-Based CAM Motion
The implementation of a time-based CAM profile employs the same mechanism as a regular CAM
(position-based master). In order to program a time-based CAM profile, the CAM master source
should be configured as “Commanded Position” of Axis 3 in the DSM314 module hardware
configuration, with the Axis 3 mode set to “Auxiliary Axis.” A constant velocity command is then
initiated on Axis 3. The effective time scale of the CAM motion is determined by the scaling of the
master in the profile source file and the User Units-to-Counts conversion factor defined in
Hardware Configuration. A time-based CAM motion command can be executed simultaneously on
multiple axes.
CAM Scaling Editor and Hardware Configuration
The DSM module allows the user to scale the position feedback device resolution versus the
module programming units. For example suppose 1 motor revolution corresponded to 1 inch of