-

TOF_R / TOF_R_LTIME

TypeFunction block
DescriptionThe TOF_R / TOF_R_LTIME function blocks provide a timer for delayed switching off. They operate as retain timers, i.e., the elapsed time since start of the timer is retained internally when switching the controller off. After switching the controller on again and executing a warm start, the timer continues counting from the point at which it was stopped.

If IN changes from TRUE to FALSE, switching off is delayed for the duration of the time interval applied to the input PT. After PT has elapsed, Q is set to FALSE. The elapsed time interval is indicated at the output ET.
Notes
  • The input IN and the output Q can be negated.

    Note: The negation of formal parameters is not supported in safety-related code (SNOLD).

  • Function blocks have to be instantiated. The instance name of the function block has to be declared in the 'Variables' table of the POU where the FB is going to be used. The instance name must be unique within the POU.
ParametersInputs

IN

PT

Outputs

Q

ET
Timing Diagram Timing diagram
Algorithm Algorithm