
537
Appendices
*1
The indicator LED is controllable only when the bar code device file is closed. If the file is
opened, the
OUT
statement will be ignored.
If you have set the indicator LED to OFF in the
OPEN
"BAR:"
statement, then a user pro-
gram can control the indicator LED although the bar code device file is opened.
*2
Lower three bits (bit 2 to bit 0) in this byte control the contrast level of the LCD in 000 to 111
in binary notation or in 0 to 7 in decimal notation. 0 means the lowest contrast; 7 means the
highest.
OUT 3,7
’Contrast is highest
OUT 3,&h07
’Contrast is highest
*3
The sleep timer feature automatically interrupts program execution if no event takes place
within the specified length of time preset by bit 7 to 0. Shown below are examples of
OUT
statements. Setting 0 to this byte disables the sleep timer feature. (Refer to Chapter 10.)
OUT 6,30
’3 seconds
OUT 6,0
’No sleep operation
*4
To activate the wakeup function, set 1 to this bit; to deactivate it, set 0.
.pnRwuSpd
60F1h
2-0
Transmission
speed for remote
wakeup
*19
.pvRwu96
001
9600 bps
.pvRwu192
010
19200 bps
.pvRwu384
011
38400 bps
.pvRwu576
100
57600 bps
.pvRwu1152
101
115200 bps
.pnRwuHost
60F2h
0
Execution record of
remote wakeup
.pvRwuRgst
1
Woken remotely
1
Termination of
remote wakeup
.pvRwuEdOk
1
Terminated normally
.pnRwuWtT
60F3h
7-0
Timeout for remote
wakeup
*20
1-255 (sec)
.pnTPanel
6120h
0
Touch screen func-
tion
.pvTPOff
0
Disable
.pvTPOn
1
Enable
.pnTPBeep
6121h
0
Beeper when the
touch screen is
pressed
.pvTPBOff
0
Disable
.pvTPBOn
1
Enable
.pnVwFindr
6310h
0
View finder
(BHT-100Q/BHT-
100QF only)
.pvVFOff
0
Disable
.pvVFOn
1
Enable
.pnScnMark
6320h
0
Scanning range
marker
(BHT-100Q/BHT-
100QF only)
-
0
Normal mode
(Driven by the trigger
switch)
-
1
Fixed to ON
-
2
Fixed to OFF
Port No.
Bit
assign-
ment
Controls the following:
Содержание BHT-BASIC 100 SERIES
Страница 1: ......
Страница 161: ...153 Chapter 10 Sleep Function CONTENTS 10 1 Sleep Function 154...
Страница 163: ...155 Chapter 11 Resume Function CONTENTS 11 1 Resume Function 156...
Страница 173: ...165 Chapter 13 Backlight Function CONTENTS 13 1 Backlight Function 166...
Страница 192: ...Chapter 14 Statement Reference 184 Example OPEN master Dat AS 1 FIELD 1 20 AS bar 10 AS ky CLFILE 1 CLOSE 1...
Страница 249: ...241 Example CLOSE IF kyIn Y THEN KILL Master Dat END IF Reference Statements CLFILE...
Страница 349: ...341 Run time errors Error code Meaning 05h Parameter out of the range checktype is out of the range...
Страница 383: ...375 Run time errors Reference Error code Meaning 05h Parameter out of the range Functions LEFT LEN and RIGHT...