Omron SYSMAC C200H-ASC02 Operation Manual page 63

Ascii unit
Hide thumbs Also See for SYSMAC C200H-ASC02:
Table of Contents

Advertisement

BASIC Language
Signal Line
CTS
0
Valid
1
Valid
2
Valid
3
Valid
4
Invalid
5
Invalid
6
Invalid
7
Invalid
8
Valid
9
Valid
A
Valid
B
Valid
C
Invalid
D
Invalid
E
Invalid
F
Invalid
Remarks:
To make the CTS signal invalid at port 2, pull the CTS line high or connect it
to the RTS line.
When the RTS is specified to be ON (valid), the RTS signal goes high when
the port is opened and remains high until the port is closed. When the RTS
signal is specified to be OFF (invalid), the RTS signal remains low unless an
I/O statement such as PRINT or INPUT is executed.
When continuously receiving data from a peripheral device, specify RTS ON.
When implementing the interrupt function with ON COM, specify RTS ON. If
RTS OFF is specified, interrupts will not be received.
When data is received with the XON code specified to be valid, and the data
buffer is filled to 3/4 of its capacity, the XOFF code is sent, requesting a
pause of transfer. If the contents of the receive buffer decrease to 1/4 of the
buffer capacity, the XON code is sent, requesting resumption of transfer.
When the XOFF code is received during data transfer, transfer is paused.
When the XON code is received, transfer is resumed.
If the communication specification and the valid signal line are omitted, their
defaults are:
Peripheral Device
Terminal
Keyboard
Display
RS-232C device
Printer
Ports already open cannot be opened again. When the OPEN and CLOSE
statements are used, port 1 is assumed to be for a terminal and port 2 is as-
sumed to be for a printer. Port 2 cannot be selected for a terminal.
I/O statements specifying #<port> cannot be used to transfer data through a
port that has not been opened with the OPEN statement. To input/output data
in the case where the OPEN statement has not been executed, use the I/O
statements without the #<port> specification.
DSR
Valid
Valid
Valid
Invalid
Invalid
Valid
Invalid
Invalid
Valid
Valid
Valid
Invalid
Invalid
Valid
Invalid
Invalid
Valid
Valid
Valid
Invalid
Invalid
Valid
Invalid
Invalid
Valid
Valid
Valid
Invalid
Invalid
Valid
Invalid
Invalid
Communication
Conditions
4
4
4
4
4
Section 4-2
RTS
XON/XOFF
Invalid
Valid
Valid Signal Line
3
3
3
3
5
53

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents