![](/images/new-backgrounds/1188150/188150301x1.webp)
Chapter 3. Communications Operations of the BHT
3.4.2 Communications Parameters
In System Mode and user programs written in
Communications Port | Optical interface | |
|
|
|
Transmission Speed | 2400, 9600, 19200, 38400, | 300, 600, 1200, 2400, 4800, 9600, |
| 57600, or 115200 bps | 19200, 38400, 57600, or 115200 bps |
|
|
|
Character Length | 8 bits | 7 or 8 bits |
|
|
|
Vertical Parity | None | Odd, even, or none |
|
|
|
Stop Bit Length | 1 bit | 1 or 2 bits |
|
|
|
In System Mode
Refer to Chapter 2, Subsection 2.5.3, [4.5], "Setting the communications environ- ments."
In BHT-BASIC
To set the transmission speed, character length, vertical parity, and stop bit length (To set the transmission speed only for the optical interface), use the OPEN "COM:" statement in
OPEN "COM: ... " Opens the interface port selected in System Mode.
OPEN "COM1: ... " Opens the optical interface port for data transmission, irrespective of the setting in System Mode.
OPEN "COM2: ... " Opens the
Note that it is impossible to open both the optical interface port and the
Through the interface port opened by the OPEN "COM:" statement, the XFILE statement transmits a designated file.
131