PLC Tutorial
PLC Tutorial
using LADDER
Logic
Presentation Outline
Read
Inputs
Execute
Program
Update
Outputs
Ladder Logic Execution
Rungs of Ladder diagram are solved from
Left to right and top to bottom
Branches within rungs are solved top left
to bottom right
Ladder Rung
A D E
Left Power Rail Right Power Rail
B
Branch
F G H
P S
I J K
R
Basic Ladder
Programming
Basic Ladder
Programming
Basic Ladder
Programming
Basic Ladder
Programming
Timer Setting
Timer
Output
Input Triggered
Keyence Ladder Builder
http://www.keyence.com/products/plc.html
-> PLC Library
Free evaluation version – up to 50 times
KV -> PLC Series from Keyence
Keyence Ladder Builder
Start-> Programs -> Keyence Applications ->
Ladder Builder for KV Sample Ver.
Keyence Ladder Builder
Ladder
Editor
Toolbar
Keyence Ladder Builder
Basic Table of I/O
KV-10
Input 0000 –
Relays
Output 0005
0500 –
Relays
Internal 0503
1000 –
Relays
Timers/ 1915
T/C 000 –
Counters
Data DM063
0–
Memory
0999
Example 1 – Motor
Control
~
Stop
~
Star K1 K1
t
K1 M1
Motor
END
ENDH
Example 1 – Motor
Control
Select
relay
0001
Select
relay
0000
Select
relay
0500
Select
relay
0500
…or
double
click with
the
mouse
left
button
If you use labels you can enter the device by its label
(instead of its number)
Example 2 – Drill Control
Upper
L1
Limit Switch
M2
M1
Lower
Limit Switch
Example 2 – Drill Control
Non-retentive contacts:
Example 2 – Drill Control
Go to Help -> Instruction Word ->
Instructions in Alphabetical Order -> DIFU
Example 2 – Drill Control
LIMIT1
START
MOTOR
1
LIMIT2
M2-
DOWN
M2-UP
Example 2 – Drill Control
Example 3 – Traffic Light
Preset value
Example 3 – Traffic Light