Chapter 3 Motion Control Instructions Timing Diagram Execute Done Busy Error Error ID In-Outs 3_ *Note: Kn refers to the maximum supported axes of different models. For example, AH20EMC-5A supports K1~K32. 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 example demonstrates the switching from cam curve 1 ( eCamCurve =1) to cam curve 9 ( eCamCurve =9) when the cam is in operation. To change the cam profile, you will have to modifiy the value in eCamCurve of DFB_CamCurve2. The direct switching from cam curve 1 to cam curve 9 is simply for demonstrating the effects and results. Note : In actual application, the common switching process would be from cam curve 1 to cam curve 8, then cam curve 9. 3-233 Name Function Data type Setting value Timing for updating (Default value) Slave Slave axis number WORD K1~K32 (0) When Enable is rising edge triggered and Busy is False. 1:midCAMall 9:Empty