# Sometime "S7 in" node failed to read data from S7-1200 PLC

**URL:** <https://discourse.nodered.org/t/sometime-s7-in-node-failed-to-read-data-from-s7-1200-plc/62904>\
**Category:** General\
**Created:** [21 May 2022 06:46 UTC](https://discourse.nodered.org/t/sometime-s7-in-node-failed-to-read-data-from-s7-1200-plc/62904 "2022-05-21T06:46:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Janu](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@Janu](https://discourse.nodered.org/u/Janu)\
**Post date:** [21 May 2022 06:46 UTC](https://discourse.nodered.org/t/sometime-s7-in-node-failed-to-read-data-from-s7-1200-plc/62904/1 "2022-05-21T06:46:34Z")

</div>

Hello everyone,

I have a difficult point with "S7 IN" node when I read data from S7-1200 PLC via IOT2040.

Normally I can read data from PLC by using "S7 IN" node, but sometime the "S7 IN" node can post an error message "Failure (Bad values)", it seems like IOT lost connection with PLCs within several seconds. If at that time the IOT is reading data from PLC, the data will be lost.

The IOT is connecting with 5 PLC and there are about 10 variables can be read from every PLC .  
Every PLC can throw the error.

Attachment is the error message picture.

 ![error](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/c/5ce38deb34b84958a677707a33a954e0a8f4db06.jpeg)

Anyone knows the reason? Share with me pls!

Thanks in advance!

---

<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:** [20 July 2022 06:47 UTC](https://discourse.nodered.org/t/sometime-s7-in-node-failed-to-read-data-from-s7-1200-plc/62904/2 "2022-07-20T06:47:22Z")

</div>

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