beautypg.com

Argox PA-20 Basic Programming Manual User Manual

Page 47

background image

PT-Basic Programming Manual Ver. 1.00

46/143

READER_SENDCMD

Purpose: To send scanner (CCD) command to change scanner status.

Syntax: A%=READER_SENDCMD(N1% , N2% , S$)

Example: READER_CONFIG_START


„Code-39 can read

A%=READER_SENDCMD(11,1, CHR$(1))
„„Code-93 Checksum verification disable

A%=READER_SENDCMD(12,2, CHR$(0))
„Preamble characters setting

A%=READER_SENDCMD(8,3, “abcde”)

READER_CONFIG_END

Description: This command can change scanner status.

A% is an integer variable to be assigned to the result.

A%

Meaning

0

Change fail

1

Change OK

N1% is an integer variable, indicating the parameter1.

N2% is an integer variable, indicating the parameter2.

S$ is a string variable.

Refer to

Appendix B

for more details about the parameter

setting.

READER_SENDCMD_LASER

Purpose: To send scanner (Laser) command to change scanner status.

Syntax: A%=READER_SENDCMD_LASER(N1% , N2% , S$)

Example: READER_CONFIG_START


„Code-39 can read

A%=READER_SENDCMD_LASER(11,1, CHR$(1))
„Preamble characters setting

A%=READER_SENDCMD_LASER (8,3, “abcde”)

READER_CONFIG_END

Description: This command can change scanner status.

A% is an integer variable to be assigned to the result.

A%

Meaning