Mitsubishi Electronics FX1S manual General Precautions When Using The FX-PCS/AT-EE Software

Models: FX1S

1 120
Download 120 pages 31.35 Kb
Page 67
Image 67

FX Series Programmable Controllers

STL Programming 3

Further recommended program changes:

 

 

S 20

 

 

 

 

 

 

 

 

 

 

 

 

 

X0

 

 

 

 

 

 

 

X10

 

 

 

 

 

 

 

 

 

X1

 

 

 

 

X4

 

 

X11

 

 

 

 

 

 

X14

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Rewrite as...

 

S 20

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X0

 

 

 

 

X0

 

X10

 

X10

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X1

 

 

 

 

X4

 

X11

 

X14

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S 21

 

S 23

 

 

S 25

 

 

S 27

X2

 

 

 

X5

 

 

 

X12

 

 

 

 

 

X15

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S 22

 

S 24

 

 

S 26

 

 

S 28

X3

 

 

 

X6

 

 

 

X13

 

 

 

X16

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X7

 

 

 

 

 

 

 

X17

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S21

X2 S 22

X3

X7

 

S 23

 

 

S 25

 

 

S 27

X5

 

 

 

 

X12

 

 

 

 

X15

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S 24

 

 

S 26

 

 

S 28

X6

 

 

 

X13

 

 

 

 

X16

 

 

 

 

 

 

 

 

 

 

 

 

 

X7

 

 

 

 

 

X17

 

 

 

X17

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S 29

S 29

Program violation!

Rewrite as...

 

S 20

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X0

 

 

 

 

 

X1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S 21

 

S 23

 

S 25

 

S 27

X2

 

 

 

X3

 

 

 

X4

 

 

 

X5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S 22

 

S 24

 

S 26

 

S 28

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X6

X7

 

S 29

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

STL

S 20

STL

S 22

LD

X

0

STL

S 24

SET

S 21

LD

X

6

SET

S 23

SET

S 29

LD

X

1

STL

S 26

SET

S 25

STL

S 28

SET

S 27

LD

X

7

 

 

 

 

 

 

SET

S 29

3.10General Precautions When Using The FX-PCS/AT-EE Software

FX1S

FX1N

FX2N

FX2NC

This software has the ability to program in SFC flow diagrams. As part of this ability it can read and convert existing STL programs back into SFC flows even if they were never originally programmed using the FX-PCS/AT-EE software. As an aid to allowing this automatic SFC flow generation the following rules and points should be noted:

1)When an STL flow is started it should be initialized with one of the state devices from the range S0 to S9.

2)Branch selection or merging should always be written sequentially moving from left to right. This was demonstrated on page 3-11, i.e. on the selective branch S21 was specified before S31 which was specified before S41. The merge states were programmed in a similar manner, S29 proceeded S39 which proceeded S49.

3)The total number of branches which can be programmed with the STL programming mode are limited to a maximum of 16 circuits for an STL flow. Each branch point is limited to a maximum of 8 branching flows. This means two branch points both of 8 branch flows would equal the restriction. These restrictions are to ensure that the user can always view the STL flow diagram on the computer running the FX-PCS-AT/ EE software and that when it is needed, the STL program flow can be printed out clearly.

3-15

Page 67
Image 67
Mitsubishi Electronics FX1S manual General Precautions When Using The FX-PCS/AT-EE Software