# S7-PLCSIM V5 I/O not working

**URL:** <https://community.factoryio.com/t/s7-plcsim-v5-i-o-not-working/35>\
**Category:** Support\
**Created:** [February 20, 2020, 11:42am UTC](https://community.factoryio.com/t/s7-plcsim-v5-i-o-not-working/35 "2020-02-20T11:42:00Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![brunovgr](https://dub1.discourse-cdn.com/flex017/user_avatar/community.factoryio.com/brunovgr/32/12_2.png) [@brunovgr](https://community.factoryio.com/u/brunovgr)\
**Post date:** [February 20, 2020, 11:42am UTC](https://community.factoryio.com/t/s7-plcsim-v5-i-o-not-working/35/1 "2020-02-20T11:42:00Z")

</div>

When I/O from S7-PLCSIM V5 doesn’t work you probably need to add I/O modules assigned to the addresses used in Factory I/O.

Factory I/O reads and writes to the peripheral input/output (PI/PQ memory areas) of S7-PLCSIM V5. When using a hardware configuration with no peripheral I/O modules PI and PQ are empty and therefore no changes are made to the I and Q images, making it seem like the communication between Factory I/O and PLCSIM is not working.

Adding I/O modules to the station usually fixes the issue. Please note that the modules should use the same addresses as the ones used by Factory I/O.

 ![](https://europe1.discourse-cdn.com/flex017/uploads/factoryio/original/1X/9a20f0066d06c8a7b670026a12cfdd9464095baa.png)

![](https://europe1.discourse-cdn.com/flex017/uploads/factoryio/original/1X/94bc1405b25b8918533056a3c76f2b409c389ff9.png)

You can also refer to a [step-by-step guide on how to connect Factory I/O with S7-PLCSIM V5](https://docs.factoryio.com/tutorials/siemens/setting-up-s7-plcsim-v5/).

---

<div class="post-metadata">

**Author:** ![goncalo](https://avatars.discourse-cdn.com/v4/letter/g/3be4f8/32.png) [@goncalo](https://community.factoryio.com/u/goncalo)\
**Post date:** [November 20, 2020, 8:14am UTC](https://community.factoryio.com/t/s7-plcsim-v5-i-o-not-working/35/3 "2020-11-20T08:14:04Z")

</div>

Hi @m_imrak,  
Did you follow the [setting up guide](https://docs.factoryio.com/tutorials/siemens/setting-up-s7-plcsim-v13/)?  
If so, what was the error message displayed when connection failed?

---

<div class="post-metadata">

**Author:** ![m\_imrak](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@m\_imrak](https://community.factoryio.com/u/m_imrak)\
**Post date:** [November 20, 2020, 11:55am UTC](https://community.factoryio.com/t/s7-plcsim-v5-i-o-not-working/35/4 "2020-11-20T11:55:06Z")

</div>

Yes I followed the setting up side but failed. First I tried in the TIA PORTAL V16 with Factory(2.4.3) . There are pictures about the problem.

 ![FACTORY IO(CONNECTION FAULT)](https://europe1.discourse-cdn.com/flex017/uploads/factoryio/original/1X/b3986908d9efd002f0ff1afaee8c21408727cd5f.jpeg)  
By the way in Factory IO, S7 1200 and 1500 run. Only S7 300 is a problem!!

---

<div class="post-metadata">

**Author:** ![m\_imrak](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@m\_imrak](https://community.factoryio.com/u/m_imrak)\
**Post date:** [November 20, 2020, 11:57am UTC](https://community.factoryio.com/t/s7-plcsim-v5-i-o-not-working/35/5 "2020-11-20T11:57:46Z")

</div>

On the other hand I tried same steps with SIMATIC MANAGER 5.6 and Factory IO (2.4.3) runs!

 ![FACTORY IO(2.4.3) CONNECTION OK](https://europe1.discourse-cdn.com/flex017/uploads/factoryio/original/1X/7de0fafe1977fe59f445368bc3f35f251dd7633c.jpeg)

---

<div class="post-metadata">

**Author:** ![geert.vangrieken](https://avatars.discourse-cdn.com/v4/letter/g/d9b06d/32.png) [@geert.vangrieken](https://community.factoryio.com/u/geert.vangrieken)\
**Post date:** [November 20, 2020, 9:34pm UTC](https://community.factoryio.com/t/s7-plcsim-v5-i-o-not-working/35/7 "2020-11-20T21:34:30Z")

</div>

Hi m\_imrak,

You have to start the simulator inside TIA Portal and not from the Windows menu.

- When I start the simulator from the Windows menu I have the same problem
- But when I start the simulator inside TIA Portal the problem seems to be solved

Hereby a screenshot “how to start the simulator inside TIA Portal”.

 ![Start S7-PLCSim V5.4 inside TIA Portal](https://europe1.discourse-cdn.com/flex017/uploads/factoryio/original/1X/5e3a07497e8c63eab1d3a09ddd900cc8121f6cc7.jpeg)

---

<div class="post-metadata">

**Author:** ![m\_imrak](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@m\_imrak](https://community.factoryio.com/u/m_imrak)\
**Post date:** [November 23, 2020, 11:29am UTC](https://community.factoryio.com/t/s7-plcsim-v5-i-o-not-working/35/8 "2020-11-23T11:29:48Z")

</div>

Sorry, I couldnt reply you about your solution. I am a new member of this community. So I couldnt reply more than 3 answers ☹ . Thats why I deleted one of the photo of this conversation.I tried your suggestion but failed again, same problem.  
I followed your steps in TIA PORTAL V16.  
Online–\>Simulation–\>Start  
But in Simatic Manger Factory IO runs. 🤔  
Also can you tell me how can I write more than 3 times?

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/factoryio/original/1X/2e8a6b3b7b5a6d8cc351cc0fddbaa29bc3303f8e.png)

---

<div class="post-metadata">

**Author:** ![brunovgr](https://dub1.discourse-cdn.com/flex017/user_avatar/community.factoryio.com/brunovgr/32/12_2.png) [@brunovgr](https://community.factoryio.com/u/brunovgr)\
**Post date:** [November 23, 2020, 11:51am UTC](https://community.factoryio.com/t/s7-plcsim-v5-i-o-not-working/35/9 "2020-11-23T11:51:46Z")

</div>

@m_imrak The forum has a default security measure that prevents a user from making more than 3 posts in a row. I have increased it to 5 so it’s more tolerant.

---

<div class="post-metadata">

**Author:** ![geert.vangrieken](https://avatars.discourse-cdn.com/v4/letter/g/d9b06d/32.png) [@geert.vangrieken](https://community.factoryio.com/u/geert.vangrieken)\
**Post date:** [November 23, 2020, 12:54pm UTC](https://community.factoryio.com/t/s7-plcsim-v5-i-o-not-working/35/10 "2020-11-23T12:54:58Z")

</div>

Hi m\_imrak,

Must say that I had to reinstall PLCSim because I had some issues with it. Think that a recent Microsoft Windows 10 update created the issue.

- Used CPU = 6ES7 314-6EH04-0AB0
- TIA Portal version = V15.1
- PLCSim version = V5.4 SP8
- Factory IO version = 2.4.5

---

<div class="post-metadata">

**Author:** ![m\_imrak](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@m\_imrak](https://community.factoryio.com/u/m_imrak)\
**Post date:** [November 23, 2020, 7:18pm UTC](https://community.factoryio.com/t/s7-plcsim-v5-i-o-not-working/35/11 "2020-11-23T19:18:56Z")

</div>

Hi geert.vangrieken,  
Thank you for your replies. I will try to solve it and when I find a solution for my problem I will write here. 🙂
