Advanced Search

Search Results (Searched for: )

  • D Jensen
  • D Jensen
17 Mar 2025 06:30
Replied by D Jensen on topic Retrofitting a 1986 Maho MH400E

Retrofitting a 1986 Maho MH400E

Category: Milling Machines

Hi Chris,
Nice to know there is another like mine in NZ. You've probably gathered I'm from NZ, but I live in Sydney NSW.
The controller on your machine is probably an old Philips one. It's probably not worth wasting time on. Better to go with  Mark's effort using LinuxCNC.
Mechanically, and some electrical I can help with.
If it is like mine then the hydraulic pump runs completely by itself. No controller involved. As soon as you power up the machine you should hear it growl.
I've attached a photo of mine and a cobbled up .doc of a Hawe brochure with the data values for mine added. On mine it's running on 415 VAC. NZ and Australia use exactly the same standards.
Since it's 3 phase it needs a contactor. In my case 3K1. A very big Siemens contactor for such a small device. I think I've put my power schematic up a way back in this thread. The wiring comes directly from the Maho's main isolator switch, then through a motor starter breaker 3Q1 and then 3K1. That is the complete power wiring.
If you look at the photo I've attached you will see the hydraulic unit on mine. It's in the rear cabinet bottom door. In the photo it is half out of the cabinet so I could work on it. The 3 things on top are hydraulic solenoids. The left unclamps my rotary table. The center one isn't used and the right one with the 5Y1 tag unclamps both Z and Y spindles simultaneously. Unfortunately the pressure switch, 5K1, that operates the pump I'd removed so I could get it where it is. The pressure switch screws onto the fitting sticking up at the rear. The fitting also has a stopper plug tee'd on for  a pressure gauge if you want. The pump simply runs when the pressure switch closes. The pressure switch connects to the 6V2 24VDC power supply on mine. That comes on a little later during the start sequence. Since there is no accumulator the pump will pulse on now and again very briefly, but it runs with a loud growl when you turn the switch on for tool change. Remember that the pump runs to release the tool by retracting the Belleville springs. When you release the pressure the springs pull the clamp claws back to retain the tool holder. The black hose on 5Y1 runs directly to the rotary joint on top of the Z axis. It also must get into the Y slide somehow, but I haven't looked at that.
I haven't bothered to bleed those hoses after I've had the spindle apart. My guess is they act rather like an accumulator so the pump doesn't chatter on and off. Hawe does supply the hydraulic unit with an accumulator if it's needed. Maho hasn't seen the need.
Good Luck,
David

 
  • papagno-source
  • papagno-source
17 Mar 2025 06:29
Replied by papagno-source on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

Hi everyone.
I wanted to ask if a stop function for reading gcode blocks has been provided, via an ISO command.
Several CNCs have a stop for reading prediction.
Siemens uses a command called stopre
Rexroth uses a command called wait
etc..
This is important when performing mathematical calculations in the part program and associating values ​​to variables.
In these cases, the prediction must be stopped, the next gcode must be executed line by line, in order to perform the calculations correctly, and then resume the prediction.
If the prediction is not stopped, the calculations could be wrong, because they are performed before updating other previous calculations.
  • chris mcm
  • chris mcm
17 Mar 2025 04:33
Replied by chris mcm on topic Retrofitting a 1986 Maho MH400E

Retrofitting a 1986 Maho MH400E

Category: Milling Machines

Hello David, Mark and others in this group
Thank you all for your input.
David it seems your machine is the same size and model as mine.
I have removed the automation from mine and it is now a manual milling machine.
I had planned to change it to linux but at my age it is too hard. My friend Brad who could have helped me, has now moved to Australia.
I changed the grease in the horizontal spindle. Since then I have been unable to use the tool changer. There seems to be an air lock in the hydraulics. This has been a problem for several years. Health issues have delayed an earlier fix.
Last week I removed the spindle and adjusted the gripper. I have a drawing of the unit but I can not see how to get at or check the spring washers. Can any one help me please.
On the Maho 700c there is what appears to be a breather or sight glass connected to the hydraulic lines from the tool changer. Could anyone advise me more. Thanks for your interest. Chris McMullen
Auckland New Zealand
  • unknown
  • unknown
17 Mar 2025 03:29

Linuxcnc & the Raspberry Pi (4 & 5) Official Images Only!!!

Category: Installing LinuxCNC

Might be worth trying in the GMOCCAPY Section, even linking back to the issue in this thread.

Was thinking about this last night, it may be worth looking at this regarding swap. Just on the off chance.

forum.linuxcnc.org/9-installing-linuxcnc...only?start=30#322251
  • U2fletch
  • U2fletch
17 Mar 2025 01:54

Linuxcnc & the Raspberry Pi (4 & 5) Official Images Only!!!

