
Reserved Identifiers
107
NetLinx Programming Language Reference Guide
Keywords & Run-Time Library Functions (Cont.)
CLKMGR_SET_RESYNC_
PERIOD
Sets the re-sync period to the specified minute value.
CLKMGR_SET_RESYNC_PERIOD (CONSTANT INTEGER PERIOD)
The upper bound is 480 minutes (i.e., 8 hours).
CLKMGR_SET_START_
DAYLIGHTSAVINGS_RULE
Sets the START Daylight Savings rule to the specified string which must be in
either
the Fixed-Date format or the Occurence-Of-Day format.
CLKMGR_SET_START_DAYLIGHTSAVINGS_RULE (CONSTANT CHAR
RECORD[])
The function returns a negative SLONG value if it encounters an error.
The Fixed-Date rules have the form:
"fixed:DAY,MONTH,HH:MM:SS"
with all fields as numeric except for the word "fixed"
(e.g.: "fixed:21,3,02:00:00" ===> March 21 @ 02:00:00AM).
The Occurrence-Of-Day rules have the form:
"occurence:OCCURENCE,DAY-OF-WEEK,MONTH,HH:MM:SS"
with all fields as numeric except for the word "occurence"
DAY-OF-WEEK translates as:
• 1=Sunday
• 2=Monday
• 3=Tuesday
• 4=Wednsday
• 5=Thursday
• 6=Friday
• 7=Saturday
(e.g.: "occurence:3,1,10,02:00:00" ===> 3rd Sunday in October @
02:00:00AM).
CLKMGR_SET_TIMEZONE
CLKMGR_SET_TIMEZONE (CONSTANT CHAR TIMEZONE[])
Input string must have the correct format:
UTC[+|-]HH:MM
CLOCK
Sets the date and time on the Master. The date and time settings are propa-
gated over the local bus.
'CLOCK <mm-dd-yy> <hh:mm:ss>'
Example:
SEND_COMMAND 0,"'CLOCK 04-12-05 09:45:31'"
COMBINE_CHANNELS
This command connects a single virtual device-channel to one or more chan-
nels on another device (or devices). Any element in a DEVCHAN[ ] set appears
to come from the virtual device-channel representing the group, and output to
the virtual device-channel is directed to all elements in the DEVCHAN[] set.
COMBINE_CHANNELS (DEVCHAN VDC, DEVCHAN[ ] DCSets)
Parameters:
•
VDC
: Virtual device-channel that represents one device-channel combine
group.
•
DCSets
: Device-channel array containing the device-channel pairs to
combine. Each element in each set is combined with the virtual
device-channel.
Summary of Contents for NETLINX PROGRAMMING LANGUAGE
Page 15: ...Table of Contents xiii NetLinx Programming Language Reference Guide...
Page 16: ...xiv NetLinx Programming Language Reference Guide Table of Contents...
Page 18: ...Introduction 2 NetLinx Programming Language Reference Guide...
Page 76: ...Language Elements 60 NetLinx Programming Language Reference Guide...
Page 106: ...Combining Devices Levels and Channels 90 NetLinx Programming Language Reference Guide...
Page 112: ...Master To Master M2M 96 NetLinx Programming Language Reference Guide...
Page 182: ...Reserved Identifiers 166 NetLinx Programming Language Reference Guide...
Page 204: ...NetLinx UniCode Functions 188 NetLinx Programming Language Reference Guide...
Page 244: ...Appendix B Glossary 228 NetLinx Programming Language Reference Guide...
Page 245: ...Appendix B Glossary 229 NetLinx Programming Language Reference Guide...