I'm connecting a PLC that have a serial port to an industrial gateway using RS232 port (Not using a usb adapter), the gateway have python and pyserial installed. Does pyserial support real serial port RS232 or it only supports serial to USB connection.
I tried listing the serial ports available on the gateway using the command below:
python -m serial.tools.list_ports -v
I expect to see the serial port of the PLC listed in the result.