4. Motion Control Instructions 4.5.3. MC_CamOut Explanation of the instruction: This instruction is applied to disconnect the cam relation between master and slave axis. After the cam relation is disconnected, slave will keep moving at the speed when the cam relation is disconnected. Explanation of input and output parameter of the instruction: Notes: 1. In E-Cam system, slave axis will keep running at the speed of the departure point if it succeeds in escaping from cam relation via MC_CamOut instruction. 2.
After two axes establish the electronic cam relationship, MC_Stop instruction can end the electronic cam operation of the slave axis and the slave axis will stop moving once execution of MC_Stop instruction is finished. 3. The sequence for execution of the instructions related with electronic cam: MC_Power MC_CamTableSelect E-Cam table selection Resta rt E-Cam MC_CanIn Start E-Cam MC_CamOut Exit from E-Cam 4-78 DVP-MC operating manual API Cam-out instruction Controller MC CamOut 66 _ 10MC11T Parameter Data Available Explanation name type device Axis The slave axis number UINT Constant, D Execute This instruction is executed when “Execute” Off –> On.
BOOL M,I,Q, Constant Done "Done" is on as executing "MC CamOut" is finished; _ "Done" is reset as “Execute” is off. BOOL M,Q Error If any error is detected, "Error" turns on; when "Execute" turns off, "Error" is reset. BOOL M,Q ErrorID Error code. Please refer to section 5.3. UINT D