Chapter 6 Writing a Program 6.2 Procedure for Creating a Project in ISPSoft The procedure for creating a project in ISPSoft is as follow. Users can adjust the procedure according to the practical application and their habits. Hardware configuration Users can set the parameters such as a range of latched devices and a port number in a PLC. Besides, the users have to configure modules used with an AH500 series CPU module, and set the parameters in these modules. Network configuration If a system used adopts network architecture, or devices need to exchange data, users can configure a network, a PLC Link, or an Ether Link easily through the network configuration tool NWCONFIG in ISPSoft.
Programming After users write a program in ISPSoft, they 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 Users can download a program which is compiled, a hardware configuration, and a network configuration to a PLC. Besides, the users can test and debug the program online by means of the functions provided by ISPSoft. Owing to the fact that 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.
6.3 Creating a Project After ISPSoft is started, users can click the File menu, point to New , and click New to create a new project. They can also create a new project by clicking on the toolbar after ISPSoft is started. In the Create a New Project window, type a project name in the Project Name box and a path in the Drive/Path box, select a PLC in the PLC Type drop-down list box, and click OK . (The PLC used in this example is AHCPU530-EN.) 6-3