Advanced Search

Search Results (Searched for: )

  • pawel77
  • pawel77
21 Aug 2024 06:50
Replied by pawel77 on topic İnstall glade

İnstall glade

Category: Gmoccapy

With 2.9 I have problem to open glade files done in 2.8.4 version, they request 3.8 while 3.4 glade is available. 
In synaptic manager gladevcp is not available. 

thanks for any help
  • mighty_mick
  • mighty_mick's Avatar
21 Aug 2024 06:43
Replied by mighty_mick on topic How to make HAL pins from .c kinematics file?

How to make HAL pins from .c kinematics file?

Category: HAL

And it is good to remember, in these lines below:

struct haldata {
hal_float_t *pivot_length;
hal_float_t *x_offset;
hal_float_t *y_offset;
} *haldata;

Your data is a pointer, and it is NULL pointer at the first time. You need to use hal_malloc function to export your data to hal layer before exporting pins.

You can find the function here: github.com/LinuxCNC/linuxcnc/blob/master/src/hal/hal.h
  • snowgoer540
  • snowgoer540's Avatar
21 Aug 2024 06:00 - 21 Aug 2024 16:01
Replied by snowgoer540 on topic Straight cut error

Straight cut error

Category: Plasmac

It would be really helpful with trying to get to the bottom of this if you could make a short video of your work flow including the error message and post it to YouTube. Bugs are easier to reproduce when we can follow the exact steps :)
  • rodw
  • rodw's Avatar
21 Aug 2024 04:59

Pi4b and Pi5 users - What should go in a 2.9.3 image

Category: Installing LinuxCNC

Noticed that 2.9.3 starts up with the locales set to "POSIX" or "C", which will cause pncconf to error out... best to add a note that menu-config must be run after after install, and set locale and timezone, then reboot.

There are some notes about using menu-config on the install page. Sounds like pncconf needs to be coded a bit more robustly. It should not fail for issues like that. We do set the locale to reasonable defaults here. github.com/rodw-au/rpi-img-builder-lcnc/...9.3/userdata.txt#L39
  • Ray_TL00
  • Ray_TL00
21 Aug 2024 03:34
Replied by Ray_TL00 on topic New and Working RTAI debs for 2.9

New and Working RTAI debs for 2.9

Category: Installing LinuxCNC

Thank you very much, I will try your advice.
  • PCW
  • PCW's Avatar
21 Aug 2024 02:52 - 21 Aug 2024 02:52
Replied by PCW on topic Gui for standalone thc

Gui for standalone thc

Category: Plasma & Laser

In addition to some understanding of hal, you need to learn about the basic
components of LinuxCNC. One major component is called "motion"

You can access the manual page for motion by typing:

man motion

in a terminal window

M3  turns on the spindle so the motion pin:

spindle.0.on

would be a possible pin to connect to the SSR
  • Benb
  • Benb's Avatar
21 Aug 2024 02:06 - 21 Aug 2024 02:13
Replied by Benb on topic Dynamic jog speed from HAL, Possible?

Dynamic jog speed from HAL, Possible?

Category: HAL

halui.axis.jog-speed - This pin is for setting jog speed for plus/minus jogging.

To jog an axis you need to select axis, set jog speed using potentiometers and press plus or minus push button (PB) to jog axis. 

Most CNC machines built using Linuxcnc use joint (There is a whole spiel about axis/joint, google it if you would like to learn more about it).

Attached are function blocks of halui pins for axis to help visualize the jungle of pins. Halui has over 100 pins, I divided the related pins into function blocks to ease the visualization.For your info I added an external hadwired PB and UI widgets for +/- jog, you can use either or both.
 


Linuxcnc hal netlisting 

# Load realtime Components and their counts
loadrt or2          count= 2
loadrt scale        count= 1

# Add functions to threads
addf or2.0                    servo-thread 
addf or2.1                    servo-thread 
addf scale.0                  servo-thread 

# Set parameters
setp scale.0.offset                              0.0   
setp scale.0.gain                                0.12    

# Connect Pins with hal signals/Wires
net arduino.ain.0              scale.0.in  
net axis.sel.z.sw               halui.axis.z.select  
net axis.speed.minus       halui.axis.selected.minus  or2.1.out  
net axis.speed.plus           or2.0.out  halui.axis.selected.plus  
net axis.x.sel.sw                halui.axis.x.select  
net axis.y.sel.sw                halui.axis.y.select  
net halui.axis.jog-speed   scale.0.out  halui.axis.jog-speed  
net minus.speed.pb          or2.1.in0  
net minus.speed.ui           or2.1.in1  
net plus.speed.pb             or2.0.in0  
net plus.speed.ui              or2.0.in1  
 
  • bentiggin
  • bentiggin
