November-16th-2020, 01:35 PM
(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
- The Input node responded with 'set', signifying that the DIN 1 is working fine
- Verified that they do come from the same ground.
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