Hello, I have been reading some old post but IΒ΄m not enable to connect my Raspberry Pi to a modbus USB - RS485 adapter. I haver a Raspberry 4 with the last version of the CODESYS Control runtime on it. I have configured the .cfg file as you said in other posts:
" [SysCom]
Linux.Devicefile=/dev/ttyUSB
portnum := COM.SysCom.SYS_COMPORT1;
"
And apparently in CODESYS the port is working but the slave is giving me a a Timeout error IΒ΄m unable to resolve in spite of have modified it.
I attach some images.
Hello, I have been reading some old post but IΒ΄m not enable to connect my Raspberry Pi to a modbus USB - RS485 adapter. I haver a Raspberry 4 with the last version of the CODESYS Control runtime on it. I have configured the .cfg file as you said in other posts:
"
[SysCom]
Linux.Devicefile=/dev/ttyUSB
portnum := COM.SysCom.SYS_COMPORT1;
"
And apparently in CODESYS the port is working but the slave is giving me a a Timeout error IΒ΄m unable to resolve in spite of have modified it.
I attach some images.