Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use NI 7350 Motion controller to control PI M-230??

Hi all,

I want to setup the feedback control system to control PI M-230 (a motor model from PI, see description at: http://www.physikinstrumente.com/en/products/prdetail.php?sortnr=703400). LabView 8.0 is installed on the computer. I am trying to figure out how to configure and interface with the motor. we have bought NI 7350 motion controller (PCI) and MID-7654/7652 Servo Power Motor Drive (see description at: http://sine.ni.com/nips/cds/view/p/lang/en/nid/10837). But I find the outputs of MID-7654 Motor drive don't match the input port of the PI motor. The outputs of MID-7654 are seperate, whereas the PI motor input port is a series port with 15 pins. Can anyone tell me a way to connect them together?

I search online and find PI offers the interface device called C809.40 for NI motors (see description at: http://www.physikinstrumente.com/en/products/prdetail.php?sortnr=900970). It seems a good solution for the configuration problem. Should I return MID-7654 and buy the C809.40 instead?

Thanks!
zhiping



0 Kudos
Message 1 of 11
(5,200 Views)
You should have everything you need.  The manuals for each device gives the pinouts for the different connectors.  You will have to make up your own connection with a DB-15 connector, though.
0 Kudos
Message 2 of 11
(5,196 Views)
I see, thanks!

One more question, how can I figure out which pin of DB-15 should connect to which output of MID-7654?

Thanks a lot.
0 Kudos
Message 3 of 11
(5,187 Views)
Hi,

I have set up the connection between PI M230 and MID7652, but I don't understand what are the functions of "inhibit inputs/ouputs". Can someone help me on this?

BTW the motor I used, PI M230, has no pin for "inhibit", so when I power MID7652 the "inhibit" LED is always green. I tried to change inhibit polarity but it remains the same.

Thanks!!
zhipng
0 Kudos
Message 4 of 11
(5,091 Views)
Hi, One more question:

When I used the one-axis example given by NI to control the motor, the motor did move a bit and an error message as attached came out. It says the move can't be completed because the input limit is active in the direction. I changed to the opposite position and it is the same error. Can anyone tell me why I got this message?

thanks!! zhiping
0 Kudos
Message 5 of 11
(5,082 Views)
Hello talk2stars,

The inhibit input and output signals on the motion driver can be used to cut off control of the axes by the motion controller. This means that when the inhibit signal is in the active state, the motor runs freely i.e. is not controlled by the motion controller anymore. The inhibit input switch enables you to disable control of the motor axes by the motion controller card based on feedback to the motor driver.

I hope this answers your question. Here is a link that describes inhibit output signals: http://digital.ni.com/public.nsf/allkb/0B2217C7F1293E17862569E70001267E?OpenDocument.



Vivek Nath
National Instruments
Applications Engineer
Machine Vision
0 Kudos
Message 6 of 11
(5,057 Views)

Thanks a lot!!

Now I know what the inhibit signals mean, but I still didn't understand why I get the error message. When I ran the LabView, the indicated movement of the motor always exceeds my desired position (although the motor only moved a bit as I saw) and the error message came out.

zhiping

0 Kudos
Message 7 of 11
(5,047 Views)
It's the limit switches(end of travel).  Either you have them wired or configured incorrectly.
0 Kudos
Message 8 of 11
(5,041 Views)
Thanks for the quick reply. Below are the PI  M-230 pinouts and the connection I did. Probably I messed with inhibit pins and limit pins but I don't where.

Pinouts of PI M-230.25 DB15 Connector

Internal Use                              1  
Motor (-) (in)                                       9
Motor(+) (in)                             2  
Power-GND                                       10                  
Interal Use                                3
Interal Use                                          11
+5 V (in)                                    4
Negative Limit (out)                            12
Positive Limit (out)                    5      
Internal Use                                        13
Limit GND                                 6
Encoder: A(+)/ENC A (out)                14
Encoder: A(-) (out)                    7               
Encoder: B(+)/ENCB (out)                15
Encoder: B(-) (out)                    8

Connection with MID-7652 Motor Drive (I use Axis 1)


MID-7652 Motor Drive                                        PI 230.25 DB15 Connector

Encoder 1 Connections

Encoder A              1        -------------------------         14        Encoder: A(+)                
---------------
Encoder A              2        -------------------------          7          Encoder: A(-)                

Encoder B              3        -------------------------         15        Encoder: B(+)                
---------------
Encoder B              4        -------------------------          8          Encoder: B(-)                

Index                      5                
-------
Index                      6                    

+5 V                       7        -------------------------           4          +5 V                

Digital Ground        8        -------------------------         10         Power-GND             

Limit 1 Connections

Foward Limit         1         -------------------------          5          Positive Limit                 
 
Home Input            2
 
Reverse Limit        3         -------------------------         12          Negative Limit                   
------------------
Inhibit Input            4
----------------
Inhibit Output         5

Digital Ground       6         -------------------------          6           Limit GND             

Servo Motor 1 Connections

Motor +               1          -------------------------          2            Motor (+)               

Motor -                2          -------------------------          9            Motor  (-)                 

Case Ground      3  

NC                      4

NC                      5

0 Kudos
Message 9 of 11
(5,036 Views)
You need to look at how you have the limits configured in MAX.  The 1D interactive move section will tell you much information, including the status of the limits.
0 Kudos
Message 10 of 11
(5,023 Views)