Professional Documents
Culture Documents
using LADDER
Logic
Presentation Outline
Review
of Ladder Programming
Keyence
Example
1: Motor Control
Example
2: Drill Control
Example
3: Traffic Light
Logic Diagrams
Function
Block Diagrams
Sequential
Function Charts
Instruction
List
Structured
Text
High-Level
Language
Read
Inputs
Execute
Program
Update
Outputs
B
F
Branch
G
P
I
H
S
K
R
Basic Ladder
Programming
Basic Ladder
Programming
Basic Ladder
Programming
Basic Ladder
Programming
Timer Setting
Timer
Output
Input Triggered
Ladder
Editor
Toolbar
0000
0005
0500
0503
1000
1915
T/C
000
DM063
0
0999
Example 1 Motor
Control
~
K1
K1
Star
t
Stop
K1
M1
Example 1 Motor
Control
Stop
Example 1 Motor
Control
Ladder Diagram:
Start
Stop
Motor
Motor
END
ENDH
Example 1 Motor
Control
Select
relay
0001
Example 1 Motor
Control
Select
relay
0000
Example 1 Motor
Control
Example 1 Motor
Control
Select
relay
0500
Example 1 Motor
Control
Connect the circuit to the right power line
Example 1 Motor
Control
Place the cursor below the contact of relay 0001
Select
relay
0500
Example 1 Motor
Control
Place the cursor below the NO contact of relay 0500.
Type END -> for end of routine . Click OK.
Example 1 Motor
Control
Place the cursor below on line 0004.
Example 1 Motor
Control
Run the simulator
Example 1 Motor
Control
Execute the program for continuous scan
Example 1 Motor
Control
Start the motor
or
double
click with
the
mouse
left
button
Change the status here and
Then press Write Current Value
Example 1 Motor
Control
Stop the motor
Example 1 Motor
Control
Stop the simulation and return to the editor
Example 1 Motor
Control
Using labels
Example 1 Motor
Control
Right click with the mouse button on the device
and select Change Label
Example 1 Motor
Control
Type the label and press OK (or Enter)
Example 1 Motor
Control
Type all labels (save the program optional)
If you use labels you can enter the device by its label
(instead of its number)
Upper
Limit Switch
M2
M1
Vertical
Motor
(up and
down)
Drill Motor
L2
Lower
Limit Switch
Preset value