Hello, I'm working on a project where I want to connect to my Raspberry Pi 3 B+ via RS232. I want to use the on board RX/TX pins.
I've made a small program to test it but I keep getting an 5004 Error on my COM.Open function.
I've used some code from a GitHub repo as reference but I'm still getting error's.
I've attached a printscreen of the code running with the 5004 error visible.
I've checked around and tried multiple things I've seen from other posts but nothing worked so far.
I'm using CodeSys V3.5 SP13 Patch 1
CAA SerialCom Library
Thanks in advance.
Jay.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes I've enabled the tty, i've used the raspi-config and I've set in interfacing options serial to disable for login as I've seen on other guides. But the hardware port it self is enabled.
Hello, I'm working on a project where I want to connect to my Raspberry Pi 3 B+ via RS232. I want to use the on board RX/TX pins.
I've made a small program to test it but I keep getting an 5004 Error on my COM.Open function.
I've used some code from a GitHub repo as reference but I'm still getting error's.
I've attached a printscreen of the code running with the 5004 error visible.
I've checked around and tried multiple things I've seen from other posts but nothing worked so far.
I'm using CodeSys V3.5 SP13 Patch 1
CAA SerialCom Library
Thanks in advance.
Jay.
Hi,
l viewtopic.php?f=23&t=6247&p=22581#p22581 l
is the tty enabled by
sudo raspi-config
Best Regards
plcmax
Hello,
Yes I've enabled the tty, i've used the raspi-config and I've set in interfacing options serial to disable for login as I've seen on other guides. But the hardware port it self is enabled.
However I'm using ttyAMA0, is this wrong?
Jay.