Mazak Micro Slant 15 Retrofit
- tommylight
- Topic Author
- Away
- Moderator
- Posts: 19188
- Thank you received: 6432
The turret unclamping is done by hydraulics for sure as the hydraulic pump changes pitch when in use.
The good thing is the motor is not powerful enough to break something as i tested enabling it while the turret is locked, it does not have enough power to drag the turret to locking position when it is locked out of position. This might need some timing in hal.
Right now, going to catch some zzzzzz as my head is full of wires and it's 3 AM here, spent over an hour scavenging resistors for inputs, gathered 23 of 10KOhm, not enough, need much more so some stuff will have to wait till they get here. Also found 2 of 8X4.7KOhm sets for the outputs, so outputs should be covered with the 13 i have working. Not looking forward to soldering all those and 2N2222 transistors.
Also ruins the looks, a lot.
At least i am using the new TS80P soldering iron, used it once since i got it a while back, in the field, powered by USB C !
Please Log in or Create an account to join the conversation.
- tommylight
- Topic Author
- Away
- Moderator
- Posts: 19188
- Thank you received: 6432
Luckily (or stubbornly) i used the encochanger component as i recall it worked nicely on the Elumatec SBZ130 retrofit and did not need any remaps or python or gcode.
Still had to do a lot of fiddling with inputs and sensing as the tool changer sensors have spaces between them or in between tools there is no signal on any pins, so any way of monitoring would fail. Since i had to invert the inputs on the Mesa 7i77, that makes them active all the time with no signal, so i used those and set it to monitor when any of the pins goes low.
After also adding a lot of lines to the component ( each line for every tool monitors all the pins ), it worked ok, but would miss the slot consequently not locking in place most of the time.
Since i also had to add the logic of "unlock turret>wait a bit>start rotating turret>tool found>stop spinning turret>wait a bit>lock turret" using 2 of oneshots and 2 of xor2, i had to add another timedelay when the spinning was supposed to stop so i can adjust the delay, and lo and behold it works magnificently! Pretty sure the poor thing is hot from doing over 50 tool changes at random just to check if it would miss the spot, it did not.
Also did a lot of PyVCP panels to monitor everything, including the toolchanger so i can see across the room what tool is on.
More to come...
Please Log in or Create an account to join the conversation.
- Masiwood123
- Offline
- Platinum Member
- Posts: 332
- Thank you received: 79
Please Log in or Create an account to join the conversation.
- tommylight
- Topic Author
- Away
- Moderator
- Posts: 19188
- Thank you received: 6432
I will do some videos for sure whenever i actually remember near the machine, so stay tuned.
And thank you all for the continued support.
Please Log in or Create an account to join the conversation.
- Masiwood123
- Offline
- Platinum Member
- Posts: 332
- Thank you received: 79
Please Log in or Create an account to join the conversation.
btw, I have a problem with my eyesight as I get older, I would also like a magnifying glass, on Axis gui:) I don't like gmocappy, although I would like to implement lathemacros by Andy.. what is the chance to increase the font size on Axis gui, slider and dro?
You can achieve this by putting the following code in either a user command file or the .axisrc file then set the font and size to what suits your screen.
linuxcnc.org/docs/devel/html/gui/axis.html#sub:axis-axisrc
You would use .axisrc if you want it to apply to all Axis configs or a user command file to apply it to a specific config.
fontName = 'sans'
fontSize = '12'
# preview coordinates
def set_coordinate_font(fontSize):
global coordinate_font
global coordinate_linespace
global coordinate_charwidth
global fontbase
coordinate_font = f'monospace {fontSize}'
if coordinate_font not in font_cache:
font_cache[coordinate_font] = \
glnav.use_pango_font(coordinate_font, 0, 128)
fontbase, coordinate_charwidth, coordinate_linespace = \
font_cache[coordinate_font]
set_coordinate_font(fontSize)
# default font
root_window.tk.call('font','configure','TkDefaultFont','-family', fontName, '-size', fontSize)
# tab text
for nbook in ['.pane.top.tabs', '.pane.top.right']:
pages = (root_window.tk.call(nbook,'pages'))
for page in pages:
text = root_window.tk.call(nbook,'itemcget',page,'-text')
root_window.tk.call(nbook,'itemconfigure',page,'-text','')
root_window.tk.call(nbook,'itemconfigure',page,'-text',text)
# dro tab
root_window.tk.call('.pane.top.right.fnumbers.text','configure','-foreground','green','-background','black','-font',f'{fontName} {fontSize}')
# gcode text
root_window.tk.call('.pane.bottom.t.text','configure','-font',f'{fontName} {fontSize}')
# active code text
#root_window.tk.call('.pane.top.gcodes','configure','-font',f'{fontName} {fontSize}')
# toolbar button size
bSize = int(int(fontSize) * 2.5) if int(fontSize) > 10 else 24
for child in root_window.tk.call('winfo','children','.toolbar'):
if root_window.tk.call('winfo','class',child) == 'Button':
root_window.tk.call(child,'configure','-width',bSize,'-height',bSize)
Please Log in or Create an account to join the conversation.
- tommylight
- Topic Author
- Away
- Moderator
- Posts: 19188
- Thank you received: 6432
Please Log in or Create an account to join the conversation.
- Masiwood123
- Offline
- Platinum Member
- Posts: 332
- Thank you received: 79
Please Log in or Create an account to join the conversation.
- tommylight
- Topic Author
- Away
- Moderator
- Posts: 19188
- Thank you received: 6432
Pretty sure there are pins for that, so more time programing stuff, standing in place in front of the monitor. I never sit when working, never, but standing in one place makes my spine hurt a lot (injury from 35 years ago), while moving all the time does not hurt at all.
Also, need plenty of other hal stuff for when in auto mode to open and close chuck, start part catcher in forward and sometimes reverse (still dont know why), coolant for tools and inside the chuck (there are thick pipes on the back side of the chuck/spindle for that), etc.
Yeah, need to fix the pedals wiring from the "mouse attack" and figure out as all the wires are blue with nothing wrriten.
And, the axis servos are still waiting to figure out the wiring, bud i did find out that tachos were going to the control and just passing through to the drives, so 4 wires easy to figure, just some 30 more left!
Have to open the old control to see what is up with +15V 0 -15V going or comming from servo drives, i really hope not to have to add more power supplies, there are to many as it.
And there is a drive to power interlock to stop the machine when drives fail that is impossible to find out without dismantling the power supply/rectifier/caps for the drives, to big and to high inside one of the cases so holding that by hand while looking at it is a no go.
Today, more wiring, plenty left, oh joy !
Please Log in or Create an account to join the conversation.
- Masiwood123
- Offline
- Platinum Member
- Posts: 332
- Thank you received: 79
Please Log in or Create an account to join the conversation.