EasyManuals Logo

Omron CX-Supervisor Reference Manual

Omron CX-Supervisor
164 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #116 background imageLoading...
Page #116 background image
Serial Port Functions SECTION 6 Functions and Methods
115
6-18-3 CloseCOMPort
Description
Closes the designated serial communications port on the PC. The port must
have been configured and opened before it can be closed.
Syntax
ReturnState = CloseCOMPort(PortNumber)
Remarks
Typical Example:
bState = CloseCOMPort(1)
6-18-4 OpenCOMPort
Description
Opens the designated serial communications port on the PC for transmitting or
receiving data. The port must have been configured before it can be opened.
Syntax
ReturnState = OpenCOMPort(PortNumber)
Remarks
Typical Example:
bState = OpenCOMPort(1)
6-18-5 SetupCOMPort
Description
Configures the designated serial communications port on the PC for
transmitting or receiving data.
Syntax
ReturnState = SetupCOMPort(PortNumber,
ConfigurationString, HandShaking, TerminationChar,
ControlCharFlag, TermMode)
Remarks
Argument Type Description
ReturnState bool True if successful else false.
PortNumber Integer The number of the port previously configured
using the function SetupCOMPort and opened
with OpenCOMPort.
Argument Type Description
ReturnState bool True if successful else false.
PortNumber Integer The number of the port previously configured
using the function SetupCOMPort.
Argument Type Description
ReturnState bool True if successful else false.
PortNumber Integer A string indicating the desired Baud rate,
Parity, number of data bits and stop bits.

Table of Contents

Other manuals for Omron CX-Supervisor

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CX-Supervisor and is the answer not in the manual?

Omron CX-Supervisor Specifications

General IconGeneral
BrandOmron
ModelCX-Supervisor
CategorySoftware
LanguageEnglish

Related product manuals