![FATEK FBs Series Manual Download Page 127](http://html1.mh-extra.com/html/fatek/fbs-series/fbs-series_manual_3764826127.webp)
Basic Function Instruction
6-2
T TIMER T
Symbol
TB: Time Base (0.01S, 0.1S, 1S)
Operand
Tn: Timer Number.
PV: Preset value of the timer.
WX
WY
WM
WS
TMR CTR
HR
IR
OR
SR
ROR DR
K
Range
Ope-
rand
WX0
∣
WX240
WY0
∣
WY240
WM0
∣
WM1896
WS0
∣
WS984
T0
∣
T255
C0
∣
C255
R0
∣
R3839
R3840
∣
R3903
R3904
∣
R3967
R3968
∣
R4167
R5000
∣
R8071
D0
∣
D4095
0
∣
32767
Tn
○
PV
○
○
○
○
○
○
○
○
○
○
○
○
○
●
The total number of timers is 256 (T0
~
T255) with three different time bases, 0.01S, 0.1S and 1S.The
default number and allocation of timers is shown as below (Can be adjusted according to user’s actual
requirements by the “Configuration” function):
T0
~
T49
:
0.01S timer
(
default as 0.00
~
327.67S
)。
T50
~
T199
:
0.1S timer
(
default as 0.0
~
3276.7S
)。
T200
~
T255
:
1S timer
(
default as 0
~
32767S
)。
●
FBs-PLC programming tool will lookup the timer’s time base automatically according to the “Memory
Configuration” after the timer number is keyed in. Timer’s time = Time base x Preset value. In the example
1 below, the time base T0 = 0.01S and the PV value = 1000, therefore the T0 timer’s time = 0.01S x 1000 =
10.00S.
●
If PV is a register, then Timer’s time = Time base x register content. Therefore, you only need to change
the register content to change the timer’s time. Please refer to Example 2.
※
The maximum error of a timer is a time base plus a scan time. In order to reduce the timing error in the
application, please use the timer with a smaller time base.
Description
●
When the time control “EN” is 1, the timer will start timing (the current value will accumulate from 0) until
“Time Up” (i.e. CV
≧
PV), then the Tn contact and TUP (FO0) will change to 1. As long as the timer control
“EN” input is kept as 1, even the CV of Tn has reached or exceeded the PV, the CV of the timer will
continue accumulating (with M1957 = 0) until it reaches the maximum limit (32767). The Tn contact status
and flag will remain as 1 when CV
≧
PV, unless the “EN” input is 0. When “EN” input is 0, the CV of Tn will
be reset to 0 immediately and the Tn contact and “Time Up” flag TUP will also change to 0 (please refer to
the diagram
c
below).
●
If the FB
S
-PLC OS version is higher than V3.0 (inclusive), the M1957 can be set to 1 so the CV will not
accumulate further after “Time Up” and stops at the PV value. The default value of the M1957 is 0,
therefore the status of M1957 can be set before executing any timer instruction in the program to
individually set the timer CV to continue accumulating or stop at the PV after “Time Up” (please refer to the
diagram
d
below).