Delta AH500 — 6.6.2 Explanation of Program Execution Instructions

Chapter 6 Applied Instructions The program Cyclic_0: The interrupt task: Additional remark: There are 256 interrupt tasks, i.e. task I0~task I255. 1. The I/O interrupts (I0~I31) The I/O interrupts are used by the special high-speed module. The interrupt conditions and the interrupt numbers are set in HWCONFIG in ISPSoft, and the interrupt programs are downloaded to the PLC. If the interrupt conditions are satisfied when the PLC runs, the corresponding interrupt programs will be executed. 2.

The communication interrupts (I32 and I33) The communication interrupt can be used as the instruction RS, that is, the receiving of the specific character triggers the interrupt, or can be used as the general interrupt. Please refer to the explanation of the instruction RS for more information. COM1: I32 COM2: I33 3. 24 V low voltage interrupt Whether the external 24 V voltage is normal can be checked by the terminals VS+ and VS- on AH500PS05-5A. If the external 24 V voltage is abnormal, users can execute the corresponding program by means of the interrupt subroutine I34. Note: If the external 24 V voltage of a backplane is abnormal, the corresponding bit in SR731 will be set to ON.

After the external 24 V voltage of the backplane returns to normal, the bit will be set to OFF. The high 8 bits in SR731 are reserved bits. SR731 Reserved bits For the backplanes For example: (a) If the external 24 V voltage of the local main backplane is abnormal, bit 0 in SR731 will be 6-147 Bit 15 ~8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit2 Bit1 Bit0