Programming
104
MVP-5200i Modero® ViewPoint® Touch Panel with Intercom - Instruction Manual
Button Commands (Cont.)
^IRM
Set the IR channel - Pulse the given IR channel for onTime in tenths of seconds. Delay offTime in tenths of a second before the
next IR pulse is allowed. ^IRM allows the command itself to specify the port number. ^IRM is needed because commands
programmed on the panel itself can only be sent to a single port number. (currently this is defined as 1 only).
Note:
The port number of the IR will be the port number assigned in TPD4.
Syntax:
"'^IRM-<port>,<channel>,<onTime>,<offTime>'"
Variable:
port = User-defined port on the device (panel).
channel = 1 - 255 (channel to pulse).
onTime = 1/10th of a second.
offTime = 1/10th of a second.
Example:
SEND_COMMAND Panel,"'^IRM-10,5, 20, 10'"
Sets the port 10 IR channel 5 on time to 1 second and off time to 2 seconds.
^JSB
Set bitmap/picture alignment using a numeric keypad layout for those buttons with a defined address range. The alignment of
0 is followed by ',<left>,<top>'. The left and top coordinates are relative to the upper left corner of the button.
Syntax:
"'^JSB-<vt addr range>,<button states range>,<new text alignment>'"
Variable:
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).
new text alignment = Value of 1- 9 corresponds to the following locations:
Example:
SEND_COMMAND Panel,"'^JSB-500.504&510.515,1&2,1'"
Sets the off/on state picture alignment to upper left corner for those buttons with variable text ranges of 500-504 &
510-515.
?JSB
Get the current bitmap justification.
Syntax:
"'?JSB-<vt addr range>,<button states range>'"
Variable:
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
1005:
Flag - Zero
Value1 - Button state number
Value2 - 1 - 9 justify
Value3 - Zero
Text - Blank
Text length - Zero
Example:
SEND COMMAND Panel,"'?JSB-529,1'"
Gets the button 'OFF state' bitmap justification information.
The result sent to the Master would be:
ButtonGet Id = 529 Type = 1005
Flag = 0
VALUE1 = 1
VALUE2 = 5
VALUE3 = 0
TEXT =
TEXT LENGTH = 0
1
4
7
8
9
6
3
2
5
0
Zero can be used for an absolute position