Category: Installing LinuxCNC

So after further testing I can tell you that the axis GUI is rock solid. No issues when left for extended periods of time.  When I get some more time I will use SSH to poke around when running GMOCCAPY.
  • webbyguy
  • webbyguy
17 Mar 2025 01:48
Replied by webbyguy on topic Can't eek out that last bit of jitter

Can't eek out that last bit of jitter

Category: General LinuxCNC Questions

Oh, and on that screenshot, I did NOT run

swapoff --all
systemctl --user stop pulseaudio.socket
systemctl --user stop pulseaudio.service
sudo sysctl kernel.sched_rt_runtime_us=-1

I guess they were unnecessary. (Although maybe I had added that last one to startup in some way before, but I don't remember.)
  • webbyguy
  • webbyguy
17 Mar 2025 01:45
Replied by webbyguy on topic Can't eek out that last bit of jitter

Can't eek out that last bit of jitter

Category: General LinuxCNC Questions

For anyone wondering when I tried with the R5 340X graphics card, the max base jitter went up to +/-30us.  So I guess that isn't a good graphics card for linuxcnc, or maybe it just doesn't work with the A880GZ and linuxcnc.

Also, in case anyone is interested in, here is a screen shot including the watch of /proc/interrupts when using the integrated HD4250 graphics card with the biostar A880gz .

 
  • webbyguy
  • webbyguy
17 Mar 2025 01:22
Replied by webbyguy on topic Can't eek out that last bit of jitter

Can't eek out that last bit of jitter

Category: General LinuxCNC Questions

So far, that works!  I don't think I ever would have gotten there without your help.  Thank you.

I didn't end up deleting everything in my grub setup, but I put in everything you added.  The 1090T only has 6 cores, so I reduced the 7s to 5s.  I ended up with:

 smt=1 ro quiet skew_tick=1 nosmt=force mds=nosmt mitigations=auto,nosmt irqaffinity=0-1 kthread_cpus=0 rcu_nocb_poll rcu_nocbs=2-5 nohz=on nohz_full=2-5 isolcpus=2-5 intel_pstate=disable amd_pstate=disable idle=mwait clocksource=tsc tsc=reliable cpufreq.off=1 cpuidle.off=1 intel_idle.max_cstate=0 amd_idle.max_cstate=0 processor.max_cstate=0 nowatchdog nosoftlockup acpi_irq_nobalance noirqbalance default_hugepagesz=1G hugepages=4 transparent_hugepage=never threadirqs forcedeth.use_msi=0 mce=ignore_ce nmi_watchdog=0 audit=0 initrd=/install/gtk/initrd.gz


Not only does it work, it is also running much cooler.  Now the CPU is around 31C, and before it was near 50C.

This result is using the A880GZ with integrated HD4250 graphics.  (I didn't need the R5 340X, but I may try it out just to give others info.)
 

Thank you so much!
 
  • PCW
  • PCW's Avatar
17 Mar 2025 00:46
Replied by PCW on topic Mesa 7i95t rs485 spindle

Mesa 7i95t rs485 spindle

Category: Basic Configuration

The PktUART interface is the second serial interface on TB4 pins 19..24
I don't think it needs resistors on the latest board revision, but I would
need to check that tomorrow.

If you want to use the HY_vfd component, you need to use s USB or serial
port to RS-485 adapter.
  • royka
  • royka
17 Mar 2025 00:20 - 17 Mar 2025 00:25
Replied by royka on topic Can't eek out that last bit of jitter

Can't eek out that last bit of jitter

Category: General LinuxCNC Questions

The process with the PREEMPT_RT kernel is rtapi. The one with -98 priority is the base thread and the one with -99 is the servo thread.
Some settings you could try:
Maximum Payload = Auto > to max
AMD 880 HD Audo = Enabled > Disabled
PME Wake Up From S5 = Enabled > Disabled
PS2 Keyboard PowerOn = Any Key > Disabled
Stroke Key = Wake Key > Disabled
PS2 Mouse PowerOn = Enabled > Disabled
USB Device Wake Up From S3/S4 = Enabled > Disabled
Unpopulated Links = Keep Link ON > Off

And the following kernel parameters instead:
skew_tick=1 nosmt=force kthread_cpus=0-1 irqaffinity=0-1 rcu_nocbs=2-7 nohz_full=2-7 isolcpus=2-7
intel_pstate=disable cpufreq.off=1 cpuidle.off=1 processor.max_cstate=0 idle=mwait clocksource=tsc
tsc=reliable nosoftlockup nowatchdog default_hugepagesz=1G hugepages=4 transparent_hugepage=never
threadirqs forcedeth.use_msi=0 mce=ignore_ce nmi_watchdog=0 audit=0 mitigations=off
  • spumco
  • spumco
16 Mar 2025 23:54

caxis.comp with stepper motor / gear connection to spindle

Category: HAL

Not a problem, hope it was helpful.

Regarding spindle orient... I'd hoped to use orient for my lathe as a 'poor-man's c-axis' once I realized that caxis.comp wasn't doing what I wanted.

I quickly realized that is orient by itself won't hold a position.  You either need a spindle brake, or you need a servo drive that is in position mode (internally).  Servo drives in velocity-mode don't necessarily hold a position rigidly, but LCNC is perfectly capable of treating a position-mode servo drive as a spindle.

LCNC can orient a plain old VFD to a pretty exact position, but that does no good if you're trying to use live tools once the spindle is in the appropriate position.

I think you're on the right track for your first steps.  Get the spindle working as well as you can, then add the orient function.  Orient is simple in concept, but tuning and nailing the position can be tricky and time-consuming.  Especially if you have a heavy spindle/chuck.

Something else to consider... your spindle encoder need not be super-high resolution for spindle/orient functions, but for eventual c-axis work the higher the resolution the better.  And that can become a rabbit-hole when trying to balance high encoder speeds with high resolution... while remaining budget friendly.
  • Sternfox
  • Sternfox
16 Mar 2025 23:51
Mesa 7i95t rs485 spindle was created by Sternfox

Mesa 7i95t rs485 spindle

Category: Basic Configuration

Hey chaps.

With the mesa 7i95t 7i95t_1pktv2d.bin firmware what pins are needed for rs485 spindle? Any resisters needed? I want to use the HY_vfd component to drive my vfd.

Or is a rs485 usb easier to setup? 

Thanks in advance 
  • PCW
  • PCW's Avatar
16 Mar 2025 23:44 - 17 Mar 2025 00:32
Replied by PCW on topic Mesa modbus and pktUart

Mesa modbus and pktUart

Category: Other User Interfaces

Edit: The test code was removed because it was in
the wrong place, it will be restored to the correct
place later. its not a very important test.

The error was that the code accessed a RX buffer
that was not filled yet, this trashed the stack under
some circumstances, causing random garbage
in other functions.

The function miss-match is unrelated. This happens
because the PKTUART RX FIFO is not cleared before
the modbus driver starts, so may have left over characters
from the last time LinuxCNC was run, power cycle garbage
charcters etc. Its not harmful and will be fixed soon.
  • vre
  • vre
16 Mar 2025 23:30
Replied by vre on topic Mesa modbus and pktUart

Mesa modbus and pktUart

Category: Other User Interfaces

with update-hz 0 all work fine if set it to possitive i get
call/response function number mismatch but this didn't hurt is the known bug..
What does this code that removing it fixes the problem?
        // Check for Send Count FIFO error
//		r = hm2->llio->queue_read(hm2->llio, hm2->pktuart.instance[inst].tx_mode_addr,
//                                     &buff, sizeof(rtapi_u32));
//        if ((buff >> 4) & 0x01) {
//            HM2_ERR_NO_LL("%s: SCFFIFO error\n", name);
//            return -HM2_PKTUART_TxSCFIFOError;
//        }
  • webbyguy
  • webbyguy
16 Mar 2025 23:15 - 16 Mar 2025 23:20
Replied by webbyguy on topic Can't eek out that last bit of jitter

Can't eek out that last bit of jitter

Category: General LinuxCNC Questions

I no longer have the HPC option in my bios settings.  I'm guessing it went away when I switched to the X6 1090T processor (instead of the fx 8350).  The 1090T didn't have hyperthreading, so I'm not using it.  With the real time kernel, for some reason /sys/devices/system/cpu/smt/active isn't there, but I'm sure I don't have hyperthreading now.

I tried the core performance boost.  It seemed to work for a bit, but restarting without changing settings made it go away.  I seem to have some random really good performance every once in a while, but it isn't repeatable.  Even restarting just the latency-histogram makes it go away sometimes.

Here's one of the times it looked pretty good for awhile.
 

I also tried adding the following commands to try to help things, but it is hard to tell if they really did anything.

swap off --all
systemctl --user stop pulseaudio.socket
systemctl --user stop pulseaudio.service


I also moved the rcu_sched to processor affinity 1,2,3,4,5.  That helped until I started firefox, and I could never get it back.


I think I'm gonna just try to move foreward without getting that last bit of jitter out.  I'm consistently below 40us, which sounds like it is good enough.  (I'll come back to it if I get some motors moving.) 

Oh, and for completeness, I tried the blocking of sound modules described here:
forum.linuxcnc.org/18-computer/39371-res...th-linuxcnc?start=90
Displaying 17476 - 17490 out of 18586 results.
Time to create page: 0.445 seconds
Powered by Kunena Forum