# Problem connecting Ignition to Modbus TCP slave simulator (status: Connected, but no data)

**URL:** <https://forum.inductiveautomation.com/t/problem-connecting-ignition-to-modbus-tcp-slave-simulator-status-connected-but-no-data/108498>\
**Category:** Ignition\
**Tags:** modbus\
**Created:** [July 15, 2025, 4:37pm UTC](https://forum.inductiveautomation.com/t/problem-connecting-ignition-to-modbus-tcp-slave-simulator-status-connected-but-no-data/108498 "2025-07-15T16:37:42Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![wera.rum](https://avatars.discourse-cdn.com/v4/letter/w/edb3f5/32.png) [@wera.rum](https://forum.inductiveautomation.com/u/wera.rum)\
**Post date:** [July 15, 2025, 4:37pm UTC](https://forum.inductiveautomation.com/t/problem-connecting-ignition-to-modbus-tcp-slave-simulator-status-connected-but-no-data/108498/1 "2025-07-15T16:37:43Z")

</div>

Hi everyone,

I’m trying to connect Ignition to a Modbus TCP slave simulator, but I can’t get it to work properly.

🔧 **What I’m doing:**

- Using **Ignition (non-commercial version)**
- Tried **two simulators** as Modbus slaves: Modbus Slave and ModRSsim2
- Both work fine with Modbus master tools like **Modbus Poll**

🔍 **My problem:**

- In Ignition, under **Devices** , my Modbus TCP device shows **“Connected”**
- But in **OPC Quick Client** , I **don’t see any tags or data**
- Logs show this error:

arduino

KopiujEdytuj

```python
java.io.IOException: End of stream reached.
at com.inductiveautomation.iosession.socket.AsyncSocketIOSession.run

```

💡 **What I’ve tried so far:**

- Turning firewall on/off
- Changing ports (502, 1502)
- Checking Unit IDs and register mapping
- Restarting Ignition and simulators

I followed this tutorial exactly but it still doesn’t work:  
🔗 [YouTube – Ignition + Modbus TCP example](https://www.youtube.com/watch?v=Vh1s_nuKx6M&t=186s)

👉 **Has anyone had a similar issue with Ignition not reading data from a Modbus TCP simulator?**

Any ideas or tips would be greatly appreciated.  
Thanks!  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/d/ed16b4365af0f58dd08462976979941817e5c6c1.png)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/7/c7b875466b42c273810718d0753c50a83172d514.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/f/af91713b0863674643760d18b1da156c87d2255b.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/c/ec34a0f2bbb74fddaecd1a8ef8f6a207a8614005.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/2/c287264653a6aacf7b32909b0b252db66af9f013.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/2/02caefac2ef56d3ad4a7d05daf4bd5f0c2ef37d9.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/5/d5531ac37e670f03cdaf50b90269eaf480bc2513.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 15, 2025, 4:41pm UTC](https://forum.inductiveautomation.com/t/problem-connecting-ignition-to-modbus-tcp-slave-simulator-status-connected-but-no-data/108498/2 "2025-07-15T16:41:11Z")

</div>

You added a Modbus device instance to Ignition's OPC UA server, but your tag seems to be addressing a Codesys OPC UA server?

What happened to your Ignition OPC UA loopback connection?

---

<div class="post-metadata">

**Author:** ![wera.rum](https://avatars.discourse-cdn.com/v4/letter/w/edb3f5/32.png) [@wera.rum](https://forum.inductiveautomation.com/u/wera.rum)\
**Post date:** [July 15, 2025, 4:50pm UTC](https://forum.inductiveautomation.com/t/problem-connecting-ignition-to-modbus-tcp-slave-simulator-status-connected-but-no-data/108498/3 "2025-07-15T16:50:45Z")

</div>

Yes, I added a Modbus device. I thought my tag was properly addressed for Modbus, not Codesys. Should I address my tag differently? Do I need to add a separate OPC UA server to connect only with the Modbus slave via Modbus TCP? Do I need two OPC UA servers (one for Codesys and the second for Modbus slave)? I haven’t configured any OPC UA loopback connection for this Modbus test, and I’m not sure what OPC UA loopback means in this context.

---

<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 15, 2025, 4:55pm UTC](https://forum.inductiveautomation.com/t/problem-connecting-ignition-to-modbus-tcp-slave-simulator-status-connected-but-no-data/108498/4 "2025-07-15T16:55:56Z")

</div>

> [@wera.rum](#):
>
> I haven’t configured any OPC UA loopback connection for this Modbus test, and I’m not sure what OPC UA loopback means in this context.

It's a connection to Ignition's own OPC UA server that you apparently deleted at some point.

When you configure a device in Ignition, you are configuring it for Ignition's OPC UA server. To access a device you configured you do it through an OPC UA connection to Ignition's OPC UA server. Every default install of Ignition includes an already configured "loopback" connection to the server.

You'll have to add this connection back. When asked for the discovery URL try `opc.tcp://localhost:62541/discovery`.

---

<div class="post-metadata">

**Author:** ![wera.rum](https://avatars.discourse-cdn.com/v4/letter/w/edb3f5/32.png) [@wera.rum](https://forum.inductiveautomation.com/u/wera.rum)\
**Post date:** [July 15, 2025, 5:16pm UTC](https://forum.inductiveautomation.com/t/problem-connecting-ignition-to-modbus-tcp-slave-simulator-status-connected-but-no-data/108498/5 "2025-07-15T17:16:23Z")

</div>

Thank you for response.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/6/567e6eeb721090d88c97abf68b5907986e51fa2d.png)  
Do you mean this server by Ignition's OPC UA server?

---

<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:** [July 15, 2025, 5:18pm UTC](https://forum.inductiveautomation.com/t/problem-connecting-ignition-to-modbus-tcp-slave-simulator-status-connected-but-no-data/108498/6 "2025-07-15T17:18:52Z")

</div>

You've made an external OPC connection to a CoDeSys device. For some reason, you didn't **add** that, but instead you **replaced** the loopback connection that Ignition has "out of the box".

You need to re-create ( **add** ) the loopback connection that Ignition installed with.

---

<div class="post-metadata">

**Author:** ![wera.rum](https://avatars.discourse-cdn.com/v4/letter/w/edb3f5/32.png) [@wera.rum](https://forum.inductiveautomation.com/u/wera.rum)\
**Post date:** [July 15, 2025, 5:34pm UTC](https://forum.inductiveautomation.com/t/problem-connecting-ignition-to-modbus-tcp-slave-simulator-status-connected-but-no-data/108498/7 "2025-07-15T17:34:22Z")

</div>

Thank you for your response.  
Do you mean that I should have the **Ignition OPC UA server** instead of the **Wera OPC UA server** (the external OPC connection to CODESYS)?  
And that the **Wera OPC UA server** should appear in the hierarchy under the Ignition OPC UA server?  
Is it possible to add this loopback connection without deleting the external OPC connection to CODESYS?

---

<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:** [July 15, 2025, 5:50pm UTC](https://forum.inductiveautomation.com/t/problem-connecting-ignition-to-modbus-tcp-slave-simulator-status-connected-but-no-data/108498/8 "2025-07-15T17:50:47Z")

</div>

1. Yes, your tags that connect to the modbus device need to use Ignition's OPC server, which you've disconnected from the rest of Ignition.

2. No, your external OPC **client** connection would be a **peer** to the loopback Ignition connection.

3. Yes, you can have many OPC **client** connections in Ignition to various OPC servers. It is expected that one of them will be a loopback connection to Ignition's own OPC server, and that is how Ignition installs. There's a link to **create** a new connection in your screenshot of your existing **client** connections.

( Consider doing a fresh install of Ignition into another system and inspect what that normal loopback connection has for properties. )

---

<div class="post-metadata">

**Author:** ![wera.rum](https://avatars.discourse-cdn.com/v4/letter/w/edb3f5/32.png) [@wera.rum](https://forum.inductiveautomation.com/u/wera.rum)\
**Post date:** [July 15, 2025, 6:52pm UTC](https://forum.inductiveautomation.com/t/problem-connecting-ignition-to-modbus-tcp-slave-simulator-status-connected-but-no-data/108498/9 "2025-07-15T18:52:12Z")

</div>

Thank you for answering my question. I added a new Ignition OPC UA server, but it has a status of faulted. Do you have any idea how to fix it?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/8/f8ca916de875f306061f5cf8ebe805392edf6fdb.png)  
At it returns that information: status=Bad\_UserAccessDenied, description=User does not have permission to perform the requested operation.

---

<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:** [July 15, 2025, 7:00pm UTC](https://forum.inductiveautomation.com/t/problem-connecting-ignition-to-modbus-tcp-slave-simulator-status-connected-but-no-data/108498/10 "2025-07-15T19:00:40Z")

</div>

I haven't had to do that in a very long time. Which is why I suggested looking at a pristine example.

---

<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 15, 2025, 7:41pm UTC](https://forum.inductiveautomation.com/t/problem-connecting-ignition-to-modbus-tcp-slave-simulator-status-connected-but-no-data/108498/11 "2025-07-15T19:41:30Z")

</div>

> [@wera.rum](#):
>
> status=Bad\_UserAccessDenied, description=User does not have permission to perform the requested operation.

The default username is `opcuauser` and the default password is `password`. Make sure you configure the connection with these values.

---

<div class="post-metadata">

**Author:** ![wera.rum](https://avatars.discourse-cdn.com/v4/letter/w/edb3f5/32.png) [@wera.rum](https://forum.inductiveautomation.com/u/wera.rum)\
**Post date:** [July 18, 2025, 1:49pm UTC](https://forum.inductiveautomation.com/t/problem-connecting-ignition-to-modbus-tcp-slave-simulator-status-connected-but-no-data/108498/12 "2025-07-18T13:49:14Z")

</div>

Thank you. It is working now.

---

<div class="post-metadata">

**Author:** ![wera.rum](https://avatars.discourse-cdn.com/v4/letter/w/edb3f5/32.png) [@wera.rum](https://forum.inductiveautomation.com/u/wera.rum)\
**Post date:** [July 18, 2025, 1:50pm UTC](https://forum.inductiveautomation.com/t/problem-connecting-ignition-to-modbus-tcp-slave-simulator-status-connected-but-no-data/108498/13 "2025-07-18T13:50:59Z")

</div>

Thank you. It's working now. I had to change the password to default value like you had said.
