Reading data from the inputs of the device

The IO read node allows to read data from the digital inputs of the device and inject them into a flow.

  1. Open Node-RED.
  2. Add an IO read node from the Weidmüller category to the workspace.
  3. Double-click the IO read node to open the Edit node dialogue.
  4. In the Input drop-down list, select the desired digital input.
  5. Click Done to apply your changes.
  6. Add more nodes to the workspace and connect them to a flow with the IO read node being the first node.
  7. notice

    To filter a contact bounce at an input, use the debounce node.

  1. After deploying the flow, the IO read node injects a message containing the input data into the flow.