Automation Direct Do-More Native Driver

Any more thoughts on doing native drivers for Automation Direct PLCs. The Do-More line is pretty powerful and the price point is also a plus. I know Host is willing. Let me know what can be done to get the discussion rolling with the right people!

Is there a spec for whatever protocol “native” is for these devices?

AFAIK they all do Modbus and you can just use our Modbus driver.

Yes but Modbus is slow and mapping is just one extra step. I am messing with the BRX line and trying to get MQTT setup, but have not been successful thus far. It would be nice just to be able to map directly to the do-more memory locations with a direct driver.

But I’ll take your answer as Ignition isn’t interested at this time…

That’s not necessarily true, but I’ve never seen any documentation for another “native” protocol for these.

Are you on the Host Engineering forums by chance? It looks like Host is willing to make this happen…

I went ahead and posted in that thread.

That’s awesome Kevin! And I finally got the MQTT working…on to more trials and testing!

@dwhite I have a brx PLC sitting in my office right now. I’d be interested in knowing if you’d be willing to post anything on using MQTT with it, or maybe a link. Thanks

@dkhayes117 What would you like to know? First I would suggest downloading Do-More Designer version 2.5 if you have not done so already. Version 2.5 has some expanded instruction sets (JSONBUILD and JSONPARSE) that allow you to do a little less work on both sides (BRX and IA). Then you need to make sure you have the Cirrus Link Modules added to your Ignition Gateway. Let me know if you have all that ready or if you need assistance setting that up.

You can also leverage any other MQTT broker as well. I was successful in setting up Mosquitto on my machine as well.

I have do-more 2.5 already, and I have the trial version of the Cirrus Link modules installed. I will play around with it some later, and if I run into any snags I will give you a holler if you don’t mind. The question I have right now is if I want to monitor an output with mqtt, do I have to setup the instruction on the rung, or can you “map” the outputs to a topic like you would with Modbus (if that makes any sense at all)?

Right now you have to do it with the instruction. In DMD you will need to do the following (this assumes that you have everything working on a local machine, Inductive, Broker and Do-More):

  1. Select Configure (XY Button by Devices) in DMD
  2. Highlight device configuration (on the left side of the pop up window)
  3. Select New Device Pushbutton (right side of window)
  4. Select MQTT Client >> Then Okay
  5. Device Name can be anything as long as it follows DMD nickname convention I believe
  6. Select Use IP Address and enter (or DNS lookup and type localhost)
  7. You can leave Other Settings default for now
  8. Start with a clean ladder (just for testing) and add the following:
  • Rung 1 - ST1 (always on contact) and JSONBUILD (instruction)
  • Rung 2 - ST1 and MQTTPUB

Setup JSONBUILD Instruction with the following information:

  1. Record type = object
  2. Add and then fill out (Field Name = YourTagName (this can be anything you want Tag1, MyTag, etc and then select a type and memory location from Do-More, Save)
  3. Add another record (select String and memory location SS1)
  4. For JSON output record use string structure and use SS0

Setup MQTTPUB Instruction with the following information:

  1. Select continuous on Power Flow (you can do 1 sec interval)
  2. Add optional topic “DoMoreTags/” (needs to include double quotes as shown, but you can replace DoMoreTags with something more meaningful if required
  3. Either insert of double click item 1 and edit topic (select Use common Option Topic) fill in topic with “jsontags/” and payload = SS0 (output from your JSONBUILD)

In data view add SS0, SS1 and whatever you inserted as your first entry of your JSONBUILD…could be D0 (integer), R0 (float).

You can then connect to the Do-More Sim and download the program. Next we can setup Ignition.

1 Like

To setup the Ignition Gateway, complete the following:

  1. Start the gateway and then go to the gateway URL (Typically http://localhost:8088/main) or use the link in the gateway utility
  2. Select configure and login with your username and password (if this is the IA trial then username = admin and password = password)
  3. You said you already had the modules installed, so select MQTT Distributor/Settings
  4. Make sure Enable MQTT Server is checked
  5. Enable Non-TLS connection (for now)
  6. Scroll all the way day and select advance settings and check enable Anonymous

Next go to the MQTT Engine/Settings

On the general tab

  1. Ensure enable MQTT Engine is checked
  2. Primary Host ID should be localhost in your case

On the Servers Tab

  1. Charlot SCADA should be connected at this point (this will be your broker)

On the Namespace Tab

  1. Select Custom
  2. Create new Custom Namespace
  3. For Name (you can type whatever you would like…ie DoMore)
  4. Subscription type DoMoreTags/# (this should match your topic in the PLC see MQTTPUB step 2)
  5. Ensure Parse the payload as a JSON string is checked

Once all those changes have been made and saved you can start the designer
Once you have the designer open go to the tag browser (left side of the screen in the middle)
Expand All Providers
Expand MQTT Engine (you should not see your tags at this time)

Go back to Do-More Designer and connect to the SIM-PLC and download your program
Run the SIM

Go back to the IA Designer and refresh your tags in the tag browser
Expand All Providers
Expand MQTT Engine (you should now see your folder DoMoreTags which you can expand and see your values coming from the PLC)

1 Like

Awesome, thanks for taking the time to list your steps

Just curious if there’s been any progress on a DoMore native driver. I’m currently working on a project that would benefit from the ability to access UDT arrays natively instead of publishing the UDTs to Modbus memory space every scan. Plus all the benefits of tag browsing, etc.

No, sorry, nothing has changed.

I did manage to get a communication channel opened with someone on their side, though, so hopefully when we eventually have a chance to look into this again there won’t be too many barriers.

Thanks for the quick reply! I sent a message to BobO at Host asking the same thing. I think he may have been hoping to get a couple more features implemented before focusing on a native driver in ignition, not sure. Hopefully things have been going smoothly on their end.

FWIW, I do know that they’re great people to work with. Very involved with their customer base. His company and your company are very similar in that respect. Whenever you do get going on a driver, I’m sure they’ll be more than happy to help however they can.

Bob O is my contact.

Good! I’m poking at the right people then :slight_smile:

Bump, any more movement on a native driver for Ignition?

No, sorry, this never really went anywhere. Modbus is still the way to go with these.