# Need to pull DINT and RESET from Micro820

**URL:** <https://forum.inductiveautomation.com/t/need-to-pull-dint-and-reset-from-micro820/48073>\
**Category:** Ignition\
**Created:** [June 22, 2021, 5:51pm UTC](https://forum.inductiveautomation.com/t/need-to-pull-dint-and-reset-from-micro820/48073 "2021-06-22T17:51:46Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrews](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@andrews](https://forum.inductiveautomation.com/u/andrews)\
**Post date:** [June 22, 2021, 5:51pm UTC](https://forum.inductiveautomation.com/t/need-to-pull-dint-and-reset-from-micro820/48073/1 "2021-06-22T17:51:46Z")

</div>

Hello,

I’m trying to pull a DINT to display, and a momentary button to reset value. I am using a micro820. I’ve heard modbus is the way to go. but i’m confused because tags in the 820 are not coil 1,2, etc… so I don’t know how that converts to a modbus address such as 3139 etc,?

any help would be greatly appreciated

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [June 22, 2021, 6:05pm UTC](https://forum.inductiveautomation.com/t/need-to-pull-dint-and-reset-from-micro820/48073/2 "2021-06-22T18:05:47Z")

</div>

You have to deliberately set the correspondence between the internal tags and Modbus addresses. (In Connected Components Workbench.)

---

<div class="post-metadata">

**Author:** ![andrews](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@andrews](https://forum.inductiveautomation.com/u/andrews)\
**Post date:** [June 22, 2021, 6:18pm UTC](https://forum.inductiveautomation.com/t/need-to-pull-dint-and-reset-from-micro820/48073/3 "2021-06-22T18:18:12Z")

</div>

![modbus](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/9/89a1418de8d51a84ee1b09339ded09a96326c665.png)  
Okay I figured that out. Not sure how this would be writting on the ignition side.

---

<div class="post-metadata">

**Author:** ![andrews](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@andrews](https://forum.inductiveautomation.com/u/andrews)\
**Post date:** [June 22, 2021, 7:07pm UTC](https://forum.inductiveautomation.com/t/need-to-pull-dint-and-reset-from-micro820/48073/4 "2021-06-22T19:07:00Z")

</div>

I tried exporting the config from ccw and but when i import into ignition it does nothing

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [June 22, 2021, 7:24pm UTC](https://forum.inductiveautomation.com/t/need-to-pull-dint-and-reset-from-micro820/48073/5 "2021-06-22T19:24:02Z")

</div>

Its been a while since I messed with my micro850, but I think I configured the modbus address in CCW, then added the PLC as a device on the gateway webpage. Then the OPC Item Path should just be `[DeviceNameHere]modbusMapping`, for example `[WeimaWoodchipper]C2`  
[Modbus Addressing AB Micro850 - Ignition - Inductive Automation Forum](http://forum.inductiveautomation.com/t/modbus-addressing-ab-micro850/19070)

---

<div class="post-metadata">

**Author:** ![andrews](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@andrews](https://forum.inductiveautomation.com/u/andrews)\
**Post date:** [June 22, 2021, 7:29pm UTC](https://forum.inductiveautomation.com/t/need-to-pull-dint-and-reset-from-micro820/48073/6 "2021-06-22T19:29:21Z")

</div>

I did such as:[Line 5 Bottle Count]C000001  
still nada

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [June 22, 2021, 7:31pm UTC](https://forum.inductiveautomation.com/t/need-to-pull-dint-and-reset-from-micro820/48073/7 "2021-06-22T19:31:03Z")

</div>

Try going to device properties → advanced properties and see if `One-based Addressing` is checked

---

<div class="post-metadata">

**Author:** ![andrews](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@andrews](https://forum.inductiveautomation.com/u/andrews)\
**Post date:** [June 22, 2021, 7:31pm UTC](https://forum.inductiveautomation.com/t/need-to-pull-dint-and-reset-from-micro820/48073/8 "2021-06-22T19:31:07Z")

</div>

I also tried [Line 5 Bottle Count]C1 with still no luck

---

<div class="post-metadata">

**Author:** ![andrews](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@andrews](https://forum.inductiveautomation.com/u/andrews)\
**Post date:** [June 22, 2021, 7:34pm UTC](https://forum.inductiveautomation.com/t/need-to-pull-dint-and-reset-from-micro820/48073/9 "2021-06-22T19:34:06Z")

</div>

It is checked,I tried unchecking but didnt make a difference.

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [June 22, 2021, 7:42pm UTC](https://forum.inductiveautomation.com/t/need-to-pull-dint-and-reset-from-micro820/48073/10 "2021-06-22T19:42:31Z")

</div>

Did the Modbus configuration get exported to the PLC? Is the PLC set to allow remote connection?

---

<div class="post-metadata">

**Author:** ![andrews](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@andrews](https://forum.inductiveautomation.com/u/andrews)\
**Post date:** [June 22, 2021, 7:49pm UTC](https://forum.inductiveautomation.com/t/need-to-pull-dint-and-reset-from-micro820/48073/11 "2021-06-22T19:49:46Z")

</div>

I don’t see a remote connection setting. I’m currently remotely accessing via ethernet. And i downloaded after mapping not sure what else might be required to export to plc

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [June 22, 2021, 7:52pm UTC](https://forum.inductiveautomation.com/t/need-to-pull-dint-and-reset-from-micro820/48073/12 "2021-06-22T19:52:22Z")

</div>

I can’t think of anything else, I don’t have the micro850 PLC in use anymore so I can’t check any configurations ☹ Maybe someone else with more experience can chime in.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [June 22, 2021, 9:18pm UTC](https://forum.inductiveautomation.com/t/need-to-pull-dint-and-reset-from-micro820/48073/13 "2021-06-22T21:18:31Z")

</div>

You are going to want to configure the DINT in the 4xxxxx range, not the coils range. It’ll occupy two holding registers, not 32 coils.

---

<div class="post-metadata">

**Author:** ![WKetcham](https://avatars.discourse-cdn.com/v4/letter/w/c57346/32.png) [@WKetcham](https://forum.inductiveautomation.com/u/WKetcham)\
**Post date:** [June 29, 2021, 7:09pm UTC](https://forum.inductiveautomation.com/t/need-to-pull-dint-and-reset-from-micro820/48073/14 "2021-06-29T19:09:11Z")

</div>

andrews,

Have you got this sorted out? If not I can send some config screen shots on how to make this work.

---

<div class="post-metadata">

**Author:** ![andrews](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@andrews](https://forum.inductiveautomation.com/u/andrews)\
**Post date:** [June 29, 2021, 7:35pm UTC](https://forum.inductiveautomation.com/t/need-to-pull-dint-and-reset-from-micro820/48073/15 "2021-06-29T19:35:40Z")

</div>

I have not. That would be greatly appreciated.

It’s been so troublesome I’m ready to spend the extra money and get a micrologix 1400 for one photo eye .

Again thank you very much.

---

<div class="post-metadata">

**Author:** ![WKetcham](https://avatars.discourse-cdn.com/v4/letter/w/c57346/32.png) [@WKetcham](https://forum.inductiveautomation.com/u/WKetcham)\
**Post date:** [June 30, 2021, 5:21pm UTC](https://forum.inductiveautomation.com/t/need-to-pull-dint-and-reset-from-micro820/48073/16 "2021-06-30T17:21:41Z")

</div>

Ok lets take it from the top. First in the Micro820 Modbus mapping - Your count\_value needs to be at address 400001 this is where holding registers are mapped in Modbus.

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/5/2583b0371bb65aef1dbca454fddca070f978b3e5.png)

Next Ignition

In the configuration for the Modbus TCP driver under advanced properties check “Reverse Word Order”. The rest of the default settings should be fine.

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/7/e72f8d12917fb47a13e641b0973eb2051bfe9c0d.png)

Now go the the “Addresses” for the Modbus TCP driver

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/9/f92fcd1aa9cc56e7890bc1491e12948ed38eb4a2.png)

Reset\_Count is a coil and Count\_Value is a holding register. The Prefixes I used below are arbitrary , call them what you want but they will be used in your Tag.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/1/31ee77834269fe7bfc0ae86cf544fad00789234a.png)

Finally define your tags, using my example I called the Modbus TCP Device “Line5” so the OPC Item Paths for your tags will be:

Reset\_Count = ns=1;s=[Line5]DO1  
Count\_Value = ns=1;s=[Line5]Dint1

Notice the prefixes we defined under Addresses.

This should get you up and running. I left out the explanation of the why’s for a couple of these steps to keep this short and just get you going. Let me know if you want more information or run into issues.

---

<div class="post-metadata">

**Author:** ![andrews](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@andrews](https://forum.inductiveautomation.com/u/andrews)\
**Post date:** [July 6, 2021, 9:30pm UTC](https://forum.inductiveautomation.com/t/need-to-pull-dint-and-reset-from-micro820/48073/17 "2021-07-06T21:30:36Z")

</div>

Okay still no luck. I checked reversed word order and below are pics of my configs.  
I also added pics of how it looks when i drag the mapped address to the folder in the designer.  
the only difference is the dragged ones look like `ns=1;s=[Line5Counter]DINT1`  
 ![Capture](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/f/bfc657234e811317d9e1fa1cc4896de359fe5a24.png)

 ![Capture1](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/2/525d0f90a43278de094c7e897e7aa503470fda8d.png) ![Capture2](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/0/50626eca7bb93021adbd5cac551ebcd07307c838.png)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [July 6, 2021, 9:41pm UTC](https://forum.inductiveautomation.com/t/need-to-pull-dint-and-reset-from-micro820/48073/18 "2021-07-06T21:41:53Z")

</div>

Why does your OPC Item Path start with “Total =”?

---

<div class="post-metadata">

**Author:** ![andrews](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@andrews](https://forum.inductiveautomation.com/u/andrews)\
**Post date:** [July 6, 2021, 9:43pm UTC](https://forum.inductiveautomation.com/t/need-to-pull-dint-and-reset-from-micro820/48073/19 "2021-07-06T21:43:16Z")

</div>

Because that is what @WKetcham said

> Finally define your tags, using my example I called the Modbus TCP Device “Line5” so the OPC Item Paths for your tags will be:
> 
> Reset\_Count = ns=1;s=[Line5]DO1  
> Count\_Value = ns=1;s=[Line5]Dint1

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [July 6, 2021, 9:44pm UTC](https://forum.inductiveautomation.com/t/need-to-pull-dint-and-reset-from-micro820/48073/20 "2021-07-06T21:44:01Z")

</div>

You misinterpreted what he is saying. The lefthand side is just the example tag name.

Your OPC Item Path should only be the `ns=1;s=[Line5]DO1` part.

[Next page](https://forum.inductiveautomation.com/t/need-to-pull-dint-and-reset-from-micro820/48073.md?page=2)
