MUTESTATEMETER/MUTESTATESTATUS
These commands check to see if the input channel selected is in a muted state. They do nothing to modify the
state. When the channel is muted it will return a value of 1. When the channel is un-muted, it will return a value
of 0.
To find out what the state of an input channel is, begin the macro line with the words “MUTESTATEMETER” or
“MUTESTATESTATUS” followed by the channel number in parentheses.
E
Exxa
am
mp
plle
e
Variables
There are two types of variables available for use in a macro. The first type is a LOCAL variable. This type of
variable is usable only in the currently running macro. Any results saved or equated to a variable inside of a
particular macro will be deleted or lost as soon as that macro is finished. There may be up to 32 local variables.
Local variable names may be from 1 up to 64 characters in length and must start with an alphabetic character.
Local variables cannot use reserved names that are on the source code list.
The second type of variable is a GLOBAL variable. This type of variable can be used by multiple macros on the
same I/O unit and is not lost unless power to an I/O unit is lost. Global variables must start with the letter “G”
followed by the variable number in parentheses. There are eight variable names available for global variables
(G(1) to G(8)).
E
Exxa
am
mp
plle
e 1
1
E
Exxa
am
mp
plle
e 2
2
Note: A global variable, changed on one macro, will cause a change to the corresponding global variable in all macros
on that unit. The global variable on one unit will not affect the global variables on other units in the network.
Constants
There are constants that cannot have any other value. These constants may be used in any macro or
combination and may have other variable’s values set to theirs.
HIGH
= 1
LOW = 0
ON = 1
OFF = 0
CHAPTER 10: MACROS
101
CUSTOMER SUPPORT: 978-486-3711 • [email protected] • www.burk.com
G(1)=STATUS(9) [CR]
Sets Global Variable 1 to 0 if status
channel 9 on this unit is LOW, and to 1 if
it is HIGH.
POWER=METER(3)/METER(9) [CR]
Sets the variable POWER equal to this
unit’s metering channel 3 divided by the
unit’s metering channel 9
WHILE MUTESTATUSMETER(5)=1
While status channel 5 on this unit is
muted, execute the WHILE statement
Содержание 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 ...