Advanced Search

Search Results (Searched for: )

  • 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 :)
  • seuchato
  • seuchato
03 Jul 2024 15:31
  • hpmax
  • hpmax
03 Jul 2024 15:17

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

Category: Installing LinuxCNC

Sadly, it doesn't look like it's the cable. Multimeter says all pins are connected and not twisted (I didn't exhaustively ook for internal shorts, maybe I should check that, but seems unlikely).

I'll try the default configuration file and see if Z axis functionality is restored and then compare the files.
  • endian
  • endian's Avatar
03 Jul 2024 14:47
Replied by endian on topic Position vs Velocity mode

Position vs Velocity mode

Category: EtherCAT

This is true. But, no matter what as stated in most ECAT drive manuals they have a 1Khz servo update cycle. Which is the same rate as the tick cycle. Furthermore, 1Khz is more than sufficient as the drive~controller is not a closed loop system. This tick cycle at 1Khz has been used for well over a decade with success. Enough that ECAT is nearly the standard protocol.

Your limitation is neither LCNC or ECAT. Your limitation is hardware choice and understanding how to get your drive to perform based on your end effect loads or in the case of your initial question, no load.

ECAT is a protocol. A standard method of communication. Meaning, it is what it is out the box for a reason. You can have 50Ghz servo threads, and 50Ghz servo update in the drive, but the frame rate for the protocol will still be 1ms. Period.

Ethercat cycle time should be shorter then 1ms but have to be longer than control scan time which has linuxcnc on correct hardware ... there is DC sync setup in the slaves and for drivers are multiplies of 250us times... therefore if lcnc scan time we change to 250000ns and calculations will be done, next we can change in the ethercat-conf.xml time to 250000ns and in the slaves too... we can change that time to single time sync period which are 250us... teoretically it should works but I do not have proper hardware for the check correction of this idea right now... 
  • Muftijaja
  • Muftijaja
03 Jul 2024 14:42 - 03 Jul 2024 15:04

Touchscreen mit Debian 12 und LCNC 2.9 nutzen?

Category: Deutsch

So, nächstes Problem Touchscreen -
nachdem jetzt mit vielen Fragen und Hilfe von hier die Maschine grundsätzlich funktioniert, habe ich mir einen Touch Monitor angeschafft. Ich war schon drauf gefasst, dass der nicht mit Plug&play einfach so laufen würde, habe aber mit Google nicht gefunden wie man Touch jetzt unter Debian 12 zum Laufen bringt. ICh arbeite unter Mate.
Ich habe ein Lenovo ThinkCentre M92P, iCore5 3470T 2,9 GHz, 8 GB RAM der nur VGA Ausgang hat, und diesen Monitor:
www.viewsonic.com/de/products/sheet/TD2223-2, der auch im System unter Bildschirm erkannt wird.
Habt ihr Ideen dazu? Was muss ich nachinstallieren oder einschalten?
Danke für jede Antwort!
Arno
PS: Natürlich habe ich diesen Thread gefunden, werde aber nicht schlau daraus und außerdem ist der schon wieder 2 J. alt.
forum.linuxcnc.org/18-computer/46729-tou...in-ubuntu-and-debian
Sollte ich danach auch für Debian 12 vorgehen?
  • Muftijaja
  • Muftijaja
03 Jul 2024 14:27
  • 777funk
  • 777funk
03 Jul 2024 14:24

Re-Use Existing Servo Motors? 2001 Techno Isel CNC Router.

Category: Driver Boards

I would think they are proprietary. Techno seemed to make their own hardware if I remember correctly.

What I was hoping for was to go:
Linux PC >> Parallel Port Break out Board >> Existing Driver/Amp Boards >> Existing Cables and Servos.

So basically change the BoB to a LinuxCNC talking board and proceed as if nothing ever happened to the rest of the machine.

I have no idea how practical this is. I will get some pictures.
  • zjjxxsh
  • zjjxxsh
03 Jul 2024 14:02

Ethercat installation from repositories - how to step by step

Category: EtherCAT

Err:1 download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ ethercat-master 1.6.0.gcafd367-1+1.2
404 Not Found [IP: 95.216.238.135 80]
Err:2 mirror.aardsoft.fi/opensuse/repositories...A/EtherLab/Debian_12 ./ linuxcnc-ethercat 1.39.0.g4299f7a-0
404 Not Found [IP: 95.216.238.135 80]
E: Failed to fetch mirror.aardsoft.fi/opensuse/repositories...67-1%2B1.2_arm64.deb 404 Not Found [IP: 95.216.238.135 80]
E: Failed to fetch mirror.aardsoft.fi/opensuse/repositories...g4299f7a-0_arm64.deb 404 Not Found [IP: 95.216.238.135 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

This is what I got, by enter "sudo apt install linuxcnc-ethercat"
  • besriworld
  • besriworld
03 Jul 2024 14:00
Replied by besriworld on topic OLD Lathe conversion to a CNC

OLD Lathe conversion to a CNC

Category: Turning

Many thanks for the quick and detailed reply. I will try soon.
Displaying 25321 - 25335 out of 25686 results.
Time to create page: 0.959 seconds
Powered by Kunena Forum