# Pass value to S7 from mysql

**URL:** <https://discourse.nodered.org/t/pass-value-to-s7-from-mysql/43230>\
**Category:** General\
**Created:** [26 March 2021 09:26 UTC](https://discourse.nodered.org/t/pass-value-to-s7-from-mysql/43230 "2021-03-26T09:26:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eimerich](https://avatars.discourse-cdn.com/v4/letter/e/b5a626/32.png) [@Eimerich](https://discourse.nodered.org/u/Eimerich)\
**Post date:** [26 March 2021 09:26 UTC](https://discourse.nodered.org/t/pass-value-to-s7-from-mysql/43230/1 "2021-03-26T09:26:46Z")

</div>

Hi there,  
My next step into the forest of S7/Mysql interconnection...  
I successfully created a test insert node using an "inject" node connected to the S7 out node and forcing the script of a value (text).  
Right... now, how can I perform the same passing the value from a mysql table?  
The idea would be to be able to pass an order number value to a production\_order field on the machine (related to a specific variable). I've look around but wasn't lucky enought to get right infos.

So hivemind help me! 😃  
Thanks in advance.

Michelel

---

<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:** [25 May 2021 09:27 UTC](https://discourse.nodered.org/t/pass-value-to-s7-from-mysql/43230/2 "2021-05-25T09:27:31Z")

</div>

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