M800V/M80V Series PLC Programming Manual (1/2)
7 Basic Instructions
7.3 Output Instructions
Program example
Reset of 100 ms retentive timer and counter is executed.
X4
0
ST60
5
C23
14
X5
16
21
[List mode]
Steps
Inst.
Device
0
LD
X4
1
OUT
ST60
K18000
5
LD
ST60
6
OUT
C23
K16
10
RST
ST60
14
LD
C23
15
OUT
Y55
16
LD
X5
17
RST
C23
21
END
IB-1501667-B
[Ladder mode]
K18000
ST60
K16
C23
RST ST60
Y55
RST C23
END
When ST60 is set for the retentive timer,ST60
is turned ON when X4's ON time reaches 30
minutes.
The number of times when ST60 has turned
ON is counted.
When ST60 is turned ON, ST60 is reset.
When C23 counts up, Y55 is turned ON.
When X5 is turned ON, C23 is reset.
146