Hi
if you add in (ttyAMA0 should fit to your HAT's device
[SysCom]Linux.Devicefile.1=/dev/ttyAMA0
to
/etc/CODESYSControl_Usr.cfg
since 4.12.0.0 version
/etc/codesyscontrol/CODESYSControl_Usr.cfg
then access in CODESYS with Com1 should do it.
Keep in mind that only adapters work (for RS485) which do determine the send/receive direction
in hardware
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How can i add RS485(RS485 CAN HAT) port to codesys program?
Hi
if you add in (ttyAMA0 should fit to your HAT's device
to
/etc/CODESYSControl_Usr.cfg
since 4.12.0.0 version
/etc/codesyscontrol/CODESYSControl_Usr.cfg
then access in CODESYS with Com1 should do it.
Keep in mind that only adapters work (for RS485) which do determine the send/receive direction
in hardware