Delta DVP-ES2 — 5.3 The Operation of STL Program

DVP-ES2/EX2/SS2/SA2/SX2/SE&TP Operation Manual - Programming 5.3 The Operation of STL Program Step ladder diagram (STL) is a programming method for users to write a program which functions similar to SFC. STL provides PLC program designers a more readable and clear programming method as drawing a flow chart. The sequences or steps in the below SFC is quite understandable and can be translated into the ladder diagram opposite. STL program starts with STL instruction and ends with RET instruction. STL Sn constructs a step point. When STL instruction appears in the program, the main program will enter a step ladder status controlled by steps.

RET instruction indicates the end of a step ladder program starting from initial steps S0 ~ S9 and every initial step requires a RET instruction as an end of STL program. If there is no RET instruction at the end of a step sequence, errors will be detected by WPLSoft. M1002 primary pulse M1002 S0 S S21 S22 S S S23 S S0 RET Actions of Step Points: STL program is composed of many step points, and each step point represents a single task in the STL control process. To perform a sequential control result, every step point needs to do 3 actions. 1. Drive output coils 2. Designate the transition condition 5-4 Alternative divergence.

Alternative divergence is used for a step point to transfer to different corresponding step points by different transition conditions. Alternative convergence. Alternative convergence is used for two step points or more to transfer to the same step point according to transition condition. Simultaneous divergence. Simultaneous divergence is used for a step point to transfer to two step points or more by the same transition condition. Simultaneous convergence. Simultaneous convergence is used for two step points or more to transfer to the same step point with the same transition condition when multiple conditions are fulfilled at the same time. S0 S21 S22 S23 SET S0 SET S21 1 SET S22 2 SET S23