Installation
COMlibV2
In order to install, the library COMlibV2.lib must be copied into the TwinCAT directory TwinCAT\PLC\LIB.
COMlib
In order to install, the library COMlib.LIB and the auxiliary libraries ChrAsc.LIB and ChrAsc.OBJ, which are also supplied, must be copied into the TwinCAT directory TwinCAT\PLC\LIB.
The associated test program should be copied to any project directory of your choice, e.g. to TwinCAT\PLC.
comlibv2sampleprogram2.0.zip
Link libraries
Create a new PLC project with TwinCAT PLC Control in order to perform the library linking.
Go to Library Management and add the libraries ChrAsc.LIB and ComLib.LIB.