
PI1X Basic Programming Manual Ver. 1.10
45/156
Purpose
:
To get scanner code type.
Syntax
:
A% = GET_READER_CODETYPE
Example
:
A% = GET_READER_CODETYPE
Description
:
A%
is an integer variable to be assigned to the result.
Reference as below:
A%
Code Type
100
Code 11
101
Code 39
…
…
Purpose
:
To get data length that is read from a specified reader ports.
Syntax
:
A%=GET_READER_DATALEN
Example
:
A% = GET_READER_DATALEN
Description
:
A%
is an integer variable to be assigned to the result.
Purpose
:
To get scanner type.
Syntax
:
A% = GET_READER_TYPE
Example
:
A% = GET_READER_TYPE
Description
:
A%
is an integer variable to be assigned to the result.
A%
Type
0
CCD (only PI-10X0)
2
2D (only PI-12X0)
Purpose
:
To start scanner setting procedure.
Syntax
:
READER_CONFIG_START
Example
:
READER_CONFIG_START
A%=READER_SENDCMD(11,1, CHR$(1)) ‘Code-39
can read
…
READER_CONFIG_END
Description
:
This command can start scanner setting procedure.
Purpose
:
To terminate scanner setting procedure.
Syntax
:
READER_CONFIG_END
Example
:
READER_CONFIG_END
Description
:
This command can terminate scanner setting procedure.