My problems with limit switches - my assembly progress
Re: My problems with limit switches - my assembly progress
Turns out that Zmax switch was wired wrongly Ok let's continue.
Re: My problems with limit switches - my assembly progress
Ok right now situation is that I can pick and place 0805 parts but not with high accuracy. Better tuning is needed, also 0402 picking is not possible now. But, I m close. Those days is so hot to work properly and to fix everything, I ll stop for now and wait for the night.
Re: My problems with limit switches - my assembly progress
I m defining fiducials annd have constant software failures:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at LitePlacer.FormMain.ValidateCADdata_m()
at LitePlacer.FormMain.BuildMachineCoordinateData_m()
at LitePlacer.FormMain.ReMeasure_button_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
LitePlacer
Assembly Version: 1.0.6022.16580
Win32 Version: 1.0.0.0
CodeBase: file:///C:/LitePlacer/LitePlacer.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
AForge.Video.DirectShow
Assembly Version: 2.2.5.0
Win32 Version: 2.2.5.0
CodeBase: file:///C:/LitePlacer/AForge.Video.DirectShow.DLL
----------------------------------------
AForge.Video
Assembly Version: 2.2.5.0
Win32 Version: 2.2.5.0
CodeBase: file:///C:/LitePlacer/AForge.Video.DLL
----------------------------------------
System.Web.Extensions
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Web.Extensions/v4.0_4.0.0.0__31bf3856ad364e35/System.Web.Extensions.dll
----------------------------------------
System.Web
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
AForge.Imaging
Assembly Version: 2.2.5.0
Win32 Version: 2.2.5.0
CodeBase: file:///C:/LitePlacer/AForge.Imaging.DLL
----------------------------------------
AForge
Assembly Version: 2.2.5.0
Win32 Version: 2.2.5.0
CodeBase: file:///C:/LitePlacer/AForge.DLL
----------------------------------------
AForge.Math
Assembly Version: 2.2.5.0
Win32 Version: 2.2.5.0
CodeBase: file:///C:/LitePlacer/AForge.Math.DLL
----------------------------------------
HomographyEstimation
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/LitePlacer/HomographyEstimation.DLL
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Re: My problems with limit switches - my assembly progress
If you are using the latest software release, I'd like to see your cad data file. Please email me.
Re: My problems with limit switches - my assembly progress
Yes I m using latest software published by you few days ago. Cad data was wrong, fiducials were set wrong because I have used some Via from my PCB since I don't have fiducials. Now I m about 1mm wrong regarding Y in placing 0402 on PCB from tape. So again I m close. Each time I found something is wrong with my setup at the end I realize that was my fault. Only think that worries me now is to understand few things regarding measurements, specially from needle to cam and needle rotation, since I feel that there I m losing that 1mm. In needle rotation I see that needle is not straight and make strange circle instead having around the point in the middle. All of this could be done days ago but I m testing each and every part to understand better.
Edit:
Ah no I wasn't using latest software.
Edit1:
With latest software program become so slow, work with camera much slower and most of the time down looking camera can't be detected at all. Software crashes constantly.
Edit2:
Uninstalled liteplacer software, also removed everything from c:\liplacer dir loaded default settings to TinyG, still software crashes, it is so slow. None of the *.csv files are loaded, so everything empty. As long I click on Setup Cameras all starts to break. I have video from down looking camera but it is unusable slow. It takes about 15 seconds to show what I clicked on.
Edit:
Ah no I wasn't using latest software.
Edit1:
With latest software program become so slow, work with camera much slower and most of the time down looking camera can't be detected at all. Software crashes constantly.
Edit2:
Uninstalled liteplacer software, also removed everything from c:\liplacer dir loaded default settings to TinyG, still software crashes, it is so slow. None of the *.csv files are loaded, so everything empty. As long I click on Setup Cameras all starts to break. I have video from down looking camera but it is unusable slow. It takes about 15 seconds to show what I clicked on.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentNullException: Value cannot be null.
Parameter name: image
at System.Drawing.Graphics.FromImage(Image image)
at LitePlacer.Camera.GetMeasurementFrame()
at LitePlacer.Camera.GetClosestCircle(Double& X, Double& Y, Double MaxDistance)
at LitePlacer.FormMain.GoToCircleLocation_m(Double FindTolerance, Double MoveTolerance, Double& X, Double& Y)
at LitePlacer.FormMain.OpticalHoming_m()
at LitePlacer.FormMain.OpticalHome_button_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
LitePlacer
Assembly Version: 1.0.6033.38930
Win32 Version: 1.0.0.0
CodeBase: file:///C:/LitePlacer/LitePlacer.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
AForge.Video.DirectShow
Assembly Version: 2.2.5.0
Win32 Version: 2.2.5.0
CodeBase: file:///C:/LitePlacer/AForge.Video.DirectShow.DLL
----------------------------------------
AForge.Video
Assembly Version: 2.2.5.0
Win32 Version: 2.2.5.0
CodeBase: file:///C:/LitePlacer/AForge.Video.DLL
----------------------------------------
System.Web.Extensions
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Web.Extensions/v4.0_4.0.0.0__31bf3856ad364e35/System.Web.Extensions.dll
----------------------------------------
System.Web
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Re: My problems with limit switches - my assembly progress
I've had this case once before, it was a corrupted settings file. The program settings are in app data/liteplacer directory. If you don't care about your current settings, uninstall and delete the whole directory tree. If you want to save your settings, please read this thread:
http://www.liteplacer.com/phpBB/viewtop ... f=10&t=358.
(Sorry for being brief; I'm traveling, working from memory and typing on a phone...)
If the issue isn't resolved, please let me know!
http://www.liteplacer.com/phpBB/viewtop ... f=10&t=358.
(Sorry for being brief; I'm traveling, working from memory and typing on a phone...)
If the issue isn't resolved, please let me know!
Re: My problems with limit switches - my assembly progress
Yes, I have done it like that and now is ok and stable.
Today I have managed to do more work but still have one problem but more about that later.
Also cameras I have got in the package have problem you mentioned in building tutorial so I had to do more because USB cable moving made constant problems so camera was never in 100% position how is needed. After more and more work simply it was impossible to keep it in place. I have added one metal pipe on the point where USB cable goes into camera and put hot plastic glue in it to keep cable in one position when machine is moving. Same time gluing that pipe to liteplacer's camera holder. So that part is good now. Problem I have now is really strange. What I have done is took VIA measurements or other holes from Altium and made from them fiducials. I see that when I enter those dimensions in liteplacer software that Cross is not set at exact location but close enough to get fiducials detected. Measuring on the PCB regarding components distance is also good. For example place where 0805 cap is placed on X axis is calculated 113.974 and when i use down looking camera and go to the center where component should be placed is says 113.884 so that's more than good. But, machine does not place component there properly, it is like is moved 2mm to the right side. I understand that there could be some mechanical problems but simply I refuse to believe in that because when I "Pick this" and take same component and place it to that location(113.884) it works perfectly. So there is no way that there are some mechanical problems regarding XY axis there because then any placement would be problematic, not just using Place from Run Job. PCB Zero is also set good and all is aligned in my machine again today. Error is lower(but still there) when I m placing components who are on the opposite side mentioned above, for example on X=102.111. My PCB is 100x90 or something like that. Also I see that with some ppl Home dot is much closer to PCB zero than in my case(X=44.43,Y=41.90) but that has nothing to do with this since I see that all is calculated properly in Run Job. I don't know can you understand my problem from what I m writing here or should I post some pictures.
Today I have managed to do more work but still have one problem but more about that later.
Also cameras I have got in the package have problem you mentioned in building tutorial so I had to do more because USB cable moving made constant problems so camera was never in 100% position how is needed. After more and more work simply it was impossible to keep it in place. I have added one metal pipe on the point where USB cable goes into camera and put hot plastic glue in it to keep cable in one position when machine is moving. Same time gluing that pipe to liteplacer's camera holder. So that part is good now. Problem I have now is really strange. What I have done is took VIA measurements or other holes from Altium and made from them fiducials. I see that when I enter those dimensions in liteplacer software that Cross is not set at exact location but close enough to get fiducials detected. Measuring on the PCB regarding components distance is also good. For example place where 0805 cap is placed on X axis is calculated 113.974 and when i use down looking camera and go to the center where component should be placed is says 113.884 so that's more than good. But, machine does not place component there properly, it is like is moved 2mm to the right side. I understand that there could be some mechanical problems but simply I refuse to believe in that because when I "Pick this" and take same component and place it to that location(113.884) it works perfectly. So there is no way that there are some mechanical problems regarding XY axis there because then any placement would be problematic, not just using Place from Run Job. PCB Zero is also set good and all is aligned in my machine again today. Error is lower(but still there) when I m placing components who are on the opposite side mentioned above, for example on X=102.111. My PCB is 100x90 or something like that. Also I see that with some ppl Home dot is much closer to PCB zero than in my case(X=44.43,Y=41.90) but that has nothing to do with this since I see that all is calculated properly in Run Job. I don't know can you understand my problem from what I m writing here or should I post some pictures.
Re: My problems with limit switches - my assembly progress
Check one basic thing: Are your belts tight?
I recently build a 3D printer that worked very well for the first week. Then print quality began to erode. Tightening the belts brought it back. They stretch a lot when first installed, then settle in a bit.
May be unrelated, but on a physically new machine, belts are worth tightening about once a week for the first 10 or 12 weeks.
I recently build a 3D printer that worked very well for the first week. Then print quality began to erode. Tightening the belts brought it back. They stretch a lot when first installed, then settle in a bit.
May be unrelated, but on a physically new machine, belts are worth tightening about once a week for the first 10 or 12 weeks.
Re: My problems with limit switches - my assembly progress
Hi, but like I said only in automated placing I see the problem not with "Pick this" and "Place here", each component is placed properly when I do that on each position on the board, only on "Run job" placing I see that they are placed wrongly beside the fact that measurements are done properly for each component by liteplacer software.
Re: My problems with limit switches - my assembly progress
Hi,
is your PCB and the tapes at about the same Z level, or are you perhaps using a holder for either of these?
is your PCB and the tapes at about the same Z level, or are you perhaps using a holder for either of these?