Programming
96
Modero G4 Touch Panels - Configuration & Programming Manual
HPX-MSP-7/10 Send Commands
HPX-MSP-7/10 panels support existing G4 Send Commands. Additionally, there is a new Send Command that queries the position
(Raised or Lowered) of the touch panel:
Custom Events
Bluetooth Headsets
The following are custom events for Bluetooth handset functionality:
HPX-MSP-7/10 Send Commands
?POS
Panel Position Query - Requests the current position of the panel.
Syntax
:
"'?POS-<optional id>'"
Variables
:
<id>: The “id” parameter is optional and can be used to provide a unique identifier for the message that will be
echoed back by the custom event.
A custom event will report the position of the panel. This event will be sent either in reply to the “?POS” query or
unsolicited to report a status change. It is also sent when the panel first comes online to report initial status.
CUSTOM.TYPE = EVENTID = 1601
CUSTOM.ID = id (from query) echoed back, or 0 if undefined or unsolicited
CUSTOM.FLAG = Unsolicited (0|1)
CUSTOM.VALUE1 = 1=Raised; 2=Lowered (i.e. not raised)
CUSTOM.VALUE2 = N/A (Reported as 0)
CUSTOM.VALUE3 = N/A (Reported as 0)
CUSTOM.TEXT = “Raised” or “Lowered”
The
ID
field reports the message ID. If the custom event is being sent unsolicited, it will always be 0. If the custom
event is being sent in response to a query, the “id” field of the query will be echoed back. If no “id” was specified in
the query, the “ID” will be reported as 0.
ID
Description
0
The Custom Event is being sent as an unsolicited message either to report initial state (after an Online) or
to report a position state change, OR no “id” was specified in the ?POS query, OR an “id” of 0 was
specified in the ?POS query (not recommended).
>0
The Custom Event is being sent in response to a query, and this field contains the value that was passed
as a parameter in the ?POS query.
The
Flag
field reports whether the custom event is being sent as an unsolicited message, or is being sent in response
to a query.
Flag
Description
0
This custom event is NOT unsolicited, meaning it is being sent in response to a query.
1
This custom event is being sent Unsolicited either to report initial status (after an online) or to report a
position status change.
Value1
(State Value) and
Text
(State String) Values:
Value1 Text
1
RAISED - Panel is raised to its highest position
2
LOWERED - Panel is not raised to its highest position (it is considered lowered, but since there is only a
single switch, we cannot determine whether it is fully lowered or simply somewhere in between lowered
and fully raised).
Custom Events for Bluetooth Handsets
AMX Bluetooth
Handset Custom
Event
Sent to indicate pushes/events on the AMX Bluetooth Headset (MXA-HST).
CUSTOM.TYPE = EVENTID = 790
CUSTOM.ID = ADDRESS = 0
CUSTOM.FLAG = Accept(1), Reject/Hangup(2), Redial(4)
CUSTOM.VALUE1 = 0
CUSTOM.VALUE2 = 0
CUSTOM.VALUE3 = 0
CUSTOM.TEXT = blank