EasyManuals Logo

Siemens Simatic S7 Series User Manual

Siemens Simatic S7 Series
75 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
Page #60 background imageLoading...
Page #60 background image
59
The
Count Up/Down Counter (CTUD) counts up by one each
time the count up (CU) input transitions from off to on and
counts down by one each time the count down (CD) input
transitions from off to on. When the accumulated count equals
the preset value (PV), the counter bit turns on. When the reset
input (R) turns on or when a Reset instruction is executed, the
accumulated count resets to zero and the counter bit turns off.
If the count reaches the maximum positive value (32,767),
the next count up input sets the accumulated count to the
maximum negative value (-32,767). Similarly, if the count
reaches the maximum negative value, the next down count
sets the accumulated count to the maximum positive value.
Count Up/Down Counter Counters are common instructions used for counting a wide
(CTUD) Example variety of events such as parts manufactured or packed, items
processed, machine operations, etc. For example, a counter
might be used to keep track of the items in an inventory
storage area.
In the following example, Count Up/down Counter (CTUD) C48
is reset to zero when contact I0.2 closes. This could be event
could be triggered automatically or manually to indicate that the
associated storage location is empty.
When contact I0.0 closes, the counter counts up by 1. This
could be triggered by a proximity switch sensing that an item
has been placed in the storage location.
When contact I0.1 closes, the counter counts down by 1. This
could be triggered by a proximity switch sensing that an item
has been removed from the storage location.
C48
CTUDCU
I0.0
I0.1
I0.2
CD
R
PV
+150
Q0.1
C48
www.siemenssupply.com

Other manuals for Siemens Simatic S7 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens Simatic S7 Series and is the answer not in the manual?

Siemens Simatic S7 Series Specifications

General IconGeneral
CPUVaries by model (e.g., S7-300, S7-400, S7-1200, S7-1500)
Communication InterfacesPROFIBUS, PROFINET, Ethernet, MPI
ProgrammingTIA Portal, STEP 7
Programming LanguagesLAD, FBD, STL, SCL, GRAPH
I/O ModulesDigital, Analog, Specialty modules available
Operating Temperature0°C to 60°C (standard models)
MountingDIN rail mounting
Operating Voltage24V DC or 120/230V AC (varies by model)
Protection ClassIP20 (standard models)
MemoryVaries depending on the S7 model. Includes work memory (RAM) for program execution, load memory (EEPROM or Flash) for program storage, and system memory for operating system functions. Memory sizes range from kilobytes to megabytes.

Related product manuals