H Controlling Rs-232C Communications Lines - Omron SYSMAC CV500-BSC11 Operation Manual

Basic units
Table of Contents

Advertisement

Controlling RS-232C Communications Lines
RS-232C communications lines are controlled using the OPEN statement as follows:
OPEN" COMn: [speed] [, parity] [, data_length] [, stop_bits]
[, XON/XOFF] [, RS] [, CSml] [, DS0] [, LF]" AS#file-no.
RS
CS
DS0
XON/XOFF
DTR (Out) ON
OFF
ON
DSR (In)
OFF
ON
RTS (Out)
OFF
ON
CTS (In)
OFF
ON
TXD (Out)
OFF
ON
RXD (In)
OFF
(1) and (2)
(3) and (4)
Note Communications control using RTS/DTR signals is not possible for the ports set as the terminal and printer
ports. This point particularly applies to BCS11/12 Units, for which port 1 is default set to terminal port and
port 2 is default set to printer port.
Appendix H
If RS control is designated, the RTS signal will be turned ON when the I/O com-
mand is executed and will be turned OFF otherwise. If RS control is not desig-
nated, the RTS signal will remain ON.
If CS0 or nothing is designated, there will be no limit to the wait for the ON CTS
signal or end of transmission. If a value between CS100 and CS30000 is desig-
nated, a wait will be for 100 ms to 30 s maximum.
If DS0 is designated, the DSR signal will not be checked. If nothing is desig-
nated, the DSR signal will be checked.
If XON/XOFF or nothing is designated, XON/XOFF control will be performed. If
XN is designated, XON/XOFF control will not be performed.
(1)
(2)
É É É
É É É
Open
Print
Input Close
Without
RS
Not checked if DS0 is designated. Checked if nothing is designated (i.e., a
RS-232C not ready error will occur if OFF when checked).
If CS0 or nothing is designated, the signal will be turned ON and an indefinite
wait will be made until printing has ended. If a value between CS100 and
CS30000 is designated, the signal will be turned ON and a wait of 100 ms to 30 s
will be made until printing ends. If the signal turns ON during printing or the time
expires, a wait of 60 s will be made. If the 60 s also expire, an I/O timeout error will
occur.
(3)
(4)
É É É
É É É
Open
Print
Input
With
RS
End
Close
207

Advertisement

Table of Contents
loading

Table of Contents