162
[ 3 ] Remote wakeup program
■
File name
The BHT may handle the file named "BHTRMT.PD3" as a remote wakeup program.
Upon receipt of data containing a “WAKE” character string, the BHT checks whether the
BHTRMT.PD3 file exists. If the file exists, the BHT will start the remote wakeup operation
described in [ 2 ].
■
Settings for remote wakeup
To use the remote wakeup function, make the following I/O port settings with the
OUT
or
WAIT
statement or
INP
function beforehand (refer to Appendix D, "I/O Ports"):
(1) Activate the remote wakeup function
You may activate/deactivate the remote wakeup function as listed below. The default is 0
(Deactivate).
(2) Set the transmission speed to be applied for remote wakeup
Set the transmission speed to be applied when activating the remote wakeup as listed
below. The default is 1 (9600 bps).
(3) Set the timeout for ready-to-receive state
Set the timeout length during which the BHT will wait for a “WAKE” character string after
receiving any data via the CU and becoming ready to receive. The default is 3 (seconds).
(4) Set the BHT station ID to be used in the BHT response message
Set a 6-byte numeric string referring to the lower 6 digits of the BHT serial number as a
station ID which will be used in the response message to the host. To write and read the
setting, use the extended function SYSTEM.FN3 (Functions #3 and #4). For details, refer
to Chapter 16, "Extended Functions."
Port No.
Bit No.
R/W
Specifications
60F0h
0
R/W
0: Deactivate the remote wakeup
1: Activate the remote wakeup
Port No.
Bit No.
R/W
Specifications
60F1h
7-0
R/W
1: 9600 bps
2: 19200 bps
3: 38400 bps
4: 57600 bps
5: 115200 bps
Port No.
Bit No.
R/W
Specifications
60F3h
7-0
R/W
1 to 255 seconds. Specification of 0
will not change the current setting.
Summary of Contents for BHT-BASIC 100 SERIES
Page 1: ......
Page 161: ...153 Chapter 10 Sleep Function CONTENTS 10 1 Sleep Function 154...
Page 163: ...155 Chapter 11 Resume Function CONTENTS 11 1 Resume Function 156...
Page 173: ...165 Chapter 13 Backlight Function CONTENTS 13 1 Backlight Function 166...
Page 249: ...241 Example CLOSE IF kyIn Y THEN KILL Master Dat END IF Reference Statements CLFILE...