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 #61 background imageLoading...
Page #61 background image
60
In this example, the storage location has 150 spaces. When
the accumulated count reaches 150, the counter bit turns
on, contact C48 closes, and output Q0.1 turns on. This could
trigger other logic in the program to divert new items to
another location until such time as an item is removed from this
location.
IEC 1131-3 Counters The counters previously discussed were SIMATIC counters. The
IEC 1131-3 instruction set also includes three counters. These
counters are similar to the SIMATIC counters, but there are a
few differences.
Each IEC 1131-3 counter has an output (Q) and cumulative value
(CV) in the counter box.
Count Up Counter (CTU) stops counting when CV equals the
preset value (PV), and turns on output Q.
Except for the CV and Q values, the IEC 1131-3
Count Down
Counter (CTD) functions like the SIMATIC version. When CV
equals zero, it stops counting, and output Q turns on.
Count Up/Down Counter (CTUD) stops counting up when CV
equals PV and turns on output QU. CTUD stops counting down
when CV equals zero and turns on output QD.
IEC 1131-3 Counters
Timer Number (C0 to C255)
PV
LD
PV
CD
CU
CD
LD
CTD
CTUD
Count Up Counter Count Down Counter Count Up/Down Counter
CU
CTU
Cxxx
R
Cxxx Cxxx
Q
CV
PV Q
CV CV
QD
QU
R
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