Page 1 of 1

Using CODESYS Multi-Serial Port

Posted: 10 Feb 2023, 07:03
by Purecade
Dear all,

I know CODESYS supports multiple serial ports at the same time, but the CODESYS serial port label is COM and the Raspberry Pi serial port label is /dev/tty, what do I need to set to implement the Raspberry Pi serial port mapping so that it matches CODESYS.

Best regards,
Cade

Re: Using CODESYS Multi-Serial Port

Posted: 10 Feb 2023, 14:09
by dirk
Hello Cade,
have a look at this tutorial which may be helpful:
https://revolutionpi.com/tutorials/beis ... tu-master/
Do you know that there exists a similar forum for Codesys related questions - maybe you can post your questions there to get help:
https://forge.codesys.com/neighborhood

Re: Using CODESYS Multi-Serial Port

Posted: 14 Feb 2023, 02:52
by Purecade
dirk wrote: 10 Feb 2023, 14:09 Hello Cade,
have a look at this tutorial which may be helpful:
https://revolutionpi.com/tutorials/beis ... tu-master/
Do you know that there exists a similar forum for Codesys related questions - maybe you can post your questions there to get help:
https://forge.codesys.com/neighborhood
Dear,

Thank you very much for your help. But now I am facing a problem: I tried to find the serial port number and the command "ls -l /dev/serial*" did not find the serial device. How should I find my serial device?

Best regards,
Cade

Re: Using CODESYS Multi-Serial Port

Posted: 15 Feb 2023, 15:35
by dirk
Hi Cade here is a helpful answer from Amar
https://revolutionpi.de/forum/viewtopic ... 313#p11954