Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

how to generate CW/CWW signal using NI 7340 motion controller

hi,
I am new to labview and want to drive a 5 phase stepper motor using NI 7340 motion controller. I have third party stepper drive UMI 7774.The third party stepper drive has CW+,CW-,CCW+,CCW- terminals with which I have connected cw terminal of axis 1 control connector of UMI. I have connected both the motion controller terminal and digital i/o terminal to UMI 7774 respective terminals.I am attatching the steps I have taken to initialise the motion controller,But the motor is not moving. Please tell me where is the error.
                                                                                                                                                                                          best regards
                                                                                                                                                                                           sumanta
0 Kudos
Message 1 of 13
(6,299 Views)

Sumanta,

 

the labelling of the command inputs of your drive implies, that the input circuitry is protected by an opto coupler. For such a setup you need to connect the open collector output signals of the 7340 a bit differently than you have done. Please refer to this document for further information.

 

Just another hint: It's not necessary to take a series of screenshots to document your MAX settings. Instead you can export the settings (File >> Export) and post these instead of a huge PPT file.

 

Kind regards,

Jochen Klier

National Instruments

0 Kudos
Message 2 of 13
(6,295 Views)

hi,

 thanks for  your prompt reply. I have read the material and as well connected the +5 volt isolated power supply to CW+ input of driver and CW- of the driver to the CW input of UMI. but motor does not run. I also measured the voltage between CW+ and CW- of the driver as 0.69 volt. I have read the note where it is written that " the diode will toggle between +5 volt to 0 volt. " but my question is that for toggling the diode the CW pulse must be toggle between diode's cutoff voltage and on state voltage. if there is no toggling of voltage at the CW input then how will the diode toggle?

                                                                                                                                                                                         best regards

                                                                                                                                                                                              Sumanta

0 Kudos
Message 3 of 13
(6,271 Views)

Sumanta,

 

please send me a link to your drive's user manual and I will have a look at it.

 

Thanks,

Jochen

0 Kudos
Message 4 of 13
(6,269 Views)

hi ,

here is the link to the drive's manual

http://www.orientalmotor.com.sg/staff/products/HP-1427E.pdf

 

                                                                                                   thank you,

                                                                                                   Sumanta

0 Kudos
Message 5 of 13
(6,267 Views)

Sumanta,

 

thank you for posting the link. As expected the drive's inputs are equipped with optocouplers and your new wiring scheme should be correct in theory, but according to your statement still something is wrong.

Here are some questions that should help to identify the problem:

 

  1. Is your motor powered if you turn on the power for your drive (is there some holding torque)?
  2. Have you configured the drive correctly (you can configure the drive for CW/CCW or for Pulse/Direction)?
  3. Have you supplied +5 V to the Viso terminal of the UMI's power input?

Thanks,

Jochen

0 Kudos
Message 6 of 13
(6,263 Views)

hi,

 

yes , 1) there is a holding torque in the motor when powered

         2)  I have configured the drive correctly for CW movement

          3) but  I have not connected the +5 V supply to UMI's Viso power input, I  had directly conncted the isolated +5v  power supply to CW+ of the driver.

           

            Ok , I will do that connection. now tell me when I will connect the Viso to +5v supply, from where will I take connection to CW+ terminal of the driver. will I take the connection directly from UMI's Viso to CW+?

                                                                                                                                                       best  regards

                                                                                                                                                        sumanta
 

0 Kudos
Message 7 of 13
(6,258 Views)

Sumanta,

 

as long as you have connected the CW+ of your  drive to +5 V, you don't have to necessarily get this voltage from the UMI. I just understood your statement in a way that you have connected the CW+ connector to the Iso Power (Output) connector of the Per Axis Control Connector on the UMI and obviously this pin only provides +5 V if you have connected such a power supply to the UMI's Viso input.

 

From the distance it's a bit hard to tell what's going on. I have checked the pulse width specifications and some other things, but I couldn't find an obvious reason why your setup shouldn't work.

 

Could you please check the operation of the CW/CCW outputs with an oscilloscope? It might be also a good idea to do this without connecting the drive to the UMI to make sure, that nothing is broken.

 

Thanks,

Jochen

 

 

0 Kudos
Message 8 of 13
(6,238 Views)

hi,

thanks for being with me.As you have told , without connecting the drive to the UMI, I have traced the pulse coming out from the CW/CCW output of the controller as well as UMI using my cDAQ. but the signal is some kind of noisy signal with +5 volt DC offset. it is not a regular pulse that is expected to come out from the motion I/O. but the motor very easily run with simple digital pulse . even I have made a simple pulse generator with which it runs fine and with digital I/O pulse signal coming out from port 1 ,the motor runs fine. but the problem is only the motion I/O. the CW/CCW output never comes out  to be expected after all the MAX configuration is OK. It is just a kind of noisy irregular signal with a +5 volt DC offset. I have connected two motion controller and from both the cards this kind of signals comes out.

                                      best regards

                                      sumanta 

0 Kudos
Message 9 of 13
(6,229 Views)

hi Jochen,

As you have told , without connecting the drive to the UMI, I have traced the signal coming out from the CW/CCW output of the controller as well as UMI using my cDAQ. but the signal is some kind of noisy signal with +5 volt DC offset. it is not a regular pulse  but the motor very easily run with simple digital pulse . even I have made a simple pulse generator with which it runs fine and with digital I/O pulse signal coming out from port 1 ,the motor runs fine. but the problem is only the motion I/O. the CW/CCW output never comes out  to be expected after all the MAX configuration is OK. It is just a kind of noisy irregular signal with a +5 volt DC offset. The screenshot is attatched .I have connected two motion controller and from both the cards this kind of signals comes out.please give me reply.

                                                                                   best regards

                                                                                   sumanta 

0 Kudos
Message 10 of 13
(6,186 Views)