Each axis periodically executes the specified cam operation.
Ladder Diagram
Main Variables
Name Data type Default Comment
MC_Axis000 _sAXIS_REF --- Axis Variable for the master axis, axis 1.
MC_Axis001 _sAXIS_REF --- Axis Variable for the slave axis, axis 2.
MC_Axis002 _sAXIS_REF --- Axis Variable for the slave axis, axis 3.
MC_Axis003 _sAXIS_REF --- Axis Variable for the slave axis, axis 4.
MC_Axis004 _sAXIS_REF --- Axis Variable for the slave axis, axis 5.
StartPg BOOL FALSE The Servo is turned ON if this variable is TRUE and
EtherCA
T process data communications are establish-
ed.
Vel_InVel BOOL FALSE This variable is assigned to the InV
elocity output varia-
ble from the VEL instance of the MC_MoveVelocity in-
struction. It is TRUE when the target velocity is
reached.
CamProfile0 ARRAY[0..360] OF
_sMC_CAM_REF
--- This is the cam data variable.
This variable is assigned to the CamT
able input varia-
bles from the CAMIN1 to CAMIN4 instances of the
MC_CamIn instruction.
The array elements ARRAY[0..N] are set with the Cam
Editor.
3 Axis Command Instructions
3-215
NY-series Motion Control Instructions Reference Manual (W561)
MC_CamIn
3
Sample Programming 2