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, indicating supply voltages (e.g., 24V and GND).
- Rungs are horizontal lines that contain input elements (like buttons and sensors) and output elements (like actuators).
- Inputs connect to PLC through amplifiers; outputs connect actuators back to the PLC.
How Does Ladder Programming Work?
Basic Components
- Key components include Normally Open (NO), Normally Closed (NC), coils, set/reset coils, and their logical functions.
- NO contacts activate with a logic 1; NC contacts activate with a logic 0.
- Set coils remain activated until reset by their corresponding reset coil.
Symbol Representation
- Symbols in ladder diagrams have labels for identification; these can be default or customized.
Logical Conditions in Ladder Programming
Logical Statements
- Examples illustrate how conditions translate into ladder logic: "If A is activated, then Y is activated."
- Logical AND condition requires both A and B to be active for Y to activate; OR condition activates Y if either A or B is active.
Practical Application Example
Controlling an Electric Bulb
- An example scenario involves controlling a light bulb using START and STOP buttons connected to PLC inputs.
- The initial condition states pressing START activates Q1 output for the bulb. If START stops being pressed, Q1 deactivates unless memory M1 retains it.
Memory Functionality
- To maintain activation after releasing START, a memory element M1 must be utilized for self-retention or interlocking functionality.
Finalizing the Circuit Design
Circuit Requirements
- The final design includes placing the STOP button correctly within the circuit while ensuring no duplicate coil labels exist.
Physical Connections