structured text

References: structured text references

Structured Text (ST) is one of five languages supported by the IEC 61131-3.

The Others Being:
- Ladder Logic (LD)
- Function Block (FBD)
- Instruction List (IL)
- Sequential function chart (SFC)



P_STIntro, SW1 turns on the Green Light. SW1 and SW2 turn on the Red Light.
- bRedLT1 (Output) must come before bSwitchSW1 & bSwitchSW2 (Inputs)



- If Statemen is "laches" Output, additional If Statement required "unLatch" Outputs.