arduino-libraries / Arduino_PortentaMachineControl

The official, revamped Arduino Library for the Portenta Machine Control.
Mozilla Public License 2.0
10 stars 8 forks source link

Examples for Modbus, WiFi and WebServer #21

Closed PatrikRindlisbacher closed 1 month ago

PatrikRindlisbacher commented 1 month ago

The examples for the Portenta Machine Control are very brief. No Modbus / Wifi / web server examples.

The migration took me a lot of time and I haven't solved all the puzzles yet.

leonardocavagnis commented 1 month ago

Hi @PatrikRindlisbacher,
You can find examples related to Modbus in the ArduinoModbus library, for WiFi in the WiFi library of Arduino Core-mbed, and for Web Server in this Arduino tutorial. Portenta Machine Control is based on the Portenta H7, so any examples built for Portenta H7 are fully compatible with the board.

PatrikRindlisbacher commented 1 month ago

Thank you very much for your reply

As a user, it is difficult to estimate what is for what. Only two products are mentioned for the web server. and not the machine control
[Portenta H7 (ABX00042)] [Portenta H7 Lite Connected (ABX00046)]

It would not be a luxury for the PLC to also provide samples that are used for real PLC control :-)

manchoz commented 1 month ago

@PatrikRindlisbacher, take a look also at

Any example for Portenta H7 will also work for the PMC (it is literally a Portenta H7 with a carrier add-on).

PatrikRindlisbacher commented 1 month ago

Thank you

The PRO hardware is super great. :-)

I would have liked more professional examples when purchasing the PRO products. Unfortunately, the PRO products are still a bit rare, so they aren't talked about much in forums.

Let's hope that Arduino releases extended code for the PLC PMC.

Example: for Web Server in the Arduino tutorial. With the PMC you can't see the color LED.