Calendar objects, Calendar object registers, A series – GE Industrial Solutions A Series Lighting Control Panelboards Modbus Register Map User Manual
Page 42

A Series
®
Lighting Controller Modbus Register Map
Calendar Objects
36
Calendar Objects
Lighting controller contains two calendar objects. A
BACNet Calendar object is a list of selected dates. Each
date has the format year/month/day/day of week. The
first date on the list starts at register address 10004. If the
current date in the device object matches an entry in the
date list of the Calendar object, then the present value is
On; otherwise it is Off. A calendar object can
accommodate 90 dates over a 10-year span. Each date
entry uses two registers. Table 67 shows the list of calendar
and associated registers.
Calendar (CAL) Object – (Registers 10001 – 10366)
Register
SCH Object
Type
10001 – 10183
CAL1
RW
10184 – 10366
CAL2
RW
Table 67. Calendar (CAL) Object Registers
Calendar Object Registers
The calendar object registers are listed in Table 68. Most
of the properties can be accessed with Functions 3, 6, and
16. Dates are encoded as follows:
Month = 1–12 (January = 1)
Year = 0–255 (1900–2155)
Register Hi = Year
Register Lo = Month
Day = 1–31
Day of Week = 1–7 (Monday–Sunday)
Register Hi = Day
Register Lo = Day of Week
To add a new entry, read the Date List Count and
calculate the next empty slot. For instance, to add Monday
May 3, 2004:
The current Date List Count = 3
The next empty slot (Start register of the entry) =
(3
x
2) + 10004
Write to Reg10010–Reg10011 = 0x01030568: Monday
May 3, 2004
To delete an entry, write FF to the year, month, day, and
day of week. For instance: to delete Monday May 3, 2004:
Write to Reg10010–Reg10011 = 0xFFFFFFFF
Note that due to entry reshuffle after a delete, you can
only delete one entry by writing to two registers at a time.
You can’t delete an entry and modify another at the same
time.
Sample Packets
The following are examples of function requests to
calendar object registers.
Read Calendar Properties OutOfService
Table 69 is an example of a read of CAL properties:
OutOfService, Value, Date List Count, first and second
entries of the date list: Reg10001–Reg10007 (Function 3,
CAL 1 in map).
The response is as follows:
Reg10001 (OutOfService) 0x0000: FALSE,
Reg10002 (Value) 0x0000: OFF
Reg10003 (Date List Count) 0x0003: 3 date entries
Reg10004–Reg10005 first entry: 0x050D0268, Friday,
Feb 13, 2004
Reg10006–Reg10007 second entry: 0x010F0368, Monday,
Mar 15, 2004
Offset
Modbus Reg.
DB size
Property
Format
Range (Hex)
Type
0
10001
Bit
OutOfService
On/Off
0–1
RW
1
10002
Byte
Value
On/Off
0–1
RW
2
10003
Word
Date List Count
0–90
R
Date List
3
10004
Day of Week/Day
Int
0x0101–0xFFFF
RW
4
10005
Month/Year
Int
0x0101–0xFFFF
RW
5
10006 –10183 = 89
dates with 2 reg.
per date
Total of 183 per
CAL
Table 68. Address space for calendar object registers.