# Não consigo obter o status da conexão do PLC S7 1200 com o node red

**URL:** <https://discourse.nodered.org/t/nao-consigo-obter-o-status-da-conexao-do-plc-s7-1200-com-o-node-red/87788>\
**Category:** General\
**Created:** [7 May 2024 15:38 UTC](https://discourse.nodered.org/t/nao-consigo-obter-o-status-da-conexao-do-plc-s7-1200-com-o-node-red/87788 "2024-05-07T15:38:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![uzi206](https://avatars.discourse-cdn.com/v4/letter/u/7ea924/32.png) [@uzi206](https://discourse.nodered.org/u/uzi206)\
**Post date:** [7 May 2024 15:38 UTC](https://discourse.nodered.org/t/nao-consigo-obter-o-status-da-conexao-do-plc-s7-1200-com-o-node-red/87788/1 "2024-05-07T15:38:59Z")

</div>

Gostaria de poder exibir o status da conexão com o meu PLC S7 1200 num dashboard, estou trocando dados entre o PLC e o node red pelo palete node-red-contrib-s7 3.1.0, porém ele não lança erro de comunicação num nó Catch, como outros nós fazem. encontrei um fórum em inglês onde dizem que resolveram, mas não postaram a solução detalhada.

> [@Problem to display state from device](https://discourse.nodered.org/t/problem-to-display-state-from-device/22484):
>
> Greetings, I am still fresh to the Node Red, seeking for some help for displaying the status of my S7-1200 PLC with the node-red-contrib-ui-state-trail. It can be display when the S7 is sending value, so I am able to use a change node to change the integer value to boolean for display On. But I wonder how to display for the S7 off status, because when I tried to disconnect my S7, I can't get any value from it, only the debug message showing msg : string[20] "Failure (Bad values)". So, I woul…

---

<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:** [5 August 2024 15:39 UTC](https://discourse.nodered.org/t/nao-consigo-obter-o-status-da-conexao-do-plc-s7-1200-com-o-node-red/87788/2 "2024-08-05T15:39:11Z")

</div>

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