Specifications
111
CREATING MACROS • MATHEMATICAL STATEMENTS
TECHNICAL SUPPORT 978-486-0086 • support@burk.com • www.burk.com
MONTH
Returns the decimal equivalent of the current month (1-12).
Macro Line Example Description
IF MONTH=4 Then [CR] Compares the current month of this I/O unit to 4 (April)
DAY
Returns the decimal equivalent of the Day of the Month (1-31).
Macro Line Example Description
IF DAY<16 Then [CR] Executes statement if it is the first half of the month
DAY OF WEEK
Returns the numeric equivalent of the Day of the Week starting
with Sunday (0-6)
Macro Line Example Description
IF DAYOFWEEK=0 [CR] Executes statement only on Sunday
HOUR
Returns the current hour of this I/O unit based on a 24-hour clock
Macro Line Example Description
While HOUR=0 [CR] Executes following command statements continuously
during first HOUR of each day
MINUTE
Returns the current minute (0-59)
Macro Line Example Description
While MINUTE=30 [CR] Executes following command statements continuously
during 30th MINUTE of an hour
SECOND
Returns the current second (0-59)
Macro Line Example Description
IF SECOND=45 THEN [CR] Executes statement if SECOND equals 45










