Mitsubishi Electronics FX2C Home Theater Server User Manual


 
FX Series Programmable Controllers STL Programming 3
Chapter Contents
3. STL Pro
g
rammin
g
.................................................................................3-1
3.1 What is STL, SFC And IEC1131 Part 3?.............................................................3-1
3.2 How STL Operates..............................................................................................3-2
3.2.1 Each step is a pro
g
ram ............................................................................................. 3-2
3.3 How To Start And End An STL Pro
g
ram .............................................................3-3
3.3.1 Embedded STL pro
g
rams .........................................................................................3-3
3.3.2 Activatin
g
new states.................................................................................................3-3
3.3.3 Terminatin
g
an STL Pro
g
ram ....................................................................................3-4
3.4 Movin
g
Between STL Steps ................................................................................3-5
3.4.1 Usin
g
SET to drive an STL coil ................................................................................. 3-5
3.4.2 Usin
g
OUT to drive an STL coil................................................................................. 3-6
3.5 Rules and Techniques For STL pro
g
rams...........................................................3-7
3.5.1 Basic Notes On The Behavior Of STL pro
g
rams....................................................... 3-7
3.5.2 Sin
g
le Si
g
nal Step Control ........................................................................................3-9
3.6 Restrictions Of Some Instructions When Used With STL..................................3-10
3.7 Usin
g
STL To Select The Most Appropriate Pro
g
ram .......................................3-11
3.8 Usin
g
STL To Activate Multiple Flows Simultaneousl
y
...................................... 3-12
3.9 General Rules For Successful STL Branchin
g
..................................................3-14
3.10 General Precautions When Usin
g
The FX-PCS/AT-EE Software.....................3-15
3.11 Pro
g
rammin
g
Examples .................................................................................... 3-16
3.11.1 A Simple STL Flow.................................................................................................. 3-16
3.11.2 A Selective Branch/ First State Mer
g
e Example Pro
g
ram.......................................3-18
3.12 Advanced STL Use............................................................................................3-20