Negative Component Y Position in CPL File

Hi all,

Just attempting to use JLCPCB’s PCBA service for the first time. I’ve found all my components have a negative Y value which I believe is why it’s failing to move to the next step (actual error isn’t supplied).

I have set the origins to the top left border (unsure if this is the correct way to do it!)

Any ideas?

Sample-BOM_JLCSMT.xlsx (9.7 KB)

d2l2-2-all-pos.csv (240 Bytes)

Ah think I may have it, grid at top left, drill/placement at bottom left. Attempting…

See this issue
Some manufacturers have problems with negative Y on the B side

AFAIK JLC doesn’t require setting the origin since the CPL file is read in conjunction with the gerbers. In a previous job I had negative Y values in the top-pos file and the job was completed correctly.

Designator,Val,Package,Mid X,Mid Y,Rotation,Layer
"C1","100n","C_0603_1608Metric",132.737200,-61.595000,-90.000000,top
"Q1","MMBT5551","SOT-23",115.017200,-59.055000,0.000000,top
"Q2","MMBT5551","SOT-23",115.017200,-63.500000,0.000000,top
"Q3","MMBT5551","SOT-23",115.017200,-67.945000,0.000000,top
"Q4","MMBT5551","SOT-23",106.237200,-71.120000,0.000000,top
...

Maybe you should ask JLC what the problem is with your files.

Ah, my Kicad via Fedora repos is still on 6.06, I’ll upgrade.

Is there any convention where the drill point / grid should be? In my case I’ve stuck it on top/left corner cut and have preferences to incremental down and right.

It passes the CPL but I don’t know if JLCPCB check before placing components.

You should examine the preview that they display after uploading the BOM and CPL files because for some components, the orientation will be wrong and you have to edit the CPL and resubmit. They will also watch out for this and inform you.

Read this: https://twitter.com/yaqwsx_cz/status/1570383739821395969

A bit worrying, some of the components have the incorrect rotation as well (unless I should ignore the preview).

No, DO NOT ignore the preview. You have to correct the orientation in the CPL file and try again as discrepancies between their orientation and KiCad’s often pop up. They will ask you to fix the orientation if you don’t take any action. This is why some people use tools that store the correction for a given part and apply it the next time it’s used. I’ve been through this before, see the second PCB in my blog entry:

Interesting, they just told me to ignore it, that the engineer will correct, however I would much prefer to do that myself.

I wonder where these discrepancies are coming from, kicad’s side or their side. It appears to be SOT-23 (3&6) and SOT-223. Everything else looks good.

Also the SMD resistors, look closely.

They are fine?

I’m overlapping the big capacitors at the top and unsure if they can actually do it. By hand on reflow they can be done with a slither of a gap, probably 0402, but I don’t know what the pick and place tolerance is like for larger components.

Some are rotated 90°. Or it could be my eyesight not distinguishing silkscreen from the metal contacts. Anyway I had some rotated resistors in one job.

They were ok nothing was rotated 90 degrees, only 180 on the SOT-23 and SOT-223.