App. - 14
Appendix 4.9 Time control program
The time value is set in the two digits of a digital switch. The currently elapsed time
is displayed on Y40 to Y47 while the outputs Y70 to Y72 turn on after the set time
limit has elapsed.
This operation is repeated.
Push button for
reading time
X3
Switch for timer
X4
Switch for operation
X5
Digital switch for setting time
0.1sec. units
X20 to 27
59
Programmable
controller
Display for current time
0.1sec. units
Y40 to 47
26
Y70
Turns on when current
value is less than 2sec.
Y71
Turns on when current
value is just 3sec.
Y72
Turns on when current
value is 4.1sec. or more
Project name QA-2
Program name MAIN
X3
X4
0
7
Starts timer
Repeats flicker
T3
T3
16
T4
M5PLS
M5
3
D1K2X20BIN
T4
Y70
Turns on when T3 is 4.1sec.
or more.
Turns on when T3 is 3.0sec.
D1
D1K0<>
K10
X5
21
K2Y40T3BCD
T3K20>
Y71T3K30=
Y72T3K40<
Turns on when T3 is from
0.1 to 1.9sec.
Outputs time value to exterio
r
Reads set time
2 digits in 0.1sec. units