Advanced Search

Search Results (Searched for: )

  • 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...
 
  • andrax
  • andrax
Yesterday 15:47
Replied by andrax on topic StepperOnline A6 Servo

StepperOnline A6 Servo

Category: EtherCAT

Hi, I have now made some changes and am not experiencing any more problems for the time being.
1. I had Ethercat running on two network cards.
I have now combined them into one card and made sure that it has an Intel chip.
2. I have made the following changes in ethercat.xml: 
appTimePeriod="1000000" >>> appTimePeriod="2000000"
sync0Shift=“25000” >>> sync0Shift="50000"
Since then, the errors have disappeared and the servos are ready immediately.
3. I have attached ferrite cores to the Ethercat cables.
The ferrite cores for the servos have been ordered.

 
  • timo
  • timo
Yesterday 14:57 - Yesterday 15:19
Replied by timo on topic Best controll board for LinuxCNC

Best controll board for LinuxCNC

Category: General LinuxCNC Questions

As I understood open loop drivers and motors are existing and are kept in the system. (for the time beeing) :-)

It is probably difficult to answer the question. What makes a controller better (best)?
  • cheap? (two parallel ports (PCIe cards) in old office PC)
  • least amount of re-wiring? (existing parallel port machine?)
  • cheaper? (but not a bit of documentation) ( FPGA cards of unknown origin)
  • Is wasted time cheaper than money spent?
  • easy to set up? ( pnc config)
  • upgradable? (linear scales, tool changer, rigid tapping, closed loop positioning, linear motors)

    I used an old parallel port machine, changing form mach3 to LinuxCNC was 90% figuring the "charge pump" out (no re-wiring, all in software), then the computer quit service and the replacement had no parallel port. (a 10$ PCIe card fixed that). 
    Having problems to get an encoder running a Mesa card (6i25 with daughter card) went into the machine. (solving the spindle encoder issue)   (it still is a Frankenstein mixed Mesa and Parallel port). 

    Greetings Timo 

    p.s. the UC300ETH is that working with linuxcnc? Some older threads stated it does not work.
    forum.linuxcnc.org/27-driver-boards/2982...moothstepper-to-mesa
  • 2tinker
  • 2tinker
Yesterday 13:57 - Yesterday 14:00
Replied by 2tinker on topic How do I lubricate correctly?

How do I lubricate correctly?

Category: Milling Machines

Does anyone have experience with this grease gun?
www.sorotec.de/shop/Professionnal-Grease...set-120ccm-6796.html

At €100, it's not realy cheap!
  • freemoore
  • freemoore
Yesterday 12:16

7i80HD+7i48+7i42TA+7i84 Mesa firmware request (morbidelli author 503 retrofit)

Category: Driver Boards

Thanks. Now waiting on delivery of a 7i52 to test those serial ports, no luck via 7i42ta.

However, I've had trouble from the start with the 7i48 card - the 7i80HD-16 wouldn't read its encoders at all, and the 7i80HD-25 had some trouble, using encoder.00 to .03.

Last night we tried using the 7i48's encoder.04 channel with one axis at a time, and found that all 3 worked perfectly. Then we tried adding all 3 axes, at which point no aspect of the 7i48 works at all: the +15V, -15V and 3.3V lights come on, but there is no +/-10V from any AOUT port, and no encoders are read through any channel.

If a cascading fault is possible (caused perhaps by the one attempt with a 24v encoder) then I seem to have bricked my board, though I don't know if that's consistent with channel .04 having worked perfectly for half an hour of testing last night.

Please would you remake the above firmware for the 7i80HD-16? I would like to try to rule out the fpga board as the thing that's broken here, before we order another 7i48. I'd note that the reason I tried the 24v encoder was that the 7i48 wasn't reading encoder info at all to start with, though when I switched to the HD-25 it appeared to partially work, making me thing that the HD-16 firmware may have had an error.

If you have any other suggestions I'd be grateful to hear them.
  • Aciera
  • Aciera's Avatar
Yesterday 11:29 - Yesterday 11:35
Replied by Aciera on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

To come back to your original question, if I were to look at the gcode running on those machines, would I see more code running in G61or G64 mode?

Generally, how important is constant velocity along the toolpath for your applications?  
  • Becksvill
  • Becksvill
Yesterday 10:32
Replied by Becksvill on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

Agreed it's outside the scope of the OP

Just once again thanks for everything.


I'll go back to watching and hoping you guys get this running nicely


Cheers andrew
  • Mr1576
  • Mr1576
Yesterday 10:31 - Yesterday 10:33

HAL Edits for RS485 / VFD Spindle Control

Category: HAL

Bear with me:
I feel like I have read every article known to man on this subject and watched all the videos on YouTube that I can find but after several weeks cannot start my spindle via software.I am using Linuxcnc v 2.9.8, with QtDragon_hd as my GUI.

I have a 2.2kw water cooled spindle hooked up to a Huanyang HY02D223B inverter. I have a Waveshare RS485 USB connector, wired D+ to RS+ , and D- to RS- on the VFD. The shielded ground is connected to ground on the PC and COM on the VFD. The adapter shows up as ACM0.

VFD jumper has been switched to VI, and programmed as follows:-
PD001: Set to 2 (Source of run command = RS-485 communication port).
PD002: Set to 2 (Source of operating frequency = RS-485 communication port).
PD163: Set to 1 (Communication address of the VFD).
PD164: Set to 1 for 9600 baud 
PD165: Set to 3 (Communication method: 8 data bits, no parity, 1 stop bit - 8N1 RTU). 

While linuxcnc loads, if, after homing, I select MDI and type M3 S1000 (or any other value), nothing happens.
For a while I was questioning the wiring to the spindle/mains and had the awful thought that either the spindle or VFD were duff.
Last night I found this thread forum.linuxcnc.org/24-hal-components/310...anyang-speed-control and when I followed these steps in Terminal, voila! my spindle runs.

I have attached my HAL file and a screenshot of my procedure in Terminal in the hope that someone can explain why I can't operate the spindle from within my GUI. 

Thanks in advance.

File Attachment:

File Name: XYYZA2PPTHAL.txt
File Size:5 KB
  • Hakan
  • Hakan
Yesterday 10:12 - Yesterday 10:14
Replied by Hakan on topic Lichuan 4 axis stepper need help-

Lichuan 4 axis stepper need help-

Category: EtherCAT

Do you think it is even possible to make a general homing component?
The drives I have seen have numerous different homing options.
Will all of them work?

The cia402 component has no easy task.
The device runs the cia 402 state machine and the cia402 component has to figure out what state it is in. 
From that, rebuild the control word to match what you want it to do next.
You can't let the cia402 component be the master of the state machine, the device is.

I don't know much about how homing is supposed to work,
otherwise I could try to help more.
 
  • stefan63
  • stefan63's Avatar
Yesterday 08:08
PiBot Pendant was created by stefan63

PiBot Pendant

Category: General LinuxCNC Questions

This looks great, have anyone been able to port it for LCNC?
www.pibot.com/pibot-cnc-pendant-v4
Displaying 61 - 75 out of 19800 results.
Time to create page: 0.475 seconds
Powered by Kunena Forum