Delta Electronics AH500 — 6.6.1 Creating a Connection

Chapter 6 Writing a Program 6.5.10 Checking and Compiling a Program After users write a program, they can check the syntax of the programming language or compile the program. The syntax and the structure in the present window will be checked after the Check function is enabled. The whole project will be checked after the Compile function is enabled. If there is no error in the project, an execution code will be generated automatically. After the program is compiled successfully, the mother line at the left side of the ladder diagram will become black.  Check Click Check on the Compile menu, or on the toolbar.  C ompile Click Compile on the Compile menu, or on the toolbar.

After the check is complete, the Compile Message page shows the result related to the check. If there is any error in the project, the Compile Message page will show the related message. After the message is clicked, the system will automatically lead users to the place where the error occurs. The users can enable the Check function or the Compile function after the error is eliminated. 6.6 Testing and Debugging a Program 6.6.1 Creating a Connection Before a program and parameters are downloaded to a PLC or monitored online, ISPSoft must be connected to the PLC. In this example, ISPSoft is connected to the CPU module AHCPU530-EN through a USB cable.

Please refer to section 2.4 in ISPSoft User Manual for more information about connecting ISPSoft to a PLC in other ways. Please refer to operation manuals for more information about wiring. Those who have connected ISPSoft to a PLC successfully in accordance with the contents of section 2.4 in ISPSoft User Manual can skip this section. (1) Install the modules on the main backplane in accordance with the hardware configuration in HWCONFIG. 6-23