Hello Guest it is April 19, 2024, 07:39:37 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 - DMBGO

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 »
21
Video P*r*o*b*i*n*g / Re: Paralell Port Setting
« on: February 02, 2019, 02:56:07 PM »
0x is the start of the LPT port address that you add on card supports. Examples are as follows:

Address   Notes:
3BCh - 3BFh   Used for Parallel Ports which were incorporated on to Video Cards - Doesn't support ECP addresses
378h - 37Fh   Usual Address For LPT 1
278h - 27Fh   Usual Address For LPT 2

Click on the menu item "Config" then "ports and pins" You will see dialogue boxes for the port addresses, such as 0x378" for port #1. You need to set these to match you card.

22
General Mach Discussion / Re: Spindle servo on lathe is 10% fast
« on: April 14, 2018, 09:40:30 PM »
Yes, a combination of both the acceleration of the "A" axis and the X axis, may not have to be extremely fast acceleration though, just V well coordinated.

I am using M3, but I have an M4 license. I was initially V keen at converting to M4, but I use an ESS, which for a long time did not support threading on the lathe. The impetus to change to M4 has became a bit cooler over the intervening years.

I am still happy to M4 a try, but I need a reason to. :)

23
General Mach Discussion / Re: Spindle servo on lathe is 10% fast
« on: April 14, 2018, 09:06:10 PM »
Here is an example of what I was talking about:
https://www.youtube.com/watch?v=DajrTlI8IWA

24
General Mach Discussion / Re: Spindle servo on lathe is 10% fast
« on: April 14, 2018, 08:56:01 PM »
Yes, it is only a hobby, but at times one gets caught up in the moment and it seems more important in the grand scheme of things than it really is. I am interested however when you say:

"Using a modern AC servo as a spindle  puts you at the leading edge performance. You will, once you get it sorted and provided you remain within the torque limits of the servo have a spindle with speed/position stability the envy of many."

This implies that once you do have a accurate, controllable, spindle that more can be done with it than previously. I have seen a YouTube video of someone using parametric G Code to turn a hexagonal shape on a lathe, do you have any idea of this?

25
General Mach Discussion / Re: Spindle servo on lathe is 10% fast
« on: April 13, 2018, 01:58:38 AM »
 :) When I first converted this lathe to Mach control, the year was 2003. I had a single phase AC drive motor for the spindle with no speed control and steppers for the axis. I needed an index pulse in order to thread. The next incarnation was about 2007 and I was using a 3 phase motor and VFD for the spindle, I used a converter to make 0v to 10v for the VFDs speed control. I  still needed an index pulse though. About this time, or a bit after, the USB smoothstepper became available, I had a lot of issues with electrical noise from the VFD, but soldiered on.
In late 2010 I decided to upgrade my lathe to servo motors, after much to ing and fro ing I ordered servos and controllers for the lathe, I also ordered a new KRV3000 milling machine, and GSK servos intended for the mill . Business was doing well, the kids were starting to leave home and the world was my oyster so to speak.
The first thing to arrive was the mill on the 30th Mar 2011 I picked it up from the carrier, unloaded it in my shed and then received a phone call asking me to come on an overnight camping trip. Reluctantly I agreed.
Then I had a severe car accident in the early hours of the morning on the 31st of Mar 2011. I was rushed to hospital, despite the policeman in attendance trying to cancel the ambulance, saying there was no need of an ambulance, just a hearse. Luckily the ambulance was already dispatched, and being mistrustful of the diagnosis provided by members of the constabulary, came anyway.
I was airlifted to Melbourne and spent the next 6 weeks in a coma, with the prognosis that even if I did live, I would be in a wheelchair and on dialysis for the rest of my life. After 7 weeks, the staff at the Royal Melbourne hospital started to call me the "miracle man". By the following September, after a period in rehab hospital, I was back at home, albeit, still a bit the worse for wear.
Then followed a period of slowly regaining my mobility, finding out and guessing what I was doing before the accident, and continuing with some of the projects that I had started. I fitted the GSK servos to the mill, and used the Adtech motor that I had earmarked for the spindle on the lathe, for the knee on the mill instead, since the GSK servo that I had bought wasn't powerful enough.
I fitted the Adtech servos to the X and Y axis of the lathe, and used the GSK servo for the spindle on the same. This was in 2017, a bit later than I had initially planned :).
Anyway, to answer your question, now that you have a bit of background, I already had an index pulse, prior to fitting the servos, I did give brief thought to using the encoder on the spindle servo motor to provide information about RPM, but decided that I didn't need to, and that I'd only be making extra work for myself, since I am still a long way behind where I imagined I'd be. Oh and did I mention that I ran for the first time since 2011 the other month?

