Hilscher Community Forum
[SOLVED] NPIX-DIDO - Printable Version

+- Hilscher Community Forum (https://forum.hilscher.com)
+-- Forum: netPI 3 - Docker featuring Industrial Raspberry Pi 3 platform (https://forum.hilscher.com/forum-1.html)
+--- Forum: Software (https://forum.hilscher.com/forum-5.html)
+--- Thread: [SOLVED] NPIX-DIDO (/thread-405.html)



[SOLVED] NPIX-DIDO - MGharat - March-12th-2019

Hi Armin,

I am testing with NPIX module DIDO with netPI.
 DI is functionng well. But DO not opearting , find attached my node-RED flow & script.

when I inject false/0 value to Dout0, it is not updating. It shows 24VDC only if I check potential between Dout0 & GND. i am using case as in png 6 attached.

BR
Madhumati


RE: NPIX-DIDO - Armin@netPI - March-12th-2019

First of all I need to say that the DOUT Node-RED node does accept only values 0 or 1. Values "false" or "true" are not accepted. So please do not use values "false" or "true".

As next you have to check the module's powering. In order to let DOUT0 to 3 operate properly you need to power 4DIDO module with 24Volts. So please apply 24VDC to pin 12 or 11 and 0V to pins 1 or 2. Only then the outputs are working. Have you applied 24VDC?

If you now inject value "1" to Node-RED DOUT0,1,2,3 then you see 24V at pin 4,6,8,10.


RE: NPIX-DIDO - MGharat - March-13th-2019

(March-12th-2019, 02:43 PM)Armin@netPI Wrote: First of all I need to say that the DOUT Node-RED node does accept only values 0 or 1. Values "false" or "true" are not accepted. So please do not use values "false" or "true".

As next you have to check the module's powering. In order to let DOUT0 to 3 operate properly you need to power 4DIDO module with 24Volts. So please apply 24VDC to pin 12 or 11 and 0V to pins 1 or 2. Only then the outputs are working. Have you applied 24VDC?

If you now inject value "1" to Node-RED DOUT0,1,2,3 then you see 24V at pin 4,6,8,10.

OK Armin, thanks, its happening