Specifications

6. Basic Instructions
© DELTA ELECTRONICS, INC. ALL RIGHTS RESERVED
6-13
2. Every subroutine of a step point is the same as a general ladder diagram, but there are some limitations to the
commands.
1. Do not use MC/MCR commands in step points.
2. STL commands cannot be used in Sub-programs and Interrupt programs.
3. Try to avoid using CJ commands in the STL program, it will complicate the entire program.
3. It is always better to finish all commands before moving to the next step
point. The SET Sn command is better to be placed at the end of step point,
as shown below.
S
S10
S
S20
SET S20
Y0
Y1
Y2
S
S10
S
S20
SET S20
Y0
Y1
Y2
Step ladder diagram:
SET S0
SET S30
S
S00
M1002
S
S30
Y0
SET S31
SET S32
SET S33
S
S32
S
S36
Y6
SET S36
S
S37
Y7
S
S36
S0
RET
X0
X1
X1
X3
X6
END
S
S37 X7
Step S0
Step S30
Step S32
Step S36
Step S36/37
Use RET (return command) at the end of
step ladder that begins with initial step
point S0