Clkmgr_Set_Resync_Period; Clkmgr_Set_Start_Daylightsavings_Rule; Clkmgr_Set_Timezone; Clock - AMX NETLINX PROGRAMMING LANGUAGE Manual

Programming language
Table of Contents

Advertisement

Keywords & Run-Time Library Functions (Cont.)
CLKMGR_SET_RESYNC_
PERIOD
CLKMGR_SET_START_
DAYLIGHTSAVINGS_RULE

CLKMGR_SET_TIMEZONE

CLOCK

COMBINE_CHANNELS

NetLinx Programming Language Reference Guide
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).
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 (CONSTANT CHAR TIMEZONE[])
Input string must have the correct format:
UTC[+|-]HH:MM
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'"
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.
Reserved Identifiers
107

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netlinx studio 2

Table of Contents