![Panamax VT1512-IP Instruction Manual Download Page 6](http://html1.mh-extra.com/html/panamax/vt1512-ip/vt1512-ip_instruction-manual_3467281006.webp)
6
www.panamax.com
VT1512-IP
Instruction Manual - English
Example 2:
Query Command Message with xid –
<?xml version=”1.0” ?><device class=”vt1512” id=”1065a3050000”>
<command xid=”456”><sendinfo/></command></device>
Response Message with ack –
<?xml version=”1.0” ?><device class=”vt1512” id=”1065a3050000”>
<info>…</info><ack xid=”456”></device>
3. Event Messages
Event messages are sent when a change of device status or settings occurs. The <event> element is used to contain the details of the event. Note that events are not sent in reply to a
query command.
Example Event Message - outlet 3 switched to ON:
<?xml version=”1.0” ?>
<device class=”vt1512” id=”1065a3050000”>
<event time=”1403729752” evtid=”123” subsid=”1”>
<outlet id=”3”>1</outlet>
</event>
</device>
Element Description
dlys required delays container.
dly outlet 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 participate in power sequence group. See above for details.
cy opt-in/opt-out of power cycle group: hexadecimal value represents which outlet participate in power cycle group. See above for details.
Outlet number Outlet group hex code Binary
1 through 12 (i.e., all twelve outlets) fff 1111 1111 1111
1, 3, 6 and 7 (i.e., four outlets) 065 0000 0110 0101
Settings-related messages (i.e., <sendsettings> query, <set> action, and <set> event) contain the same content fragment format:
Details –
Outlet
Hex
Binary
1
001
0000 0000 0001
2
002
0000 0000 0010
3
004
0000 0000 0100
4
008
0000 0000 1000
5
010
0000 0001 0000
6
020
0000 0010 0000
7
040
0000 0100 0000
8
080
0000 1000 0000
9
100
0001 0000 0000
10
200
0010 0000 0000
11
400
0100 0000 0000
12
800
1000 0000 0000