60
Creating Ladder Programs Section 3-3
3-3 Creating Ladder Programs
Example Program
This section explains how to write ladder
programs, based on a simple circuit
example.
Refer to the ZEN-SOFT01-V4 ZEN Support
Software Operation Manual (Z184) for
information on programming LED-type CPU
Units.
3-3-1 I/O Wiring and Internal Operation
3-3-2 Clearing Programs
Clear the ladder program before starting to
write a program. By performing the Delete
Program operation, the ladder program will
be completely cleared. The display
language, date/time settings, and all other
settings will not be initialized.
SW1 SW2
Ry
Ry
Power supply
terminals
L
N
SW1 SW2
L
N
I0
I2 I3I1
I0 I1
Q0
(1) (2)
Q0
(3)
Q0 Q1
Input terminals
Ladder
program
Output terminals
Load
Connect switches SW1 and SW2
between N and input terminals I0
and I1.
When SW1, connected to input bit
I0, turns ON or OFF, I0 (indicated
by (1) in the diagram) turns ON or
OFF.
When SW2, connected to input bit
I1, turns ON or OFF, I1 (indicated
by (2) in the diagram) turns ON or
OFF.
If the ladder program is executed
in RUN mode and SW1 turns ON,
input bit I0 turns ON, output bit Q0
turns ON, and the output contact
(indicated by (3) in the diagram)
turns ON.
When the output contact (3) turns
ON, the load connected to output
terminal Q0 turns ON.
Z211-E1-03.book Page 60 Friday, November 21, 2008 10:38 AM