st-one-io / node-red-contrib-cip-ethernet-ip

A Node-RED node to interact with Allen Bradley / Rockwell PLCs
GNU General Public License v3.0
51 stars 26 forks source link

Bool Variable #35

Open dpatel2016 opened 1 year ago

dpatel2016 commented 1 year ago

Describe the bug

I am trying to write a Bool in the PLC and it works but I need that bool to stay true for certain seconds. I am unable to keep the variable true for 2 seconds.

To Reproduce

Steps to reproduce the behavior:

  1. Make a bool variable
  2. Attach a TON timer to it of 2 seconds.
  3. Write the variable from node-red by injecting a true payload.

Expected behavior

I was I hoping can turn the variable on for 2 seconds and then turn it off.

Environment