Retrofitting a 1986 Maho MH400E

More
6 years 9 months ago - 6 years 9 months ago #155588 by drimaropoylos
Replied by drimaropoylos on topic Retrofitting a 1986 Maho MH400E
In your ini_config.txt you have to set that parameter.
John
Last edit: 6 years 9 months ago by drimaropoylos.
More
6 years 9 months ago #155614 by J Green
Replied by J Green on topic Retrofitting a 1986 Maho MH400E
Hi John
Thank you for the answer.
Bob
More
6 years 9 months ago - 6 years 9 months ago #155637 by RotarySMP
Replied by RotarySMP on topic Retrofitting a 1986 Maho MH400E
Assuming you will be wiring in the rotary tables ROD encoder into the fourth axis encoder input of the MESA 7i77 connector TB4 pins 1-8, and configuring the GUI to display the fourth axis. Not sure how happy the GUI and LinuxCNC is going to be about diplaying a manual axis, especially, whether it will error out if you hit the GUI's C AXIS jog button, although there is no motion control connection?

I am pretty crap at the HAL/INI config stuff but let me throw out my ideas, and maybe Andy or one of the other HAL Jedi's can correct this...

In the INI:
[DISPLAY]
GEOMETRY = xyzc

[TRAJ]
AXES = 4
COORDINATES = X Y Z C

[AXIS_3]
TYPE = ROTARY
HOME = 0
ENCODER_SCALE = 1000 ; or whatever it is.
OUTPUT_SCALE = 10 ; You'll have to work all these values out for your machine.
OUTPUT_MIN_LIMIT = -10
OUTPUT_MAX_LIMIT = 10
MIN_LIMIT = -1
MAX_LIMIT = 400
HOME_OFFSET = 0
HOME_USE_INDEX = YES
HOME_SEQUENCE = 2
; So after LINUXCNC homes the linear axis's it'll sit and wait till you home the C Axis.

In the HAL:
loadrt hm2_pci config=" num_encoders=4 num_pwmgens=0 num_stepgens=0 sserial_port_0=300xxx"

#*******************
# AXIS C
#*******************
# ---Encoder feedback signals/setup---

setp hm2_5i25.0.encoder.03.counter-mode 0
setp hm2_5i25.0.encoder.03.filter 1
setp hm2_5i25.0.encoder.03.index-invert 0
setp hm2_5i25.0.encoder.03.index-mask 0
setp hm2_5i25.0.encoder.03.index-mask-invert 1
setp hm2_5i25.0.encoder.03.scale [AXIS_3]ENCODER_SCALE

net c-pos-fb <= hm2_5i25.0.encoder.03.position
net c-vel-fb <= hm2_5i25.0.encoder.03.velocity
net c-pos-fb => axis.0.motor-pos-fb
net c-index-enable axis.3.index-enable <=> hm2_5i25.0.encoder.03.index-enable
net c-pos-rawcounts <= hm2_5i25.0.encoder.03.rawcounts

# ---setup home / limit switch signals---

net home-c => axis.3.home-sw-in
net c-neg-limit => axis.3.neg-lim-sw-in
net c-pos-limit => axis.3.pos-lim-sw-in
Last edit: 6 years 9 months ago by RotarySMP.
The following user(s) said Thank You: J Green
More
6 years 9 months ago #155663 by J Green
Replied by J Green on topic Retrofitting a 1986 Maho MH400E
Hi Mark
A Big Thank You !
Being able to display the manually positioned rotary table will be extremely useful. I can't think of any other MAHO accessories where this is needed , but feel people will be making some neat stuff that can benefit.
Maybe the boat building kiwi will find this useful .
Cheers
Bob
More
6 years 9 months ago - 6 years 9 months ago #155671 by hanmon
Replied by hanmon on topic Retrofitting a 1986 Maho MH400E
Hi there,

did some little adjustment to the table.
It was almost perfect just sitting in the fitting-keys.
The cleaning of the contact surfuces really did it.
cloud.monschan.de/index.php/s/xzb9BMs4T2wRaKi
cloud.monschan.de/index.php/s/yH5qHWQ7cepm8Ap

First fit:



The original plastic nut literally turned to dust.
Don't know if it is correct, but I made the thread M38x1.5
Last edit: 6 years 9 months ago by hanmon.
More
6 years 9 months ago - 6 years 9 months ago #155700 by RotarySMP
Replied by RotarySMP on topic Retrofitting a 1986 Maho MH400E
Hi Bob,
Don't get too excited, I doubt my draft HAL/INI will work without editing and correcting,

Hi Hanno,
Nice progress. I get bad gateway errors on the two links you sent though.

I was machining some aluminium spacers for a friend today. Haven't cleaned the chips out of the try for a while, and the mesh got clogged so the coolant overflowed onto the floor. What a mess.
Mark
Last edit: 6 years 9 months ago by RotarySMP.
Moderators: piasdom
Time to create page: 2.016 seconds
Powered by Kunena Forum