# I/O configuration for Modbus TCP Client

**URL:** https://community.factoryio.com/t/i-o-configuration-for-modbus-tcp-client/603
**Category:** Support
**Created:** [December 11, 2020, 1:34am UTC](https://community.factoryio.com/t/i-o-configuration-for-modbus-tcp-client/603 "2020-12-11T01:34:37Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![mmd604](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@mmd604](https://community.factoryio.com/u/mmd604)
#### Post date: [December 11, 2020, 1:34am UTC](https://community.factoryio.com/t/i-o-configuration-for-modbus-tcp-client/603/1 "2020-12-11T01:34:37Z")

</div>

Hello and good day I am having trouble with the softplc modbus tcp client. How do I configure the inputs outputs ? I have 16 outputs 24 inputs so I set input offset for 16 and 24 count but inputs are outputs. also I managed to locate a output %M1 and its extremely unstable it goes on for half a second then off for half a second like a strobe any help would be appreciated

---

<div class="post-metadata">

### Author: ![beatriz.santos](https://avatars.discourse-cdn.com/v4/letter/b/76d3ee/32.png) [@beatriz.santos](https://community.factoryio.com/u/beatriz.santos)
#### Post date: [December 11, 2020, 9:38am UTC](https://community.factoryio.com/t/i-o-configuration-for-modbus-tcp-client/603/2 "2020-12-11T09:38:55Z")

</div>

Hi @mmd604 !  
Could you please post screenshots of your configuration in Factory I/O and also of the inputs and outputs in the SoftPLC you’re using?  
Thank you!

---

<div class="post-metadata">

### Author: ![mmd604](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@mmd604](https://community.factoryio.com/u/mmd604)
#### Post date: [December 11, 2020, 9:19pm UTC](https://community.factoryio.com/t/i-o-configuration-for-modbus-tcp-client/603/3 "2020-12-11T21:19:43Z")

</div>

![Screenshot 2020-12-11 161128](https://europe1.discourse-cdn.com/flex017/uploads/factoryio/original/1X/1ddf3164b7051a1ea698bc7fbe0516fb9d590664.png) ![Screenshot 2020-12-11 161314](https://europe1.discourse-cdn.com/flex017/uploads/factoryio/original/1X/fe602ab2dba9216b2e62582daf188907310d81aa.jpeg) ![Screenshot 2020-12-11 161442](https://europe1.discourse-cdn.com/flex017/uploads/factoryio/original/1X/81bcec9a8273f4c7a33143943243c5c6ac3ad5df.png)

---

<div class="post-metadata">

### Author: ![mmd604](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@mmd604](https://community.factoryio.com/u/mmd604)
#### Post date: [December 11, 2020, 9:23pm UTC](https://community.factoryio.com/t/i-o-configuration-for-modbus-tcp-client/603/4 "2020-12-11T21:23:14Z")

</div>

I can located the outputs(inputs) on the right but I can find the start button. For outputs(inputs) %m0 move X %m1 move Z

---

<div class="post-metadata">

### Author: ![beatriz.santos](https://avatars.discourse-cdn.com/v4/letter/b/76d3ee/32.png) [@beatriz.santos](https://community.factoryio.com/u/beatriz.santos)
#### Post date: [December 14, 2020, 11:45am UTC](https://community.factoryio.com/t/i-o-configuration-for-modbus-tcp-client/603/5 "2020-12-14T11:45:36Z")

</div>

Thank you, @mmd604.  
I’m afraid I still need more information. If you wouldn’t mind also posting the software used, and especially the I/O mapping, I would appreciate it.

---

<div class="post-metadata">

### Author: ![mmd604](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@mmd604](https://community.factoryio.com/u/mmd604)
#### Post date: [December 14, 2020, 1:21pm UTC](https://community.factoryio.com/t/i-o-configuration-for-modbus-tcp-client/603/6 "2020-12-14T13:21:50Z")

</div>

I have moved on using codesys opc ua instead.

---

<div class="post-metadata">

### Author: ![bernard.riera](https://avatars.discourse-cdn.com/v4/letter/b/dbc845/32.png) [@bernard.riera](https://community.factoryio.com/u/bernard.riera)
#### Post date: [December 17, 2020, 10:40am UTC](https://community.factoryio.com/t/i-o-configuration-for-modbus-tcp-client/603/7 "2020-12-17T10:40:36Z")

</div>

Hi,

it is strange, I don’t have any problem in Modbus TCP with the soft PLC from EcoStruxure Machine Expert - Basic (M221).  
If you want me to est your application, do not hesitate.

Bernard

---

<div class="post-metadata">

### Author: ![mmd604](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@mmd604](https://community.factoryio.com/u/mmd604)
#### Post date: [December 17, 2020, 3:32pm UTC](https://community.factoryio.com/t/i-o-configuration-for-modbus-tcp-client/603/8 "2020-12-17T15:32:38Z")

</div>

Thanks for all your help but I prefer codesys. Schneiders software is very glitchy

---

<div class="post-metadata">

### Author: ![bernard.riera](https://avatars.discourse-cdn.com/v4/letter/b/dbc845/32.png) [@bernard.riera](https://community.factoryio.com/u/bernard.riera)
#### Post date: [December 18, 2020, 8:24am UTC](https://community.factoryio.com/t/i-o-configuration-for-modbus-tcp-client/603/9 "2020-12-18T08:24:30Z")

</div>

Have you seen this post ? It could be useful for you if you use CODESYS.

[https://community.factoryio.com/t/automatic-generation-of-unity-and-codesys-applications-from-a-factory-i-o-scene](https://community.factoryio.com/t/automatic-generation-of-unity-and-codesys-applications-from-a-factory-i-o-scene)
