Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
20 Aug 2024 15:33
Replied by PCW on topic Driver NUM GEC MK2S

Driver NUM GEC MK2S

Category: Driver Boards

Runaway of an analog velocity mode drive with no input
may be because the tachometer leads are reversed.
  • greg23_78
  • greg23_78
20 Aug 2024 15:27 - 20 Aug 2024 15:28
Replied by greg23_78 on topic Driver NUM GEC MK2S

Driver NUM GEC MK2S

Category: Driver Boards

I have just received my reconditioning drivers, 1 driver was defective in one direction of rotation.
i started reassembling the drivers and tuning the engines.
it's at this point of tuning the motors that i have a problem.

when i put enable on my drivers, my motor turns in 1 direction at high speed and when i press it, it goes in the other direction.

I remove the analog to see, and it happens again.

so i guess it's due to the settings on my drivers and the tach.

how do you set this type of driver with the front buttons?

 
 
  • slowpoke
  • slowpoke
20 Aug 2024 15:18
conv_float_s32 error was created by slowpoke

conv_float_s32 error

Category: HAL

I'm trying to link a scale output (float) to halui.feed-override.counts so I can control feed-override with an external pot. I'm using "scale" to scale the analog value.

It appears that halui.feed-override.counts needs to be a s32 type value, so I'm trying to use  conv_float_s32 to convert the scale output to s32. The addf conv_float_s32.0 servo-thread line is causing the following error:
HAL: ERROR: function 'conv_float_s32.0' not found.

If there is a better way to accomplish what I'm trying to do "I'm all ears"

excerpt from my postgui as follows:
# Feed Speed
addf scale.1 servo-thread
setp scale.1.offset 0.0
setp scale.1.gain 0.12
net feed-pot-in scale.1.in <= arduino.ain.1

loadrt conv_float_s32 count=1
addf conv_float_s32.0 servo-thread

#net feed-override halui.feed-override.counts <= scale.1.out  # type mismatch
 
  • PCW
  • PCW's Avatar
20 Aug 2024 15:18
  • spumco
  • spumco
20 Aug 2024 15:14
Replied by spumco on topic Dynamic jog speed from HAL, Possible?

Dynamic jog speed from HAL, Possible?

Category: HAL

Maybe setting axis.L.jog-vel-mode to TRUE would cause in-process jogging to respond to speed changes?
  • schuetzbuilds
  • schuetzbuilds
20 Aug 2024 14:32
Retrofitting a MAHO MH600T was created by schuetzbuilds

Retrofitting a MAHO MH600T

Category: Milling Machines

Hi All,My brother and I recently purchased an old MAHO MH600T with the intention of retrofitting it using LinuxCNC, a 7i77, a 7i84, and the GmoccaPy interface. We began our project by following Mark's thread, which provided invaluable information—without it, we would have been lost. The machine originally came with an old Heidenhain 332 CNC controller, but unfortunately, the video output seems to be broken. Since this compact module also contained the EXE interfaces, we had to replace them with three EXE602 modules to read the linear scales.This is working fine (we are currently ignoring the c-axis...) and the cable cabinet still had a convenient place for its three new members. 

At this stage, we have successfully set up the endstop chain and the linear motion system (encoders and the Indramat drives for X, Y, and Z axes), using conservative values for the PID controller and homing. Our next step is to get the "accessories" working, such as flood coolant, the tool holder, and basic spindle control (including potentially allowing for manual gear changes). While the machine behaves as expected when we press the test buttons on the relay board, we are facing difficulties controlling these functions via LinuxCNC. I have a few questions about this (apologies if they seem basic, but I am new to LinuxCNC and HAL).

1. I wired the 2K2 relay for the coolant pump to output-15 of my 7i84, with field power supplied by the 24V line. The pump operates correctly when I test the relay using its test button, but attempting to activate the relay from the Mesa card causes the machine to go into an emergency stop. Even connecting the relay to my field power alone triggers a shutdown. I've double-checked the wiring (I have a connection from output 15 to the test lead MP12 and to the relay), swapped the relay with a known working one (19K1, machine on), and tested the output without anything connected (it pulls up and down correctly). I initially thought it might be an issue with using a different 24V line, but the "machine on" relay is functioning. I'm currently suspecting a short circuit, but there is no error message displayed by the controller—just the fact that the machine goes into E-Stop. Is there a hidden log or extended error message that might provide more information?

 
 
2. The spindle: For a first test, I wanted to have the spindle on/off working, which just should be the three relays 1K8, 1K9, 1K10, connected to output 12, 13, and 14 on the 7i84. but with the following hal code, nothing happens, when pressing spindle start, and the pins of the 7i84 are floating at roughly 13V. So it seems the pins are not connected in the hal. Is there something I am overlooking, do I need to use the halui pins?:
net spindle-enable hm2_5i25.0.7i84.0.2.output-12
net spindle-cw hm2_5i25.0.7i84.0.2.output-13
net spindle-ccw hm2_5i25.0.7i84.0.2.output-14
3. The gearbox. The good news is that our machine is equipped with an 18-speed gearbox, similar to Mark's, but the sensing configuration is slightly different. While the outputs are the same, we only have nine inputs, which means we're missing the "Links-Mitte" switch that indicates whether the gear motor should turn left or right. Has anyone modified the gearbox component for the MH400E to accommodate this configuration, or has a working original MAHO with this arrangment and could share, how the gearshift is done there? I somehow hope, that it is just an easy modification, but my C is a bit rusty, so we will se how this goes.
 

