The attached example CX-Supervisor application receives characters from the serial port using the Microsoft MSComm ActiveX component.
The incoming bytes can be ASCII or Binary.