21 Aug 2024 01:40
Replied by bentiggin on topic Gui for standalone thc

Gui for standalone thc

Category: Plasma & Laser

I now I want something like this.
Hit execute gcode file.
g0 x10 y10
m3-> activates hm2_7i97.0.ssr.00.out-00
this should make the thc do its height sense, then fire the arc. Then send arc-ok to hm_7i97.0.inmux.00.input-04.
and linuxcnc should should follow file from there.

​​​​​​​Id also like to send a corner hold signal, but that seems a bit more complicated 
  • bentiggin
  • bentiggin
21 Aug 2024 01:21
Replied by bentiggin on topic Gui for standalone thc

Gui for standalone thc

Category: Plasma & Laser

I know it’s hard to tell by my dumb questions, but learning some Hal commands and components is exactly what I’m trying to do.
so I added your joint.0.amp-fault-in and it works exactly as you stated. Awesome.
How do I learn this? I’m currently flipping through the Hal part of the manual and I don’t see anything about amp-fault. 
Is there a reference list for Hal commands?
 I now see it in Hal show, under pin/joint/0/amp-fault-in. Can I find description of these somewhere?
 
  • slowpoke
  • slowpoke
21 Aug 2024 01:20
Replied by slowpoke 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?
 

Thanks for that, I tried but  axis.L.jog-vel-mode  does not help.

At least the feed-override acts dynamically, it even updates the slider in Axis when I twiddle the pot
  • rdtsc
  • rdtsc's Avatar
21 Aug 2024 01:19 - 21 Aug 2024 01:20

Pi4b and Pi5 users - What should go in a 2.9.3 image

Category: Installing LinuxCNC

Noticed that 2.9.3 starts up with the locales set to "POSIX" or "C", which will cause pncconf to error out... best to add a note that menu-config must be run after after install, and set locale and timezone, then reboot.
  • slowpoke
  • slowpoke
21 Aug 2024 01:17
Replied by slowpoke 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.
 

I found a note somewhere that stated in axis the feed slider responds to halui.feed-override.increase and .decrease, however I'm using a pot feeding halui.axis.jog-speed not up and down buttons, so I think I'm out of luck with axis, unless there is some other method?
Thanks for the input.
  • PCW
  • PCW's Avatar
21 Aug 2024 00:08 - 21 Aug 2024 00:15
Replied by PCW on topic Gui for standalone thc

Gui for standalone thc

Category: Plasma & Laser

Unfortunately to do this by hand does require learning some hal
commands and components because on most there would be some
logic or gating involved, but as a very simple example with no added
logic:

net breakaway joint.0.amp-fault-in  hm2_7i97.0.inmux.00.input-05

Note that joint.0.amp-fault-in and hm2_7i97.0.inmux.00.input-05 are both pins that
exist in your running LinuxCNC configuration, the net command simple connects them.
The "breakaway"  is the name of the signal that connects the pins. Its an arbitrary name
unless it's already defined somewhere else.

For example:

net brown_wire joint.0.amp-fault-in  hm2_7i97.0.inmux.00.input-05

will function identically (though perhaps be a bit harder to understand)


This statement will cause a fault and stop motion if hm2_7i97.0.inmux.00.input-05 goes high

You might need to use hm2_7i97.0.inmux.00.input-05-not depending on your
switch wiring.

(the input number is up to you, just used 05 in this example)
 
  • avive
  • avive
20 Aug 2024 23:35
Replied by avive 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.

I can confirm, everything works fine. Just in case, you can additionally compare this configuration with the documentation for your driver.

My model is LC10E, motor with 17 bit absolute multi turn encoder. 
  • nwallace
  • nwallace
20 Aug 2024 23:24

Post GUI HAL not loading and "Bad character '[' used" error on E-Stop

Category: QtPyVCP

I am having an issue with a machine using probe basic where the post gui hal files are not loading. Looking at the console output when running linuxcnc from the terminal does not show an obvious error to me. It just gets to the line where it is trying to load the first post gui hal file and stops. I have tried removing any customizations but it has no effect. Attached are my hal and ini files.

Another possibly related issue I am having is that if I ever use the e-stop, I get 2 "Bad character '[' used" errors. The error shown in the terminal is "emc/task/emctask.cc 68: interp_error: Bad character '[' used" and it happens even if I have no file loaded.

Has anyone encountered either of these problems? I am at a loss of where to look next on either and would appreciate any help.
Displaying 23716 - 23730 out of 24293 results.
Time to create page: 0.457 seconds
Powered by Kunena Forum