TON

PLCopen motion icon

 Function Block - On timer.

  • The timer starts on a rising pulse of IN input.
    • It stops when the elapsed time is equal to the programmed time.
  • A falling pulse of IN input resets the timer to 0 (zero).
  • The output signal is set to TRUE when programmed time is elapsed.
    • It is reset to FALSE when the input command falls.

Inputs

Input

Data Type

See Data Types.

Range

Unit

Default

Description

IN

BOOL

FALSE, TRUE

 

 

Timer command.

PT

TIME

Time Units

 

 

Programmed time.

Outputs

Output

Data Type

See Data Types.

Range

Unit

Description

Q

BOOL

FALSE, TRUE

 

Timer elapsed output signal.

ET

TIME

Time Units

 

Elapsed time.

Time Diagram

Figure 1: Time Diagram

FBD Language Example

FFLD Language Example

  • In the FFLD Language, the input rung is the IN command.
    • The output rung is Q the output signal.

IL Language Example

Not available.

ST Language Example

MyTimer is a declared instance of TON function block.
MyTimer (IN, PT);
Q := MyTimer.Q;
ET := MyTimer.ET;

See Also