DIAGRAMA DE CONTACTOS | PROGRAMACION PLC | COMO PROGRAMAR UN PLC
What is Ladder Programming?
Introduction to Ladder Programming
- The video introduces the concept of Ladder programming, explaining its purpose and elements.
- Ladder programming is likened to a physical ladder, emphasizing its visual structure similar to electrical control diagrams.
- It is widely used in PLCs (Programmable Logic Controllers) due to standardized symbols according to NEMA standards.
Elements of Ladder Diagrams
- The two vertical lines represent energized lines, typically 24V and GND (0V).
- Rungs are horizontal lines that contain input elements (e.g., buttons, switches, sensors) and output elements (e.g., actuators like motors or valves).
Understanding Inputs and Outputs
- Inputs are connected to PLC through amplifiers; outputs connect PLC to actuators.
- Programming in Ladder occurs on a computer based on identified inputs and outputs for specific plant control requirements.
Key Components of Ladder Logic
Basic Contacts and Coils
- Normally Open Contact: Activated by logic 1; represents physical inputs or internal variables.
- Normally Closed Contact: Activated by logic 0; functions similarly to NO contact but with opposite activation conditions.
Coils Functionality
- Normally Open Coil: Activates when the left combination equals logical 1; usually represents output elements.
- Set/Reset Coils: Work together where the set coil can only be deactivated by its corresponding reset coil.
Examples of Ladder Logic Applications
Logical Conditions in Ladder Diagrams
- Example statements illustrate logical conditions such as "If A is activated, then Y is activated."
- AND condition example: Both A and B must be activated for Y to activate. OR condition example: Either A or B activates Y.
Practical Application Example
- An electric bulb scenario demonstrates how pressing START turns on the bulb while pressing STOP turns it off.
Implementing Memory in Ladder Logic
Self-Retention Mechanism
- To maintain bulb activation after releasing START, a memory element M1 is introduced which locks Q1 output when activated.
Circuit Deactivation Process
- The STOP button's placement in the diagram ensures that pressing it deactivates the entire circuit effectively.