S7-1200 Timer Logic

by Antigravity

TP: Generate Pulse

HMI Panel

Elapsed Time (%MD10) 0 ms
Output (%Q0.0)
Network 1: TP Pulse Timer Logic
%I0.0
--| |--
TP
IN
PT
Q
ET
T#3s
%Q0.0
--( )--
%MD10
T#0s

Timing Diagram (Operation of TP)

Description: The TP timer generates a pulse with a preset width time.

Note: Each timer uses a 16 byte IEC_Timer data type DB structure to store timer data.

TON: Generate On-Delay

HMI Panel

Elapsed Time (%MD14) 0 ms
Output (%Q0.1)
Network 2: TON On-Delay Timer Logic
%I0.1
--| |--
TON
IN
PT
Q
ET
T#3s
%Q0.1
--( )--
%MD14
T#0s

Timing Diagram (Operation of TON)

Description: The TON timer sets output Q to ON after a preset time delay.

TOF: Generate OFF-Delay

HMI Panel

Elapsed Time (%MD18) 0 ms
Output (%Q0.2)
Network 3: TOF OFF-Delay Timer Logic
%I0.2
--| |--
TOF
IN
PT
Q
ET
T#3s
%Q0.2
--( )--
%MD18
T#0s

Timing Diagram (Operation of TOF)

Description: The TOF timer resets output Q to OFF after a preset time delay.

TONR: Time Accumulator (Retentive On-Delay)

HMI Panel

Elapsed Time (%MD22) 0 ms
Output (%Q0.3)
Network 4: TONR Accumulator Logic
%I0.3
--| |--
%I0.4
--| |--
TONR
IN
R
PT
Q
ET
T#3s
%Q0.3
--( )--
%MD22
T#0s

Timing Diagram (Operation of TONR)

Description: The TONR timer sets output Q to ON after a preset time delay. Elapsed time is accumulated over multiple timing periods until the R input is used to reset the elapsed time.