ArduinoModbus (RS485) with Portenta Machine Control - Basic guide [UPDATED for the new Arduino_PortentaMachineControl library]

Hi again Ricky,

I too have not had any success with official Arduino examples relating to modbus and the Portenta Machine Control, so you are not alone on that point.

I think the past path is to use a USB serial device connected to your computer which you are already working on :slight_smile:

Also which one of my examples did you use? The old or the new portenta machine control library? Maybe I could write you an even more ā€œbare bonesā€ code snippet to see if we can get you up and running?

Kind regards / Einar

Thank you for your reply,

The problem has been identified but not yet resolved. Here are the details:

That’s fine, but I’m using the Modbus RTU RS485 on the PMC daily proffessionally and have it working, so you should be able to get it to work without Arduino making some change to their library/libraries. When you get your USB serial device maybe let me know and I can give you a sketch?

Today I'm going to try downgrading as suggested in the issue.

The user who recommended downgrading says it works!
I hope so, because my client needs this feature.

For now, thank you very much for your help!

1 Like

Good luck!
Let me know if you need any help or want to an up-to-date example sketch to go along with an computer modbus testing software.

Hi all!
This PR should fix the issue

1 Like