# S7comm node-red; input signal and path from inject payload

**URL:** <https://discourse.nodered.org/t/s7comm-node-red-input-signal-and-path-from-inject-payload/69605>\
**Category:** Industrial\
**Created:** [26 October 2022 08:25 UTC](https://discourse.nodered.org/t/s7comm-node-red-input-signal-and-path-from-inject-payload/69605 "2022-10-26T08:25:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![denissanga](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/denissanga/32/48346_2.png) [@denissanga](https://discourse.nodered.org/u/denissanga)\
**Post date:** [26 October 2022 08:25 UTC](https://discourse.nodered.org/t/s7comm-node-red-input-signal-and-path-from-inject-payload/69605/1 "2022-10-26T08:25:37Z")

</div>

I all, I'm writing a node-red code with s7comm node. I would like pass the signal and path message from a injection instead of set it in the "connection parameter"

this because I would create a general code with could work with many machines instead of customize parameters for each machine.

can someone help me?

---

<div class="post-metadata">

**Author:** ![FiloCara](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/filocara/32/27473_2.png) [@FiloCara](https://discourse.nodered.org/u/FiloCara)\
**Post date:** [26 October 2022 15:43 UTC](https://discourse.nodered.org/t/s7comm-node-red-input-signal-and-path-from-inject-payload/69605/2 "2022-10-26T15:43:12Z")

</div>

Hi,

Unfortunately, it is not possible to set the connection parameters from a message because the node you are using is not supporting it.

There is a workaround which involves the use of the [Admin API](https://nodered.org/docs/api/admin/methods/) directly from node-red to dynamically change the connection parameters of the node.

---

<div class="post-metadata">

**Author:** ![denissanga](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/denissanga/32/48346_2.png) [@denissanga](https://discourse.nodered.org/u/denissanga)\
**Post date:** [30 October 2022 21:05 UTC](https://discourse.nodered.org/t/s7comm-node-red-input-signal-and-path-from-inject-payload/69605/3 "2022-10-30T21:05:29Z")

</div>

Many thanks. Do you have example? I never set admin api

---

<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 December 2022 21:05 UTC](https://discourse.nodered.org/t/s7comm-node-red-input-signal-and-path-from-inject-payload/69605/4 "2022-12-29T21:05:42Z")

</div>

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