Chapter 12 Troubleshooting
1
The impact of other instructions on cam operation
MC_CamOut
The MC_CamOut instruction can be used to end the cam operation which is being carried out.
MC_SetPosition
The MC_SetPosition instruction has no impact on the being executed motion instructions.
Thus, during cam operation, the execution of MC_SetPosition instruction for the master axis
and slave axis will not affect the cam operation. If the cam operation is triggered after the
MC_SetPosition instruction is executed, the cam will be affected by the axis position change
which is incurred by using the MC_SetPosition instruction.
MC_Stop and MC_Halt
As the MC_Stop and MC_Halt instructions are executed on the slave axis, the MC_CamIn
instruction is aborted, the cam relationship is disconnected and the slave axis decelerates till it
stops.
MC_Home
The MC_Home instruction cannot be executed on the slave axis but the master axis. As the
MC_Home instruction is executed on the master axis, the master axis position may have a
great change in a very short time, which may cause the vibration of the slave axis. Therefore,
the MC_Home instruction is recommended to execute after the synchronous relationship
between the two axes is disconnected.
Master axi s posi tion
Time
Sl ave a xis p osition
Time
300
0
Slave axis position
Time
300
0
Period ic motion
Pe riodic = TRUE
Non periodic mot ion-
Period ic=FALSE
11-165