Panamax VT1512-IP Manual De Instrucciones página 6

Tabla de contenido

Publicidad

Idiomas disponibles

Idiomas disponibles

Instruction Manual - English
VT1512-IP
Details –
Element Description
"eventmgr" required container.
Subscribe "subscribe" to device events. "uri" attribute is formatted as "ctrlsys://IPADDR:PORT", where IPADDR:PORT is the Internet Protocol address
and UDP port number where event messages should be sent. It may be a different IP address than the control system which sent the request.
NOTE: Only one IP address / port event subscription is allowed.
Unsubscribe Action
The Subscribe action is used to unsubscribe to device events.
Sample Action –
<eventmgr>
<unsubscribe uri="ctrlsys://127.0.0.1:12345"/>
</eventmgr>
Details –
Element Description
"eventmgr" required container.
Unsubscribe "unsubscribe" to device events. "uri" attribute is formatted as "ctrlsys://IPADDR:PORT", where IPADDR:PORT is the Internet Protocol address and UDP port number where event
messages have been sent. It may be a different IP address than the control system which sent the request.
Events
By default, the VT1512-IP will not send any event messages. To receive event messages a Subscribe Action must be sent after each device reset, reboot or power up.
See Subscribe Action section for details.
Event messages will be repeated by the device until an acknowledgement message is sent back to the VT1512-IP, or after a timeout period of approximately 20 minutes. The
acknowledgement message must contain the same "evtid" and "subsid" attribute values as the event message.
Sample Acknowledgement Message –
<eventmgr>
<ack evtid="123" subsid="1">
</eventmgr>
Details –
Element Description
"eventmgr" required container.
Acknowledgement "ack" of device event. "evtid" attribute represents device event number, "subsid" attribute represents subscriber number.
Both attributes must contain the same values as the event message.
Outlet State Event
The Outlet State event is posted when an outlet changes from ON to OFF, or vice versa.
Sample Event –
<outlet id="1">1</outlet>
Details –
Element Description
Outlet "outlet" state: 0 = outlet now OFF; 1 = outlet now ON. The "id" attribute indicates which outlet changed state, decimal value 1-12.
L'événement de séquence
The Sequence event is posted when a power on or power off sequence is initiated or completed.
Sample Event –
<seq>2</seq>
Details –
Element Description
"seq" power sequence state: 0 = sequence completed; 1 = sequence ON initiated; 2 = sequence OFF initiated
Power Condition Event
The Power Condition event is posted when device enters or recovers from over-voltage or under-voltage shutdown mode.
Sample Event –
<powercond>3</powercond>
www.panamax.com
10
Details –
Element Description
powercond power condition: 0 = now normal; 1 = now fault recovery; 2 = now under voltage; 3 = now over voltage.
Settings Event
The Settings event is posted when the device's configuration settings change. Information for all settings is transmitted, not just for the individual settings that changed.
Sample Event –
<settings>
... (see Common Attributes section) ...
</settings>
Details –
Element Description
Set device configuration settings. See Common Attributes section for details.
Scheduled Action Fired Event
A Scheduled Action Fired event is posted when the device performs a scheduled operation.
Sample Event –
<schedmgr>
<fire>
<day>127</day>
<min>775</min>
<command><outlet id="7">0</outlet></command>
</fire>
</schedmgr>
Details –
Element Description
schedmgr container identifies event as a scheduled action.
fire container identifies scheduled action as fired.
day the scheduled days of the week to fire the command. See table below for encoding details.
min the scheduled minute of the day (since midnight) to fire the command.
command container identifies the action command. See Action Commands section for details.
The <day> element represents the "daysofweek" value for the days of the week the action command is scheduled to fire. This element is a bit tricky in that the scheduled
days are encoded in a 7-bit binary bitmap that is provided in decimal format. To process the data it must be converted from decimal to binary where each bit represents a
day of the week the action command is scheduled. Bit 0 represents Thursday.
Scheduled day(s) of the week days of week Binary
Thursday 1 0000001
Friday 2 0000010
Saturday 4 0000100
Sunday 8 0001000
Monday 16 0010000
Tuesday 32 0100000
Wednesday 64 1000000
Monday – Friday 115 1110011
Saturday-Sunday 12 0001100
www.panamax.com
11

Publicidad

Tabla de contenido
loading

Tabla de contenido