Sounds great :-) -----Original Message----- From: Stephen Snow <[email protected]> Sent: Donnerstag, 6. Januar 2022 12:47 To: Ben Hutcheson <[email protected]>; [email protected] Cc: [email protected] Subject: Re: Modbus protocol and AB-ETH etc
On Thu, 2022-01-06 at 15:47 +1000, Ben Hutcheson wrote: > Hi Stephan, > > Hey that's cool, I'm assuming you're talking about the Modbus RTU > branch? Hi Ben, yes Modbus RTU for sure, but also the Allen-Bradley (Rockwell Automation) protocols using EIP and AB-ETH I want to test. My "lab" currently has the following at it's disposal as equipment ... - Micro820 - 2080L20C-20QBB - Omron CP1H - Red Lion Controls G308C - Rockwell Automation VFD 523 Series - Raspberry Pi 2B with custom IO addon/shields Plus various sundry in sensors and such for testing. > > I haven't taken a look at any documentation for Modbus RTU, but any > documentation would go into > https://github.com/apache/plc4x/tree/develop/src/site/asciidoc. > The asciidoc plugin for intellij works well to get an idea of how it > will look. > > I'd be interested in how the Ethernet/IP driver works with the > Micro820, although I suspect there's a long way to go to get it > working correctly esp with Rockwell history of having non standard CIP > messages. > > Some other interesting pages, in case you haven't seen them yet. > https://plc4x.apache.org/users/getting-started/plc4j.html > https://plc4x.apache.org/users/protocols/modbus.html > https://plc4x.apache.org/developers/tutorials/writing-driver.html > I'll have to read the writing driver doc's, read the others have them bookmarked. > Keeping all communication on the mailing list opens it up for others > to comment and provide feedback on your work. Congrats on the testing > :) > I don't mind sharing, that's why I started doing this. That's why I edit for Fedora Magazine. > Kind Regards > > Ben > So what I am going to work on is mainly trying to document how a user would implement PLC4X to connect to various type of IIOT use cases around these particular PLC models. There will be a mix of networking topologies in use and different configurations. I am currently (for potential customer solutions) working through how I would be using PLC4X for my customers, so some of that stuff will eventually bleed through as this is a sample of their hardware in use today. Regards, Stephen > On Thu, Jan 6, 2022 at 1:30 AM Stephen Snow <[email protected]> wrote: > > Hi Ben, > > Just to let you know I am still testing when I get the opportunity. > > I > > had to return the loaner Modicon PLc but got an Rockwell Automation > > Micro820 along the way. I want to start cleaning up documentation > > now. > > I need to continue with testing for Modbus, which I will begin once > > I re-install my modbus network (I am adding some other devices than > > a PLC). > > So what I would like is to know if there is a set of doc's now > > somewhere, like maybe howto/FAQ that I can dig into. What I am after > > is first to elaborate a bit about how PLC4X constructs a message to > > read/write from/to a PLC/device, ie the description of how to do > > this with <insert programming language here> at higher level than > > imlementation details. This is from the user implemantation POV this > > documentation that I want to help with. Also am wanting some help > > with proper message building, from the POV of what was intended. I > > have been able to connect to both a serial (via USB) cable to a > > modbus port on a Modicon M221 PLC and read a data value in Modbus > > mapped word corresponding to addresss %MW0 in the PLC. I have also > > been connected to the Rockwell Micro820, but have yet to read any > > usable info from it. > > So, I am beginning to build up some information on connectivity > > errors seen with improper configuration or malformed connection > > string, as well as during hardware issues (on Modbus teminations). > > This I would like to incorporate into doc's for help for end users, > > possibly a generic mashing together of different PLC OEM's white > > papers/technical notes/knowledge base articles about Modbus > > networks. > > So if you have any advice on these topics, please don't hesitate to > > provide it, I'm pretty open to suggestions. > > > > Regards, > > Stephen
