# Communication between Iot2000 and PLC S7-1500

**URL:** <https://discourse.nodered.org/t/communication-between-iot2000-and-plc-s7-1500/37647>\
**Category:** Industrial\
**Created:** [17 December 2020 12:26 UTC](https://discourse.nodered.org/t/communication-between-iot2000-and-plc-s7-1500/37647 "2020-12-17T12:26:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbet](https://avatars.discourse-cdn.com/v4/letter/t/f14d63/32.png) [@tbet](https://discourse.nodered.org/u/tbet)\
**Post date:** [17 December 2020 12:26 UTC](https://discourse.nodered.org/t/communication-between-iot2000-and-plc-s7-1500/37647/1 "2020-12-17T12:26:02Z")

</div>

Hi,  
I'm searching for some days how to get a connection between my Iot2000 and PLC.  
Therefore I already installed the recent Node-RED Release 1.2.6 and Node.js V8.16.0 (can't update, why).  
Version of node-red-contrib-s7 is also the newest one (3.0.0)

Now to the connected Hardware:  
My Iot2000 Gateway ist connected to my Computer via X1P1 Port, static IP: 192.168.200.1  
Port X2 is connected to my router (dchp).  
-\> until here everything works fine.  
I'm able to start putty and node-red in my browser.

But when I try to connect to my PLC (only connect to my computer via IP 192.168.200.3 at Port X2), nodered throws an error:

"Error: connect EHOSTUNREACH 192.168.200.3:102".

My question is: Did I forget something in connection settings or am I using incorrect IP-addresses or what is the problem here?

PS: I also tried to install nodered on my PC and it worked fine. So I don't know where the problem is, but I guess it es something with the connection...

An yes, I found some documents about my connection, but nowhere it is exactly described how to connect the hardware within IPs.

Thanks a lot.

Best regards

---

<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:** [17 December 2020 12:45 UTC](https://discourse.nodered.org/t/communication-between-iot2000-and-plc-s7-1500/37647/2 "2020-12-17T12:45:45Z")

</div>

> [@tbet](#):
>
> PS: I also tried to install nodered on my PC and it worked fine. So I don't know where the problem is, but I guess it es something with the connection...

My bet is your PC had nodejs V12 or V14?

> [@tbet](#):
>
> Version of node-red-contrib-s7 is also the newest one (3.0.0)

> [@Node-red-contrib-s7 broken after 3.0.0 update](https://discourse.nodered.org/t/node-red-contrib-s7-broken-after-3-0-0-update/36855/2):
>
> it has been mentioned I suspect you are using the IoT boxes that Siemens have not updated beyond node v8? If so, you essentially have an obsolescence issue (node 8 is EOL) [See this](https://github.com/st-one-io/node-red-contrib-s7/issues/82#issuecomment-735520400) If you can, move to Raspberry PI (much cheaper + up-to-date) (or any of the industrialised boxes based on RPi)

In a nutshell the latest FW on those IoT boxes is Nodejs8, this node requires Nodejs10+ - that IoT box (as i understand it) is obsolete & not being supported by siemens.

A £35 raspberry pi (or an industrialised one) is the answer.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [15 February 2021 12:45 UTC](https://discourse.nodered.org/t/communication-between-iot2000-and-plc-s7-1500/37647/3 "2021-02-15T12:45:53Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
