FX Series Programmable Controllers STL Programming 3
Chapter Contents
3. STL Programming .................................................................................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 program ............................................................................................. 3-2
3.3 How To Start And End An STL Program ............................................................. 3-3
3.3.1 Embedded STL programs .........................................................................................3-3
3.3.2 Activating new states................................................................................................. 3-3
3.3.3 Terminating an STL Program .................................................................................... 3-4
3.4 Moving Between STL Steps ................................................................................3-5
3.4.1 Using SET to drive an STL coil ................................................................................. 3-5
3.4.2 Using OUT to drive an STL coil................................................................................. 3-6
3.5 Rules and Techniques For STL programs........................................................... 3-7
3.5.1 Basic Notes On The Behavior Of STL programs....................................................... 3-7
3.5.2 Single Signal Step Control ........................................................................................ 3-9
3.6 Restrictions Of Some Instructions When Used With STL.................................. 3-10
3.7 Using STL To Select The Most Appropriate Program .......................................3-11
3.8 Using STL To Activate Multiple Flows Simultaneously......................................3-12
3.9 General Rules For Successful STL Branching ..................................................3-14
3.10 General Precautions When Using The FX-PCS/AT-EE Software .....................3-15
3.11 Programming Examples .................................................................................... 3-16
3.11.1 A Simple STL Flow.................................................................................................. 3-16
3.11.2 A Selective Branch/ First State Merge Example Program....................................... 3-18
3.12 Advanced STL Use............................................................................................ 3-20