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, CloseCom, OpenCom, SetCom

OpenCom Function Example

Print OpenCom(PortNo)