Natively modbus protocol is supported over Ethernet TCP/IP only. You either need modbus TCP/IP to serial converter or you have to write URCap with driver, and protocol implementation yourself.
In case I need to compile linux kernel driver for UR, where can I get the necessary kernel-sources and/or its related header to compile kernel module ?
(Inside/outside kernel tree module compilation is fine for me.)
By “driver” I assumed native or python daemon that actually uses existing linux drivers for USB dongle. I suppose that most USB dongles will show up as ttySxx device. Then you can use udev rules to symlink your dongle VID:PID to specific device names that you can later enumerate from daemon.
Nevertheless I have USB-modbus device that needs ch341 kernel module.
Any suggestion how I can do that ?
Update:
I just saw your references to all the kernel sources and its related patches as general references, but kernel (patched) sources specifically to reproduce the linux kernel used in UR Robots are not available to end users, are they ?
Hi everyone. I would like to ask regarding external connection to UR robot. Does UR robot allow communication to external device using RS232? If yes can i use an external USB to serial converter cable. Thank you.
USB Serial based on FTDI chips seem to be supported by linux kernel in CB3.
You can access the serial port just like under usual linux using urcap daemon .
Hi Effendi, thanks for your feedback. Can you further explain on how to access the serial port using URcap? Is there any available file/driver for that? Thank you.