Chapter 3 Motion Control Instructions 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 This example uses DFB_Capture2 and MC_MoveVelocity to perform the Capture function. 3_ 1. Set MaskValue =500 and InitialValue =0.
When the instruction is enabled, it will take the initial value 0 as the reference center of the mask range. The mask range will be -500~500, and the Capture occurs within this range 2. The 1 st Capture occurs at 744 which is out of the range of -500~500, so the captured value ( CapValue ) shows will be invalid. 744, as the below circled area. 3-303