Timers; Counters - Siemens SIMATIC S7-200 Manual

Software conversion tool
Hide thumbs Also See for SIMATIC S7-200:
Table of Contents

Advertisement

S7-200 LAD instruction conversion

4.2 Timers

4.2
Timers
Table 4- 2
Timer conversion
S7-200 instruction
TON On-delay timer
TONR On-delay retentive timer
TOF Off-delay timer
BGN_ITIME Begin Interval Time
CAL_ITIME Calculate Interval Time
4.3

Counters

Table 4- 3
Counter conversion
S7-200 instruction
CTU Count Up counter
CTD Count Down counter
CTUD Count Up/Down counter
HSC High-speed counter
HDEF High-speed counter Definition
PLS Pulse
24
Converted?
S7-1200 instruction
Yes
TON
Yes
TONR
Yes
TOF
No
No
Use Clock instructions RD_SYS_T (read system time)
and T_SUB (time difference) to calculate time intervals.
Converted?
S7-1200 instruction
Yes
CTU
Yes
CTD
Yes
CTUD
No
You must make the conversion which requires the following
actions:
- Interrupt OB creation for each HSC event and HSC steps
- Interpreting and converting the S7-200 HSC SM
initialization.
- Combining several S7-200 HSC instructions into a single
S7-1200 CTRL_HSC instruction.
No
There is no equivalent instruction for the S7-1200 CPU.
Selection of HSC mode can only be performed by S7-1200
CPU device configuration.
No
SIMATIC S7-200 to SIMATIC S7-1200 software conversion tool
Manual, 1/2010

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1200

Table of Contents