Hello
I am currently using a 7358 board with two UMI-7774 in order to command eight stepper motors (although I only have one at the present time).
The motor drive I use has an error output, which I connected first to the fault inputs of the UMI, and it worked fine : the fault led turns on and off properly, disabling the drive whenever there is an error on it. Now what I would like is to get that signal in my Motion program to be detected as a drive fault (I saw there was a function to configure this in the documentation - I am using NI motion 7.0.0 with CVI 7.1). As I could not find which port could be used, I contacted the NI support to get help, where they told me the UMI could not do that : the signal is not forwarded to a digital IO
As my client would like to have both the Led turning on and the software detecting the drive error (and I agree with that), I have to think about a new solution.
- I first thought about just connecting both inputs in parallel but I am not sure of how to wire them so the isolation is not lost.
- The other solution that I have tried is to use onboard programming to forward the signal from a digital input to a digital output, and then wire this output to the fault input of the UMI. I know this seems a bit complicated for not much but I could not do it anyway : I don't know how to use the flex_set_port function onboard : how do I pass the MustOn and MustOff onboard variables (they are calculated properly, I have checked that already)? I know the wiring is working on this one as I can read the error signal from my drive, ant I can control the output properly to turn the fault LED on or off, although I may have messed up the electric isolation too. By the vay, each of the IO of my drive has a completely separate isolation.
I know there is quite a lot of questions in this post, I hope you can help.
Thank you in advance
Christophe