beautypg.com

Delta Electronics Extension Digital I/O Module DOP-EXIO14RAE User Manual

Page 80

background image

Appendix C Use of Basic Instructions|DOP-EXIO Series

Revision March, 2008, Doc. Name: 2007PDD23000014

C-15

indicates the end of a step ladder diagram starting from S0 ~ S9 and the bus returns to a normal ladder
diagram instruction. The No. of S cannot be repeated.

Mnemonic Functions

RET

Step Transition Ladder Return Command

Operand None

Explanations:
RET indicates the end of a step. There has to be a RET instruction in the end of a series of steps. One
EXIO program can be written in maximum 10 steps (S0 ~ S9) and every step should end with a RET.

Program Example:
Ladder diagram:

M1002

ZRST

S0

S127

SET

S0

SET

S20

Y0

SET

S30

Y1

SET

S40

Y2

S0

RET

END

X0

S0

S

S20

S

X1

S30

S

X2

S40

S

X3