Hi everyone, I'm Franklin Amador from Apiarytech (https://github.com/apiarytech), from Honolulu, HI. I opened #2892, #2893 and #2894 two days ago. I sent an introduction then too, but I wasn't subscribed and it never reached the list, so here it is again. Sorry for the PRs arriving before the mail.
Who I am. I'm a licensed Electrical Engineer (P.E. in Hawaii and California, Degree from Cal Poly San Luis Obispo) with over 24 years in electrical engineering and systems work. Much of it is SCADA: I hold Ignition and Wonderware Application Server certifications, and experience in development and deployment of FactoryTalkView SE & ME editions. I'm currently building my own SCADA series of dual licensed products. What I build, and where plc4go fits. I write industrial automation software in Go under the name ApiaryTech. plc4go is how all of it talks to field devices: - *honeycomb *(https://github.com/apiarytech/honeycomb), an IEC 61131-3 style tag database. Its PLC4X connector binds tags to device addresses, polled or subscribed, maps PLC4X response codes to tag quality, and reconnects with backoff. beehive and drone reach devices through it. - *beeguard* (https://github.com/apiarytech/beeguard), an ISA-18.2 alarm server on honeycomb. - *beedance *(https://github.com/apiarytech/beedance), an IEC 61131-3 toolchain: ST, IL, SFC, LD and FBD, with an interpreter, a bytecode VM and a transpiler to Go. - *royaljelly* (https://github.com/apiarytech/royaljelly), the IEC 61131-3 runtime model in Go, and beebread ( https://github.com/apiarytech/beebread), the OSCAT libraries ported to Go. - On these sit two private repository products: *beehive*, a SCADA system and soft PLC built as Go services with an edge node by the machines, and *drone,* a small alarm dialer/data concentrator that reads PLCs and remote I/O and calls people out by SMS and e-mail. *beehive* and *drone* need Profinet and CANopen devices, and OPC UA with security, so we built them in plc4go rather than beside it. We'd much rather they live upstream, tested and maintained with the other drivers, than in a fork. The PRs. - #2892: fixes to the Go code generator (byte order chosen at run time, optional string lengths, null strings, grandparent links) and two spi fixes. CANopen and Profinet need them; the regenerated EIP, IEC 104 and OPC UA code changes only where it had the same shape. - #2893: a CANopen driver ported from plc4j, with a pure-Go SocketCAN transport and a virtual CAN one for tests. plc4j's SDO and NMT driver suites run against it. About 3,400 hand-written lines; the rest is generated. - #2894: a Profinet IO controller: DCP discovery, a GSDML reader, the application relation with cyclic data, alarms, release and DCE/RPC fragmentation. It is tested against the open-source p-net device in Docker. About 6,000 hand-written lines; the rest is generated code and the test suite. Each builds on the one before. I know they are big. If smaller pieces are easier to review, tell me how you'd like them cut and I'll split them. Next, if it's welcome: the OPC UA work in our fork ( https://github.com/apiarytech/plc4x): signed and encrypted secure channels, browsing, chunked messages, and fixes to subscriptions and writes. I'd introduce it here first and send it in small PRs. How the code was written. I used an AI coding assistant, as each PR says. I directed the design, and I reviewed and tested every change against the suites and the simulated and real devices listed in the PRs. I read your contribution guide's section on this, and I take the point about review time; that's why I offer to split and to explain. Staying. Yes. These drivers run in our products, so we will keep maintaining them here: answering issues, fixing bugs, and keeping them in step with plc4j. Thanks for reading, and for PLC4X. Franklin D. Amador ApiaryTech, https://github.com/apiarytech
