Installation guide

Mint™ v4 Advanced Programming Guide
44 MN1270 02.2002
CAM=0
MASTERDISTANCE = 10
GO
CAMPHASE(0, 2, 5, 1)
This will modify the CAM profile over 5 segments starting when the CAM enters segment 2 (if moving
in a positive direction, the phasing will start at segment 7 if moving in negative direction). The phasing
will modify the
MASTERDISTANCE by 1 during the phasing operation.
See also:
CAM, CAMEND, CAMPHASESTATUS, CAMSTART, CAMTABLE
CAMPHASESTATUS/CPS
Purpose:
To get the state of the
CAMPHASE for a specific axis.
Controllers Supported:
NextMove PCI NextMove PC NextMove BX MintDrive ServoNode 51
Format:
v = CAMPHASESTATUS[axis]
Dot Parameters:
Axis = Axis No.
Attributes:
Controller Read Write Command Multi-
Axis
Scaled Default Range
NextMove
0 x 2
Description:
Gets the state of a
CAMPHASE operation on a specific axis. Only one CAMPHASE operation can be
loaded at a time, in order to establish whether an axis is performing or has a
CAMPHASE pending the
keyword
CAMPHASESTATUS can be used.
When a
CAMPHASE is in progress the CAMPHASESTATUS will return a non zero value as defined in the
table below.
Value Meaning
0 No CAMPHASE in progress or pending, OK to load a CAMPHASE operation.
1 CAMPHASE operation pending.
2 CAMPHASE operation in progress.
Example:
PAUSE CAMPHASESTATUS.0 = 0
CAMPHASE(0, 2, 5, 1)
The above code will pause for the CAMPHASESTATUS to be zero (i.e. there is no CAMPHASE in pending
or in progress). At this point it is OK to load a new
CAMPHASE operation.
See Also:
CAMPHASE
CAPTURE/CP
Purpose:
Controls the operation of capture.
Controllers Supported:
NextMove PCI NextMove PC NextMove BX MintDrive ServoNode 51