Programming PLCs using LADDER Logic. Presentation Outline. Review of Ladder Programming Keyence PLC Ladder Builder Example 1: Motor Control Example 2: Drill Control Example 3: Traffic Light. Programming the PLC. Ladder Logic Diagrams Function Block Diagrams Sequential Function Charts
Left Power Rail
Right Power Rail
Ladder Builder for KV Sample Ver.
Create a new file. Select the KV10 model.
Normally Closed (NC)
Normally Open (NO)
Add a normally open contact
Add a normally closed contact
Add horizontal connection lines
Add an output relay
Connect the circuit to the right power line
Place the cursor below the contact of relay 0001
Add a Branch with a NO contact (OR logic)
Place the cursor below the NO contact of relay 0500.
Type END -> for end of routine . Click OK.
Place the cursor below on line 0004.
Type ENDH -> for end of program . Click OK.
Run the simulator
Execute the program for continuous scan
Start the motor
(turn on and then off the start button)
…or double click with the mouse left button
Change the status here and
Then press Write Current Value…
Stop the motor
(watch the status of the motor – relay 0500)
Stop the simulation and return to the editor
Right click with the mouse button on the device
and select Change Label
Type the label and press OK (or Enter)
Type all labels (save the program – optional)
If you use labels you can enter the device by its label
(instead of its number)
(up and down)
Go to Help -> Instruction Word -> Instructions in Alphabetical Order -> DIFU
SET – RESET instructions
Go to Help -> Instruction Word -> Instructions in Alphabetical Order -> SET (RES)
S1 is released
Go to Help -> Instruction Word -> Instructions in Alphabetical Order -> TMR
Place the cursor at the position you want to add a Timer. Then, double click with the mouse left button and select Instruction -> TMR
Define the Timer number and the Preset value.