26
General Mach Discussion / Re: Spindle servo on lathe is 10% fast
« on: April 13, 2018, 12:44:08 AM »
Fixed now. Here are the steps to solve it.

Control Mode: Step and Dir
Pulse width in Ess driver:  3.0 ms
Commanded speed: 1000
Displayed speed on M3: 1113
Displayed RPM on DA98B Servo controller: 1335 (This difference to Mach3 is due to the Spindle pulley having more teeth than the servo motor pulley)
Measured speed with digital tacho:  1113
Pulse width in Ess driver:  2.0ms and 4.0ms are the same as above.


Changed spindle velocity in motor tuning setting for M3 from 4001 to 3600 (10%)

Commanded speed: 1000
Displayed speed on M3: 1001
Displayed RPM on DA98B: 1202 (This difference is due to the Spindle pulley having more teeth than the servo motor pulley)
Measured speed with digital tacho:  1001


Divided 3600 (Velocity setting) by 1001 (actual speed displayed in M3) 3600/1001=3.5964
Set velocity to 3596 and M3 changed it as below.

  
Commanded speed: 1000
Displayed speed on M3: 1000
Displayed RPM on DA98B: 1200 (This difference is due to the Spindle pulley having more teeth than the servo motor pulley)
Measured speed with digital tacho:  1000

Thanks for the help, the speed is now, as you said, spot on.

27
General Mach Discussion / Re: Spindle servo on lathe is 10% fast
« on: April 12, 2018, 11:44:34 PM »
That's what I would have thought Craig. I realise that "closed loop" is adjusting things on the fly based on the index sensor's output.. That, however isn't really what I was asking. My spindle speed is consistently 10% above the commanded speed, so it should be possible to slow the pulse rate, either within Mach, or in the smoothstepper driver, to make the commanded speed be equal to the actual speed.
The spindle servo motor is a GSK 110SJT and the AC driver is a GSK DA98B. Probably a little bit underpowered for the job, but seems to work Ok.

28
General Mach Discussion / Re: Spindle servo on lathe is 10% fast
« on: April 11, 2018, 11:50:39 PM »
Is not critical, I just have to remember to subtract 10%. I was under the impression that it adjusted the speed of its pulse stream to match the commanded speed.

29
General Mach Discussion / Spindle servo on lathe is 10% fast
« on: April 11, 2018, 06:43:25 PM »
Hi, while I was on a roll, I thought I might ask if there are any suggestions as to why M3 reports my spindle as travelling at 10% faster than the commanded speed. I use a hall element from a car distributor as the spindle rpm sensor (index). A steel plate with a single slot attached to the spindle supplies the pulse. When I command S1000 M3, I get a readout of 1100. If I command S500 M3, I get 550 on the readout. I am using an ESS, with the spindle servo driver configured in Step / Dir mode.
Thanks in advance
Dave

30
General Mach Discussion / Re: Mach3 suddenly fails to load
« on: April 10, 2018, 06:23:14 PM »
I's amazing what a difference a day makes... After spending quite a lot of time mucking around yesterday, I suddenly thought (prompted by Tweakie and TPS) why don't I just roll back the last update from MS. This I did and 10 mins later it is working again.
I must admit to feeling slightly eggy.
Dave

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 »