
PT-Basic Programming Manual Ver. 1.00 44/143
To set scanner module to sleep.
SLEEP_READER (1) „Scanner to sleep
N% is an integer variable.
To get data that is read from a specified reader ports.
A$ = GET_READER_DATA$(N1%,N2%)
ON READER(1) GOSUB SCAN
ENABLE READER(1)
…
SCAN:
…
A$=GET_READER_DATA$(1,4)
…
RETURN
This command will get reader port data.
A$ is a string variable to be assigned to the result.
N1% is an integer variable, indicating the reader port (now we
only can choose 1).
N2% is an integer variable, indicating what kind of data to be
retrieved.
The format of Full Code as follows:
The ID position depends on “Code ID position” setting.
Commenti su questo manuale