Hello Guest it is April 25, 2024, 12:07:07 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - koep

Pages: 1 2 3 »
1
Hi Everyone!


This is a story of my recent router build and how it almost turned to personal battle.

A while back friend of mine was retiring and figured he wanted a small cnc machine as hobby.

He sent me a pic of a 3018 router with price tag of app.$300 and
another, only slightly strudier asking for around $1300.

Having built 5 machines that are run daily on business production I was quick to get on
my high horse and told him that those are ridiculous prices and that he'd get better and cheaper by building
it himself. I promised to help

I had already done a working closed loop speed control for brushed dc motor based on stm blue pill board and a carton
of reliance-electric e240 motors with heds encoders I saw as error purchase for my future uses so I figured
this should be a breeze.

I figured that the dynomotion kflop controls that I have used on previous builds are overkill for this 12"*16" router
with plywood frame so I went looking for something way less expensive and ofcourse I came across the bitsensor red board.

First build went ok only took me 8 weeks instead the planned 6 evenings.


First test cuts were ok so my friend picked the router up and I told myself welldone and started looking for other projects.

Boy was I wrong!

After a month my friend told me that the machine is getting increasing amount movement errors that at the end made the router
unusable.

I got the router back and dove in to the rabbit hole :(

After 18 months of pulling my hair, 1 usb isolator, 2 different controllers, 2 toasted heds encoders and 3 full wiring jobs
trying to find cause for what I suspected to be emi noise/ground loops
I finally found that my controller PID loop was able to read the position wrong due to how the over/underflow was handled.

After fixing that it now seems solid, runs 6 hours without loosing position, following error on diam 8 mm circle stays within
+-20 counts @ 1000mm/min.

It was much longer and much more educational project that I expected  :)

Some pictures below

Rgds,

Tapio



2
PoKeys / Re: Pokeys mach3 buffer ahead time setting?
« on: September 21, 2023, 01:37:20 PM »
Hi!

I'm building small router with dc servos.

App. half of movement errors I'm getting are false alarms and I'm getting a feeling it might be some sort of comm delay at least behavior is the
same as with Kflops when buffer time is set too low. Difference is that KFlop says "Unexpected motion buffer starvation" but pokeys does not say anything.


I have previously built 4 machines with KFlop boards but they are too expensive for this project so I figured I try pokeys.

The Kflops have user adjustable buffer time and it has been useful in getting the machines run trouble free. looking around I found that also other
more expensive controllers (Galil & vital systems) have user adjustable buffers.

Rgds,
Tapio

3
PoKeys / Pokeys mach3 buffer ahead time setting?
« on: August 31, 2023, 03:40:44 PM »
Hi!

How do I increase the motion buffer ahead time with pokeys57U?

Rgds,
Tapio

4
PoKeys / Pokeys57U pin conflict
« on: August 31, 2023, 03:20:25 PM »
Hi All!

I upgraded the firmware to the latest release (4.6.8e) and now there is persistent conflict on pin 46. Is anyone else seeing this?

Rgds,
Tapio

5
Hi Everyone,

Building on this code https://www.machsupport.com/forum/index.php/topic,23770.0.html I came up with the following
to load DRO values from text file when I was forced to move to Win7.

Rgds,
Tapio

 
Sub GcodeSelect
    Dim MyList()
    Begin Dialog GcodeFileDlg 60, 60, 190, 220, "Gcode file selection", .DlgFunc
        ListBox 10, 10, 150, 180, MyList(), .List1, 2
        CancelButton 42, 198, 40, 12
        OKButton 90, 198, 40, 12   
       End Dialog
   
 Dim frame As GcodeFileDlg
 
    ' Show the GcodeFile dialog
    Dialog frame
End Sub
 
Function DlgFunc( controlID As String, action As Integer, suppValue As Integer)
 
 
    Select Case action
    Case 1 ' Initialize
        temp = Dir( "c:\Mach3\Reseptit\*.*" )
        count = 0 
        While temp <> ""
            count = count + 1
            temp = Dir
        Wend
        Dim x() As String
        ReDim x(count)
        x(0) = Dir( "c:\Mach3\Reseptit\*.*" )
        For i = 1 To count
            x(i) = Dir
        Next i
        DlgListBoxArray "List1", x()
       
    Case 2 ' select
    If controlID = "OK" Then
      Dim newPos As Double
        Open "c:\Mach3\Reseptit\" &DlgText("List1") For Input As #2              'Open the file for reading
      UserDROs = 1060
      For r = 1060 To 1098
      Line Input #2, newPos
      DROState = SetUserDRO(UserDROs, newPos)
      UserDROs =(UserDROs + 1)
      Next r
             'Read the first line of the file
      Close #2
   End If

     End Select

End Function
   

6
General Mach Discussion / G2 / G3 odd behaviour?
« on: March 08, 2017, 12:17:19 PM »
Hi All,

I'm milling round pockets spiraling out from center with 6 rounds.

With G2 everything is OK, but changing to G3 causes Mach to skip first 5 lines resulting in 1 round.

Has anyone seen similar? Is there a known cause?

Whats even more odd is that the same code works OK both ways on my second milling machine ???, otherwise identical setup, but runs win7 instead of XP.
Both have Mach3Version3.043.039 installed

All ideas welcome

Rgds,
Tapio

7
General Mach Discussion / Disk access?
« on: February 09, 2017, 02:13:57 PM »
Hello All,

I have all my machines set up with SSDs instead of HDDs.

Today I started wondering if Mach makes disk writes during runtime, namely should I worry about ssd write cycles?

Rgds,
Tapio

8
Mach Screens / G-Editor touch screen editor win7 version
« on: January 21, 2017, 04:05:06 PM »
This new version works with Win7.

9
Mach Screens / Button release/Up?
« on: November 15, 2013, 02:31:59 PM »
Hello everyone,

Is there any way to detect user button release?

I need to make buttons that activate output when pressed and deactivate when released

Rgds,
Tapio

10
Mach Screens / Re: G-Editor follow-Up
« on: April 24, 2013, 01:26:10 PM »
Hi Andrew!

Did you get any progress?

I tried to e-mail you about a possible solution but the mail came back undelivered. If you are interested send me a short e-mail.

Rgds,
Tapio

Pages: 1 2 3 »