Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Ladder logic
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Limitations and successor languages== Ladder notation is best suited to control problems where only [[binary data|binary variables]] are required and where interlocking and sequencing of binary is the primary control problem. Like all [[parallel programming language]]s, the sequential order of operations may be undefined or obscure; logic [[race condition]]s are possible which may produce unexpected results. Complex rungs are best broken into several simpler steps to avoid this problem. Some manufacturers avoid this problem by explicitly and completely defining the execution order of a rung, however, programmers may still have problems fully grasping the resulting complex semantics. Analog quantities and arithmetical operations are clumsy to express in ladder logic and each manufacturer has different ways of extending the notation for these problems. There is usually limited support for arrays and loops, often resulting in duplication of code to express cases that in other languages would call for use of indexed variables. As [[microprocessors]] have become more powerful, notations such as [[sequential function chart]]s and [[function block diagram]]s can replace ladder logic for some limited applications. Some newer PLCs may have all or part of the programming carried out in a dialect that resembles [[BASIC]], [[C (programming language)|C]], or other [[programming language]] with bindings appropriate for a real-time application environment.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)