Mitsubishi — 5.12.5 Instructing a Servo Drive to Return Home

Chapter 5 Applied Instructions 3. Troubleshooting 4. Example Purpose:  The motion control function block T_DMCPowerUp is used to start the servo drive specified, and then the motion control function block T_DMCServoHoming is used to instruct the servo drive to return home in the way specified. The motion control function block named FB1 is set to that the servo drive specified is started. The motion control function block named FB2 is set so that the servo drive returns home. Steps: (a) After the execution of the motion control function block named FB1 is complete, the servo drive specified will be started. (b) The motion control function block named FB2 is executed automatically.

5-231 State of output pin Name Function Data type Time when there is Time when there is a transition in an output pin’s signal from high to low a transition in an output pin’s signal from low to high Busy The motion control function block is being executed. BOOL  There is a transition in the Busy output pin’s signal from low to high when there is a transition in the Execute input pin’s signal from low to high.  There is a transition in the Busy output pin’s signal from high to low when there is a transition in the Error output pin’s signal from low to high.

 There is a transition in the Busy output pin’s signal from high to low when there is a transition in the Done output pin’s signal from low to high. Aborted The execution of the motion control function block is interrupted by a command. BOOL  The execution of the motion control function block is interrupted by a command.  There is a transition in the Aborted output pin’s signal from high to low when there is a transition in the Execute input pin’s signal from high to low. Error An error occurs in the motion control function block. BOOL  Input values are incorrect.

 There is a transition in the Error output pin’s signal from high to low when there is a transition in the Execute input pin’s signal from high to low. 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.