Hello Guest it is March 29, 2024, 01:46:57 AM

Author Topic: Reviving old machine using mach  (Read 31046 times)

0 Members and 1 Guest are viewing this topic.

Re: Reviving old machine using mach
« Reply #70 on: June 08, 2014, 01:19:40 AM »
hello hood

my motors have brake

how should i control them? should i use RUN to release the brakes? is there any code for individual axis run feedback? RUN will ON when cycle start is pressed

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Reviving old machine using mach
« Reply #71 on: June 08, 2014, 10:01:11 AM »
Normally the brake will be controlled via the servo drive, you could however control it from the enable outputs.
Hood
Reviving old machine using mach
« Reply #72 on: June 08, 2014, 11:10:57 AM »
Yes i am doing it using output but i am using RUN signal

Is that any signal specific for axis only? So that i can control axis brakes independently


Sent from my iPhone

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Reviving old machine using mach
« Reply #73 on: June 08, 2014, 08:16:06 PM »
I do not know what drives you have but as said earlier it is normal for servo drives to have a means of enabling/disabling a brake.
If your servo drives do not have that option then the best option would be to have the brake connected to one of  the enable outputs in Mach. That would mean when when you take Mach out of reset the drive would get enabled and also the brake would be released.

If you require the brake to be only released at specific times then you would have to do something different but without knowing exactly what you are trying to achieve it is impossible to say what would be best.
Hood
Reviving old machine using mach
« Reply #74 on: June 14, 2014, 07:33:58 AM »
No I mean E000, you do not enter th 0x

If you are meaning Jog the spindle from MPG  then the only way would be to use SwapAxis() and treat it as an axis.
Hood

I wrote e000 but its automatically taking 0xE000 and my second board doesnt work at all


Sent from my iPhone
Re: Reviving old machine using mach
« Reply #75 on: June 14, 2014, 09:35:51 AM »
No I mean E000, you do not enter th 0x

If you are meaning Jog the spindle from MPG  then the only way would be to use SwapAxis() and treat it as an axis.
Hood

I wrote e000 but its automatically taking 0xE000 and my second board doesnt work at all


Sent from my iPhone

OK I got it working. Charge Pump interlock Jumper was set wrong in second card

By the way, any one has set the MPG mode for 5 axis. That MPG which is shown while pressing TAB key
Re: Reviving old machine using mach
« Reply #76 on: June 14, 2014, 09:53:43 AM »
In Default MPG, code used are 307/8 for Push to jog X/y but its till A only. What if i want to add 5th axis button on that?
Reviving old machine using mach
« Reply #77 on: June 30, 2014, 08:47:27 PM »
Hood.. Can you help??


Sent from my iPhone

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Reviving old machine using mach
« Reply #78 on: July 01, 2014, 08:52:15 AM »
Afraid not, if there is no OEM for that then it would seem there is no built in function in Mach.
Hood
Reviving old machine using mach
« Reply #79 on: July 01, 2014, 10:43:10 AM »
Then what should i do for jogging 5th axis??

My normal operation will be jogging only so i need simple jogging function




Sent from my iPhone