86
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.
Transmission Speed 2400, 9600, 19200, 38400,
57600, or 115200 bps
300*, 600*, 1200, 2400, 4800,
9600, 19200, or 38400 bps
Optical interface Direct-connect interfaceCommunications Port
Character Length 8 bits 7 or 8 bits
Vertical Parity None Odd, even, or none
Stop Bit Length 1 bit 1 or 2 bits
* The 300 bps and 600 bps are not available in System Mode.
In System Mode
Refer to Chapter 2, Subsection 2.5.3, "Detailed Description of the Functions in System
Mode," [ 4.6 ] Setting the communications environments.
In BHT-BASIC 3.0
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 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-6000, irrespective of the setting
in System Mode.
OPEN "COM2: ... " Opens the direct-connect interface port for data trans-
mission, 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.