
PI1X Basic Programming Manual Ver. 1.10
58/156
Purpose
:
To set scanner sleep on or off when using “INPUT_S_SLEEP”
command.
Syntax
:
Example
:
R%=INPUT_S("",S1$) ‘Scanner to sleep
…
Description
:
N%
is an integer variable. After using “INPUT_S_SLEEP”
command, the “INPUT_S_SLEEP” command can set scanner to
sleep or not.
If use this command and set “1”, when leaving “INPUT_S”
command, scanner will go to sleep.
N%
Meaning
0
Not sleep(scanner go to suspend)
1
To sleep
Purpose
:
To set the display mode of the input data.
Syntax
:
INPUT_MODE(mode%)
Example
:
INPUT_MODE(2)
Description
:
mode%
is an integer variable, indicating the input mode.
mode%
Meaning
0
Nothing will be displayed on the LCD.
1
The input characters will be displayed on the LCD
(default).
2
“*” will be displayed instead of the input
characters. Usually it is applied for password input.
Purpose
:
To enable or disable the key click sound.
Syntax
:
KEY_CLICK(status%)
Example
:
KEY_CLICK(0)
Description
:
status%
is an integer variable, indicating the key click status.
status%
Key click sound
0
Disable
1
Enable