_sMC_CAM_MONITOR_DISTANCEDIFF (Cam Monitor Displacement Following
Error)
Name Meaning Data type Description
CamProfileDa-
ta
Cam Profile Data _sMC_CAM_PRO-
FILE_DA
TA
Contains basic information on the cam operation such
as the phase and displacement.
DistanceDiff Displacement Fol-
lowing Error
LREAL Contains the difference between the axis command
position and Distance
(Slave Axis Displacement).
_sMC_CAM_PROFILE_DATA (Cam Profile Data)
Name Meaning Data type Description
Phase Master Axis Phase LREAL Outputs the current phase.
Distance Slave Axis Displace-
ment
LREAL Outputs the current displacement.
MasterReferen-
cePosition
Master Axis Reference
Position
LREAL Position of the master axis used as reference for the current
phase (phase=0.0)
SlaveReference-
Position
Slave Axis Reference
Position
LREAL Position of the slave axis used as reference for the current dis-
placement (displacement=0.0)
PhaseShift Phase Shift Amount LREAL Phase shift amount shifted with MC_Phasing (Shift Master Axis
Phase) during cam motion
OffsetPosition Position Offset LREAL Position offset compensated with the MC_SyncOffsetPosition
(Cyclic Synchronous Position Of
fset Compensation) instruction
or MC_OffsetPosition (Position Offset Compensation) instruction
The relationships among the displacement following error, master axis reference position, and slave
axis reference position are shown below
.
Master axis
position
Time
Time
Slave axis command
position
SlaveReferencePosition
(Sl
ave Axis Reference
Position)
DistanceDiff
(Displacement Following Error)
MasterReferencePosition
(Master Axis Reference
Position)
*1
Current position of master axis
Current position of
slave axis
*1. A value at this point is monitored.
Also, the relationship between the master axis phase and the slave axis displacement is shown below
.
3 Axis Command Instructions
3-239
NY-series Motion Control Instructions Reference Manual (W561)
MC_CamMonitor
3
Variables