Send DATA to S7-1200 Problem

Hi

I am new with Node-RED :wink: i am trying to send data from Shelly plug to s7-1200 PLC but i keep getting “Data for item of type 'INT' must be a number” error.

I have Debug in parallel where the data gets to as a number. Whey do i get the error when on the S7 out node?

Welcome to the forums @kaan86

You will need to specify the exact name(s) (or link) to the shelly node you're using, the potential person to provide the answer, may not use shelly at all - but with knowing your full setup, may be able to to identify the issue - maybe provide a link to the node, so the community can review the Node.

A screenshot does nothing :smiley:

Or if the problem is when writing to the plc then tell us which node you are using for that.

Can this help? I link the input to payload.switch0.freq from the shelly…

And the connection to the PLC works i can change the value of i tried with a inject node it works..

If i works with 10 in msg.payload then insert a Change node configured to Move msg.payload.switch0.freq To msg.payload. Check in a debug node that then the required number appears in msg.payload and then feed that to the S7 node.

That did the job. Thanks

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