AH500 Motion Control Module Manual 5.13.5 High-speed Timer 1. Motion control function block The motion control function block T_HTmr is used to start a high-speed timer. The value of the Channel input pin indicates a timer number, the value of the TriggerMode indicates a mode of triggering the measurement of time, and the value of the TimerValue of output pin the value in the timer specified. 2. Input pins/Output pins 5-246 Input pin Name Function Data Setting value Time when a value is valid type Channel Timer number WORD 0~3 (*1) The value of the Channel input pin is valid when there is a transition in the Enable input pin’s signal from low to high.
Enable Eanbling the timer specified BOOL True/False - TriggerMode Mode of triggering the measurement of timer BOOL mcUp Down: False _ mcUp Up: True _ When the motion control function block is executed, the value of the TriggerMode input pin is updated repeatedly. 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 Valid An output value is valid. BOOL There is a transition in the Valid output pin’s signal from low to high when there is a transition in the Enable input pin’s signal from low to high.
There is a transition in the Valid output pin’s signal from high to low when there is a transition in the Enable input pin’s signal from high to low.