Advanced Search

Search Results (Searched for: )

  • hpmax
  • hpmax
04 Jul 2024 01:47 - 04 Jul 2024 01:49

A Treatsie on the Parallel Port - HP Elitedesk 800 with generic cable

Category: Installing LinuxCNC

On a lark, I tried something... I created a new profile for XYZ and a second new profile for XYZA (I think I also set the XYZA one to mm, whereas I forgot and default to inch for XYZ).

Amazingly, on the XYZ profile, Y and Z worked perfectly, X didn't work at all. This isn't a shock because the default values for X put it onto my A. So I hand edited the HAL file, and changed X to be on pins 16 and 17, and...

EVERYTHING WORKED!

So basically, at this point, I think I have a working system and just need to tune the .hal and .ini files (or learn how to do it). When I looked through the original file I had generated ESTOP_ON was ONLY on pin 1, not on 8, 9, and 14 -- so that explains why they never went high.

Thank you so much for nailing the problem in one comment, PCW!
Thanks for sticking around and constantly pointing me toward the finish, Cornholio!
  • phillc54
  • phillc54's Avatar
04 Jul 2024 01:16
Replied by phillc54 on topic qtplasmac "torch not showing"

qtplasmac "torch not showing"

Category: Plasmac

Könnten Sie ein Video posten, das zeigt, was passiert?

Was passiert, wenn Sie eine der Beispiel-G-Code-Dateien öffnen?
 
  • PCW
  • PCW's Avatar
04 Jul 2024 01:09

Error finishing read! Iter and joint following error in Stepper machine

Category: General LinuxCNC Questions

Other things to check:

1. Do you have an Intel or Realtek Ethernet chip?
( there are chip specific things you can do to improve latency)

lshw -class network

Will list your Ethernet (and wireless) network hardware if you are not sure

2. Have you run a simple ping test like:

ping -i .2 -c 4 10.10.10.10
sudo chrt 99 ping -i .001 -q 10.10.10.10

The first command populates the ARP cache so the ARP lookup doesn't add time to the first ping
The second command should be run for a few minutes (and then stopped with a control C)
and the results posted here.
 
  • PCW
  • PCW's Avatar
04 Jul 2024 01:07 - 04 Jul 2024 01:08

qtplasmac (Operation Error: hm2/hm2_7i76e.0:) in middle of cut

Category: Plasmac

Other things to check:

1. Do you have an Intel or Realtek Ethernet chip?
( there are chip specific things you can do to improve latency)

lshw -class network

Will list your Ethernet (and wireless) network hardware if you are not sure

2. Have you run a simple ping test like:

ping -i .2 -c 4 10.10.10.10
sudo chrt 99 ping -i .001 -q 10.10.10.10

(use 192.168.1.121 instead of 10.10.10.10 if your 7I76E is set for that IP address)

The first command populates the ARP cache so the ARP lookup doesn't add time to the first ping
The second command should be run for a few minutes (and then stopped with a control C)
and the results posted here.
 
  • tommylight
  • tommylight's Avatar
04 Jul 2024 00:38
Replied by tommylight on topic qtplasmac "torch not showing"

qtplasmac "torch not showing"

Category: Plasmac

Google translate
Hello! I want to build a plasma cutter and am still very new to Linux. I created a test setup with a Thinkcenter, 7i96s and thcad 300. I think I have configured everything well. I also connected a stepper motor for testing, which also rotates at the correct speed. The only thing that bothers me is that in all the videos I find the burner position is shown, but mine isn't. Does anyone have an explanation/solution for this? But it's only in QTplasmac. If I use the GUI Axis then I can see the position. I hope it's just a small setting.
I installed it according to Talla83 from YouTube
uname -a
Linux Linuxcnc 6.1.0-18-rt-amd64 #1 SMP PREEMPT_RT Debian 6.1.76-1 (2024-02-01) X86_64 GNU/Linux

I've come up with something new. When I start the program I see the machine table with the limits but as soon as I press Home or something it disappears and I can no longer see the size of the machine table
  • Catch22
  • Catch22's Avatar
04 Jul 2024 00:15
Probe Basic Configuration. was created by Catch22

Probe Basic Configuration.

Category: QtPyVCP

Hi Everyone, 
I have just installed Probe Basic on my milling machine computer and I am wondering do I just run the PNCconf to get the folders and then just copy my working configuration from my original Linuxcnc to the Probe Basic folders?

Thanks
Mike
  • ffffrf
  • ffffrf
04 Jul 2024 00:13 - 04 Jul 2024 01:21

