Yokogawa DAQWORX User Manual

Page 28

Advertising
background image

1-20

IM WX102-01E

Special operators

Type

Operator

Example

Description

Previous
value*

PRE()

PRE(001)

To obtain the previous measured data of channel 001

Hold**

HOLD():

HOLD(001):
TLOG.
SUM(002)

When the measured value of channel 001 changes
from 0 to a nonzero value, maintain the integrated value
of the measured data of channel 002 while the
measured value of channel 001 is nonzero.

Reset**

RESET():

RESET(001):
TLOG.
SUM(002)

When the channel 001 = nonzero, reset the integrated
value of the measured data of channel 002

* Previously measured data or computed data. For computed data, the value is set to 0 when the

computation is reset. At the start of the computation, if the computation was reset, the value is
0. If it was not reset, the value is the last value of the previous computation. The value that can
be specified inside the() is limited to the input channel number (001 to 060) or the computation
channel number (A01 to A60). Each computing equation can be used once.

** When specifying HOLD(A):B or RESET(A):B, A and B are channel numbers or computing

equations. These can be used once in the beginning of the computing equation.

Math for PULSE input module

The operator is TLOG.PSUM(XXX) where XXX is the channel number. If your DA100
does not have the optional Math function (/M1 option), TLOG.PSUM(XXX) is the only
operator available.

When the Range is set to “RATE” (momentary pulse count mode) the count number is
integrated. When the Range is set to Gate (contact ON/OFF detection mode) the ON
time is integrated. Because both values are integrated values of the measurement made

every 1 s, the same value is held for a duration of 1 s when the measurement interval is

set to 0.5 s.

The maximum count number or ON time is set with SPAN. The highest value that can be

set for the maximum value is 99999999. The integration interval is set to relative time or
absolute time by setting the event to timer in the event/action function. Also, action is set
to timer reset.

Integration interval

Contact state

ON

OFF

0

ON

Time

You can select whether to treat a result of the computational expression TLOG.

PSUM (XXX) exceeding 99999999 as an overflow or to continue computing with the

value following 99999999 reset to 0. Computing results from a separate calculation

of TLOG.PSUM (XXX). If you set the computational expression as TLOG.PSUM

(XXX)*K01(K01=100), the above action there are no changes even if the result of the

calculation TLOG.PSUM (XXX)*K01 exceeds 99999999. If you choose to continue

computing even if the result exceeds 99999999, the value subsequent to 99999999 is

reset to 0.

For example, if the measured value is 4 after the computed result becomes 99999999, it

is counted 0 > 1 > 2 > 3 and becomes 3, not reset to 0.

1.5 DA100 Functions

Advertising
This manual is related to the following products: