Hello Guest it is September 20, 2019, 12:07:48 AM

Author Topic: Mill or Turn?  (Read 3598 times)

0 Members and 1 Guest are viewing this topic.

Offline Davek0974

*
  •  2,577 2,577
    • View Profile
    • DD Metal Products Ltd
Re: Mill or Turn?
« Reply #30 on: April 22, 2019, 04:04:49 AM »
Spot on, thanks. :)

Makes much more sense now, code runs fine on my laptop at least, display looks good, need to alter my tool change macro as that was heavily tweaked to pass length offset to the knee.
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Mill or Turn?
« Reply #31 on: April 22, 2019, 10:08:47 AM »
Personally I would set the tools to rear post in the tool table and have the setting for showing the tool above. That way it would be more representative of the actual setup you have.

 

Offline Davek0974

*
  •  2,577 2,577
    • View Profile
    • DD Metal Products Ltd
Re: Mill or Turn?
« Reply #32 on: April 22, 2019, 10:44:36 AM »
Yep, thanks

looks very good now.
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives

Offline Davek0974

*
  •  2,577 2,577
    • View Profile
    • DD Metal Products Ltd
Re: Mill or Turn?
« Reply #33 on: April 24, 2019, 09:38:16 AM »
Any encoder guru's here ?  :)

Trying to find out if the "Encoder" output from my AC servo drives would be able to drive two inputs? This output is from a line-driver chip.

I'm using a CS-Labs IP/A controller and trying to avoid fitting a separate encoder to my 4th axis spindle - hoping to use the motor encoder and index pulse in parallel with both the main controller and the 'enc' module which is used for threading/tapping synchronised operations.

The spindle is driven at 1:1 ratio via a non-slip toothed belt.

The pid loop is closed within the motor/drive so i think the CS-Labs input is only used for homing and display actions.

Any thoughts?
« Last Edit: April 24, 2019, 09:40:24 AM by Davek0974 »
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Mill or Turn?
« Reply #34 on: April 24, 2019, 03:22:19 PM »
I do that on the Chiron. Buffered encoder outputs from the servo drive goes to CSMIO/IP-A and Enc module.

Oh and as far as I am aware the loop is closed in the CSMIO, the drive itself will just be in velocity or torque mode.


Offline Davek0974

*
  •  2,577 2,577
    • View Profile
    • DD Metal Products Ltd
Re: Mill or Turn?
« Reply #35 on: April 24, 2019, 03:26:11 PM »
Thanks Hood,

Will give it a go soon.

Yes, i goofed on the pid loop, you are correct of course, IIRC the drives are in velocity mode.
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives

Offline Davek0974

*
  •  2,577 2,577
    • View Profile
    • DD Metal Products Ltd
Re: Mill or Turn?
« Reply #36 on: May 04, 2019, 01:46:27 PM »
Ok, progress is made- I now have a working turn setup using my screenset, spent a few hours and reconfigured my mill X & Z axes so they now work as a lathe should, homing, soft-limits all ok.

I can now run turn code straight from Fusion and it all seems to run ok.

Only air-cutting as i'm still waiting on a part to finish my lathe spindle build.

I have an issue with threading however, still working on this, it will run the first pass of G32 but as soon as it reaches the end of the block it will e-stop with the message "E-Stop button pressed"

Cant figure out what is making it think a button was pressed or what settings are wrong yet.

The motor is still wired for the main mill motor/vfd but it does have an encoder and will happily rigid-tap.

This is with the CS-Labs IP/A controller.

Any ideas?
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Mill or Turn?
« Reply #37 on: May 04, 2019, 03:49:58 PM »
Have  you tried a G76 to see if that exhibits the same problem?
You can easily do one via the simple threading wizard.

Offline Davek0974

*
  •  2,577 2,577
    • View Profile
    • DD Metal Products Ltd
Re: Mill or Turn?
« Reply #38 on: May 04, 2019, 03:58:18 PM »
I'll give that a spin tomorrow, thanks
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives

Offline Davek0974

*
  •  2,577 2,577
    • View Profile
    • DD Metal Products Ltd
Re: Mill or Turn?
« Reply #39 on: May 05, 2019, 04:06:28 AM »
Have  you tried a G76 to see if that exhibits the same problem?
You can easily do one via the simple threading wizard.

I had a look but having never used that screenset or a wizard before it didn't work out well :(

Could not make sense of the numbers it was generating, looked like inches maybe? But i'm 100% metric, it also had soft-limit error on x IIRC but could not see why.

Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives