Problem Read Boolean Variable Contrib S7

Hall, I'm having problems with an S7 417-3.
I can no longer write any Boolean variables to the controller.
If I do the whole thing using an integer variable, it works fine.
Has anyone ever had the same problem

Just installed and tried S7 on node red out and I'm having the same problem. Variable writing works but trying to write single bit with boolean doesn't work. I'm running 416-5H and using PCS7 to program.

working OK to S7-315 and IMI151-8 using this code:

msg.payload = {"value":[!!Number(msg.payload)]};

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