sherline ballscrew lathe moving 0.99mm for each 1mm...linux or machine issue?

Category: General LinuxCNC Questions

I am running linuxcnc 2.7 for a sherline ballscrew lathe that I just received. They had a disc that came with linux 2.6 but I opted to set things up on my own with stepconf and a parallel port adapter. I hooked everything up and got it all working but am getting a puzzling issue...For ever 1mm I move in Gcode, the machine moves 0.99mm. This means if I move it 5mm it end sup at 4.95, and if I move it 10mm it ends up at 9.9 and so on and so forth. I am using a perpendicular dial test indicator and this is for the Z axis. This would not be typical backlash behavior.

My question is...is this a lathe issue or a linux issue? I am using the sherline high torque stepper motors which are branded as "anaheim automation 23y204D-LW5-01"


EDIT: I used a better dial indicator and the problem was not as bad as I first thought HOWEVER - what I am noticing is that the lathe actually moves shorter only in the forward direction, going backwards it ends up dead on. But no matter how I change my backlash adjustment it does not fix it

EDIT#2: could it actually be due to my dial indicator not being perfectly perpendicular to the saddle?

I borrowed .ini file settings some from the original disc and others made through the stepconf. 

-it is hard to find specs on sherlines ballscrews but I found that they said it was a pitch of 2mm

-I have only texted axis #2 so far (in the ini file)
-I purposely # out the backlash comp as I realized it was not backlash


Stepconf settings:

Driver microsteps: 2 (dont know where to find this online for my steppers, so kept generic)
leadscrew pitch: 2mm
pulley teeth: 1:1


Ini file below: 

# Generated by stepconf 1.1 at Wed Jul  3 10:51:18 2024
# If you make changes to this file, they will be
# overwritten when you run stepconf again

[EMC]
MACHINE = sherline
DEBUG = 0

[DISPLAY]
DISPLAY = axis
EDITOR = gedit
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
ARCDIVISION = 64
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
MAX_FEED_OVERRIDE = 1.2
MIN_SPINDLE_OVERRIDE = 0.5
MAX_SPINDLE_OVERRIDE = 1.2
DEFAULT_LINEAR_VELOCITY = 2.50
MIN_LINEAR_VELOCITY = 0
MAX_LINEAR_VELOCITY = 25.00
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
PROGRAM_PREFIX = /home/mg/linuxcnc/nc_files
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
LATHE = 1

