AH500 Motion Control Module Manual The number of pulses is a unit for the Distance input pin, and the number of pulses per second is a unit for the Velocity input pin. Users can change the unit used by means of the motion control function block T_AxisSetting2. If the value of the DogEdge input pin is mcRising, motion will be triggered by a transition in DOG’s signal from low to high. If the value of the DogEdge input pin is mcFalling, motion will be triggered by a transition in DOG’s signal from high to low. 3. Troubleshooting 4. Examples Example 1:
The motion control function block T_TrSeg1 is used to insert single-speed motion which is triggered by a transition in DOG’s signal from high to low. The motion control function block named T_TrSeg1_U1 is set so that the first axis moves at a speed of 3,000 pulses per second, and will move for 5,000 pulses after a transition in DOG’s signal from high to low. After the first axis moves for 5,000 pulses, Done will be set to True. 5-156 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 Error An error occurs in the motion control function block.
BOOL Input values are incorrect. The axis specified is in motion before the motion control function block is executed. 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. The motion control function block conflicts with other motion control function blocks.
Make sure that other uniaxial motion control function blocks are not started or the execution of other uniaxial motion control function blocks is complete before the motion control function block is started.