diff --git a/red/s7/s7-briq.js b/red/s7/s7-briq.js index 6808f17..0e8abc9 100644 --- a/red/s7/s7-briq.js +++ b/red/s7/s7-briq.js @@ -209,13 +209,13 @@ module.exports = function (RED) { var node = this; node.on('input', function (msg) { console.log("input", msg); - try { + /*try { read_msg.assert(msg); } catch (e) { let errors = read_msg.validate(msg); node.error("Msg " + JSON.stringify(msg) + " non valido: " + errors.map(x => x.path + ": " + x.message).join("\n")); return; - } + }*/ s7node_from_plc(msg.plc).then(s7conn => { return s7_read(msg.plc, s7conn, msg.payload.variable); }).then((out) => {