Programming Languages
Select the programming language based on the type of application you are developing. Ladder Diagram, Function Block Diagram, and Structured Text can be used for Add-On Instruction logic.
Each of the programming languages supported in the Logix Designer application is targeted for different types of applications and programming styles. In general, Ladder Diagram executes simple boolean logic, timers, and counters the fastest. Function Block Diagrams and Structured Text may be more efficient if you take advantage of the more advanced process and drives instructions available in those languages.
You cannot compare execution times for the same Add-On Instruction written in different programming languages. There are fundamental differences on how the different languages execute and are compiled.
Each of the programming languages supported in the Logix Designer application is targeted for different types of applications and programming styles. In general, Ladder Diagram executes simple boolean logic, timers, and counters the fastest. Function Block Diagrams and Structured Text may be more efficient if you take advantage of the more advanced process and drives instructions available in those languages.
You cannot compare execution times for the same Add-On Instruction written in different programming languages. There are fundamental differences on how the different languages execute and are compiled.
0 comments :