EasyManuals Logo

Siemens Simatic S7 Series System Manual

Siemens Simatic S7 Series
726 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 #223 background imageLoading...
Page #223 background image
Program instructions
7.6 Counters
S7-200 SMART
System Manual, 09/2015, A5E03822230-AC
223
HSC operating rules
Before you use a high-speed counter, you must execute the HDEF instruction (High-
Speed Counter Definition) to select a counter mode. Use the first scan memory bit,
SM0.1 (this bit is ON for the first scan and OFF for subsequent scans) to execute HDEF
directly, or call a subroutine that contains the HDEF instruction.
You can use all counter types with or without a reset input.
When you activate the reset input, it clears the current value and holds it clear until you
deactivate the reset input.
See also
High-speed counter programming examples (Page 226)
High-speed counter initialization sequence examples (Page 238)
Noise reduction for high-speed inputs (Page 224)

Table of Contents

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