ISPSoft User Manual 4.1 Quick Start The chapter provides a simple example, and leads users to create a traditional ladder diagram in ISPSoft in a short time. However, in order to help users who are not familiar with IEC 61131-3 understand the functions provided by ISPSoft, and create a traditional ladder diagram, programming concepts related to IEC 61131-3 are not introduced in this chapter. For example, POUs, function blocks, variables, and etc. are not introduced. The concepts related to IEC 61131-3 will be introduced in the following chapters. 4.1.1 Example When the equipment operates, the parts on the conveyer are conveyed from left to right.
If a sensor senses that a part is under an injector, the PLC will send a trigger signal to the injector, and the injector will injects the glue. How long the part will be injected is set externally, and is not controlled by the program in the PLC. However, the program in the PLC must be able to turn the trigger signal OFF so that the trigger signal can be sent next time. There are two injectors above the conveyer, and the two injectors inject glue in the same way. Besides, there is a sensor at the left side of the conveyer. When a part passes the sensor, the sensor value increases by one increment. If the sensor value is 100, the internal completion flag will be set to ON.
The state of the flag can be used by other procedures later. However, the use of the state of the flag is not introduced in this example. 4-2