I got a chance to try out the new PLC IDE with the Portenta Machine Control over the past two days. There may be more documentation coming, but I am running into challenges with loading a first 'simple trial' Ladder program.
Essentially, the problem is that I can download a simple program with just one NO contact and one momentary coil. It seems to download without problems, but will not execute.
I have a selector switch connected to Digital Input 00. When I turn the switch, the green LED energizes, so it appears that the hardware side is working.
I have created a variable SS1, and mapped it to %IX0.0.
Did the same with a variable Out1, mapped this to %Q0.0.
My assumption is that these correlate respectively to the first bit of the first byte for both input and output registers, much like Siemens TIA portal. (I cannot find a reference for variable addresses in the documentation, like exactly what addresses correlate to the I, O, and the programmable sets of terminals).
The Machine Control appears to be connected and online, and the LD is downloaded, but the output 00 never energizes.
When the variables are added to the watch table, they are both FALSE regardless of the LED status on the input itself.
Also of note: the standard built-in program that increments the cnt variable, that seems to run successfully and updates in the watch table.
My thought is that I do not quite understand the mapping process, since it does not execute, AND does not update on the watch table. If the watch table was updating, I might assume the problem is in project organization and the rung is simple not executing.
If I can provide helpful screenshots, I can do so - this is a little different than embedding code from the normal IDE so I'm not sure what all to include.
PS THANKS ARDUINO for this PLC IDE. I'm super excited to play with this software!!