[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
PROGRAM_EXTENSION = .py Python Script
png = image-to-gcode
gif = image-to-gcode
jpg = image-to-gcode
py = python

[TASK]
TASK = milltask
CYCLE_TIME = 0.010

[RS274NGC]
PARAMETER_FILE = linuxcnc.var

[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
COMM_WAIT = 0.010
BASE_PERIOD = 50000
SERVO_PERIOD = 1000000

[HAL]
HALUI = halui
HALFILE = sherline.hal
HALFILE = custom.hal
POSTGUI_HALFILE = custom_postgui.hal

[HALUI]
# add halui MDI commands here (max 64) 

[TRAJ]
AXES = 3
COORDINATES = X Z
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_VELOCITY = 2.50
MAX_VELOCITY = 25.00

[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl

[AXIS_0]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 23.75
MAX_ACCELERATION = 750.0
STEPGEN_MAXACCEL = 755
SCALE = 400.0
FERROR = 1
MIN_FERROR = .25
MIN_LIMIT = -1016.0
MAX_LIMIT = 203.2
HOME_OFFSET = 0.0

[AXIS_2]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 23.75
MAX_ACCELERATION = 750.0
STEPGEN_MAXACCEL = 755
SCALE = 400.0
# BACKLASH = 0.03
FERROR = 1
MIN_FERROR = .25
MIN_LIMIT = -1016.0
MAX_LIMIT = 431.8
HOME_OFFSET = 0.0
 
  • tommylight
  • tommylight's Avatar
03 Jul 2024 22:12

qtplasmac (Operation Error: hm2/hm2_7i76e.0:) in middle of cut

Category: Plasmac

open a terminal and type
sensors
see what temperature the CPU is at while LinuxCNC is running, anything above 60 degree C should be mitigated by re-pasting the cooler or replacing the fan or with better cooling.
Some processors will handle over 90 degree, some Intel Xeons will throttle badly at 63 degree only!
  • tommylight
  • tommylight's Avatar
03 Jul 2024 22:09

Error finishing read! Iter and joint following error in Stepper machine

Category: General LinuxCNC Questions

Trying to fix hardware issues with software is never a good idea, so ini file settings can not help much as you already have the servo period set to 2 million, but why oh why did you set the P value for all axis/joints at 1250???
Set those at 500, they are servo period dependent and must be 1/servo period, in your case 1/2000000ns=500 or 1/0.002sec=500

What PC? did you disable power saving options in BIOS? did you disable hyperthreading, TMP, C states, etc?
Also, open a terminal and type
sensors
see what the CPU temperature is while running LinuxCNC, anything above 60 degree should be checked and mitigated by repasting the cooler or better cooling.
  • sin-do-re
  • sin-do-re
03 Jul 2024 21:55

Error finishing read! Iter and joint following error in Stepper machine

Category: General LinuxCNC Questions

Hello guys
i am getting some errors related to stopping the movement of the axis suddenly with a Error Finishing read and joint following error although I have a 2000000 servo period.

is there anyway can I improve my ini file to get over this?
would it be ok to increase servo period further?

thank you
.# Generated by PNCconf at Sat Dec 23 11:16:08 2023
# Using LinuxCNC version:  Master (2.9)
# If you make changes to this file, they will be
# overwritten when you run PNCconf again

[EMC]
MACHINE = cbv
DEBUG = 0
VERSION = 1.1

[DISPLAY]
DISPLAY = qtvcp qtplasmac
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 2.000000
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
PROGRAM_PREFIX = /home/tru/linuxcnc/nc_files
INCREMENTS = 10mm 1mm .1mm .01mm .001mm
POSITION_FEEDBACK = ACTUAL
DEFAULT_LINEAR_VELOCITY = 133.333333
MAX_LINEAR_VELOCITY = 166.666667
MIN_LINEAR_VELOCITY = 0.500000
DEFAULT_ANGULAR_VELOCITY = 12.000000
MAX_ANGULAR_VELOCITY = 180.000000
MIN_ANGULAR_VELOCITY = 1.666667
GEOMETRY = xyz
CYCLE_TIME = 100

[FILTER]
PROGRAM_EXTENSION = .ngc,.nc,.tap GCode File (*.ngc, *.nc, *.tap)
ngc = qtplasmac_gcode
nc  = qtplasmac_gcode
tap = qtplasmac_gcode

[TASK]
TASK = milltask
CYCLE_TIME = 0.010

[RS274NGC]
PARAMETER_FILE = linuxcnc.var
RS274NGC_STARTUP_CODE = G21 G40 G49 G80 G90 G92.1 G94 G97 M52P1
SUBROUTINE_PATH = ./:../../nc_files
USER_M_PATH = ./:../../nc_files


[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
SERVO_PERIOD = 2000000

[HMOT]
CARD0=hm2_7i96s.0

[HAL]
HALUI = halui
HALFILE = cbv.hal
HALFILE = qtplasmac_comp.hal
HALFILE = custom.hal
POSTGUI_HALFILE = custom_postgui.hal
SHUTDOWN = shutdown.hal

[HALUI]

[KINS]
JOINTS = 3
KINEMATICS = trivkins coordinates=XYZ

[TRAJ]
SPINDLES = 3
COORDINATES =  XYZ
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
DEFAULT_LINEAR_VELOCITY = 10.00
MAX_LINEAR_VELOCITY = 100.00
POSITION_FILE = position.txt
NO_FORCE_HOMING = 1

[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl

#******************************************
[AXIS_X]
# MAX_VEL & MAX_ACC need to be twice the corresponding joint value
MAX_VELOCITY = 100.0
MAX_ACCELERATION = 750.0
OFFSET_AV_RATIO = 0.5
MIN_LIMIT = -0.01
MAX_LIMIT = 2000.0

[JOINT_0]
TYPE = LINEAR
HOME = 0.0
FERROR = 10.0
MIN_FERROR = 1.0
MAX_VELOCITY = 50.0
MAX_ACCELERATION = 375.0
# The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION
# If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger.
STEPGEN_MAXVEL = 62.50
STEPGEN_MAXACCEL = 468.75
P = 1250.0
I = 0.0
D = 0.0
FF0 = 0.0
FF1 = 1.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 0.0
# these are in nanoseconds
DIRSETUP   = 10000
DIRHOLD    = 10000
STEPLEN    = 5000
STEPSPACE  = 5000
STEP_SCALE = 88.0
MIN_LIMIT = -0.01
MAX_LIMIT = 2000.0
HOME_OFFSET = -5.000000
HOME_SEARCH_VEL = -33.333333
HOME_LATCH_VEL = -0.500000
HOME_FINAL_VEL = 0.000000
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
#******************************************

#******************************************
[AXIS_Y]
# MAX_VEL & MAX_ACC need to be twice the corresponding joint value
MAX_VELOCITY = 200.0
MAX_ACCELERATION = 1500.0
OFFSET_AV_RATIO = 0.5
MIN_LIMIT = -0.01
MAX_LIMIT = 3000.0

[JOINT_1]
TYPE = LINEAR
HOME = 0.0
FERROR = 10.0
MIN_FERROR = 1.0
MAX_VELOCITY = 100.0
MAX_ACCELERATION = 750.0
# The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION
# If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger.
STEPGEN_MAXVEL = 125.00
STEPGEN_MAXACCEL = 937.50
P = 1250.0
I = 0.0
D = 0.0
FF0 = 0.0
FF1 = 1.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 0.0
# these are in nanoseconds
DIRSETUP   = 10000
DIRHOLD    = 10000
STEPLEN    = 5000
STEPSPACE  = 5000
STEP_SCALE = -88.0
MIN_LIMIT = -0.01
MAX_LIMIT = 3000.0
HOME_OFFSET = -5.000000
HOME_SEARCH_VEL = -33.333333
HOME_LATCH_VEL = -0.500000
HOME_FINAL_VEL = 0.000000
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 2
#******************************************

#******************************************
[AXIS_Z]
# MAX_VEL & MAX_ACC need to be twice the corresponding joint value
MAX_VELOCITY = 200.0
MAX_ACCELERATION = 1300.0
OFFSET_AV_RATIO = 0.5
MIN_LIMIT = -0.0
MAX_LIMIT = 100.01

[JOINT_2]
TYPE = LINEAR
HOME = 100.0
FERROR = 10.0
MIN_FERROR = 1.0
MAX_VELOCITY = 100.0
MAX_ACCELERATION = 650.0
# The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION
# If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger.
STEPGEN_MAXVEL = 125.00
STEPGEN_MAXACCEL = 812.50
P = 1250.0
I = 0.0
D = 0.0
FF0 = 0.0
FF1 = 1.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 0.0
# these are in nanoseconds
DIRSETUP   = 10000
DIRHOLD    = 10000
STEPLEN    = 5000
STEPSPACE  = 5000
STEP_SCALE = 290.0
MIN_LIMIT = -0.0
MAX_LIMIT = 100.01
HOME_OFFSET = 104.000000
HOME_SEARCH_VEL = 10.000000
HOME_LATCH_VEL = 0.500000
HOME_FINAL_VEL = 0.000000
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0
#******************************************
  • dg9mdr
  • dg9mdr
03 Jul 2024 21:29

Touchscreen mit Debian 12 und LCNC 2.9 nutzen?

Category: Deutsch

Also ich hab zwei verschiedene Touch am laufen, ebenfalls an Lenovo ThinkCentre.
Einen 15" und einen 21"
Installieren musste ich bei beiden nichts.
Das USB Kabel hast du schon eingesteckt?
Versuch mal einen anderen USB-Port am Rechner, da sind nur zwei direkte Ports, die anderen laufen über einen Hub.
Kann sein das macht Probleme
  • ihavenofish
  • ihavenofish
03 Jul 2024 19:59
Replied by ihavenofish on topic Mini wannabe datron build

Mini wannabe datron build

Category: CNC Machines

Working on sheet metal parts as well.
Half guard chip pan. (upper enclosure can bolt on top). i made the rear way cover a tunnel. this lets me keep the depth of the enclosure much smaller. 680mm machine full depth now (not counting door handles etc). Width on the left is the main issue now.

  • RMJ fabrication
  • RMJ fabrication
03 Jul 2024 19:38

qtplasmac (Operation Error: hm2/hm2_7i76e.0:) in middle of cut

Category: Plasmac

I am still getting the same error even after disabling these. Is there anything that can be done further maybe give the computer more margin for error if thats possible?
  • tomala89
  • tomala89
03 Jul 2024 19:15
Simple ATC help was created by tomala89

Simple ATC help

Category: Basic Configuration

Hello, I'm trying to configure ATC, currently I have a manual tool change with sensor approach.
[RS274NGC]
PARAMETER_FILE = linuxcnc.var
FEATURES=30
SUBROUTINE_PATH =  macros
REMAP=M6    modalgroup=6 ngc=tool-change

How can I configure LinuxCNC so that before measuring the tool, Linux moves over the selected tool.
Tools in a linear warehouse. I don't know what to add to the RS274NGC section. 

Thank you for every helping hand :)
Displaying 23401 - 23415 out of 26429 results.
Time to create page: 0.759 seconds
Powered by Kunena Forum