Professional Documents
Culture Documents
PLC Tutorial
PLC Tutorial
Presentation Outline
Review of Ladder Programming
Keyence PLC Ladder Builder
Structured Text
High-Level Language
Read Inputs
Execute Program
Update Outputs
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 B F I G D E
Branch
P
J
H S K R
http://www.keyence.com/products/plc.html -> PLC Library Free evaluation version up to 50 times KV -> PLC Series from Keyence
Ladder Editor
Toolbar
Output Relays
Internal Relays
0500 0503
1000 1915
Timers/ Counters
Data Memory
Stop -> Input Relay 0000 (X000) Normally Closed (NC) Start -> Input Relay 0001 (X001) Normally Open (NO) Motor -> Output Relay 0500 (Y050)
Stop
Motor
Motor
END
ENDH
Change the status here and Then press Write Current Value
If you use labels you can enter the device by its label (instead of its number)
M2
Drill Motor
L2
In the beginning of the drilling cycle the Upper Limit Switch (0001) is closed The START button (0000) starts the drilling cycle The drill motor M1 (0500) must start. At the same time, the vertical motor M2 must start to descend the drill (0501) The drill will stop at the Lower Limit Switch (0002). At this time, the vertical motor start to ascend the drill (0502). The drill motor must stop just at the upper position. Wait for a new drilling cycle
Start the operation with the switch S1 (input 0000) The red signal must be ON for 5 seconds (output 0500) The green signal must be ON for 8 seconds (output 0501) The yellow signal must be ON for 3 seconds (output 0502) The cycle must continues until the switch S1 is released
Preset value