Omron C200H-ASC11 Manual page 195

Ascii units
Hide thumbs Also See for C200H-ASC11:
Table of Contents

Advertisement

Details of BASIC Commands
The <baud rate> can be set to 300, 600, 1200, 2400, 4800, 9600, 19200, or 38400. The default
baud rate setting is 9600 bps.
The <data length> can be set to 7 or 8. If omitted the default data length is 8 bits.
The <parity> can be set to N (none), E (even), or O (odd). If omitted the default parity is N
(none).
The number of <stop bits> can be set to 1 or 2. If omitted the default number of stop bits is 2.
The
communications.
CS
CS
RS
opened and it will remain ON until the port is closed. BASIC RS control is disabled.
RS
PRINT and INPUT are being executed. The
DS
LPRINT
signal is OFF then the device is assumed to be unable to communicate and the ASCII Unit will
wait until the
DS
XN
buffer and the peripheral device's input buffer.
When the ASCII Unit is receiving data, the Unit will send the
input buffer is 3/4 full (384 bytes) requesting the other device to pause the data transfer. When
the buffer drops to 1/4 full (128 bytes) the
data transfer.
When the ASCII Unit is sending data, the Unit will stop sending data when a Xoff signal is
received while a PRINT command is being executed. The Unit will resume sending data when
the Xon signal is received.
=
X
The default values for
When a
command will be valid for the duration of the command. The original communications
parameters will be restored after completion of the
Note:
> 10 OPEN #2, "COMU:9600, 8, N, 2, CS_ON, RS_OFF, DS_OFF,
Examples:
XN_OFF"
> 20 PRINT #2, "HELLO WORLD"
See also:
CLOSE
186
,
,
and
fields determine whether these signal lines will be used to control
CS
RS
DS
XN
=
_
: The ASCII Unit will monitor
CS
ON
=
_
: The ASCII Unit will not monitor
CS
OFF
=
_
: The ASCII Unit will turn ON the
RS
ON
=
_
: The ASCII Unit will turn ON the
RS
OFF
=
_
: The ASCII Unit will check the
DS
ON
) are executed. If the
S
signal turns ON.
D
R
=
_
: The ASCII Unit will not check
DS
OFF
=
_
: Specifies that Xon/Xoff flow control will be used for both the ASCII Unit's input
XN
ON
_
: Specifies that Xon/Xoff flow control will not be used.
XN
OFF
,
CS
RS
or
command is executed, the communication parameters specified in that
LOAD
SAVE
1. Port #3 corresponds to the terminal port of the ASC31.
2. If Port #3 is specified on the ASC11 or ASC21 an "ILLEGAL FUNCTION
CALL" error (code B005) will result.
3. Refer to the C200H-ASC02 Operation Manual for details on the communications
settings for the ASC02.
,
LOAD
signal during
CTS
signal during
CTS
signal when the communications port is
RTS
RTS
signal will be OFF at other times.
RTS
signal when the input commands (
DSR
signal is ON then the device is assumed to be ready. If the
DSR
signal when the port is opened.
DSR
on code will be sent to request resumption of the
X
,
, and
are the values of the devices that have been opened.
DS
XN
LOAD
commands.
PRINT
commands.
PRINT
signal only when I/O commands such as
off code will be sent when its
X
or
command.
SAVE
7-6
Section
,
PRINT
DSR

Advertisement

Table of Contents
loading

This manual is also suitable for:

C200h-asc21C200h-asc31

Table of Contents