Programming
115
Modero G4 Touch Panels - Configuration and Programming
LED Commands
For Modero X/S Series G4 touch panels with LED displays, the following command controls the LED behavior and
output:
Custom Events
Bluetooth Headsets
The following are custom events for Bluetooth handset functionality:
Dynamic Images
LED Commands
^WLD
Controls the LED behavior.
Syntax:
^WLD-<LED Num>,<Action>
Variables:
<LED Num> indicates the channel code or ID number (0-RED, 2-GREEN)
<Action> indicates the expected behavior of the LED:
0-LED OFF - Turns LED Off
1-LED ON - Turns LED On
Note: Setting a particular LED color is not mutually exclusive. Both GREEN and RED may be on at the
same time.
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
Note: AMX Bluetooth Handset Custom Events only apply to Modero X/S Series G4
panels equipped with Bluetooth functionality (excluding all "No Comm" panels).
Custom Events for Dynamic Images
Resource Load Notification
custom event
Received when a resource for which notification is enabled is loaded.
CUSTOM.TYPE = EVENTID = 1400
CUSTOM.ID = 0
CUSTOM.FLAG = 0
CUSTOM.VALUE1 = 0
CUSTOM.VALUE2 = 0
CUSTOM.VALUE3 = 0
CUSTOM.TEXT = String containing the resource name
Example:
BUTTON_EVENT[Panel,1]
{
PUSH:
{
SEND_COMMAND Panel, '^RFRP-Sports_Image,once';
// refresh the resource name 'Sports_Image'
}
}
CUSTOM_EVENT[Panel,0,1400]
{
SEND_STRING 0,"'*** Dynamic Image loaded. Resource=',CUSTOM.TEXT,'
***'"
// resulting string for Sports_Image would be '*** Dynamic Image
loaded. Resource=Sports_Image ***'
}