Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate 2 breakpoints on an encoder using the NI-7344 without physically connecting the encoder to a second axis?

I'm using the NI-7344 motion-controller (for the control of 2 servo-motors) in combination with an E-series DAQ-card.

I need to acquire data at two different scanrates using breakpoints over RTSI, one channel for example every 10 encoderpulses, the second channel for example every 200 encoderpulses.

I'm using on onboard program that uses the modulo breakpoint for generating a pulsetrain over RTSI, but I also need a breakpoint (from an unused axis) to generate the other pulsetrain.

Is there perhaps a way to tell an axis to use the encoder from another axis so the breakpoint can be generated at this axis without having to connect o
ne encoder to two different axis?

thanx
0 Kudos
Message 1 of 3
(4,497 Views)
Hello,

I am alittle confused about your application, but maybe this will answer your questions. In the "Configure Breakpoint VI" you can set the Axis or Encoder input as the following: Axis or Encoder is the axis or encoder to be controlled. You can enable Breakpoint Position on encoders mapped to axes 1 through 6 or directly on encoders 0x21 through 0x24.

So you can use an encoder that is not mapped to that axis.

Please let me know if this was not your question.

Regards,
Andy Bell
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(4,497 Views)
Thanks for the answer, but it's not quite clear yet.

Maybe it's a little bit confusing, or maybe I'm doing something wrong.

I've got the impression that you can only generate a breakpoint with the same number as the axis or encoder (axis1, encoder1 always uses breakpoint1, axis2, encoder2 always uses breakpoint2, etc???).

The main problem is how to set for example breakpoint 2 on a position of axis 1.
I didn't find anything to select which breakpoint to use for an axis.

Hope I've cleared something out.
0 Kudos
Message 3 of 3
(4,497 Views)