Mitsubishi Electronics FX1S manual General Rules For Successful STL Branching, Instruction Format

Models: FX1S

1 120
Download 120 pages 31.35 Kb
Page 66
Image 66

FX Series Programmable Controllers

STL Programming 3

3.9General Rules For Successful STL Branching

For each branch point 8 further branches may be programmed. There are no limits to the num- ber of states contained in a single STL flow. Hence, the possibility exists for a single initial state to branch to 8 branch flows which in turn could each branch to a further 8 branch flows etc. If the programmable controllers program is read/written using instruction or ladder formats the above rules are acceptable. However, users of the FX-PCS/AT-EE programming package who are utilizing the STL programming feature are constrained by further restrictions to enable automatic STL program conversions (please see page 3-15 for more details).

When using branches, different types of branching /merging cannot be mixed at the same branch point. The item marked with a ‘S’ are transfer condition which are not permitted.

The following branch configurations/modifications are recommended:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S 20

 

 

S 30

 

 

S 40

X0

 

 

 

X1

 

 

 

X2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X3

 

 

X4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S 50

 

 

S 60

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S 20 S 30 S 40

X0

S 50 S 60

S 20 S 30

X0 X1

S 40 S 50

S 20 S 30

X0

X1 X2

S 40 S 50

Rewrite as

Rewrite as

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S 20

 

 

S 30

 

 

S 40

 

 

S 20

 

 

S 30

 

 

S 40

X0

 

 

 

 

 

X1

 

 

 

X2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X0

 

 

 

 

Dummy

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Dummy state

 

 

 

 

 

 

 

 

 

 

 

 

S 100

 

S 101

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

state

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(S100)

 

 

 

 

(S100)

 

 

 

 

(S101)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X3

 

 

 

X4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S 50

 

 

S 60

 

 

S 50

 

 

S 60

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S 20

 

 

 

S 30

 

 

S 20

 

 

S 30

 

X0

 

 

X1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X0

 

 

 

 

 

Dummy

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Dummy

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S 102

 

 

S 103

 

 

 

 

 

 

 

 

state

 

 

 

 

 

 

 

state

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(S102)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(S103)

 

 

(S103)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X1

 

 

X2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S 40

 

 

 

S 50

 

 

S 40

 

 

S 50

 

In Instruction

In Instruction

format...

format...

STL S 20 LD X 0 SET S 100 STL S 30 LD X 1 SET S 100 STL S 40 LD X 2 SET S 100 STL S 100 LD S 100 AND X 3 SET S 50 LD S 100 AND X 4 SET S 60

STL S 20 STL S 30 STL S 40 LD X 0 SET S 101 STL S 101 LD S 101 SET S 50 SET S 60

STL S 20 LD X 0 SET S 102 STL S 30 LD X 1 SET S 102 STL S 102 LD S 102 SET S 40 SET S 50

STL S 20 STL S 30 LD X 0 SET S 103 STL S 103 LD S 103 AND X 1 SET S 40 LD S 103 AND X 2 SET S 50

3-14

Page 66
Image 66
Mitsubishi Electronics FX1S manual General Rules For Successful STL Branching, Instruction Format