Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

NI 7330 TTL Signal

Hi,

 

I just want to create a 5V TTL signal with a NI 7330 card. If I have this, I want to change the frequency. How can I manage this with LabView?

 

Thank you very much

 

Phil

 

0 Kudos
Message 1 of 5
(4,421 Views)

Phil,

 

this is not a typical usecase for a NI 7330 motion contol card, but anyway. For your task you could use the step signal of an axis configured as open loop stepper. Then run a simple 1-axis example and you will see a 0 - 5 V output signal at the step output. You can vary the frequency of this signal by changing the velocity on the fly or by using the Load Velocity Override function.

If you need better control over your output signal (e. g. control the pulse width), you better should use a board with clocked general purpose digital I/Os like a PCI-6220

 

Another option is using the PWM outputs of the 7330 (Configure PWM Output and Load PWM Duty Cycle). The drawback of this solution is the limited number of discrete frequencies that are available. Here is the list of output frequencies for your board:

 

freq list.gif

 

If this list meets your needs, this could be an option for you.

 

Regards,

Jochen

0 Kudos
Message 2 of 5
(4,407 Views)

Hi Jochen,

 

thank you very much for your answer. I know, that this is not a typical use for this card, but I've to do this *g*

I'll try it by the first way

 

Phil

 

0 Kudos
Message 3 of 5
(4,405 Views)

Hi Jochen, 

 

I did it like you told me and I got a TTL Signal.

Then I started the Labview Example "1D Straight Line Move.vi" from NI-Motion and it worked.

When I raised down the velocity, the frequency was decreasing, so it was okay.

But when I raised up the velocity, over 10000, the TTL signal didn't change.

 

So, is there anywhere a velocity maximum in the NI-Motion Control?

 

And one other question: When I start in the NI-Motion Control Program an Interactive test, the signal raises up to 5V and stays there and the red light "Motor Axis kills off" appears. Why?

 

I would be very happy, if you could answears my questions

Thank  you very much

0 Kudos
Message 4 of 5
(4,401 Views)

Hi Tscherni,

 

sorry for the late response, but I was out of office for vacation. Have you been able to solve the issues, yet?

 

Regards,

Jochen

0 Kudos
Message 5 of 5
(4,314 Views)