TIMER

Top  Previous  Next

 

This data type does not name a special format in which values are displayed in the PLC like many of the other data types, but it is the name of one of the 512 timers that exist in the PLC. In the symbol table it will be selected automatically if the address starts with ‘T’. In the declaration part of functions and function blocks it is only permitted as In-parameter, inside the block you can use the timer as usual, but it is always another timer that is started or evaluated, depending on which timer you have specified at calling the block as actual-parameter. Do not mix up the data type TIMER with S5TIME and TIME.

 

Examples for the use of TIMER:

 

T 47        Mot1On           TIMER           On-delay for motor 1

(Line in the symbol table)

 

     SF   #OffDel      // #OffDel is declared as In-TIMER

 

See also:

Operations with Timers

Data Types

Timer corresponding to IEC 6-1131.3