Advanced Search

Search Results (Searched for: )

  • Mr1576
  • Mr1576
Yesterday 19:11
Replied by Mr1576 on topic HAL Edits for RS485 / VFD Spindle Control

HAL Edits for RS485 / VFD Spindle Control

Category: HAL

Thanks for your reply @andypugh

I copied and pasted your suggestion into my HAL file, replacing the original erroneous text.

Unfortunately when launching Linuxcnc, an error is shown up as attached in the .png file.

Revised HAL file also attached.

Regards

Phil

File Attachment:

File Name: XYYZA2PPTREV1.txt
File Size:5 KB
  • grandixximo
  • grandixximo's Avatar
Yesterday 18:51
Replied by grandixximo on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

I mostly run G64 P0.05 in metric, G64 P0.002 in inches, G61 is afterthought for us, but will be tested...
  • Lcvette
  • Lcvette's Avatar
Yesterday 18:07
Replied by Lcvette on topic Probe Basic Stable error

Probe Basic Stable error

Category: QtPyVCP

the on screen button and physical button cannot remain synchronized as the screen cannot physically change the mushroom buttons state. so you will need to add in some hal NOT allowing the UI estop button in probe basic to be in a state different from the physical mushroom button.
  • andypugh
  • andypugh's Avatar
Yesterday 17:08
  • andypugh
  • andypugh's Avatar
Yesterday 17:03

XHC-WHB04B-06 rotary knob button feed rate not work

Category: Advanced Configuration

You could quickly check if those have the desired affect by opening halshow, opening the "watch" tab and picking those pins from the tree. Then you can set values directly.

If that works then link them up in HAL.
  • andypugh
  • andypugh's Avatar
Yesterday 16:59
Replied by andypugh on topic The Current Bread & Butter Setup?

The Current Bread & Butter Setup?

Category: General LinuxCNC Questions

One advantage of the Pi is that it is perfectly reasonable to have an identical spare to swap in in case of trouble.
  • andypugh
  • andypugh's Avatar
Yesterday 16:57
Replied by andypugh on topic How to fix "Queue is not empty after probing"

How to fix "Queue is not empty after probing"

Category: General LinuxCNC Questions

This feels like possibly a race condition, I wonder what happens if the queue-empty check is just disabled?
(ie, I wonder if it indicates a real problem?)
  • andrax
  • andrax
Yesterday 16:52

XHC-WHB04B-06 rotary knob button feed rate not work

Category: Advanced Configuration

I use gmoccapy.

So far, I have found that these two signals control the feed rate:
gmocacapy.spc-feed.value
gmocacapy.spc-speed.value
  • andypugh
  • andypugh's Avatar
Yesterday 16:49
  • andypugh
  • andypugh's Avatar
Yesterday 16:48
Replied by andypugh on topic HAL Edits for RS485 / VFD Spindle Control

HAL Edits for RS485 / VFD Spindle Control

Category: HAL

If this is your whole HAL file then the problem is that you have connected the HAL "net" to the VFD but not to the motion contoller.
# Connect HAL pins to motion controller
net spindle-vel-cmd-rpm-abs  	hy_vfd.speed-command
net spindle-cw       			hy_vfd.spindle-forward
net spindle-enable        		hy_vfd.spindle-on
net spindle-ccw        			hy_vfd.spindle-reverse
net spindle-at-speed   			hy_vfd.spindle-at-speed

This creates "nets" with names like "spindle" enable but there is nothing at the other "end"

Try:
# Connect HAL pins to motion controller
net spindle-vel-cmd-rpm-abs  	spindle.0.speed-out => hy_vfd.speed-command
net spindle-cw       			spindle.0.forward => hy_vfd.spindle-forward
net spindle-enable        		spindle.0.on => hy_vfd.spindle-on
net spindle-ccw        			hy_vfd.spindle-reverse
net spindle-at-speed   			spindle.0.at-speed <= hy_vfd.spindle-at-speed

The => are optional and ignored by the computer.

linuxcnc.org/docs/stable/html/man/man9/m....html#SPINDLE%20PINS
  • JT
  • JT's Avatar
Yesterday 16:37
Replied by JT on topic Reload gcode

Reload gcode

Category: Flex GUI

Sorry, I must have got distracted when changing the variable name and didn't finish changing every occurrence. The bug has been squashed.

JT
  • andypugh
  • andypugh's Avatar
Yesterday 16:36
Replied by andypugh on topic PiBot Pendant

PiBot Pendant

Category: General LinuxCNC Questions

I have sent a query about how it interfaces. If it is USB HID then it will probably work fine with hal_input. Otherwise it might need a specific driver.
  • andrax
  • andrax
Yesterday 16:26

motor-0-position error beim Abbremsen aus 4-7,5 m/min

Category: Deutsch

Hi,

dein Fehler könnte möglicherweise noch eine weitere Ursache haben.
Da dies beim abbremsen und hohen Geschwindigkeiten passiert, kann es sein, dass dein Servotreiber die überschüssige Generatorenergie 
vom Servomotor nicht wegbekommt und sich dabei der Zwischenkreis entläd.
Hast du Bremswiederstände installiert?
  • andrax
  • andrax
Yesterday 16:09

XHC-WHB04B-06 rotary knob button feed rate not work

Category: Advanced Configuration

Hi,
I have a question about the configuration of the XHC WHB04B-06.
I already asked this question in the German forum but unfortunately did not receive an answer.
First of all, the handwheel works perfectly except for the rotary knob button.
Here I can only set the increments. But I also want to control the feed rates.

I think the settings need to be adjusted here:

# GUI feed rate related signals can be used when program is running moving GUI slider
net pdnt.feed-override.scale whb.halui.feed-override.scale halui.feed-override.scale # needed for both FeedOverride+/- and rotary knob button
net pdnt.max-velocity.value whb.halui.max-velocity.value halui.max-velocity.value # needed for Mpg mode : button feed position% * max-velocity = Mpg feedrate

# take feed override min/max values from/to the GUI
net pdnt.feed-override.value halui.feed-override.value whb.halui.feed-override.value # GUI feed rate related signals
net pdnt.feed-override.increase whb.halui.feed-override.increase halui.feed-override.increase
net pdnt.feed-override.decrease whb.halui.feed-override.decrease halui.feed-override.decrease


I just don't know which ones?
 
  • MaHa
  • MaHa
Yesterday 16:03
Reload gcode was created by MaHa

Reload gcode

Category: Flex GUI

After a break, when running my machine, i can load a gcode file. But trying reload or edit crashes with following error:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/libflexgui/actions.py", line 147, in action_reload
    if gcode_file:
       ^^^^^^^^^^
NameError: name 'gcode_file' is not defined. Did you mean: 'nc_code_file'?
/usr/bin/linuxcnc: Zeile 977: 11062 Abgebrochen             $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
Shutting down and cleaning up LinuxCNC...
 
Displaying 46 - 60 out of 19808 results.
Time to create page: 0.200 seconds
Powered by Kunena Forum