Hello,
Can you provide information on the best way to control the DO pins on the Edge Gateway? Specifically, I would like to send a ‘high’ output based on a sensor reading exceeding a threshold in NodeRed and then a ‘low’ when below a threshold.
The research I have done indicates I can use the ‘node-red-contrib-gpio’ library to do this. However, I wanted to check if there is a specific library or if there is another way I should go about accomplishing this.
Thanks!
Hal
Hello everyone, I hope you are well!!
I have the same question, do you have documentation regarding the DI/DO of the Gateway IIOT?
I need to activate and deactivate a DO from nodered
Thank you.
Greetings!!
@fsaavedra I am currently working on this and should have a path forward in a few days tops!
Thanks for your response, where do you get the documentation to command the outputs using Node-Red?
Greetings!!
Enterprise IIoT Gateway I/O and Node-Red
@Bhaskar @Eduardo_Mtz @haljones422
@fsaavedra Because you are looking for a solution; I put the fast track on this and am releasing it early focusing on the DO first
Here are the begins of documentation created for the Enterprise IIoT Gateway I/O and Node-Red.
DO section:
I am currently using the DI with Node-Red in production at a 100ms scan rate and it works great. It is much more complicated then the DO, but I will be releasing ASAP.
Thank you so much!!
With what you shared, I managed to do what I needed.
Greetings!!
Important update to DO control!
Please take note of important updates to the control of DO pins on the Gateway.
If DO is unconfigured in RobustOS, DO pins will pull low on settings updates or gateway restarts, potentially energizing equipment downstream!
DI pins are configured to trigger DO by default and must be disabled for independent control.
It is therefore imperative that we enable and configure the DO in RobustOS first!
Follow the new section on how to do this:
https://github.com/G-W-C/NCD-IIOT-Gateway/tree/main#configure-do-in-robustos
Hello everyone!
Thanks for the information shared, everything is very clear!
What is the maximum current that the DO supports?
Thanks.
Greetings!!
@fsaavedra
I cannot find any reference to amp ratings for the I/O. But I highly recommend using a relay to isolate the gateway from the load as the diagram shows.
In addition to Grant’s comment, according to the product datasheet, you can find under the DI/DO Interface section that the maximum ADC is 100mA.
Here is the link to the datasheet:
Thank you,
Eduardo M.