METERING MACROS
Macros can be used to modify all parameters pertaining to the metering input channels, including the A/D
values, calibration constants, and upper and lower alarm limits. They can enable/disable each channel’s input and
retrieve the current floating point value of any meter channel.
This ability is useful for long-term functions such as when a transmitter changes its power output. A macro can
make the power change and also change the upper and lower limits.
When making these changes, it is suggested that the meter channel being modified use the previously described
MUTEMETER command as one of its first lines of code. Also, remember to use the UNMUTEMETER command
when finishing the macro.
METER
The METER command allows a macro to retrieve the floating point value of a particular meter channel. A
metering channel can be set to the same value as another metering channel or to a set value. For these values
to remain unchanged, the meter channel must stop collecting new data by the use of the METEROFF command
explained later.
The METER statement must be immediately followed by parentheses with the channel number inside.
E
Exxa
am
mp
plle
e 1
1
E
Exxa
am
mp
plle
e 2
2
METERAD
After receiving the analog input voltage on a meter input, it is converted to a digital integer value. This value is
called the A/D (A to D) value. A macro can read or modify that value. The A/D hardware has 4096 “bins” (0-
4095) that it fills up in proportion to the maximum input value (typ10VDC) and the actual input value.
If the input range was set to 0VDC to +10VDC and the actual input value was +5VDC, then the A/D value
would be 2047 ((4096÷2)-1).
The METERAD statement is immediately followed by the channel number inside of parentheses.
E
Exxa
am
mp
plle
e 1
1
E
Exxa
am
mp
plle
e 2
2
GSC3000 & VRC2500 INSTALLATION & OPERATION MANUAL
CHAPTER 10: MACROS
106
METERAD(5)=390 [CR]
Sets the A/D value of metering channel 5 to 390.
METERAD(3)=METERAD(13) [CR]
Sets the A/D value of metering channel 3 on this
unit to the same value as metering channel 13
METER(5)=METER(9) [CR]
Metering channel 5 of this unit is now
equal to metering channel 9.
WHILE METER(12)<100 [CR]
As long as metering channel 12 is less than
100, the WHILE loop will cycle.
Содержание GSC3000
Страница 8: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL viii ...
Страница 22: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 14 ...
Страница 32: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 24 ...
Страница 40: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 32 ...
Страница 52: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 44 ...
Страница 61: ...CHAPTER 6 MODEM SITE EQUIPMENT CONNECTIONS 53 CUSTOMER SUPPORT 978 486 3711 support burk com www burk com ...
Страница 68: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 60 ...
Страница 120: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 112 ...
Страница 128: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 120 ...
Страница 132: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 124 ...
Страница 140: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 132 ...
Страница 144: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 136 ...