
44
Overview
Section 4-1
4-1
Overview
The following operations are covered in this section.
4-2
Opening a Communications Port
4-2-1
OPEN# Command
A communications port is opened using the OPEN# command. The OPEN#
command specifies the device (peripheral device name), communications
parameters for the communications port, and the use of transmission control
signals.
Example
Operation
Command/function
Opening a communications port
OPEN command
Sending data
PRINT command
(The LPRINT command executes
device
: LPRT.)
Receiving
data
CR terminator
INPUT command
(The LINE INPUT command receives everything in one character variable).
Specified character
length
INPUT$ function
Closing a communications port
CLOSE command
Communications error process-
ing
ON ERROR command, ERC command, ERR command, and RESUME command
ASCII Unit
Transmit buffer
Receive buffer
Communications
port #2
Communications parameters
Transmission control signals
General-purpose
external device
OPEN#2 . . .
Device symbol (peripheral device name)
OPEN #2, "COMU: 9600, 8, N, 2, CTS_XX, RTS_XX, DSR_XX, XN_XX"
Communications parameters for communications port
Operation of transmission control signals
Summary of Contents for C200H-ASC11
Page 1: ...C200H ASC11 ASC21 ASC31 ASCII Units Operation Manual Revised June 2000...
Page 2: ...iv...
Page 4: ...vi...