Serial Monitor in the PLC IDE

Hi.

I'm sorry about the level of this question, but is it possible to use a Serial Monitor in the PLC IDE in the same way as the standard Arduino IDE? I am using a Portenta Machine Control and it would be helpful to monitor some of the variables in the sketch in a serial monitor.

Thanks!

1 Like

Hello!
You can use the Watch Window and the Oscilloscope.
Here is how they look like:
plc-ide-monitoring-tools
To enable them go to View -->Tool windows --> Watch/Oscilloscope.
Have a nice day!

Hi and thanks for the reply! I am aware of the Watch Window, however, this will not work directly with variables in the sketch. I have tried to use "Shared variables", but I find it hard to do simple debugging of the sketch itself doing it this way.

1 Like

Sorry this isn't an answer to your question. But I would like to use Serial.print statement and see the output in a serial monitor within PLC IDE, please. When debugging a sketch.

1 Like

I also have this problem, how can I read/write strings like in the Arduino IDE?

i Need the same answer. I am using Portenta and Nextion and is really hard to know if i am getting the data or not.

I have not found any serial in PLC IDE however I just open Arduino IDE and open the serial monitor there and vola you can se your serial.print stuff, just remember to close the serial port before up upload the code otherwise the upload may fail you can only open com port from one place and when you upload it will close the comport that it is connected to and open the second one and upload witch is the one you use in Arduino IDE

1 Like

Is the oscilloscope able to show analogue readout of the pins using Ethernet connection?

I also would like to use edge impulse to monitor inputs and the code requires an executable line that needs to be entered in the serial monitor to work.
Where could this be done?