Delta Electronics AH500 — 6.5.9 Writing a Program

AH500 Operation Manual Write the program shown below in the way described above. In WPLSoft, a decimal value is preceded by K, and a hexadecimal value is preceded by H. If users want to type a decimal value in ISPSoft, they can type it directly. If users wan to type a hexadeicmal value in ISPSoft, they have to type “16#” and the hexadecimal value, e.g. 16#7FFF. In ISPSoft, an octal value is preceded by 8#, and a binary value is preceded by 2#. 6.5.9 Writing a Program The creation of a traditional ladder diagram in ISPSoft has been introduced. Users can write the program shown below in the way described in the previous sections.

Owning to the fact that the program has not been compiled, the mother line at the left side of the ladder diagram is red during the writing of the program. The following sections will introduce how to compile the program, and how to download the program which has been compiled to the CPU module to test the program. *1. The program above is saved in the folder denoted by …\ISPSoft x.xx\Project\Example\Gluing_System_C. *2. Please refer to chapter 8 in ISPSoft User Manual for more information about creating a ladder diagram. 6-22