Reference functons and tlog functons – Yokogawa DAQWORX User Manual
Page 60

2-30
IM WX103-01E
Reference Functons and TLOG Functons
The functions below are used to retrieve measured values and alarm values. The
functions are not case sensitive. For the format used to specify the level>, and section. Functon Descrpton Example ch ( Returns the current value of the specified ch(00001)/ch(“Tag”) prech ( Returns the previous value of the specified prech(00001)/ alarm ( Returns the alarm value of the specified alarm(00001,2)/ alarm ( Returns the alarm value of the specified alarm(00001)/ alarm() Returns the alarm value of an arbitrary alarm()==1 ? tlogmax ( Returns the maximum value of the TLOG tlogmax(00001)/ tlogmin ( Returns the minimum value of the TLOG tlogmin(00001)/ tlogpp ( Returns the (maximum-minimum) value of the tlogpp(00001)/ tlogsum ( Returns the sum of the TLOG computation tlogsum(00001)/ tlogave ( Returns the average value of the TLOG tlogave(00001)/ ManualDO ( specified ManualDO. ManualDO(1) ManualAO(( arbitrary channel. ManualAO(1) *1 The TLOG computation computes the maximum, minimum, maximum-minimum, sum, and average values of the specified channel.If the TLOG function is present in the equation, the computation is executed. *2 The reference function or TLOG function returns NaN in the following cases. • When the data to be referenced by the CH function or PRECH function does not exist (when disconnected or immediately after starting the monitor operation) • When the specified channel does not exist or when the specified alarm level is not 1 or 2. • When the MX100 returns an INVALID value *3 Select the behavior taken when the value of the measurement channel is ±Over from the following: • Continue the computation as ±Over (behavior when the check box is not selected) • Continue the computation by setting ±Over to the maximum or minimum value of the measurement range of the specified channel (see “Notes on Computation” in this section). The selection is made using the Calculate +Over/-Over as the MAX/MIN value of a range check box. 2.5 Settng Computatons (Settng the Computaton Channels)
channel (see page 2-36)
channel (see page 2-36)
prech(“Tag”)
channel and specified alarm level;
ON=1, OFF=0
alarm(“Tag” 2)
channel, ON=1, OFF=0
alarm(“Tag”)
channel, ON=1, OFF=0
StartRec() : 0
computation of the specified channel
tlogmax(“Tag”)
computation of the specified channel
tlogmin(“Tag”)
TLOG computation of the specified channel
tlogpp(“Tag”)
of the specified channel
tlogsum(“Tag”)
computation of the specified channel
tlogave(“Tag”)