Programming
48
Metreau Keypads Instruction Manual
SEND_COMMANDs (Cont.)
Command
Description
?EXPANSION
Allows NetLinx code to query the keypad to determine whether any expansion keypads are attached to it.
Syntax:
?EXPANSION
Example:
SEND_COMMAND DEVICE_1,"'?EXPANSION'"
Response Syntax:
"Expansion-<index>,<count>,<port>,<type>,<description>"
Variables:
Index - response index, starting with 1
Count - total number of response strings (i.e. max # of expansion keypads allowed, currently 2)
Port - Port associated with the expansion keypad
Type - Expansion keypad type (either MET-7X or MET-13X)
Description - Product description
Example Response Strings when a single expansion keypad is present:
"Expansion.Device-1,2,2,MET-7X,Metreau 7-Button Expansion Keypad"
"Expansion.Device-2,2,3,NONE,NONE"
LED-DIS
Disable LEDs on the keypad.
Syntax:
LED-DIS
Example:
SEND_COMMAND DEVICE_1,"'LED-DIS'"
Disables LEDs on DEVICE_1.
NOTE:
This parameter does not get stored in non-volatile memory. LEDs are enabled by default at
each power-up.
LED-EN
Enable LEDs on the keypad. LEDs are enabled by default.
Syntax:
LED-EN
Example:
SEND_COMMAND DEVICE_1,"'LED-EN'"
Enables LEDs on DEVICE_1.
REBOOT
Reboot the keypad.
Syntax:
REBOOT
Example:
SEND_COMMAND DEVICE_1,"'REBOOT'"
Reboots DEVICE_1.
SET_NDX_DESC
Set Friendly name and location for NDP.
Syntax:
SET_NDX_DESC-friendly name:location
Max of 25 characters for
friendly name
and max of 25 characters for
location
. If more than 25 characters
are sent for either friendly name or location, they will be truncated to a max of 25 characters.
Neither the friendly name nor the location should contain a “:” character, as that character is used as a
delimiter.
NOTE:
This command requires a reboot to enable new settings.