# How to find address for ML 1200 for modbus or RS485

**URL:** <https://discourse.nodered.org/t/how-to-find-address-for-ml-1200-for-modbus-or-rs485/71284>\
**Category:** Industrial\
**Tags:** modbus\
**Created:** [26 November 2022 14:06 UTC](https://discourse.nodered.org/t/how-to-find-address-for-ml-1200-for-modbus-or-rs485/71284 "2022-11-26T14:06:40Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![akshayjain](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@akshayjain](https://discourse.nodered.org/u/akshayjain)\
**Post date:** [26 November 2022 14:06 UTC](https://discourse.nodered.org/t/how-to-find-address-for-ml-1200-for-modbus-or-rs485/71284/1 "2022-11-26T14:06:40Z")

</div>

I am unable to get the details for Allen Bradley Micrologix 1200 for modbus using USB to RS485 converter in raspberry Pi how to read data from modbus, i am very new to this thing and i don't know what to do so please help me with this issue.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [26 November 2022 14:24 UTC](https://discourse.nodered.org/t/how-to-find-address-for-ml-1200-for-modbus-or-rs485/71284/2 "2022-11-26T14:24:56Z")

</div>

> [@akshayjain](#):
>
> I am unable to get the details for Allen Bradley Micrologix 1200 for modbus

Do you mean that the docs for the device do not tell you the modbus data structure and registers?

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [26 November 2022 14:31 UTC](https://discourse.nodered.org/t/how-to-find-address-for-ml-1200-for-modbus-or-rs485/71284/3 "2022-11-26T14:31:42Z")

</div>

Is this an educational project or something? This bears an amazing similarity to this thread from @Jayeshpitale1. [Communication Between RS485 to Node red on raspberry pi](https://discourse.nodered.org/t/communication-between-rs485-to-node-red-on-raspberry-pi/71185)

---

<div class="post-metadata">

**Author:** ![akshayjain](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@akshayjain](https://discourse.nodered.org/u/akshayjain)\
**Post date:** [26 November 2022 15:52 UTC](https://discourse.nodered.org/t/how-to-find-address-for-ml-1200-for-modbus-or-rs485/71284/4 "2022-11-26T15:52:39Z")

</div>

@Colin i don't know about that i am using it for industrial purpose and i am new too this stuff because we don't have an experience person to tell on this thing so i might think i would get a better help in forum rather comparing some one else post to me

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [26 November 2022 15:59 UTC](https://discourse.nodered.org/t/how-to-find-address-for-ml-1200-for-modbus-or-rs485/71284/5 "2022-11-26T15:59:31Z")

</div>

You didn't answer this question

> [@Colin](#):
>
> Do you mean that the docs for the device do not tell you the modbus data structure and registers?

We need to know exactly what the problem is. Are you in the same organisation as @Jayeshpitale1? If so then it would be better if just one of you asked questions.

---

<div class="post-metadata">

**Author:** ![akshayjain](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@akshayjain](https://discourse.nodered.org/u/akshayjain)\
**Post date:** [27 November 2022 05:12 UTC](https://discourse.nodered.org/t/how-to-find-address-for-ml-1200-for-modbus-or-rs485/71284/6 "2022-11-27T05:12:48Z")

</div>

@Colin ther might be similarity between my and his question but i am totally new in this issue as i don't have a proper knowledge about it so please let me know if you can help me with my question also note i don't know who he is. So i need a proper assistance.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [27 November 2022 11:44 UTC](https://discourse.nodered.org/t/how-to-find-address-for-ml-1200-for-modbus-or-rs485/71284/7 "2022-11-27T11:44:46Z")

</div>

Please answer these simple questions.

1. Do you understand the basics of the modbus protocol?

2. Does the manual for the device tell you how to access the device with modbus, and what registers to use?

---

<div class="post-metadata">

**Author:** ![akshayjain](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@akshayjain](https://discourse.nodered.org/u/akshayjain)\
**Post date:** [27 November 2022 12:53 UTC](https://discourse.nodered.org/t/how-to-find-address-for-ml-1200-for-modbus-or-rs485/71284/8 "2022-11-27T12:53:20Z")

</div>

@Colin  
1). I don't know as i am beginner in that.  
2). The manual has a modbus address but i don't know which and what to use.

 ![Screenshot_20221127-182158_Drive](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/0/b0dbc1f447415bbcbbed7810e3b8e24dbeac8520.jpeg)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [27 November 2022 13:44 UTC](https://discourse.nodered.org/t/how-to-find-address-for-ml-1200-for-modbus-or-rs485/71284/9 "2022-11-27T13:44:19Z")

</div>

> [@akshayjain](#):
>
> I don't know as i am beginner in that.

The first thing you must do is to spend a few hours teaching yourself about modbus. That is nothing to do with node red. When you have done that, install node-red-contrib-modbus, look at the help text and try to understand what the nodes do. I suggest starting with the modbus read node and see if you can make it read data from the device.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [27 November 2022 13:53 UTC](https://discourse.nodered.org/t/how-to-find-address-for-ml-1200-for-modbus-or-rs485/71284/10 "2022-11-27T13:53:57Z")

</div>

> [@akshayjain](#):
>
> I am unable to get the details for Allen Bradley Micrologix 1200 for modbus using USB to RS485 converter in raspberry Pi how to read data from modbus

According to this slide 👇 the ML 1200 does not support RS485.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/4/045261c5a9e72409f42418263a433cfc7fb64cb8.jpeg)

Your options appear to be...

1. connect via RS232 and use ModBus RTU protocol
2. Add a 1761-NET-ENI and use the [CIP EtherNet/IP nodes](https://flows.nodered.org/node/node-red-contrib-cip-st-ethernet-ip) or [PCCC nodes](https://flows.nodered.org/node/node-red-contrib-pccc)
3. connect via RS232 and try the [DF1 nodes](https://flows.nodered.org/node/node-red-contrib-df1)
4. connect via RS232, read the manual & use Node-RED serial port nodes to read/write ASCII

---

<div class="post-metadata">

**Author:** ![FrankAB](https://avatars.discourse-cdn.com/v4/letter/f/ee59a6/32.png) [@FrankAB](https://discourse.nodered.org/u/FrankAB)\
**Post date:** [27 November 2022 23:05 UTC](https://discourse.nodered.org/t/how-to-find-address-for-ml-1200-for-modbus-or-rs485/71284/11 "2022-11-27T23:05:39Z")

</div>

1. You can use RS485 to RS232 converter and use Modbus protocol.
2. You can use 1761-NET-AIC

You set the address in ML 1200

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [27 November 2022 23:39 UTC](https://discourse.nodered.org/t/how-to-find-address-for-ml-1200-for-modbus-or-rs485/71284/12 "2022-11-27T23:39:00Z")

</div>

What happened to option 5? 🙂

> [@FrankAB](#):
>
> You can use RS485 to RS232 converter and use Modbus protocol

Not sure it would be worth the hassle purchasing or wiring up 2nd convertor...

> [@akshayjain](#):
>
> modbus using USB to RS485 converter in raspberry Pi

...Since it is a PI the OP is using, it would make more sense to either use the built in RS232 or spend £8 on a USB to RS232

---

<div class="post-metadata">

**Author:** ![FrankAB](https://avatars.discourse-cdn.com/v4/letter/f/ee59a6/32.png) [@FrankAB](https://discourse.nodered.org/u/FrankAB)\
**Post date:** [28 November 2022 00:18 UTC](https://discourse.nodered.org/t/how-to-find-address-for-ml-1200-for-modbus-or-rs485/71284/13 "2022-11-28T00:18:39Z")

</div>

Sorry. Item 5 is missing:  
5. Use the df1 external program created by Stephane Leicht - Not Modbus

If the author of the thread wants to:  
a) connect devices over a greater distance  
b) connect several devices, then Modbus is used.

Steve-Mcl  
Unfortunately, the solution presented in your point 3 requires ST-One hardware

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [28 November 2022 07:50 UTC](https://discourse.nodered.org/t/how-to-find-address-for-ml-1200-for-modbus-or-rs485/71284/14 "2022-11-28T07:50:29Z")

</div>

> [@FrankAB](#):
>
> Unfortunately, the solution presented in your point 3 requires ST-One hardware

Are you sure? What prevents this node from running on a raspberry PI?

---

<div class="post-metadata">

**Author:** ![FrankAB](https://avatars.discourse-cdn.com/v4/letter/f/ee59a6/32.png) [@FrankAB](https://discourse.nodered.org/u/FrankAB)\
**Post date:** [28 November 2022 10:12 UTC](https://discourse.nodered.org/t/how-to-find-address-for-ml-1200-for-modbus-or-rs485/71284/15 "2022-11-28T10:12:56Z")

</div>

> [@Steve-Mcl](#):
>
> Are you sure? What prevents this node from running on a raspberry PI?

"Missing "@protocols/node-df1" dependency, avaliable only on the ST-One hardware. Please contact us at "[st-one.io](http://st-one.io)" for pricing and more information."  
This message shows up when I try to boot with a different USB/RS232 interface.  
Tested on PC with Debian 11

---

<div class="post-metadata">

**Author:** ![akshayjain](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@akshayjain](https://discourse.nodered.org/u/akshayjain)\
**Post date:** [9 December 2022 10:20 UTC](https://discourse.nodered.org/t/how-to-find-address-for-ml-1200-for-modbus-or-rs485/71284/16 "2022-12-09T10:20:58Z")

</div>

Any one could help me how to find address about modbus using function node

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [9 December 2022 10:46 UTC](https://discourse.nodered.org/t/how-to-find-address-for-ml-1200-for-modbus-or-rs485/71284/17 "2022-12-09T10:46:50Z")

</div>

What do you mean by 'find address'. What address is it that you are looking for? The unit address on modbus, or the register number in the device or what?

---

<div class="post-metadata">

**Author:** ![akshayjain](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@akshayjain](https://discourse.nodered.org/u/akshayjain)\
**Post date:** [10 December 2022 07:42 UTC](https://discourse.nodered.org/t/how-to-find-address-for-ml-1200-for-modbus-or-rs485/71284/18 "2022-12-10T07:42:56Z")

</div>

I mean that i need the tag N7:10 which has a timer in ML so i need this tag to modbus address for Node red dashboard

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [10 December 2022 07:57 UTC](https://discourse.nodered.org/t/how-to-find-address-for-ml-1200-for-modbus-or-rs485/71284/19 "2022-12-10T07:57:11Z")

</div>

I have never used modbus with a Bradley PLC but typically, a non modicon PLC that doesn't use native modbus style addressing uses a mapping.

E.g. I imagine somewhere (in ladder or in some settings) an area of memory is mapped from native PLC address to modbus addresses). Sometimes this is automatic mapping.

Once you know what memory addresses are mapped from PLC address to modbus addresses then you have all the answers.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [10 December 2022 08:53 UTC](https://discourse.nodered.org/t/how-to-find-address-for-ml-1200-for-modbus-or-rs485/71284/20 "2022-12-10T08:53:30Z")

</div>

To find that out you can study the manufacturer's documentation, or contact the manufacturer or their representative, or a forum relevant to the product.

[Next page](https://discourse.nodered.org/t/how-to-find-address-for-ml-1200-for-modbus-or-rs485/71284.md?page=2)
