Mitsubishi — 5.13.4 High-speed Counter

Chapter 5 Applied Instructions *1: Value of the Channel input pin 3. Troubleshooting 4. Modules which are supported The motion control function block T_HCnt supports AH05PM-5A, AH10PM-5A, AH15PM-5A, and AH20MC-5A. 5-245 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. 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 Enable 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 Enable input pin’s signal from high to low.

Error An error occurs in the motion control function block. BOOL  Input values are incorrect.  The source specified has been occupied.  There is a transition in the Error output pin’s signal from high to low when there is a transition in the Enable input pin’s signal from high to low. Value of output pin Name Function Data Output range Time when a value is valid type CountValue Value in the counter specified DWORD K0~2,147,483,647 When the Valid output pin is set to True, the value of the CountValue of output pin is updated repeatedly.

Value Definition Terminal 0 C200 X0.8, X0.9 1 C204 X0.10, X0.11 2 C208 X0.12, X0.13 3 C212 X0.14, X0.15 4 C216 X0.12, X0.13 5 C220 X0.14, X0.15 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.