Programming
56
Modero S Series Touch Panels - Configuration & Programming Manual
Button Commands (Cont.)
?BMP Get the current bitmap name.
•Syntax:
"'?BMP-<vt addr range>,<button states range>'"
•Variables:
variable text address range = 1 - 4000.
button states range = 1 - 256 for multi-state buttons (0 = All states, for General buttons 1 = Off state and 2 = On state).
custom event type 1002:
Flag - Zero
Value1 - Button state number
Value2 - Actual length of string
Value3 - Zero
Text - String that represents the bitmap name
Text length - Bitmap name text length (should be 9)
•Example:
SEND COMMAND Panel,"'?BMP-529,1'"
Gets the button 'OFF state' bitmap information.
The result sent to the Master would be:
ButtonGet Id = 529 Type = 1002
Flag = 0
VALUE1 = 1
VALUE2 = 9
VALUE3 = 0
TEXT = Buggs.png
TEXT LENGTH = 9
^BNC Clear current TakeNote annotations.
•Syntax:
"'^BNC-<vt addr range>,<command value>'"
•Variables:
variable text address range = 1 - 4000.
command value = (0= clear, 1= clear all).
•Example:
SEND_COMMAND Panel,"'^BNC-973,0'"
Clears the annotation of the TakeNote button with variable text 973.
^BNN Set the TakeNote network name for the specified Addresses.
•Syntax:
"'^BNN-<vt addr range>,<network name>'"
•Variables:
variable text address range = 1 - 4000.
network name = Use a valid IP Address.
•Example:
SEND_COMMAND Panel,"'^BNN-973,192.168.169.99'"
Sets the TakeNote button network name to 192.168.169.99.
^BNT Set the TakeNote network port for the specified Addresses.
•Syntax:
"'^BNT-<vt addr range>,<network port>'"
•Variables:
variable text address range = 1 - 4000.
network port = 1 - 65535.
•Example:
SEND_COMMAND Panel,"'^BNT-973,5000'"
Sets the TakeNote button network port to 5000.