Panamax VT4315-PRO Instructions - Page 11

Common Attributes - what does help with

Page 11 highlights

Common Attributes Some message elements will include a timestamp attribute "time". The timestamp is in standard UNIX time, up to 10 decimal digit characters and represents the number of seconds that have passed since January 1st 1970 GMT. Some message elements involve a group of outlets. Outlet group values are given as hexadecimal digits, representing which outlets participate in the group. A group value is encoded in a 8-bit binary bitmap, using the hexadecimal digits. To process the data it must be converted from hexadecimal to binary, where each bit represents an outlet participating in the group. Bit 0 represents outlet #1. The following table should help clarify. Outlet number Outlet group hex code Binary 1 1 00000001 2 2 00000010 3 4 00000100 4 8 00001000 5 10 00010000 6 20 00100000 7 40 01000000 8 80 10000000 1 through 8 (i.e., all eight outlets) ff 11111111 1, 3, 6 and 7 (i.e., four outlets) 65 01100101 Settings-related messages (i.e., query, action, and event) contain the same content fragment format: ff f3 Details - Element Description dlys required delays container. dly outlet bank delays - attributes represent: "id" = outlet number, "sf" = power sequence off delay, "so" = power sequence on delay, "cy" = power cycle delay. All delays values are in seconds, 255 seconds maximum. grps required groups container. sq opt-in/opt-out of sequence group: hexadecimal value represents which outlet banks participate in power sequence group. See above for details. cy opt-in/opt-out of power cycle group: hexadecimal value represents which outlet banks participate in power cycle group. See above for details. 9

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20

Element Description
dlys
required delays container.
dly
outlet bank delays - attributes represent: “id” = outlet number, “sf” = power sequence off delay, “so” = power sequence on delay,
“cy” = power cycle delay. All delays values are in seconds, 255 seconds maximum.
grps
required groups container.
sq
opt-in/opt-out of sequence group: hexadecimal value represents which outlet banks participate in power sequence group. See above for details.
cy
opt-in/opt-out of power cycle group: hexadecimal value represents which outlet banks participate in power cycle group. See above for details.
9
Outlet number
Outlet group hex code
Binary
1
1
00000001
2
2
00000010
3
4
00000100
4
8
00001000
5
10
00010000
6
20
00100000
7
40
01000000
8
80
10000000
1 through 8 (i.e., all eight outlets)
ff
11111111
1, 3, 6 and 7 (i.e., four outlets)
65
01100101
Settings-related messages (i.e., <sendsettings> query, <set> action, and <set> event) contain the same content fragment format:
Details -
Common Attributes
Some message elements will include a timestamp attribute “time”. The timestamp is in standard UNIX time, up to 10 decimal digit characters and represents the number
of seconds that have passed since January 1st 1970 GMT.
Some message elements involve a group of outlets. Outlet group values are given as hexadecimal digits, representing which outlets participate in the group. A group
value is encoded in a 8-bit binary bitmap, using the hexadecimal digits. To process the data it must be converted from hexadecimal to binary, where each bit represents
an outlet participating in the group. Bit 0 represents outlet #1. The following table should help clarify.
<dlys>
<dly id=”1” sf=”8” so=”1” cy=”10”/>
<dly id=”2” sf=”7” so=”2” cy=”10”/>
<dly id=”3” sf=”6” so=”3” cy=”5”/>
<dly id=”4” sf=”5” so=”4” cy=”10”/>
<dly id=”5” sf=”4” so=”5” cy=”10”/>
<dly id=”6” sf=”3” so=”6” cy=”10”/>
<dly id=”7” sf=”2” so=”7” cy=”15”/>
<dly id=”8” sf=”1” so=”8” cy=”10”/>
</dlys>
<grps>
<sq>ff</sq>
<cy>f3</cy>
</grps>