AH500 Motion Control Module Manual 3. Troubleshooting 4. Example Purpose: Users write the value of a parameter into the servo drive specified by means of the motion control function block T_DMCServoWrite, and then read the value written into the servo drive by means of the motion control function block T_DMCServoRead. The motion control function block named FB1 is set so that the value of a parameter is written into the servo drive specified. The motion control function block named FB2 is set so that the value written into the servo drive is read.
The value of the Group input pin in the motion control function block named FB1/FB2 indicates a group number, and the value of the Parameter input pin in the motion control function block named FB1/FB2 indicates a parameter number. 5-228 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. 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.
Value of output pin Name Function Data Output range Time when a value is valid type Value Value of a parameter DWORD K-2,147,483,647~ K2,147,483,647 The value of the Value of output pin is valid when there is a transition in the Done output pin’s signal from low to high. 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.