5 Replies Latest reply on Aug 13, 2010 8:33 AM by RLS2004

    Can you generate a list of component co-ordinates ?

    john.lintern

      I want to generate a list of all the co-ordinates for each component on a PCB.

       

      For example, something like this...

       

       

      RefXY
      R1100150
      R2235120
      R3480570
      C1050445
      C2690140
      U1080360

       

      I know when you right click 'Properties' on a component it tells you the co-ordinates (in 'Layout Data').

       

      But is there someway of generating a file to give me all this information, instead of having to right click on each indivual component ?

       

      When a surface mount insertion machine is used to fit the components, doesnt it need information like this to place the components ?

       

      So does PADS have a tool to generate this data ?

        • 1. Re: Can you generate a list of component co-ordinates ?
          yu.yanfeng

          File menu > CAM Plus and in the Part Definition Filename box, type part.def(You can dine the file).

          CAM Plus may be a licensed feature. If you don't have this feature in your license, you can output this file using script(there is Part List Report.BAS in the install directory)

           

          Yanfeng

          • 2. Re: Can you generate a list of component co-ordinates ?
            RLS2004

            Pads Layout installs many "unsupported" vb scripts that are quite useful. Under \tools\basic scripts\basic scripts, load then Run the script   "XY Positions"

            The .bas file was installed at this location:

            C:\MentorGraphics\9.0.2PADS\SDD_HOME\Samples\Scripts\Layout\Unsupported\XY Positions.BAS

             

            Running the report generates the ascii text file (see below).  (I have no idea what "Exact" field is for, Free probably refers to Glued parts).  Load it into Excel if you prefer a spreadsheet.

             

            RefDes     X              Y             Rot.       Exact     (FREE)    Side
            C1         1185.0000  435.0000   270        EXACT     (FREE)    Top                          
            C2         1400.0000  335.0000   180        EXACT     (FREE)    Top                          
            C3         2398.0000  345.0000   000        EXACT     (FREE)    Top                          
            C4         2335.0000  155.0000   090        EXACT     (FREE)    Top                          
            C5         2335.0000  10.0000    090        EXACT     (FREE)    Top                          
            C6         2434.0000  192.0000   000        EXACT     (FREE)    Top

             

            Hope this helps.
            RLS   

            • 3. Re: Can you generate a list of component co-ordinates ?
              jenny.yao

              Even I have the part spreasheet in excel or in .txt, how can I prepare a part.def file?  I thought they are in the different format for different mashine.

              I tried to run CAM plus, it always tell me no part.def file found.

              • 4. Re: Can you generate a list of component co-ordinates ?
                k.voss

                Have  a look in PADS Routers spredsheet window, Select component and you have a list of all componentes. You can copy it in Excel.

                • 5. Re: Can you generate a list of component co-ordinates ?
                  RLS2004

                  I used CAMPLUS in the early 90s to generate pick and place files for my local pcb assembly house.
                  After finding out they had much better software and weren't using my files I quit making them.


                  CAMPLUS might be useful to you if you have  dedicated machines. I never found a good use for it. Perhaps you can.

                   

                  Below is a portion of the part.def file from 1993. Note there is one line for each part in inventory that you want placed on the board. The first part of the line is the company stock number or Pads PartType. Following that is the type of machine required, etc. You must generate this file with a text editor. The lines can be in any order, just need one for each part.

                   

                  No doubt the format of the line has changed since 1993. Look in the Pads Concept documentation for latest info. (Or contact Mentor Tech Support for assistance).  This is the default location where I found CAMPLUS documentation ---   C:\MentorGraphics\9.1PADS\docs\htmldocs\padslayout_concepts\index.htm

                   

                  7400,ins=un6241,bodydiam=200,leaddiam=20,anvil=2
                  7402,ins=quad,type=TTL,number=1122,val=5V,tol=10,feedtype=2,pip=1,feednum=3
                  7404,ins=quad,type=TTL,number=2233,val=5V,tol=10,feedtype=2,pip=2
                  7420,ins=quad,type=TTL,number=2323,val=5V,tol=10,feedtype=2,pip=2
                  7432,ins=dynpro,type=TTL,number=34343,val=5V,tol=10,feedtype=2,pip=1
                  7440,ins=dynpro,type=TTL,number=433443,val=5V,tol=10,feedtype=2,pip=3
                  7474,type=TTL,number=34343,val=5V,tol=10,feedtype=2,pip=4
                  74139,type=TTL,number=34343,val=5V,tol=10,feedtype=2,pip=1
                  6167,ins=sims72,type=memory
                  CL25,type=cap,number=5455,val=5V,tol=10,feedtype=2,pip=2
                  CK05,ins=noinsert,type=cap,number=454545,val=5V,tol=10,feedtype=2,pip=1
                  CL25{10UF},number=123456
                  CK05{.01UF},number=2345667
                  R1/8W{1K},ins=un6241,bodydiam=80,leaddiam=20,anvil=2
                  R1/4W,ins=un6241,bodydiam=80,leaddiam=20,anvil=2
                  R1/4W{1K2},ins=un6241,bodydiam=80,leaddiam=30
                  R1/4W{4.7K},ins=un6241,bodydiam=100,leaddiam=3,anvil=2
                  R1/4W{22K},ins=un6241,bodydiam=100,leaddiam=30,anvil=2
                  R1/4W{47K7},ins=un6241,bodydiam=110,leaddiam=30,anvil=2
                  R1/4W{100K},ins=un6241,bodydiam=200,leaddiam=30,anvil=2
                  R1/4W{220},ins=un6241,bodydiam=107,leaddiam=30,anvil=2
                  res,ins=un6241,bodydiam=100,leaddiam=25,anvil=-2
                  XTAL1,ins=zeva,type=crystal,number=45454,val=5mhz,tol=10,feedtype=2,pip=3
                  CON\26P\ED,ins=noinsert
                  MTHOLE1,ins=noinsert
                  MTHOLE2,ins=noinsert
                  MOIRE,ins=noinsert
                  THOLE109,ins=noinsert
                  fiducial,ins=noinsert
                  01uf,reptype=2cap
                  res100,reptype=23xxyz2