EasyManua.ls Logo

Siemens SIMATIC S7-1200 Easy Book - Page 62

Siemens SIMATIC S7-1200 Easy Book
122 pages
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...
Programming options
5.3 Powerful and easy-to-use instruction set
Easy Book
62 Manual, 05/2009, A5E02486774-01
The CTU counts up by 1 when the value of parameter CU changes from 0 to 1. The figure
shows a CTU timing diagram with an unsigned integer count value (where PV = 3).
If the value of parameter CV (Current
count value) is greater than or equal to the
value of parameter PV (Preset count
value), then the counter output parameter
Q = 1.
If the value of the reset parameter R
changes from 0 to 1, then the current
count value is reset to 0.
&8
5
&9
4
The CTD counts down by 1 when the value of parameter CD changes from 0 to 1. The
figure shows a CTD timing diagram with an unsigned integer count value (where PV = 3).
If the value of parameter CV
(Current count value) is equal to
or less than 0, the counter output
parameter Q = 1.
If the value of parameter LOAD
changes from 0 to 1, the value at
parameter PV (Preset value) is
loaded to the counter as the new
CV (Current count value).
&8
&9
4

/2$'
The CTUD counts up or down by 1 on the 0 to 1 transition of the Count up (CU) or Count
down (CD) inputs. The figure shows a CTUD timing diagram with an unsigned integer
count value (where PV = 4).
If the value of parameter CV (Current count value) is equal to or greater than the value
of parameter PV (Preset value), then the counter output parameter QU = 1.
If the value of parameter CV is
less than or equal to zero, then
the counter output parameter QD
= 1.
If the value of parameter LOAD
changes from 0 to 1, then the
value at parameter PV (Preset
value) is loaded to the counter as
the new CV (Current count value).
If the value of the reset parameter
R is changes from 0 to 1, the
current count value is reset to 0.
&8
&'
&9
48
4'
5
/2$'




Table of Contents

Related product manuals