Chapter 5 POU and Task Suppose I/O Interruption (2) will be triggered after channel 1 on AH02HC-5A receives a certain number of pulses. The setting of I/O Interruption (2) in HWCONFIG is described below. Users can refer to chapter 3 for more information about setting the parameters in a module, and refer to AH500 Operation Manual for more information about the interrupts in an AH500 series CPU module. (1) Double-click HWCONFIG in ISPSOft. (2) Double-click AH02HC-5A to open the Parameter Setting window. (3) Select CH1~2 Number of Interrupt Setting , and type 2 in the Initial cell for CH1 Number of Interrupt Setting for Comparison . *.
The number of interrupt setting for channel 0 and 1 can be the same. This setting means when the condition of any channel is set, it will trigger the same I/O interrupt. (4) Switch to comparison value setting page and input the Setting Value for triggering interrupt in CH0 Comparison Value Setting . 5-33