Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
6-145
UDCNT1
1
2
3
4
4
6
7
8
6.8 Other Convenient Instructions
6.8.1 Counter 1-phase input up or down (UDCNT1)
Program Example
(1) This program uses C0 (Up/Down counter) to count the number of times X0 goes from OFF
to ON after X20 has gone ON.
[Ladder Mode] [List Mode]
[Operation]
Step
Instruction
Device
X0
X20
X1
C0 present value
C0 contact
012345676543210123210 11-----
Down
UpUp