78
3.2.2 Communications Parameters
In System Mode and user programs written in BHT-BASIC 3.0, you may set the
communications parameters listed below.
Communications Port
Optical interface or direct-connect interface
Transmission Speed
300*, 600*, 1200, 2400, 4800, 9600, 19200, or 38400 bps
Character Length
7 or 8 bits
Vertical Parity
Odd, even, or none
Stop Bits
1 or 2 bits
RS/CS Control
Enabled or disabled
* The 300 bps and 600 bps are not available in System
Mode.
In System Mode
Refer to Chapter 2, Subsection 2.4.3, "Detailed Description of the Functions in System
Mode," [ 4.5 ] Setting the communications parameters and interface port.
In BHT-BASIC 3.0
To set the transmission speed, character length, and the number of stop bits, use the
OPEN
"COM:"
statement in BHT-BASIC 3.0.
OPEN
"COM:
...
"
Opens the interface port selected in System Mode.
OPEN
"COM1:
...
"
Opens the optical interface port for data transmission
routing through the CU-5000, irrespective of the setting
in System Mode.
OPEN
"COM2:
...
"
Opens the direct-connect interface port for direct data
transmission, irrespective of the setting in System Mode.
Note that it is impossible to open both the optical interface port and the direct-connect
interface port concurrently.
Through the interface port opened by the
OPEN
"COM:"
statement, the
XFILE
statement transmits a designated file.