Advanced Search

Search Results (Searched for: )

  • rodw
  • rodw's Avatar
Today 19:46
Replied by rodw on topic Lichuan 4 axis stepper need help-

Lichuan 4 axis stepper need help-

Category: EtherCAT

The issue with the original code was it was developed with a machine that homes to index so it does not work cleanly with home to sensor. The real problem  is that during device homing, Linuxcnc throws following errors because it has not commanded movement. What generally needs to happen is the position feedback is synced with commanded position so Linuxcnc is happy. This is why most working solutions also provide their own cia402.comp

Yes, I think homing can be standardized for cia402 devices and the new home comp is there now to support that. So much of homing.c becomes irrelavent with device homing so the homecomp allows control of what is needed. I've had a couple of goes at it. The first was obsoleted by a rewrite of the homecomp paradigm.

The cia402 state machine is actually very simple. very linear with the exception of error and safety steps to prior states. The flowchart here is a good resource
www.kebamerica.com/blog/comprehensive-gu...a-402-drive-profile/

Anyway, back on task. It occurred to me that I had included some standard PDO's that are not reported by Ethercat pdos. I will revisit that. 

 
  • Mr1576
  • Mr1576
Today 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
Today 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
Today 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
  • andypugh
  • andypugh's Avatar
Today 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
Today 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
Today 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
Today 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
  • andypugh
  • andypugh's Avatar
Today 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
Today 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
Today 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
Today 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
Today 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?
 
Displaying 1 - 15 out of 19815 results.
Time to create page: 0.269 seconds
Powered by Kunena Forum