Chapter 2: Basic Ladder Logic Programming
[Pages:53]Chapter 2: Basic Ladder Logic Programming
Computer Aided Manufacturing TECH 4/53350
1
Ladder Logic
Learning objectives
Understand basic ladder logic symbol Write ladder logic for simple applications Translate relay ladder logic into PLC ladder logic
Computer Aided Manufacturing TECH 4/53350
2
Simple Ladder Logic
Ladder Logic:
Primary Programming Language for PLCs. Visual and Graphical language unlike textual high-level,
such as C, C++, Java... Derived from relay logic diagrams Primitive Logic Operations:
OR AND NOT
Computer Aided Manufacturing TECH 4/53350
3
Simple Ladder Logic
OR Operation
Control Behavior: The light should be on when either switch A is on (i.e., closed) or switch B is on (closed). Otherwise it should be off
Task: Implement this behavior using
Relay circuit PLC Ladder Logic
Computer Aided Manufacturing TECH 4/53350
4
Simple Ladder Logic
OR Operation
OR Truth Table
Possible Combinations of the 2 Switches: (22)
A
B
OFF
OFF
OFF
ON
ON
OFF
ON
ON
Light
OFF ON ON ON
Computer Aided Manufacturing TECH 4/53350
5
OR Operation
Relay Circuit
V+
L1
A
AR
Com
LR
Com
B
BR
Light
Switches A and B are connected in parallel to relay coils AR & BR resp. When switch A (or switch B) is closed relay coil AR (or BR) gets energized
The Normally Open (NO) contact AR (or BR) gets closed
Power is transmitted to coil LR Relay coil LR gets energized The NO contact LR gets closed Power is transmitted to the Light bulb
Computer Aided Manufacturing TECH 4/53350
6
OR Operation
Relay Ladder Logic Circuit
120v A
Neutral AR
B
BR
AR
LR
BR
Lamp LR
W
Computer Aided Manufacturing TECH 4/53350
7
OR Operation
PLC Ladder Logic
V+
A
Com
Light
B
Append above to the leading two rungs of relay ladder logic diagram Switch A and Switch B are connected to discrete input channels of the PLC Light is connected to discrete output channel (actuator) of the PLC
When input switch A (or switch B) is on the light is on
Computer Aided Manufacturing TECH 4/53350
8
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- math 2270 lecture 33 positive definite matrices
- operating systems
- hacking with python
- detecting malicious files with yara rules as they
- chapter 2 operating system structures
- more raster processing
- imageai documentation
- a python book beginning python advanced python and
- exposing hidden exploitable behaviors in programming
- introduction to pyvision for computer vision applications
Related searches
- chapter 2 developmental psychology quizlet
- medical terminology chapter 2 terms
- physics chapter 2 practice test
- psychology chapter 2 quizlet
- medical terminology chapter 2 test
- medical terminology chapter 2 review
- chapter 2 medical terminology quiz
- medical terminology chapter 2 pdf
- psychology chapter 2 test
- lifespan development chapter 2 quiz
- chapter 2 lifespan development quizlet
- chapter 2 study guide answers