Sleep, Prx ^sho sleep @ssl @sst – AMX Mio Modero Device Family User Manual

Page 24

Advertising
background image

Programming The Mio Modero

20

Mio Modero Device Family

SEND_COMMANDs (Cont.)

^PRX-

Sets the sensitivity for the proximity sensor.
Syntax:

"'^PRX-#'"

Variable:
• # = a value from 0 - 31.
Example:

SEND_COMMAND Panel,"'^PRX-15'"

Sets the proximity sensor for the device to a level of approximately 50%.

^SHO

Show or hide text with a set variable text range.
Syntax:

"'^SHO-<variable text address range>,<command value>'"

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

number.

• command value = (0= hide, 1= show).
Example:

SEND_COMMAND Panel,"'^SHO-1,0'"

Hides text on dynamic line 1 of the LCD button.

SLEEP

Force the device into screen saver mode.
Syntax:

"'SLEEP'"

"'SLEEP-#'" (timed sleep; a persistent command)

Variable:
• # = 0 - 60 in seconds; time to wait before going to sleep. Default is 30. 0 sets the

device to never sleep.

Example:

SEND_COMMAND Panel,"'SLEEP-45'"

Forces the device into screen saver mode after 45 seconds.

@SSL

Sends a string to the master upon going to sleep.
Syntax:

"'@SSL-<new text>'"

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

SEND_COMMAND Panel,"'@SSL-KeyPad Sleep'"

Sends the string " KeyPad Sleep’ to the master at time of sleep.

@SST

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

"'@SST-<new text>'"

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

SEND_COMMAND Panel,"'@SST-Panel Start'"

Sends the string " Panel Start " to the master at time of start up.

Advertising