beautypg.com

Argox PA-20 Basic Programming Manual User Manual

Page 59

background image

PT-Basic Programming Manual Ver. 1.00

58/143

INPUT_S_SLEEP

Purpose: To set scanner sleep on or off when using “INPUT_S” command.

Syntax: INPUT_S_SLEEP(N%)

Example: INPUT_S_SLEEP(1)

R%=INPUT_S("",S1$) „Scanner to sleep

Description: N% is an integer variable. After using “INPUT_S” 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

INPUT_MODE

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.

KEY_CLICK

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