# MQTT Out with SPS

**URL:** <https://discourse.nodered.org/t/mqtt-out-with-sps/36755>\
**Category:** Developing Nodes\
**Created:** [30 November 2020 12:28 UTC](https://discourse.nodered.org/t/mqtt-out-with-sps/36755 "2020-11-30T12:28:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![neuby](https://avatars.discourse-cdn.com/v4/letter/n/54ee81/32.png) [@neuby](https://discourse.nodered.org/u/neuby)\
**Post date:** [30 November 2020 12:28 UTC](https://discourse.nodered.org/t/mqtt-out-with-sps/36755/1 "2020-11-30T12:28:37Z")

</div>

Hello,  
I am very new in Node Red. Aktually I am working on a test connection betwen the Node Red an a Siemens PLC. Actually i can read everything i want. Here is a screenshot when i read the array. For that i use the path: "ie/d/j/simatic/v1/s7c1/dp/r/Handshake/#"  
 ![2020-11-30 13_21_21-IE Flow Creator 1.0.4 _ 172.26.12.106](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/5/35fb0a0b323bb83f212b60905572eb116c90339f.jpeg)  
But next I want to write in a boolean variable of the Array and i don`t know how i have to write the path of the Array.  
 ![2020-11-30 13_23_24-IE Flow Creator 1.0.4 _ 172.26.12.106](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/a/4ae0ff8215acc82ec8b456f40050f5d1af632ea7.jpeg)

Thank you for your Help.

Greetings

Moritz

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [30 November 2020 13:43 UTC](https://discourse.nodered.org/t/mqtt-out-with-sps/36755/2 "2020-11-30T13:43:36Z")

</div>

Welcome to the forum @neuby.

Is the PLC publishing direct to the MQTT broker or do you have an intermediate device of some sort?  
If the PLC is doing it, is what you need not documented in the PLC docs?

---

<div class="post-metadata">

**Author:** ![neuby](https://avatars.discourse-cdn.com/v4/letter/n/54ee81/32.png) [@neuby](https://discourse.nodered.org/u/neuby)\
**Post date:** [30 November 2020 14:43 UTC](https://discourse.nodered.org/t/mqtt-out-with-sps/36755/3 "2020-11-30T14:43:06Z")

</div>

Hello,  
I have an IIoT Connector from Siemens betwen the PLC and the MQTT broker and I don`t find any documents who show me how to Adress that. This Device ist still in development an so there is not much Information about everything. So i hoped that there is a System in Node Red how to call an variable in an Array.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [30 November 2020 15:36 UTC](https://discourse.nodered.org/t/mqtt-out-with-sps/36755/4 "2020-11-30T15:36:09Z")

</div>

Ah, sorry, I thought you meant you don't know the mqtt topic to use. If it is just that you don't know how to get the value out of your data structure then, as a beginner, I suggest you first spend an hour watching the Node red Essentials videos linked from the node-red docs. Then have a look at the [Working with Messages](https://nodered.org/docs/user-guide/messages) page which should enable you to get there. If you still can't work it out then ask again.

---

<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:** [29 January 2021 15:36 UTC](https://discourse.nodered.org/t/mqtt-out-with-sps/36755/5 "2021-01-29T15:36:15Z")

</div>

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