I am looking for a method to monitor if I’m collecting data into a serial port. I have code that was functioning on a different HMI, but am trying to get it to work on CMT3092X and am not having any luck yet. Do you have any serial communications strategies/debug tools that you can recommend?
I am using Free Protocol to talk to “LT2000 HA” which is a laser with COMM 3RS232 interface (9600 baud. I see that I’m getting a string back now by modifying the code but hoping there is an easy way to ‘sniff’ serial port for future reference.
Currently, the easiest way to determine if you are receiving data is to use the “INPORT()” command. Also, it is possible to perform an online simulation with an RS-232 device as long as you configure the serial port you intend to use within the driver for your USB-RS-232 device in the device manager:
Open the “Device Manager” in windows and locate the USB-RS-232 driver:
Ensure that the COM port used by this driver matches the COM port used within EasyBuilder Pro: