Chapter 5 Applied Instructions 4. Modules which are supported The motion control function block T_CapMask supports AH05PM-5A, AH10PM-5A, AH15PM-5A, and AH20MC-5A. 5.13.10 Setting an Interrupt 1. Motion control function block The motion control function block T_Interrupt is used to set the trigger for an interrupt subroutine. The value of the IntSrc input pin indicates the trigger for an interrupt subroutine. If the interrupt set is a time interrupt, the value of the TimePeriod input pin indicates the cycle of the interrupt. 2.
Input pins/Output pins 5-257 Input pin Name Function Data Setting value Time when a value is valid type IntSrc Trigger for an interrupt subroutine WORD IntTimer 0 IntX8:1 IntX9:2 IntX10:3 IntX11:4 IntX12:5 IntX13:6 IntX14:7 IntX15:8 The value of the IntSrc input pin is valid when there is a transition in the Enable input pin’s signal from low to high. Enable The motion control function block is enabled when there is a transition in the Enable input pin’s signal from low to high. BOOL True/False - TimePeriod Cycle of a time interrupt (Unit:
ms) (Not applicable to terminal interrupts) WORD K1~K65,535 When the motion control function block is executed, the value of the TimePeriod input pin is updated repeatedly.