UM353-1
3.2.99 TH_ - Track & Hold
TH_ function blocks can hold an initial value that will
transfer to the block output O1 on power up and it can be
used to track the TV input when input TC is high (1).
In 1.30 firmware or greater, the HOLD value can be
changed on line, using the pulser, when the TH_.O1 block
output is directly connected to X or Y inputs in an ODC
block. The range and resolution used by the pulser making
on line changes will be determined by the X Range or Y
Range inputs.
INITial VALue
Track Variab le
TV
HOLD value
Track Command
TC
BLOCK DIAGRAM
3.2.100 TOT_ - Totalizer (V2.3)
TOT_ function blocks accept a Boolean input and they
will retain a running total of the input transitions as the
block output as a real value for interconnection to other
blocks in the controller. The running total can be reset
when input R goes high (1). Input R is executed prior to
reading input S on each scan cycle.
Unconfigured inputs will be set to 0. When the
EDGETRIG parameter is set to 1, the total will
increment on each 0 to 1 transition on input S. When
the EDGETRIG parameter is set to 0, the total will
increment on each 1 to 0 transition.
The total will be retained during a WARM & HOT start
and will be initialized to 0.0 on a COLD start.
Input Signal
S
Totalizer
R
Reset
BLOCK DIAGRAM
March 2003
Track Variable
Track Command
I
N
I
N
I
N
Output 1
O1
X03134S0
TOT
I
N
N
I
E
D
G
Total
O1
TRACK & HOLD
ESN = 000
TH_
TV
TRACK & HOLD
TC
V
A
L
I
T
INITial VALue
........................... Real
(S)
U
T
P
T
V
INPUT TV
.......
(H)
loop tag.block tag.output
P
U
T
T
C
INPUT TC
.......
loop tag.block tag.output
(H)
E S N
Exec. Seq. No.
................ 001 to 250
(H)
TOT_
ESN = 000
Input S
S
TOT
O1
Input R
R
P
U
T
S
INPUT S
..........
loop tag.block tag.output
(H)
U
T
P
R
..........
INPUT R
loop tag.block tag.output
(H)
E
T R
I
G
EDGE TRIGGER
......... 0-NO/1-YES
(H)
E S N
Exec. Seq. No.
................ 001 to 250
(H)
Function Blocks
O1
Output 1
(0.0)
(null)
(null)
Output 1
(null)
(null)
1
3-101