Professional Documents
Culture Documents
T Timer
f File number. Number 4 is the default file.
File no. 10-255 can be used for additional
storage
: Element delimiter
e Element number Range 0-255
. Word Element
s Sub element
/ Subelement
b Bit
Examples:
T4:0/15 or T4:0/EN Enable Bit
T4:0/14 or T4:0/TT Timer Timing bit
T4:0/13 or T4:0/DN Done bit
T4:0.1 or T4:0.PRE preset value of the timer
T4:0.2 or T4:0.ACC accumulated value of the
timer
T4:0.1/0 bit 0 of the preset value
T4:0.2/0 bit 0 of the preset value
Timer on-Delay (TON)
Used to turn on or off an output after the timer is on
for Preset Interval
As soon as rung condition become true Timer starts
counting
As long as the condition is true timer increments
accumulated value till it reaches preset value.
If rung condition become false, timer reset .
The three timer bits EN,TT,DN can be used as rung
conditions
Timer On-Delay (TON)
EN
TIMER ON DELAY
Timer T4:0
Time base 0.01
Preset 120
DN
Accum 0
Cont.-
Status bits
•Timer Done bit DN(bit 13) is set when the ACC
value is equal to PRE. It is reset when rung
condition become false
•Timer Enable bit EN (bit 14) is set when rung
conditions are true.
•Timer Timing Bit TT (bit 15) is set when rung
condition is true and ACC value is less than PRE
value.
Timer Off-Delay (TOF)
Used to turn on or off after its rung has been
off for a preset time interval.
TOF begins to count time base intervals when
rung makes true to false
It keeps on accumulating till the condition is
false or till it reaches to preset value
As soon as rung condition becomes true
accumulated value is reset regardless of
whether timer has timed out
Timer Off-Delay
EN
TIMER OFF DELAY
Timer T4:0
Time base 0.01
Preset 120
DN
Accum 0
Retentive Timer (RTO)
The RTO is used to turn output on or off after its
timer has been ON for preset time interval.
RTO begins to count time base intervals when rung
conditions become true.
The accumulated value is retained when the rung
condition become false and when rung conditions go
true, timing continues from the retained accumulated
value.
Status bits
Done bit DN (bit 13) is when the accumulated
value is greater than or equal to the preset value. It
is not reset when rung condition become false; it is
reset only when the appropriate RES instruction is
enabled
Timer Timing TT (bit 14) set when rung conditions
are true and accumulated value is less than Preset
value.
Timer Enable EN (bit 15) is set when rung
conditions are true; it is reset when rung conditions
false.
EN
RETENTIVE TIMER ON
Timer T4:0
Time base 0.01
Preset 120
DN
Accum 0
COUNTERS
Similar to Timer instructions have 3 –
word data file elements.
Word 0 CU CD DN OV UN UA