S
SQ
QR
R –
SQUARE ROOT
Returns the square root of X.
Y
YE
EA
AR
R
Returns the four-digit year in the current I/O unit.
M
MO
ON
NT
TH
H
Returns the decimal equivalent of the current month (1-12).
D
DA
AY
Y
Returns the decimal equivalent of the Day of the Month (1-31).
D
DA
AY
YO
OFFW
WE
EE
EK
K
Returns the decimal equivalent of the Day of the Week starting with Sunday (1-7).
H
HO
OU
UR
R
Returns the current hour of this I/O unit based on a 24-hour clock.
M
MIIN
NU
UT
TE
E
Returns the current minute (0-59)
S
SE
EC
CO
ON
ND
D
Returns the current second (0-59).
CHAPTER 10: MACROS
105
CUSTOMER SUPPORT: 978-486-3711 • support@burk.com • www.burk.com
WHILE HOUR=0 [CR]
Executes following command statements
continuously during the first HOUR of each
day.
WHILE MINUTE=30 [CR]
Executes following command statements
continuously during the 30th MINUTE of an
hour.
METER(10)=SQR(METER(3)) [CR]
Metering channel 10 is now equal to the
SQUARE ROOT of metering channel 3.
IF YEAR<2003 THEN [CR]
Compares the four-digit year of this I/O unit
to 2003.
IF MONTH=4 THEN [CR]
Compares the current month of this I/O unit
to 4 (April).
IF DAY<16 THEN [CR]
Executes the statement if it is before the 16th
day of the month.
IF DAYOFWEEK=1 THEN [CR]
Executes statement only on Sunday.
IF SECOND=45 THEN [CR]
Executes statement if SECOND equals 45
Summary of Contents for GSC3000
Page 8: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL viii ...
Page 22: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 14 ...
Page 32: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 24 ...
Page 40: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 32 ...
Page 52: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 44 ...
Page 68: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 60 ...
Page 120: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 112 ...
Page 128: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 120 ...
Page 132: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 124 ...
Page 140: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 132 ...
Page 144: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 136 ...