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 #337 background imageLoading...
Page #337 background image
Program instructions
7.17 Timer
S7-200 SMART
System Manual, 09/2015, A5E03822230-AC
337
Type
Current >= Preset
State of IN, the enabling input
Power cycle / first scan
TON Timer bit ON
Current value continues
timing to 32,767
ON: Current value = timing value
OFF: Timer bit OFF, current value
= 0
Timer bit = OFF
Current value = 0
TONR
1
Timer bit ON
Current value continues
timing to 32,767
ON: Current value = timing value
OFF: Timer bit and current value
maintain last state and value
Timer bit = OFF
Current value can be
maintained
1
TOF Timer bit OFF
Current = Preset, stops
timing
ON: Timer bit ON, current value =
0
OFF: Timer begins timing after
ON-to-OFF transition
Timer bit = OFF
Current value = 0
1
The retentive timer current value can be assigned for retention through a power cycle. See Config-
uring the retentive ranges for details (Page 122).
Note
Using the Reset instruction with timer instructions
The TONR timer can only be reset with the Reset (R) instruction.
The TON and TOF timers can be reset by the timer's enable input and also the Reset (R)
instruction.
The Reset instruction performs th
e following actions:
Timer bit = OFF
Timer current value = 0
After a reset, TOF timers require the enable input to make the transition from ON-to-OFF
in order restart the OFF-delay timer.
7.17.2
Timer programming tips and examples
Timer types
You can use timers to implement time-based counting functions. The S7-200 instruction set
provides three different types of timers.
On-Delay Timer (TON) for timing a single interval
Retentive On-Delay Timer (TONR) for accumulating a number of timed intervals
Off-Delay Timer (TOF) for extending time past an off (or false condition), such as for
cooling a motor after it is turned off

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