Delta Electronics AH — MC_CamOut

Chapter 3 Motion Control Instructions  Timing Diagram 3_  In-Outs *Note : Kn refers to the maximum supported axes of different models. For example, AH20EMC-5A supports K1~K32.  Function The MC_CamOut instruction ends cam operation of the slave axis. After the cam relationship is disconnected, the slave axis will keep moving at the speed where the cam relationship is disconnected. The axis will be in ContinuousMotion (it has nothing to do with the axis velocity). - If you execute this instruction on an axis which does not perform the cam operation, an error will occur.

 Troubleshooting - If an error occurs during the execution of the instruction or when the axis is in the state of “Errorstop”, Error will change to True and the axis will stop moving. You can refer to ErrorID (Error Code) to address the problem. - Information regarding error codes and indicators are attached as Appendices for a quick reference. The detailed troubleshooting procedures are explained in AH Motion Controller – Operation Manual .  Programming Example The following example describes the corresponding motion state throughout the cam operation via CAM-related instructions. 3-177 CommandAbort ed  When this instruction is aborted by another instruction.

 When Execute changes to False.  If Execute is False and CommandAborted shifts to True, it will be True for only one period and immediately shift to False. Error/ErrorID  When an error occurs in the execution conditions or input values for the instruction.(Error code is recorded)  When Execute shifts from True to False. (Error code is cleared) Name Function Data type Setting value Timing for updating (Default value) Slave axis number WORD K1~Kn* (0) When Execute is rising edge triggered and Busy is False.