How to Program If-Then-Else Statements in SCADAPack Workbench FBD Language


28 September 2021

SCADAPack Workbench supports four standard IEC 61131-3 programming languages for CAM5 and three standard IEC 61131-3 programming languages for CAM3. These languages can be mixed within an application to provide an optimum control strategy.

Typically If-Then-Else Statements are best used with Structured Text Language (ST). In some instances, it may be desired to use these types of statements in a Function Block Diagram (FBD). Although not as elegant as ST, this can be achieved with JUMP's and LABELS in a FBD program.

The below example shows how to create an If-Then_Else statement in both FBD and ST.