Kind regards

Sebastian
  • acondit
  • acondit
20 Aug 2024 14:03
Replied by acondit on topic Converting a 7i76e config to 7c81/7i76 pair

Converting a 7i76e config to 7c81/7i76 pair

Category: General LinuxCNC Questions

I did:
sudo mesaflash --device 7c81 --spi --addr /dev/spidev0.0 --write 7c81_7i76x2d.bit
and
sudo mesaflash --device 7c81 --spi --addr /dev/spidev0.0 --reload
when I tried to run linuxcnc I got an error about no hm2_rspi.so found.
How do I make sure hm2_rspi is on my system?
  • Aciera
  • Aciera's Avatar
20 Aug 2024 13:09 - 20 Aug 2024 13:22
Replied by Aciera on topic Dynamic jog speed from HAL, Possible?

Dynamic jog speed from HAL, Possible?

Category: HAL

This certainly works for me using panel buttons connecting to hal pins 'halui.axis.L.plus' and 'halui.axis.x.minus'.
Push the jog button and simultaneously change the jog speed with the potentiometer from 0..100%

[edit]
Just noticed that I also feed the potentiometer signal to 'gmoccapy.jog.jog-velocity.direct-value'. So maybe Gmoccapy has something to do with it.
  • tommylight
  • tommylight's Avatar
20 Aug 2024 12:54
Replied by tommylight on topic Computer crashes after "Loading initial ramdisk"

Computer crashes after "Loading initial ramdisk"

Category: Installing LinuxCNC

Nice.
See how to edit GRUB in Debian 12, there are plenty of tutorials on the net.
Editing a single file and saving it, then doing a grub update, that is it.
  • my1987toyota
  • my1987toyota's Avatar
20 Aug 2024 12:49 - 20 Aug 2024 13:01
Replied by my1987toyota on topic Video about shielding cnc machine wiring

Video about shielding cnc machine wiring

Category: Computers and Hardware

Just another day in mouse utopia.
  • kiwiscanfly
  • kiwiscanfly's Avatar
20 Aug 2024 12:16
Replied by kiwiscanfly on topic Problems with Lichuan Ethercat servo drive

Problems with Lichuan Ethercat servo drive

Category: EtherCAT

please can those that have this working say the model. I've been looking at 3/4 80 series 23bit absolute with brake.

i would like to hear if there is a working config for the 32bit and brake before ordering.
  • jtupulis
  • jtupulis
20 Aug 2024 11:26
Replied by jtupulis on topic [Solved] Trying to install RTAI, got errors

[Solved] Trying to install RTAI, got errors

Category: Installing LinuxCNC

Thanks for the advice! I managed to install RTAI using it :)

My latency numbers improved, but not as much as I hoped for. I need to look into new motherboard.
  • DiegoVV
  • DiegoVV
20 Aug 2024 10:42

Computer crashes after "Loading initial ramdisk"

Category: Installing LinuxCNC

Done, it works!!!!!!!

Now I have to manage to make it permanent somehow....Any clue?

Thanks again!!
  • rodw
  • rodw's Avatar
20 Aug 2024 09:57
Replied by rodw on topic Сreating a component

Сreating a component

Category: General LinuxCNC Questions

Use what you are used to. I have nver used CL and just write a comoponent.
Here is one to select from rapid/slow jogging  when an extra button is pressed. Hal just got too convoluted
github.com/rodw-au/showstopper/blob/master/jogpendant.comp
  • slowpoke
  • slowpoke
20 Aug 2024 09:33 - 20 Aug 2024 09:37
Dynamic jog speed from HAL, Possible? was created by slowpoke

Dynamic jog speed from HAL, Possible?

Category: HAL

I have a physical pot that is driving halui.axis.jog-speed.

Implementation in postgui.hal is as follows:

# Jog Speed
loadrt scale count=1
addf scale.0 servo-thread
setp scale.0.offset 0.0
setp scale.0.gain 0.12
net jog-pot-in scale.0.in <= arduino.ain.0
net jog-speed halui.axis.jog-speed <= scale.0.out

This works in the sense that I can change the jog speed and then the next jog will use that speed. however if while jogging I tweak the jog speed value with the pot, halui.axis.jog-speed changes however the actual speed does not change (until the next jog). Is there a way to make the jog speed follow the pot/halui.axis.jog-speed value while jogging?
Displaying 22816 - 22830 out of 24961 results.
Time to create page: 0.479 seconds
Powered by Kunena Forum