FX Series Programmable Controllers

STL Programming 3

Once at the discharge point the truck opens its bottom doors (Y13). After a timed duration in which the truck empties its contents, the program checks to see if the repeat mode was selected on the last cycle, i.e. M2 is reset. If M2 was reset (in state S21) the program ‘jumps’ to step S21 and the ore truck is returned for immediate refilling. If M2 is not reset, i.e. it is active, the program cycles back to STL state S0 where the ore truck will wait until the start push button is given.

This is a simple program and is by no means complete but it identifies the way a series of tasks have been mapped to an STL flow.

S 0

X0

X2

Y13

S 21

X1

S 22

T1

S 23

X2

X0

Y10

RST M2

Y11

T1 K70

Y12

M8002

 

SET S 0

 

 

 

ZRST

S 21 S 25

STL X0

X2 Y13

SET S 21

S 0

 

 

 

STL

 

Y10

S 21

 

X0

 

 

RST M 2

 

 

 

X1

SET S 22

 

 

STL

 

Y11

S 22

 

 

K70

 

 

 

 

T1

 

T1

 

S 24 Y13

T2 K50

T2

 

 

 

 

 

M2

 

M2

 

S 25 SET M2

M2

STL

 

 

 

 

 

 

SET

 

S 23

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Y12

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S 23

X2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

STL

 

 

 

 

 

 

SET

S 24

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Y13

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S 24

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

K50

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

T2

 

 

 

 

T2

 

 

 

 

 

 

 

 

 

M2

 

 

 

 

 

 

 

 

 

SET

S 25

 

 

 

 

 

 

 

 

 

 

 

 

 

 

T2

M2

STL

 

 

 

 

 

 

 

 

S 0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

LD M8002 SET S 0 ZRST 40 S 21 S 25

STL S 0 LD X 0 AND X 2 ANI Y 13 SET S 21 STL S 21 OUT Y 10 LD X 0 RST M 2

LD

X

1

OUT T

2

SET S 22

K

 

50

STL S 22

LD

T

2

OUT Y 11

ANI

M

2

OUT T

1

SET

S 25

K

 

70

LD

T

2

LD

T

1

AND

M

2

SET S 23

OUT

S

0

STL S 23

STL

S 25

OUT Y 12

SET

M 2

LD

X

2

LD

M 2

SET S 24

OUT S 21

STL S 24

RET

 

 

OUT Y 13

END

 

 

 

 

 

 

 

 

SET

M 2

 

S 25

M2

 

 

 

 

 

 

 

 

 

 

 

 

 

S 21

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RET

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

END

 

 

 

 

 

 

 

 

 

 

Identification of normally closed contacts

This example has used the line convention to identify normally closed contacts, for further variations and different methods used to perform this task please see the information note page 3-3.

3-17

Page 69
Image 69
Mitsubishi Electronics FX1S manual Identification of normally closed contacts, Set Stl