4-2 Creating Ladder Programs
4
4
46 SYSMAC CP1L Getting Started Guide
Creating Programs
4-2-2 Ladder Program
The ladder program for the example application is shown below.
Creating the program in CX-Programmer will be explained in the next section.
W0.00
TIM
0000
#50
Work area *4
T0000
Timer *3
0.04
Light detection
sensor *1
W0.00
Work area *2
W0.00
Work area
0.04
Light detection sensor
T0000
Timer
C0000
Counter
A200.11
P_First_Cycle First cycle flag *7
C0000
Counter
0.01
STOP button
0.05
Upper
limit LS
100.01
De-escalation
motor
100.00
Escalation
motor
0.00
OPEN button
100.00
Escalation
motor
0.01
STOP button
0.06
Lower
limit LS
100.00
Escalation
motor
100.01
De-escalation
motor
0.03
Car detection sensor *8
0.02
CLOSE button
100.01
De-escalation
motor
Timer *5
Counter *6
#3
CNT
0000
*1 Refer to Inputting Contacts of 4-5-2 Inputting Contacts.
*2 Refer to Inputting OR Circuits of 4-5-2 Inputting Contacts.
*3 Refer to Inputting Closed Contacts of 4-5-2 Inputting Contacts.
*4 Refer to 4-5-3 Inputting Output Coils.
*5 Refer to 4-5-4 Inputting Timers.
*6 Refer to 4-5-5 Inputting Counters..
*7 Refer to 4-5-6 Inputting Auxiliary Areas.
*8 Refer to 4-5-7 Inputting Differentiated Up Contacts.
W07E-EN-02+CP1L+GettingStartedGuide.book Seite 46 Montag, 15. September 2008 11:15 11