I looked at the specs, I didn't see a dedicated processor doing the Ladder Logic / Modules part. Perhaps they dedicate one core to it... but that's a lot more janky than a separate CPU at about a dollar or two. I wouldn't want WiFi, Ethernet, or any other IO crashing the Controller. It has to be rock solid.
The STM32 series don't have any BLE/WiFi solutions built in yet. Since it's "Arduino" I assume it's a NINA module or similar from u-blox as a "co-processor" over UART with an AT command interface, which is basically a brandlabeled ESP32 with some firmware enhancements they already use on other products that focus on IoT.
Arduino unveils the Opta – “Micro PLC” for industrial IoT
11–20 of 90 posts
Re: Arduino unveils the Opta – “Micro PLC” for industrial IoT
#12Is STM32 still in shortage? I remember it being the largest blocker in one of my projects last year. Especially that high end H7 chip. Oh and we runned a Tensorflow Lite image processing pipeline on that chip. It is probably a few times too powerful for fiddling pins and an IP stack.
Re: Arduino unveils the Opta – “Micro PLC” for industrial IoT
#13I do a lot of PLC work. The Arduino IDE is totally unsuitable for it. No idea what they are doing about this. It would take an amazing amount of work to fix this. As for PLC functionality people actually use, the product page says "Optional support for standard IEC 61131-3 PLC languages". This is what folks use for real. I presume this means "we didn't want to pay CodeSys but you can". Or something. That sucks. Maybe…
> It will soon add PLC IEC 61131-3 programming (full set of 5 languages) + no/code fieldbus + Arduino sketch integrated with shared variables. There will be a new Arduino PLC IDE for that.
I also do a lot of PLC work. I agree that this isn't going to replace my CompactLogix, S7-1500, or Beckhoff controllers...ever. But there are times when you need to speak I2C, LIN, or CAN, or do high-speed, low voltage digital IO, and this is a way to make that happen. It competes with the AutomationDirect P1AM [2] controller, which similarly integrates an Arduino IDE with their P1000 24V and 120V industrial I/O modules. They have a "ProductivityBlocks" software, which is more of a drag-and-drop MIT Scratch like environment for people allergic to text, but no ladder. That's fine because you're not going to be using it to replace your assembly line PLC, you're going to use it to supplement your PLC to perform a function that it can't.
Same story with the RevolutionPi [3] - an industrial enclosure, with DIN rail mount and 24V power, for a Raspberry Pi. This is not a replacement for a PLC, it's a way to run, say, a print server or database (which I've used it for) that talks to your PLC over PyComm, or otherwise embed some Linux executable in your machine. There are lots of things that are trivial with 30 lines of Python that are next to impossible with a traditional PLC.
I recently had to integrate a temperature sensor that used a proprietary variant of I2C. The variant could be made to work using the I2C peripheral of most microcontrollers...but there was no way to get an off-the-shelf I2C adapter to work with it, you had to be constructing individual I2C frames and responding to interrupts. Things that are trivial at 48 MHz or 480 MHz are impossible at network RPIs and scan rates on the order of 10ms. I built a custom little board with a set of headers for a blue pill, spoke serial with the Beckhoff PC, and spoke this weird I2C variant with the temp sensor.
I once had to measure the RPM of a brushed DC motor in-situ, with no access to anything physical, and external vibrations that made accelerometers and microphones unreliable. I built a bandpass filter and comparator circuit, connected it to the high-speed counter of a Teensy, and did some DSP to count the individual current surges as the brushes skipped over each pole of the commutators. I suppose it could have been done with thousands of dollars worth of NI cRIO DAQ gear, but there was no sensor on the market that would do it off-the-shelf, and while I was implementing a custom PCB for the analog signal filtering it was easier to add a processor onboard than integrate a third-party counter.
One of my favorite projects was when I got to build a controller that fit in a cylinder the size of a hockey puck, could spin at 500 RPM, would run for a month on a 9V battery, and operated a high-precision inductance to digital AFE. There's no PLC in the world that fits that form factor, but it was comparatively easy with a microcontroller that talked to my PLC and motion control over a Renishaw wireless interface.
I've built automotive lines where they were trying to use a Picoscope with a Windows PC and Rockwell PLC to get LIN data off a body module that the line assembled. The Picoscope is a nice piece of gear, but would give false negatives to parts that the actual body controller was perfectly happy with; there was something weird about the timings of the sleep/wake cycle on the particular LIN transceiver they were using in the body controller. So we used that actual LIN transceiver that was in the BCU with a Teensy, and had zero problems thereafter.
[1] https://www.linkedin.com/feed/update/urn:li:activity:6996148...
[2] https://www.automationdirect.com/adc/shopping/catalog/progra...
Re: Arduino unveils the Opta – “Micro PLC” for industrial IoT
#14I do a lot of PLC work. The Arduino IDE is totally unsuitable for it. No idea what they are doing about this. It would take an amazing amount of work to fix this. As for PLC functionality people actually use, the product page says "Optional support for standard IEC 61131-3 PLC languages". This is what folks use for real. I presume this means "we didn't want to pay CodeSys but you can". Or something. That sucks. Maybe…
The target audience is "industry/professional IoT". I guess this is mainly targeted at prototyping projects or hooking something existing up to the web with some "realtime" I/Os, giving people the opportunity to stick to 61131. Existing solutions that offer you BLE/WiFi in this sector are usually terrible and just branded routers with "industrial grade" components. This is probably not suited for or targeted at autom…
Re: Arduino unveils the Opta – “Micro PLC” for industrial IoT
#15Re: Arduino unveils the Opta – “Micro PLC” for industrial IoT
#16Is STM32 still in shortage? I remember it being the largest blocker in one of my projects last year. Especially that high end H7 chip. Oh and we runned a Tensorflow Lite image processing pipeline on that chip. It is probably a few times too powerful for fiddling pins and an IP stack.
In some cases they've never been. It depends on the series. A lot of their portfolio is being made in external fabs like TSMC, whose allocations they gave up when Corona started as they were thinking the chip demand will go down. (Oh boy were they wrong.) On the other hand they still had allocations (in their "own" fabs), so depending on what you want they deliver. Problem is basically anything "mainstream" was in external fabs, e.g. the entire STM32F0 to STM32F4 series. In contrast, if you want an STM32L0 oder STM32L4, you can still order like nothing happened.
Re: Arduino unveils the Opta – “Micro PLC” for industrial IoT
#17Arduino, for some God forsaken reason, is trying to appeal to the professional market with the most backward decisions possible. This will be the same thing as the Portenta, which sucks because of the software lockdown (they don't even have an Yocto layer for it and pretty much force you to use Foundries.io).
Re: Arduino unveils the Opta – “Micro PLC” for industrial IoT
#18A number of Chinese companies produce DIN rail mounted PLCs which already cover this market, cost virtually nothing and actually emulate Mitsu GX ones so work with existing off the shelf tools and have the same real time guarantees as the commercial units. If you're going to cheap out, these are fine.
But this isn't the problem. The expensive bit of a PLC is the dude perma-welded to the cabinet. Last thing people want to do is rock the boat by expanding the risk to a vendor like Arduino, which quite frankly doesn't have a great reputation or history of tested industrial or reliable hardware. It's better to pay 3x as much for a well established vendor.
Re: Arduino unveils the Opta – “Micro PLC” for industrial IoT
#19I looked at the specs, I didn't see a dedicated processor doing the Ladder Logic / Modules part. Perhaps they dedicate one core to it... but that's a lot more janky than a separate CPU at about a dollar or two. I wouldn't want WiFi, Ethernet, or any other IO crashing the Controller. It has to be rock solid.
Re: Arduino unveils the Opta – “Micro PLC” for industrial IoT
#20I looked at the specs, I didn't see a dedicated processor doing the Ladder Logic / Modules part. Perhaps they dedicate one core to it... but that's a lot more janky than a separate CPU at about a dollar or two. I wouldn't want WiFi, Ethernet, or any other IO crashing the Controller. It has to be rock solid.
The STM32 series don't have any BLE/WiFi solutions built in yet. Since it's "Arduino" I assume it's a NINA module or similar from u-blox as a "co-processor" over UART with an AT command interface, which is basically a brandlabeled ESP32 with some firmware enhancements they already use on other products that focus on IoT.