Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI 7332 to P70530 Direct cable connection

Hi,I am trying to connect a PCI 7332 controller card to two P70530 Drivers through a direct cable (not using any NI UMI-xxxx hardware).Both Drivers are connected to T23NRLH stepper motors.  I have successfully configured the Drivers and motors through the P7000 tool, using a serial cable.I have confirmed on a scope that the PCI 7332 Controller card does send correct step signals out on Dir(CCW) and Step(CW) for both axis 1 and 2. I have tried to control the motor from the "Measurement & Automation Explorer" under "NI-Motion Devices -> PCI7330 -> Interactive" with an open loop controlThe Controller card does not report any errors, and "thinks" the motor is running - but it is not.  I suspect that my direct cable connection might be wrong, can you please confirm if this wirering is sufficient:These are the only leads connected From PCI 7330           ----> To P70530 (1 of 2):Axis 1 Dir CCW (Pin 1)  ----> (Pin J4-3) Dir+Digital ground (Pin 2)  ----> (Pin J4-4) Dir-Axis 1 Step CW (Pin 35) ----> (Pin J4-1) Step+Digital ground (Pin 3)  ----> (Pin J4-2) Step-                        ----> To P70530 (2 of 2):Axis 2 Dir CCW (Pin 7)  ----> (Pin J4-3) Dir+Digital ground (Pin 😎  ----> (Pin J4-4) Dir-Axis 2 Step CW (Pin 41) ----> (Pin J4-1) Step+Digital ground (Pin 9)  ----> (Pin J4-2) Step- Do I need any other connections to make it work?Or do you have any suggestions for debugging? b.r.Torben    
0 Kudos
Message 1 of 7
(4,407 Views)

The pin connection didn't turn out as nice on the graphic:

 

 

From PCI 7330           ----> To P70530 (1 of 2):

 

Axis 1 Dir CCW (Pin 1)  ----> (Pin J4-3) Dir+

 

Digital ground (Pin 2)  ----> (Pin J4-4) Dir-

 

Axis 1 Step CW (Pin 35) ----> (Pin J4-1) Step+

 

Digital ground (Pin 3)  ----> (Pin J4-2) Step-

 

                        ----> To P70530 (2 of 2):

 

Axis 2 Dir CCW (Pin 7)  ----> (Pin J4-3) Dir+

 

Digital ground (Pin 😎  ----> (Pin J4-4) Dir-

 

Axis 2 Step CW (Pin 41) ----> (Pin J4-1) Step+

 

Digital ground (Pin 9)  ----> (Pin J4-2) Step-

0 Kudos
Message 2 of 7
(4,405 Views)

Torben, I never tried connecting the controller directly to the drive (I use an UMI) but I think you should connect the Enable+ and Enable- lines to enable your drive. Also look at the driver LEDs, their different blinking are fault indication (the different blink codes can be found in the driver manual).

 

Hope this help!

 

Ben

 

NOTE: Looking at the UMI user manual can also give you some hints.

0 Kudos
Message 3 of 7
(4,394 Views)

Hi Ben,

thanks for the input.

 

I have left the Enable+ and Enable- (Pin J4-5 and J4-6) open. The P70530 manual reports that "if the inputs are left open, the drive is enabled".

 

The LED on both the P70530 are flashing solid green - indicating an ok system.

 

Do you connect anything the Ground (Pin J4-9) or +5V I/O Power Source (Pin J4-19)?

 

b.r.

Torben

0 Kudos
Message 4 of 7
(4,381 Views)

Hi Ben,

I decided to try out the ENABLE port. 

To test the P70530 drives without the controller I have tried to generate signals on the J4 port using function generators, supplying the following:
 
A square wave 5V signal on STEP (between J4-1 and J4-2)
A constant 5V signal on DIR (between J4-3 and J4-4)
A constant 0V signal on ENABLE (between J4-5 and J4-6)
 
I have tested with squawave signals with frequencies from 100Hz up to 1kHz, and with duty cycles ranging between 50% and 80%.
I have tested with 5V and 0V signals on DIR
I have also tested with a constant 5V on ENABLE, the drive disables correctly, the green LED starts to blink, and the motor shaft may be turned manually. 
When having 0V on ENABLE pins (or when leaving open), the LED is constant green and the motor shaft cannot be turned manually.
 
Using the P7000 tool, I have programmed the P70530 with multistepping 50.000 step/rev and also tried full step 200 step/rev.
Switch settings when using serial programming setup are S1=0 and all S2=OFF.
 
I have also tried using this manual switch setup:
S1=4,   S2-1=OFF,  S2-2=ON and S2-12=ON(or OFF), all other off.
 
and I have also tried using this manual switch setup:
S1=4,   S2-1=OFF,  S2-2=ON,  S2-3=ON,  S2-4=ON and S2-12=ON(or OFF), all other off.
 
So the ENABLE port works fine but none of the above have made it possible to make the motors run.
0 Kudos
Message 5 of 7
(4,337 Views)
dd
0 Kudos
Message 6 of 7
(4,299 Views)

 

There are several possible causes for your problems. In case your driver unit has opto isolator inputs maybe you already have destroyed the input circuitry since you did not use any current limiting resistors. Also, it is better to wire the outputs of the NI card in sink mode. I.e., connect the (+) terminals of the driver unit to a 5VDC source (must have common GND with the host system) via a current limiting resistor, and connect the (-) terminals to the outputs of the NI card. t is also possible that your driver expects differential signals (similar to RS485 standard). In this case, you need additional circuitry. ICs like the Am26LS31 will generate proper voltage level from the TTL outputs of the NI cards.You may use the 5VDC output of the NI cards as supply for the optoisolator inputs (or other circuitry) as long as total supply current does not exceed 100mA..  

0 Kudos
Message 7 of 7
(4,297 Views)