Delta ISPSoft — 4.1.3 Program

Chapter 4 Quick Start 4.1.2 Hardware In this example, we use AH5x0 series host CPU- AHCPU530-EN , the AH16AP11R-5A with 8-point digital I/O module, and AHBP04M1-5A with 4 slots as the main backplane. The following is an example of I/O allocation table. 4.1.3 Program (1) When the START button (X0.0) is turned from OFF to ON, the internal operation flag is set to ON, and the conveyer (Y0.0) starts to run. When the STOP button (X0.1) is turned from OFF to ON, an error occurs (the error flag is ON), the operation flag is reset to OFF, and the conveyer stops running. (2) When in position sensor 1 (X0.2) is ON, the trigger signal for injector 1 (Y0.1) is set to ON.

When in position sensor 1 is OFF, the trigger signal for injector 1 is reset to OFF. (3) When in position sensor 2 (X0.3) is ON, the trigger signal for injector 2 (Y0.2) is set to ON. When in position sensor 2 is OFF, the trigger signal for injector 2 is reset to OFF. (4) When the counting sensor (X0.4) is turned from OFF to ON, the sensor value increases by one increment. If the sensor value is larger than or equal to 100, the internal completion flag will be set to ON.

4-3 Type ID Description Digital input X0.0 START button Digital input X0.1 STOP button Digital input X0.2 In position sensor 1 Digital input X0.3 In position sensor 2 Digital input X0.4 Counting sensor Digital output Y0.0 Conveyer Digital output Y0.1 Trigger signal for injector 1 Digital output Y0.2 Trigger signal for injector 2