OpenCom Function

Acquires the task number that executes OpenCom.

Syntax
OpenCom (portNumber)

Parameters

Portnum
Specify the RS-232C port number as an integer value.
SPEL + Real Part
1 to 4
Windows Part
1001 to 1008

Description
Acquires the task number that executes OpenCom.

See Also
ChkCom Function, CloseCom Statement, OpenCom Statement, SetCom Statement

OpenCom Function Example

Print OpenCom(PortNo)