Delta Electronics AH — 4.2 Procedures for Creating a Project in ISPSoft

Chapter 4 Operating ISPSoft 4.1.3 Program (1) When the START button (X2.0) is turned from OFF to ON, the internal operation flag is set to ON, and the conveyer (Y2.0) starts to run. When the STOP button (X2.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 (X2.2) is ON, the trigger signal for injector 1 (Y2.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 (X2.3) is ON, the trigger signal for injector 2 (Y2.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 (X2.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.2 Procedures for Creating a Project in ISPSoft The procedures for creating a project in ISPSoft is as follow. You can adjust the procedure according to the practical application and their habits.  Hardware configuration You can set the parameters such as a range of latched devices, set the parameters for data exchange, and set a port number in a PLC.

Besides, you have to configure modules used with an AHxxEMC-5A, and set the parameters in these 4_ modules.  Programming After you write a program in ISPSoft, you can compile the program. If the compiling of a program is unsuccessful, the messages in the Compile Message page can lead users to the places where errors occur to check the program code.  Test and debugging You can download a program which is compiled, a hardware configuration, and a network configuration to a PLC. Besides, you can test and debug the program online by means of the functions provided by ISPSoft.

Because the example introduced in this chapter does not discuss a network configuration, only the following procedure is carried out. The procedure will be introduced in the following section. 4-3