Advanced Search

Search Results (Searched for: )

  • vibram
  • vibram
18 Dec 2025 07:36

Ethercat compatible Encoder board tentative STM32F4 + LAN9252

Category: EtherCAT

I will also need to build a specific file for linuxcnc to recognize the board right? Is there any documentation about this?
  • gravedigger
  • gravedigger
18 Dec 2025 06:49
Replied by gravedigger on topic MVO to RO

MVO to RO

Category: Gmoccapy

To connect encoders, the following pins are exported:

gmoccapy.jog.jog-velocity.counts (s32 IN) - Jog velocity

gmoccapy.jog.jog-velocity.count-enable (bit IN) - Must be True, to enable counts

gmoccapy.feed.feed-override.counts (s32 IN) - feed override

gmoccapy.feed.feed-override.count-enable (bit IN) - Must be True, to enable counts

gmoccapy.feed.reset-feed-override (bit IN) - reset the feed override to *0%

gmoccapy.spindle.spindle-override.counts (s32 IN) - spindle override

gmoccapy.spindle.spindle-override.count-enable (bit IN) - Must be True, to enable counts

gmoccapy.spindle.reset-spindle-override (bit IN) - reset the spindle override to *0%

gmoccapy.rapid.rapid-override.counts (s32 IN) - Maximal Velocity of the *chine

gmoccapy.rapid.rapid-override.count-enable (bit IN) - Must be True, to enable counts
  • gravedigger
  • gravedigger
18 Dec 2025 06:47
Replied by gravedigger on topic MVO to RO

MVO to RO

Category: Gmoccapy

  • rodw
  • rodw's Avatar
18 Dec 2025 03:03
Replied by rodw on topic MVO to RO

MVO to RO

Category: Gmoccapy

Its really important to read the instructions for the version of LInuxcnc you are using. Often a Google search will display dated info
  • PCW
  • PCW's Avatar
18 Dec 2025 02:23
Replied by PCW on topic MVO to RO

MVO to RO

Category: Gmoccapy

Instead of rapid.rapid-override, it should be rapid-override.

What manual is this in and what LinuxCNC verison?

(the current halui man page does not have this error)
  • cmorley
  • cmorley
18 Dec 2025 02:18
  • frayja2002
  • frayja2002
18 Dec 2025 01:18
Replied by frayja2002 on topic USB pendant button to zero axis

USB pendant button to zero axis

Category: Advanced Configuration

Thanks for that.

With a bit of fiddling I have some code that is doing the job....
My halui was set up like this

[HALUI]
# add halui MDI commands here (max 64)
MDI_COMMAND = O<b01-go_to_switches> call
MDI_COMMAND = O<b02-go_to_wco> call
MDI_COMMAND = G10 L20 P0 X0 # zero x axis
MDI_COMMAND = G10 L20 P0 Y0 # zero y axis
MDI_COMMAND = G10 L20 P0 Z0 # zero z axis

and the code for the buttons ended up looking like this...

#
# Buttons to zero the axis of the machine.
#
addf AND-zero-x servo-thread
addf AND-zero-y servo-thread
addf AND-zero-z servo-thread

net zero-button <= input.0.btn-base3 => AND-zero-x.in0 => AND-zero-y.in0 => AND-zero-z.in0
net x-btn <= AND-zero-x.in1 <= input.0.btn-trigger
net y-btn <= AND-zero-y.in1 <= input.0.btn-thumb
net z-btn <= AND-zero-z.in1 <= input.0.btn-base

net zero-x <= AND-zero-x.out => halui.mdi-command-02
net zero-y <= AND-zero-y.out => halui.mdi-command-03
net zero-z <= AND-zero-z.out => halui.mdi-command-04

I'll post the files for anyone who is interested.

Thanks
Alex
 
  • NWE
  • NWE
17 Dec 2025 23:46 - 18 Dec 2025 04:28

Ursviken Pullmax Optima 130 press brake retrofit with 4 axis backgage

Category: Show Your Stuff

Another mystery solved: My 7i54 pwm output to the proportional valve was extremely erratic, like all over its output range. I was ready to blame RFI/EMI interference problems, except only that channel was affected, everything else is very stable. I finally traced it to the snubber circuit on the solenoid coil. I removed that, then it worked fine. Now I have the ram jogging up and down open loop. It appears this rc snubber was messing with the current regulation. Attached a picture of it. It was sandwiched between the connector on the solenoid coil and the Hirschman plug. With that installed, its LED indicator flickered like a candle flame in a breeze whenever pwm output was live. The Ursviken schematics indicate the circuit contains a flyback diode, but I could not find any, neither does it seem to show up when I reverse the h-bridge. The snubber is unnecessary in this instance, I am powering it with an h-bridge designed for DC servo motors. A DC servo motor would not have this additional snubber anyway.

My suspicion has been confirmed: The 2 servo valves set the speed and direction of each ram cylinder. The proportional relief valve sets the tonnage. 0% pwm = no pressure, 100% pwm = max pressure.

I will edit my first post with this info. Once I have a complete working config, that will also be attached to the first post.
  • tommylight
  • tommylight's Avatar
17 Dec 2025 22:11
Replied by tommylight on topic MVO to RO

MVO to RO

Category: Gmoccapy

What inaccuracies? In the documentation?
  • abs32
  • abs32
17 Dec 2025 21:54

