• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NPIX-4DI4DO and NetPi-Nodered container issues
#5
(November-16th-2020, 07:20 AM)Armin@netPI Wrote: I checked the current and latest hilschernetpi/node-red compiled 12 days ago with my personal netPI plus NPIX-4DI4DO and it works fine as it should. 

I tested IN0. The result is 



The input is coming and going when I am connecting the 24V also to pin IN0 or when remove it.

Hi Armin, 

Many thanks for your help. Apologies for the late response. 

After a little tinkering with the NetPi, I have gotten the NPIX DIO to work. (:

As per your advice in your earlier reply:

1) To read DIN 1 from terminal
  • The response I receive from DIN 1 with keyence sensor is 0
2) To test the DIN 1 by injecting 24V into the port
  • The Input node responded with 'set', signifying that the DIN 1 is working fine
3) To verify that both NetPi and Keyence sensor are of same GND/0V potential
  • Verified that they do come from the same ground. 
After these three tests were done and DIN still showed 0 on Node-Red, I have resorted to using another photoelectric sensor (Pepperl+Fuch). With this sensor, and the same flow, the sensor data finally came through, narrowing down to the Keyence sensor being the suspect. 

While I am still finding the root cause on the issue with the Keyence sensor, my guesses are that there might be some compatibility issues with that model. Till then, I may need to peruse its data sheet for more clues. 

It is worth to mention that a good colleague of mine suggested the use of relay in between Keyence sensor and NetPi as a workaround as that has worked with a PLC (same issues too; could not read from it). 

Thanks a lot Armin for sharing some insights on troubleshooting the NPIX DIO. 

Cheers, 
Alhammi
  Reply


Messages In This Thread
NPIX-4DI4DO and NetPi-Nodered container issues - by alhammi - November-13th-2020, 02:14 AM
RE: NPIX-4DI4DO and NetPi-Nodered container issues - by alhammi - November-16th-2020, 01:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  NIOT-E-NPIX-RS485 LucioFiam 6 4,391 January-21st-2023, 05:20 PM
Last Post: Armin@netPI
  https certificate issues in new nodered docker image Dipro 1 1,722 May-4th-2022, 05:46 AM
Last Post: Armin@netPI
  HTTP Request using Nodered DSongra 6 3,558 August-20th-2021, 11:44 AM
Last Post: Armin@netPI
  TOSILOCK for CONTAINER COswald 3 2,269 July-13th-2021, 11:32 AM
Last Post: Armin@netPI
  Access to RTC from my own container application tad 1 3,599 March-19th-2021, 02:58 PM
Last Post: Armin@netPI
  [SOLVED] Starting services/commands/scripts at startup of a container Jonas.Sellmann@outlook.de 9 6,271 March-9th-2021, 08:47 AM
Last Post: WalterSchaefer
  OpenVPN container Armin@netPI 0 1,668 January-3rd-2021, 12:13 PM
Last Post: Armin@netPI
  operating Console of a container on netPI connected to Wi-Fi tethering tad 3 2,706 December-3rd-2020, 12:32 PM
Last Post: tad
  NIOT-E-NPIX-4DI4DO with netpi-netx container WalterSchaefer 3 6,758 November-25th-2020, 01:06 PM
Last Post: zen89
  Get host MAC via REST API inside container bschandra 4 3,739 November-16th-2020, 09:26 AM
Last Post: bschandra

Forum Jump:


Users browsing this thread: 1 Guest(s)