App index, Si sets rolling average on a computation channel, Sj sets a tlog timer – Yokogawa Button Operated MV2000 User Manual
Page 92: Tx sets the ancillary operation of the start key, Fr sets the fifo buffer acquisition interval
4-19
Commands
M-4662
1
2
3
4
5
6
7
App
Index
SI
Sets rolling average on a
computation channel
Syntax
SI p1,p2,p3,p4
p1
Computation channel number
p2
Moving average ON/OFF
p3
Sampling interval (1S, 2S, 3S, 4S, 5S, 6S,
10S, 12S, 15S, 20S, 30S, 1MIN, 2MIN,
3MIN, 4MIN, 5MIN, 6MIN, 10MIN, 12MIN,
15MIN, 20MIN, 30MIN, 1H)
p4
Number of samples (1 to 1500)
Query
SI[ p1]?
Example
Set the computation channel 107 rolling average
to ON, the sampling interval to 1 minute, and the
number of samples to 20.
SI107,ON,1MIN,20
Description • You can execute this command on models
with the /M1 math option.
• If p2 is set to OFF, do not specify p3 or p4.
• Set the sampling interval greater than or equal
to the scan interval.
SJ
Sets a TLOG timer
Syntax
SJ p1,p2,p3,p4,p5
p1
Computation channel number
p2
Timer (1 to 4)
p3
Conversion of the time unit for TLOG.SUM
computation
OFF
No conversion.
/S
Convert as though the physical
values are integrated in units of
seconds.
/MIN
Convert as though the physical
values are integrated in units of
minutes.
/H
Convert as though the physical
values are integrated in units of
hours.
p4
Reset ON/OFF
p5
Timer type
TIMER
MATCHTIMETIMER
Query
SJ[ p1]?
Example
Set timer 1 to computation channel number 110.
Do not convert the unit time and enable the reset
function.
SJ110,1,OFF,ON
Description • You can execute this command on models
with the /M1 math option.
• Set parameter p1 according to the table in
section 4.3.
• You cannot execute this command while the
MV is computing.
• About p3
Because the sampled data is integrated
over each scan interval, the physical value
integrated over a given period may be different
from the actual integrated value. This occurs
if the given period is not equal to the scan
interval. In such case, set p3 to the same unit
as that of the physical value being measured.
The integrated value is found according to the
following converting equations that depend on
the parameter.
OFF
→ (measured value)
/S
→ (measured value) × scan interval
/MIN
→ (measured value) × scan
interval/60
/HOUR → (measured value) × scan
interval/3600
The scan interval unit is seconds.
TX
Sets the ancillary operation of
the start key
Syntax
TX p1
p1
Computation operation (OFF, START,
RESET+START)
Query
TX?
Example
Configure the MV so that the start key also starts
computation.
TXSTART
FR
Sets the FIFO buffer acquisition
interval
Syntax
FR p1
p1
1 (fixed)
p1
FIFO acquisition interval (25MS, 125MS,
250MS, 500MS, 1S, 2S, 5S)
Query
FR?
Example
Set the FIFO acquisition interval to 1 s.
FR1,1S
Description • Set the acquisition interval to a value greater
than the scan interval.
• If you set the scan interval to a value greater
than the acquisition interval with the XV
command or from the screen, the acquisition
interval is automatically set equal to the scan
interval.
• The MV has a circular FIFO (First In First Out)
buffer. The MV acquires measured/computed
values to the internal memory at given time
intervals after the power is turned ON and
transmits the data when a FF command is
received. The previous output position is
held for each connection. Upon receiving
an FF command, the MV transmits the next
data and updates the output position. This
scheme compensates for the differences in
the processing power of the measurement PC
and the communication delay. This enables
data to be retrieved without dropouts if the
measurement PC reads the data before the
ring buffer is overwritten. For the output flow
diagram of FIFO data, see appendix 5.
4.4 Setting Commands (Setting)