LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Motion Control Connector (15 pin) Checking the Dir(CW) Pin#4 and Dir(CCW) pin#12 - LabView Help

Hi,
 
I want to check the output (digital 5V) from my Control Connector in the UMI-7774 on Axis#1.
 
The Control Connector (15 pin) has Dir(CW)  Pin#4 and Dir(CCW) pin#12
which i need to connect to my Servo motor drive (Forward and Reverse inputs in the Motor Drive, Both 24VDC).
I connect these pins : Dir(CW)  Pin#4 and Dir(CCW) pin#12 to the Forward and Reverse inputs in the Motor Drive,
I use a 24vdc relay with 5v coil (of the relay), and as i test it in Motion Assistant the Servo motor NOT MOVE !
So, i wanted to test if the  Dir(CW)  Pin#4 and Dir(CCW) pin#12 actually output 5v and i connect for each one led (with resistor).
The circuit i connect for testing that is this:
[pin#11  (Digital ground)  ] ---- [LED] ---- [RESISTOR] ---- [pin#4 Dir(CW) ]
 
same for pin#12 Dir(CCW)
 
i start Motion assistant for Simple move. Straigh Line Move. I hit "Start" and Nothing.. The Servo Motor doest move.
 
Please Note that  the encoder of the Servo Works Fine. When i move manualy(by hand) the Motor
I see in the MAX that the encoder position changes.
In Addition, When i input 24vdc into the Motor Drive,
 (i connect the 24vdc common into the Forward Input of the Motor Drive, in order to set the Motor Drive to Move Always Forward)
and then use the MAX or other Sample Program For simple move on One-Axis its work,
The Servo Motor Run and stops, i get the values from the encoder, the servo move.
 

The led also is off, so i didnt know why the umi doest output 5V to move the servo Forward (Pin#4  CW)

 
BUT, why i cant move the Servo when the Dir(CW)  Pin#4 and Dir(CCW) pin#12 connected Directly (through 24vdc relay offcurse)
To the Motor drive as it should be.
 
attached image for my umi and motor drive, the way i connect it.
 
 

I'm Using :

LabView 8
Motion Assistant 1.3
Latest Version of NI Motion Driver

 

Thanks for any help.
 
 
 
Best Regards,
Moti Mor
 
 
0 Kudos
Message 1 of 2
(2,463 Views)

Hi Moti,


If you read about Stepper Settings in the Measurement & Automation Explorer Help for Motion (go to Measurement & Automation Explorer and open Help >> Help Topics >> NI-Motion >> NI-Motion Configuration Help), it describes the output of stepper motor control for the Step & Direction mode or the Clockwise/Counter-Clockwise (CW/CCW) mode.  Normally, the direction line (for Step & Direction mode) would go high for one direction and low for the opposite direction.  


However, later on in your post, you mentioned that you are using a servo motor.  Please be aware that the motion controller can only be initialized for controlling one type of motor per axis.  In other words, on Axis 1, you can either do servo motor control OR stepper motor control, but not both at the same time.  If you are outputting control outputs for a servo motor, the stepper motor control lines cannot be controlled.


Hope this helps,
Irene Chow
National Instruments
Applications Engineer

0 Kudos
Message 2 of 2
(2,454 Views)