Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

NI scan engine rate with 9423

Good day all, for my HW i have a 9144 connected to 9074 using etherCAT. One of the modules i'm using is 9423.

Basically i have other modules controlling a stepper motor. The only problem i have is it doesn't have an encoder / resolver.

 

So i was provided with a close proximity switch which as an update rate of 5kHz. Magnets (8 of them) are mouted on the shaft of the stepper motor. I read the specification of 9423, the C-series module has an update rate of 1MHz.

 

So my problem is how can i achieve the 5kHz detection (worst case) with NI scan engine which is limited to 1ms.

So i was wondering to use the FPGA, but the backend is actually using FPGA code (counting the rising edges) which can achieved. But in the main program, which i used a time loop. How can it to meet this timing as close as possible?

 

1MHz with peroid of 1 or 1KHz with peroid of 10, or Sync with Scan Engine with peroid of 10?

 

Thanks in advance!

 

I have attached the datasheet of the\ switch.

 

0 Kudos
Message 1 of 2
(3,251 Views)
0 Kudos
Message 2 of 2
(3,245 Views)