EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 232

Omron CP - PROGRAMMING MANUAL 05-2007
1175 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
199
Timer and Counter Instructions Section 3-5
Examples Basic Operation of CNTR(012)/CNTRX(548)
The counter PV is reset to 0 by turning the reset input (CIO 0.02) ON and
OFF. The PV is incremented by 1 each time that the increment input
(CIO 0.00) goes from OFF to ON. When the PV is incremented from the SV
(3), it is automatically reset to 0 and the Completion Flag is turned ON.
Likewise, the PV is decremented by 1 each time that the decrement input
(CIO 0.01) goes from OFF to ON. When the PV is decremented from 0, it is
automatically set to the SV (3) and the Completion Flag is turned ON.
SV
0.00
0.01
0.02
#3
Increment input
CIO 0.00
Counter PV
C0001
Completion Flag
C0001
Decrement input
CIO 0.01
Reset input
CIO 0.02
Increment input
Reset input
Decrement
input

Table of Contents

Related product manuals