Setting serial port mode RS232/RS485 in c program

Hello,
We have a WAGO 750-8214 and i’m programming a serial port application. I have not yet been able to find a way to set and get the serial port mode (RS232/RS485) from a c++/c program. Does anybody know where i can find information about this subject?

Hello,
You might have a look at this thread. One option is calling the script from your C program.

Thank you, that is an option. I will have a look at it… :smiley: