04-13-2011 05:19 AM
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.
04-14-2011 01:14 AM