How to fix "Queue is not empty after probing"

Category: General LinuxCNC Questions

I conducted a large series of experiments with different sensor settings and different ini + hal settings.
First, I achieved smooth operation of the sensor (of my own design) in version 2.8.4. The Chinese sensor could perform 40,000-50,000 continuous measurements (with 38.5 disabled). My sensor completed the entire task, more than 500,000.
That is, it has been established that the quality of the sensor directly affects the appearance of the error “Probe tripped during non-probe move”.
And with the same settings in version 2.9.7, the error “Queue is not empty after probing” recurs. That is, the appearance of the error does not depend on the sensor. The question remained: does this error appear during the working stroke 38.2-38.3 and the reverse?
I disabled the “until open” movement option, as in version 2.8.4, and the error “Queue is not empty after probing” did not appear. Previously, it was not possible to obtain more than 25,000 measurements. The experiment was interrupted at 40,000. Consequently, the error “Queue is not empty after probing” occurs when executing g38.5, during execution. After g38.3, I have a G1 up command.

To disable the possibility of 38.4-38.5 on the defunct Russian forum (к сожалению, я не помню имени автора решения, но честь ему и хвала), such a modification of hal was proposed and tested by me over hundreds of hours of work and hundreds of thousands of measurements -

	#датчик probe
	net probe-in        <= parport.0.pin-13-in-not
	#net probe-in => motion.probe-input (это в случае работы с G38.5)
	
		#здесь пытаемся убрать ошибку "probe tripped during non-probe mode"
			#https://www.cnc-club.ru/forum/viewtopic.php?f=15&t=31612
			# Загружаем компонент select8
				loadrt select8 count=1
				addf select8.0 servo-thread
		    ## Сигнал от датчика подаем на вход разрешения select8
				net probe-in select8.0.enable
		    ## Номер режима ведем на вход выбора
				net motion-mode motion.motion-type select8.0.sel
		    ## Выход 5 select8 - ко входу для датчика
				net probesel select8.0.out5 motion.probe-input
				
  • Hakan
  • Hakan
17 Dec 2025 21:08

Ethercat compatible Encoder board tentative STM32F4 + LAN9252

Category: EtherCAT

Yes, I thought you wanted to use it in linuxcnc. That's how.
I'll tell you about dc synchronization tomorrow. It's a bit more writing and more code.
 
  • Todd Zuercher
  • Todd Zuercher's Avatar
17 Dec 2025 20:55
Replied by Todd Zuercher on topic USB pendant button to zero axis

USB pendant button to zero axis

Category: Advanced Configuration

 
I don't think you want to use the Mux4 component. It is for setting an output to one of 4 numeric values. I think you would want to use multiple And2 components. Also you have the the Halui MDI Hal pin names wrong. To call the first Halui MDI command in your INI file's list the Hal pin name should be "halui.mdi-command-00" and the 2nd would be "halui.mdi-command-01"...

To do it you'd need to put the following lines in your hal file.  Assuming your button output pin names are "input.0.btn" for the zero button, "input.x.btn" for the X button, "input.y.btn" for the Y button, and "input.z.btn" for the Z button.  And since your INI file already has 6 Halui MDI commands listed, adding 3 more to zero each axis would be.
loadrt  and2  counts=3

addf  and2.0  servothread
addf  and2.1  servothread
addf  and2.2  servothread

net zero-btn  <= input.0.btn  =>  and2.0.in0  =>  and2.1.in0  =>  and2.2.in0
net x-btn  <=  input.x.btn  =>  and2.0.in1
net y-btn  <=   input.y.btn  =>  and2.1.in1
net z-btn  <=  input.z.btn  =>  and2.2.in1

net zero-x  <=  and2.0.out  =>  halui.mdi-command-06
net zero-y  <=  and2.1.out  =>  halui.mdi-command-07
net zero-z  <=  and2.2.out  =>  halui.mdi-command-08

That said, if you are wanting to use a button input that is already used elsewhere in your hal file that is ok.  Simply either use that hal signal name to connect the appropriate and2.N.in1 to it, or add the and2.N.in1 to the existing net line.
 
  • vibram
  • vibram
17 Dec 2025 20:31 - 17 Dec 2025 20:32

Ethercat compatible Encoder board tentative STM32F4 + LAN9252

Category: EtherCAT

It's already working in free run mode, I can see my encoder value in twincat such as in your 3rd video :)

ethercat-conf.xml

You mean the linuxcnc file? 
  • Cena
  • Cena
17 Dec 2025 20:23

Remora 1.1.0 + BTT Octopus – jog overshoot and joint following error

Category: Computers and Hardware

Are you using a MOSFET to heat the wire from the SKR? If so, I suggest reducing the PWM duty cycle and seeing what happens. First of all, try connecting the resistance wire directly to the power supply — reminder: this might help — and check whether the “Bad SPI Payload” messages still occur. You may also want to consider powering the resistance wire from a completely separate power source.
  • gravedigger
  • gravedigger
17 Dec 2025 19:48
Replied by gravedigger on topic MVO to RO

MVO to RO

Category: Gmoccapy

I was very close to replacing the Linux CNC with a different system.
The small inaccuracies make it very difficult for a newcomer.
Displaying 136 - 150 out of 21654 results.
Time to create page: 0.177 seconds
Powered by Kunena Forum