EasyManua.ls Logo

Siemens SIMATIC S7-1200

Siemens SIMATIC S7-1200
364 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 made easy
6.3 Powerful instructions make programming easy
Easy Book
110 Manual, 03/2014, A5E02486774-AF
Table 6- 17 CTU (count up) counter
LAD / FBD
SCL
Operation
"ctu_db".CTU(
CU:=_bool_in,
R:=_bool_in,
PV:=_undef_in,
Q=>_bool_out,
CV=>_undef_out);
The timing diagram shows the operation of a CTU counter 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 CV is reset to 0.
Table 6- 18 CTD (count down) counter
LAD / FBD
SCL
Operation
"ctd_db".CTU(
CD:=_bool_in,
LOAD:=_bool_in,
PV:=_undef_in,
Q=>_bool_out,
CV=>_undef_out);
The timing diagram shows the operation of a CTD counter 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.

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals