Programming - Send Commands
95
Modero G5 Touch Panels - Configuration and Programming
ISO-8859-1 Character Encoding/Decoding table
Query Bitmap Justification Command table
Button State Commands (Cont.)
^UTF
Set State Text Command using UTF-8 (replaces the ^TXT and ^UNI commands)
Assign a text string encoded with UTF-8 (which is ASCII-compatible) to those buttons with a defined address
range. Note that this command replaces the legacy ^TXT command and the legacy ^UNI command, but text
must be encoded with UTF-8. While UTF-8 is ASCII compatible, extended ASCII characters in the range 128-
255 will be encoded differently based on UTF-8. This command also supports Unicode characters using UTF-
8 (which is the encoding method used in >80% of web servers), making the old AMX Hex quad Unicode
encoding obsolete (though the ^UNI command is still supported for backwards compatibility).
Syntax:
"'^UTF-<vt addr range>,<button states range>,<new text>'"
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 = new text as ASCII characters.
Example:
SEND_COMMAND Panel,"'^UTF-500.504&510.515,1&2, ASCII ExtendedASCII
Çüéâäàåç
Unicode
動き始めました
'"
Sets the On and Off state text for buttons with the variable text ranges of 500-504 & 510-515.
ISO-8859-1 Character Encoding/Decoding
Character
value
(decimal)
Character
value
(hex)
^TXT and ^UTF
interchangeable
?TXT Response Flag
in Backwards
Compatibility Mode
(^ENC-1 was sent)
?TXT Response Flag
in default (UTF-8) Mode
ASCII
0-127
0x00-0x7F
Yes
0 (Latin-1)
2 (UTF-8)
Latin-1
(Windows-1252
remap range)
128-159
0x80-0x9F
No
1 (Hex-quad)
2 (UTF-8)
Latin-1
160-255
0xA0-0xFF
No
0 (Latin-1)
2 (UTF-8)
Unicode
>255
>0xFF
No
1 (Hex-quad)
2 (UTF-8)
Button State Number Justification Value
Justification
Value
Justification
Value
Absolute
0
Absolute
Absolute,x-offset,y-offset
TopLeft
1
TopLeft
top-left
TopCenter
2
TopCenter
top-center
TopRight
3
TopRight
top-right
MiddleLeft
4
MiddleLeft
middle-left
MiddleCenter
5
MiddleCenter
middle-center
MiddleRight
6
MiddleRight
middle-right
BottomLeft
7
BottomLeft
bottom-left
BottomCenter
8
BottomCenter
bottom-center
BottomRight
9
BottomRight
bottom-right
Scale
10
Scale
scale-to-fit
Summary of Contents for Modero G5
Page 58: ...Settings Menu 48 Modero G5 Touch Panels Configuration and Programming ...
Page 62: ...Gestures 52 Modero G5 Touch Panels Configuration and Programming ...
Page 66: ...MXA MP and MXA MPL Programming 56 Modero G5 Touch Panels Configuration and Programming ...
Page 138: ...Appendix B Bargraph Functions 128 Modero G5 Touch Panels Configuration and Programming ...