Wake, Swk ^txt ^uni wake – AMX Mio Modero Device Family User Manual

Page 25

Advertising
background image

Programming The Mio Modero

21

Mio Modero Device Family

SEND_COMMANDs (Cont.)

@SWK

Sends a string to the master upon wake up.
Syntax:

"'@SWK-<new text>'"

Variable:
• new text = 1 - 20 ASCII characters. Default string is WAKEUP.
Example:

SEND_COMMAND Panel,"'@SWK-Wake KeyPad"

Sends the string " Wake KeyPad " to the master at time of wake up.

^TXT-

(LCD equipped only)

Assign a text string to those LCD buttons with a defined address range. Sets non
unicode text.
Syntax:

"'^TXT-<variable text address range>,<new text>'"

Variables:
• variable text address range = 1 - 4; the address range corresponds to the dynamic line

number.

• new text = 1 - 20 characters (uses one byte Unicode values for all text

characters).

Examples:

1. SEND_COMMAND Panel,"'^TXT-1&3,Test Only'"

Sets the text "Test Only" on dynamic lines 1 and 3 of the LCD button.

2. SEND_COMMAND Panel,"'^TXT-2.4,'"

Clear text on dynamic lines 1 through 4 of the LCD button.

^UNI-

(LCD equipped only)

Set Unicode text. The Unicode text is sent as a two byte HEX value.
Syntax:

"'^UNI-<variable text address range>,',<unicode text>"

Variables:
• variable text address range = 1 - 4; the address range corresponds to the dynamic line

number.

• unicode text = Unicode HEX value.
Example:

SEND_COMMAND Panel, "'^UNI-1&4,',$00,$BD,$00,$B5"

Sets the Unicode characters '½µ' on dynamic lines 1 and 4 of the LCD button.
Note: Unicode is always represented in a two byte HEX value.

WAKE

Force the device out of screen saver mode.
Syntax:

"'WAKE'"

Example:

SEND_COMMAND Panel,"'WAKE'"

Forces the device out of the screen saver mode.

Advertising