Mitsubishi — 5.10.15 Setting the Present Position of an Axis

Chapter 5 Applied Instructions *1: Value of the Mode output pin *2: Value of the AxisErrorID output pin  Please refer to appendix A for more information about error codes.  Error code in an ASD-A2-F series servo drive: The value of the AxisErrorID output pin is AL code+16#8000. 3. Troubleshooting 4. Modules which are supported The motion control function block is T_AxisStatus supports AH05PM-5A, AH10PM-5A , AH15PM-5A, and AH20MC-5A. 5.10.15 Setting the Present Position of an Axis 1. Motion control function block The motion control function block T_SetPosition is used to set the present position of an axis. The value of the Axis input pin indicates an axis number.

Users can set the present position of the axis specified by means of the Position input pin. 5-183 Value Definition 16#0 Idle 16#100 Uniaxial motion is being stopped. 16#101 Absolute single-speed motion 16#102 Relative single-speed motion 16#103 Absolute two-speed motion 16#104 Relative two-speed motion 16#105 Inserting single-speed motion 16#106 Inserting two-speed motion 16#107 JOG motion 16#108 Manual pulse generator mode 16#109 Motion of returning home 16#10A Electronic gear motion 16#10B Electronic cam motion 16#200 G-code motion is being stopped. 16#201 Executing G-code motion 16#300 Multiaxial interpolation is being stopped.

16#31x Multiaxial absolute linear interpolation 16#32x Multiaxial relative linear interpolation Value Definition 16#0002~ 16#C4FF An error occurs in the AH500 series motion control module. 16#8001~ 16#8380 An error occurs in the ASD-A2-F series servo drive. Error Troubleshooting The values of input pins in the motion control function block are incorrect. Check whether the values of the input pins are in the ranges allowed.