Ladder Logic - Additional Functionality

Additional Functionality

Additional functionality can be added to a ladder logic implementation by the PLC manufacturer as a special block. When the special block is powered, it executes code on predetermined arguments. These arguments may be displayed within the special block.


+-------+ -------------------------+ A +---- Remote Unlock +-------+ Remote Counter +-------+ -------------------------+ B +---- Interior Unlock +-------+ Interior Counter +--------+ --------------------+ A + B +----------- + into C + +--------+ Adder

In this example, the system will count the number of times that the interior and remote unlock buttons are pressed. This information will be stored in memory locations A and B. Memory location C will hold the total number of times that the door has been unlocked electronically.

PLCs have many types of special blocks. They include timers, arithmetic operators and comparisons, table lookups, text processing, PID control, and filtering functions. More powerful PLCs can operate on a group of internal memory locations and execute an operation on a range of addresses, for example,to simulate a physical sequential drum controller or a finite state machine. In some cases, users can define their own special blocks, which effectively are subroutines or macros. The large library of special blocks along with high speed execution has allowed use of PLCs to implement very complex automation systems.

Read more about this topic:  Ladder Logic

Famous quotes containing the word additional:

    Dog. A kind of additional or subsidiary Deity designed to catch the overflow and surplus of the world’s worship.
    Ambrose Bierce (1842–1914)