REMLOC
The REMLOC statement allows the I/O unit to return a value to indicate if it is in a REMOTE or LOCAL state.
This equates to the front panel push button on each I/O unit that causes the REMOTE/LOCAL LED to illuminate
solid or flash RED when pressed. It does not matter which I/O unit caused the change of state as each I/O unit
on the site’s network returns the same value.
E
Exxa
am
mp
plle
e
Status
The status statement returns the high or low state of the desired status channel. Enter the word “STATUS”
followed immediately by the channel number inside of parentheses.
E
Exxa
am
mp
plle
e
MATHEMATICAL STATEMENTS
The macro program has a wide range of mathematical statements that may be used to achieve your desired
outcome. Each statement will use standard notation with parentheses being used to define a computational
hierarchy. Some standard trigonometric operators may be used as well.
Numerical results of mathematical computations are not always exact. For example, 4 would not come back as 2.
It would come back as 1.9999 or 2.0001. Take this into consideration when using mathematical statements in
any macro.
A list of supported mathematical statements is available in the macro source code.
>> GREATER THAN
<<
LESS THAN
GSC3000 & VRC2500 INSTALLATION & OPERATION MANUAL
CHAPTER 10: MACROS
102
IF REMLOC=1 THEN [CR]
END [CR]
ELSE [CR]
MACRO ME, 2, 4
ENDIF
Check REMOTE/LOCAL state. If in local
mode, end macro.
If not in local mode, run Macro #4 on
unit 2.
End Statement.
IF STATUS(3)=LOW THEN [CR]
If status channel 3 is low, then the
instruction continues
IF METER(3)>50 THEN [CR]
END [CR]
ELSE [CR]
COMMAND ME, ME, 1A [CR]
ENDIF [CR]
Compares metering channel 3 of this unit to the
value of 50. If metering channel 3 is GREATER
THAN 50, the macro ends. If metering channel 3
is NOT GREATER THAN 50 then issue command
1A on this unit.
IF METER(3)<50 THEN [CR]
END [CR]
ELSE [CR]
COMMAND ME, ME, 1A [CR]
ENDIF [CR]
Compares metering channel 3 of this unit to the
value of 50. If metering channel 3 is LESS THAN
50, the macro ends. If metering channel 3 is NOT
LESS THAN 50 then issue command 1A on this
unit.
Содержание 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 ...