Advanced Search

Search Results (Searched for: )

  • Muftijaja
  • Muftijaja
26 Feb 2025 00:20
Replied by Muftijaja on topic 7i76e - Spindle FWD/ENA ok, but no speed output

7i76e - Spindle FWD/ENA ok, but no speed output

Category: Basic Configuration

Thank you very much! I will do that tomorrow (german time) and report the result!
Have a nice day!
Sincerely,
Hanno
  • Dee436
  • Dee436
25 Feb 2025 23:50
Replied by Dee436 on topic QtPlasmac problems

QtPlasmac problems

Category: Plasmac

Ok

issue of not being able to cut arcs due to radius error is sorted. User error as normal. For some reason I had it in my head that the statements in the gcode regarding the hole processing were commented out with a #. When I did actually comment them out with a ; the code loaded and ran with no issue.

the realtime error is possibly resolved but will know for sure when I do some more cutting tomorrow. I changed the Ethernet cable and also removed the WiFi nic. Will do more testing tomorrow and update the post if I can confirm which cured the issue, if it is cured that is.
  • PCW
  • PCW's Avatar
25 Feb 2025 23:19 - 25 Feb 2025 23:22

7i76e - Spindle FWD/ENA ok, but no speed output

Category: Basic Configuration

Doesn't even look like the current hal file would run
as there are two different signals connected to
hm2_7i76e.0.7i76.0.0.spinout:

net pdnt.spindle-speed-abs => hm2_7i76e.0.7i76.0.0.spinout
#net spindle-vel-cmd-rps-abs => hm2_7i76e.0.7i76.0.0.spinout
net pdnt.spindle.is-on => hm2_7i76e.0.7i76.0.0.spinena
net spindle-cw => hm2_7i76e.0.7i76.0.0.spindir
net spindle-vel-cmd-rpm-abs <= spindle.0.speed-out-abs => hm2_7i76e.0.7i76.0.0.spinout

I would first get things running in the usual way by adding

net spindle.0.on => hm2_7i76e.0.7i76.0.0.spinena

commenting out

net pdnt.spindle.is-on => hm2_7i76e.0.7i76.0.0.spinena

and uncommenting:

#net spindle-enable             <=  spindle.0.on

When this is working I would look into the pendant spindle control options
  • hakinen2255
  • hakinen2255
25 Feb 2025 22:41
Replied by hakinen2255 on topic How to open QT ui file in LinuxCNC

How to open QT ui file in LinuxCNC

Category: Qtvcp

thanks, yes i saw it, i will give it a try as soon as i learn this UI principles of linuxcnc..

as in everything the hard part is the beginning part i suppose..

this happens mostly because of i am new in linux environment and there is no step by step instructions for anything in linux.

i will write everything i learn step by step under this topic about the UI designing and editing for linuxcnc with qt designer so that newbies may save some time
  • unknown
  • unknown
25 Feb 2025 22:38

Spindle speed and jogging speed slider problems

Category: Gmoccapy

Just a guess........
If your touch screen comes up as HID (assuming USB) you may be able to modify the mouse properties in "control center" . Sorry I can't be of more help, as I haven't got access to my setup.
  • Sziggy_NC
  • Sziggy_NC
25 Feb 2025 21:30
Calling pockets with carousel was created by Sziggy_NC

Calling pockets with carousel

Category: Basic Configuration

Currently pocket one on the carousel is called no matter what I do. If I have tool #4 in the spindle but call the #<_current_pocket> the carousel rotates until the index and stops ending up on pocket #1. The code also fails to abort. If I re-run the code the carousel does not rotate, nor does it abort.

The sample of code I am running is as follows.

M68 E0 Q#<_current_pocket> ;set the carousel to move to the right pocket
M64 P0 ; start carousel
G4 P2
M66 P0 L3 Q60 ; wait and check for carousel finish
M65 P0; stop carousel
O040 if [#5399 LT 0]
    (abort, failed to align carousel)
O040 endif   
M2

M64 P0 is "net atc-enable motion.digital-out-00 => carousel.0.enable"
M66 P0 is "net atc-rdy carousel.0.ready => motion.digital-in-00"

I think I copied the "M68 E0 Q#<_current_pocket>" from a video or other forum post.
Is this the correct way to call a pocket when interacting with the carousel component?

My carousel setup is in the main.hal as follows:
# --- setup carousel ---
loadrt carousel pockets=21 encoding=index num_sense=2 dir=2
addf carousel.0 servo-thread

It has an index and a proximity sensor for pocket alignment.
  • 3404gerber
  • 3404gerber
25 Feb 2025 21:29

Anyone figured out how to get Trinamic's TMC5160 drivers working with LinuxCNC?

Category: Driver Boards

Hi,

I have uploaded a first development version of my module on github.

It has not been deeply tested and will probably have some bugs. But it connects to drivers on RPi4 and RPi5 and moves motors. I wrote a very short how-to, but feel free to ask questions about how to use it.
  • Finngineering
  • Finngineering
25 Feb 2025 21:15
Replied by Finngineering on topic Un-lobotomizing a Maho MH600T

Un-lobotomizing a Maho MH600T

Category: CNC Machines

Thank you RotarySMP. You certainly are an inspiration!
  • Finngineering
  • Finngineering
25 Feb 2025 21:11
Replied by Finngineering on topic Automatic naming of signals in HAL

Automatic naming of signals in HAL

Category: General LinuxCNC Questions

That's really interesting. I had no idea hal "scripts" are actually Tcl. Thank you for the neta function. I did just quickly test it out and indeed it appears to work.

Why do you say that debugging hal files would be difficult? From where I'm standing, debugging usually starts by checking why one input (or output) is not what its expected to be. The following step is to check what is connected to that input. To do that we can use the "show sig" command, which will then display all pins connected together. So I already see which (other) pin is driving that signal, and the name of the signal has little significance.

Is there some normal use case I'm not thinking about? I'm not saying that named nets are bad, I'm just questioning why there is no inbuilt automatic naming of nets. Is it just that nobody has done it, or is there some more fundamental argument against (supporting) automatic naming of nets?
  • PCW
  • PCW's Avatar
25 Feb 2025 20:56
Replied by PCW on topic How to increase the Z axis punch speed?

How to increase the Z axis punch speed?

Category: Basic Configuration

You might try setting the Z axis velocity the same as the joint 2 velocity (125):

[AXIS_Z]
#MAX_VELOCITY = 25.0
MAX_VELOCITY = 50.0
#MAX_ACCELERATION = 750.0
MAX_ACCELERATION = 1000.0
#MIN_LIMIT = -100.0
#MAX_LIMIT = 0.01
MIN_LIMIT = -100.0
MAX_LIMIT = 100.0

[JOINT_2]
TYPE = LINEAR
HOME = 0.0
FERROR = 50
MIN_FERROR = 50
#MAX_VELOCITY = 25.0
MAX_VELOCITY = 125.0
#MAX_ACCELERATION = 750.0
MAX_ACCELERATION = 1750.0
P = 50.0
I = 0.0
D = 0.0
  • rodw
  • rodw's Avatar
25 Feb 2025 20:56
Replied by rodw on topic My Homemade plasma CNC

My Homemade plasma CNC

Category: Show Your Stuff

Is the Y properly calibrated?

What hole processing does Pronest have?
What diameter hole are you cutting?
What material and thickness?

Its suggested to slow cut velocity to about 60% for holes.
  • Muftijaja
  • Muftijaja
25 Feb 2025 20:51
Replied by Muftijaja on topic 7i76e - Spindle FWD/ENA ok, but no speed output

7i76e - Spindle FWD/ENA ok, but no speed output

Category: Basic Configuration

Ok, I didnt realize this, because the Probe Basic GUI and the VFD switched the ENA/FWD Output if I give some MDI S command. I can see that in the GUi, my relai clicks, the VFD switches to Run. But the Pin says the truth...

I don't fully understand why this Enable command should come only from the XHC-WHB-04 pendant (set pdnt....) and not from the PB Gui - I would like to enable the spindle over the pendant but more in an OR funktion not only with the pendant.
I have to say that all these spindle commands weren't made by myself but from someone else who wanted to help me out in the past. And I couldn't test it in real life, because my VFD wasn't connected until now.

How should I change the settings so that it works with GUI and pendant? can you give me some hints, please?
Thanks for your support!
Hanno
  • cmorley
  • cmorley
25 Feb 2025 20:44
  • programador
  • programador's Avatar
25 Feb 2025 20:14 - 25 Feb 2025 20:19
How to increase the Z axis punch speed? was created by programador

How to increase the Z axis punch speed?

Category: Basic Configuration

Good afternoon
Everyone

First of all, I would like to thank you for all the help I received in this forum, especially from Mr. PCW. With this help, I was able to go far and achieve a satisfactory result.

However, although the machine is working, the customer wants more speed on the Z axis. I don't know if I'm already at the mechanical limit of this machine, but what parameters can I change and how can I change and calculate them to test the limit of this machine? If anyone can give me a tip on how to change the INI file to improve performance, I would be very grateful.

Below is the video of the machine that was retrofitted and working perfectly with the boards from the manufacturer Mesa.



Below is the INI code
[code]# Generated by PNCconf at Sat Apr 27 14:56:11 2024
# Using LinuxCNC version:  2.8
# If you make changes to this file, they will be
# overwritten when you run PNCconf again

[EMC]
MACHINE = 7i96s+7i84d
DEBUG = 0
VERSION = 1.1

[DISPLAY]
DISPLAY = gmoccapy
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 2.000000
MAX_SPINDLE_OVERRIDE = 1.000000
MIN_SPINDLE_OVERRIDE = 0.500000
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
PROGRAM_PREFIX = /home/linoteck/linuxcnc/nc_files
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
POSITION_FEEDBACK = ACTUAL
DEFAULT_LINEAR_VELOCITY = 6.000000
MAX_LINEAR_VELOCITY = 25.000000
MIN_LINEAR_VELOCITY = 0.500000
DEFAULT_ANGULAR_VELOCITY = 12.000000
MAX_ANGULAR_VELOCITY = 180.000000
MIN_ANGULAR_VELOCITY = 1.666667
EDITOR = gedit
GEOMETRY = xyzab
#ABATELA
EMBED_TAB_NAME=Alarmes
EMBED_TAB_COMMAND = gladevcp -x {XID} -H ui-alarmes.hal alarmes.ui
EMBED_TAB_LOCATION = ntb_user_tabs

[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
RS274NGC_STARTUP_CODE = G21 G40 G90 G94 G97 G64 P0.025
REMAP= M6 modalgroup=6 ngc=sub_progs/troca_ferramenta
USER_M_PATH = /home/linoteck/linuxcnc/nc_files/m_codigos/

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

[HMOT]
# **** This is for info only ****
CARD0=hm2_7i96s.0

[HAL]
HALUI = halui
HALFILE = 7i96s+7i84d.hal
HALFILE = custom.hal
POSTGUI_HALFILE = postgui_call_list.hal
SHUTDOWN = shutdown.hal
HALFILE = classicladder.hal

[HALUI]

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


[KINS]
JOINTS = 5
KINEMATICS = trivkins coordinates=XYZAB

[TRAJ]
COORDINATES =  XYZAB
MAX_ANGULAR_VELOCITY = 360.00
DEFAULT_ANGULAR_VELOCITY = 36.00
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
DEFAULT_LINEAR_VELOCITY = 16.00
MAX_LINEAR_VELOCITY = 160.00

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

#******************************************
[AXIS_X]
MAX_VELOCITY = 160.0
MAX_ACCELERATION = 10000.0
MIN_LIMIT = -0.01
MAX_LIMIT = 1250.0

[JOINT_0]
TYPE = LINEAR
HOME = 0.0
FERROR = 10.0
MIN_FERROR = 1.0
MAX_VELOCITY = 160.0
MAX_ACCELERATION = 10000.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 = 200
STEPGEN_MAXACCEL = 12500
P = 1000
I = 0
D = 0
FF0 = 0
FF1 = 1
FF2 = 0
BIAS = 0
DEADBAND = 0
MAX_OUTPUT = 0
# these are in nanoseconds
DIRSETUP   = 10000
DIRHOLD    = 10000
STEPLEN    = 10000
STEPSPACE  = 10000
STEP_SCALE = 250
MIN_LIMIT = -0.01
MAX_LIMIT = 1250.0
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = -33.316667
HOME_LATCH_VEL = -33.316667
HOME_FINAL_VEL = 0.000000
#HOME_USE_INDEX = NO
#HOME_SEQUENCE = 1
#******************************************

#******************************************
[AXIS_Y]
MAX_VELOCITY = 160.0
MAX_ACCELERATION = 10000.0
MIN_LIMIT = -0.01
#MAX_LIMIT = 1293.0
MAX_LIMIT = 1164.0

[JOINT_1]
TYPE = LINEAR
HOME = 0.0
FERROR = 10.0
MIN_FERROR = 1.0
MAX_VELOCITY = 160.0
MAX_ACCELERATION = 10000.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 = 200
STEPGEN_MAXACCEL = 12500
P = 1000
I = 0
D = 0
FF0 = 0
FF1 = 1
FF2 = 0
BIAS = 0
DEADBAND = 0
MAX_OUTPUT = 0
# these are in nanoseconds
DIRSETUP   = 10000
DIRHOLD    = 10000
STEPLEN    = 9000
STEPSPACE  = 10000
STEP_SCALE = 250
MIN_LIMIT = -0.01
MAX_LIMIT = 1293.0
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = -33.316667
HOME_LATCH_VEL = -33.316667
HOME_FINAL_VEL = 0.000000
#HOME_USE_INDEX = NO
#HOME_SEQUENCE = 1
#******************************************

#******************************************
[AXIS_Z]
#MAX_VELOCITY = 25.0
MAX_VELOCITY = 50.0
#MAX_ACCELERATION = 750.0
MAX_ACCELERATION = 1000.0
#MIN_LIMIT = -100.0
#MAX_LIMIT = 0.01
MIN_LIMIT = -100.0
MAX_LIMIT = 100.0

[JOINT_2]
TYPE = LINEAR
HOME = 0.0
FERROR = 50
MIN_FERROR = 50
#MAX_VELOCITY = 25.0
MAX_VELOCITY = 125.0
#MAX_ACCELERATION = 750.0
MAX_ACCELERATION = 1750.0
P = 50.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
ENCODER_SCALE = 415
OUTPUT_SCALE = 10
OUTPUT_MIN_LIMIT = -10.0
OUTPUT_MAX_LIMIT = 10.0
MIN_LIMIT = -100.0
MAX_LIMIT = 100.0
HOME_OFFSET = 0.0
#HOME_SEQUENCE = 0
#******************************************
[AXIS_A]
MAX_VELOCITY = 360.0
MAX_ACCELERATION = 1200.0
MIN_LIMIT = -500.0
MAX_LIMIT = 500.0

[JOINT_3]
#TYPE = ANGULAR
TYPE = LINEAR
HOME = 0.0
FERROR = 0.5
MIN_FERROR = 0.05
MAX_VELOCITY = 360.0
MAX_ACCELERATION = 1200.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 = 450
STEPGEN_MAXACCEL = 1500
P = 1000
I = 0
D = 0
FF0 = 0
FF1 = 1
FF2 = 0
BIAS = 0
DEADBAND = 0
MAX_OUTPUT = 0
# these are in nanoseconds
DIRSETUP   = 10000
DIRHOLD    = 10000
STEPLEN    = 5000
STEPSPACE  = 5000
STEP_SCALE = 222
MIN_LIMIT = -500.0
MAX_LIMIT = 500.0
HOME_OFFSET = 0.0
#HOME_SEQUENCE = 1
#******************************************
[AXIS_B]
MAX_VELOCITY = 160.0
MAX_ACCELERATION = 10000.0
MIN_LIMIT = -45000.0
MAX_LIMIT = 45000.0

[JOINT_4]
TYPE = LINEAR
HOME = 0.0
FERROR = 10.0
MIN_FERROR = 1.0
MAX_VELOCITY = 160.0
MAX_ACCELERATION = 10000.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 = 200
STEPGEN_MAXACCEL = 12500
P = 1000
I = 0
D = 0
FF0 = 0
FF1 = 1
FF2 = 0
BIAS = 0
DEADBAND = 0
MAX_OUTPUT = 0
# these are in nanoseconds
DIRSETUP   = 10000
DIRHOLD    = 10000
STEPLEN    = 10000
STEPSPACE  = 10000
STEP_SCALE = 142
MIN_LIMIT = -45000.0
MAX_LIMIT = 45000.0
HOME_OFFSET = -92.000000
HOME_SEARCH_VEL = -33.316667
HOME_LATCH_VEL = -33.316667
HOME_FINAL_VEL = 0.000000
#HOME_USE_INDEX = NO
#HOME_SEQUENCE = 1
[SPINDLE_0]
P = 0
I = 0
D = 0
FF0 = 1
FF1 = 0
FF2 = 0
BIAS = 0
DEADBAND = 0
MAX_OUTPUT = 2000


[/code]
  • jst
  • jst
25 Feb 2025 20:08
Replied by jst on topic Lathe project

Lathe project

Category: Turning

RotarySMP post=322596 userid=2917I like that sturdy cast base they put this lathe on. You are making a really nice job on that retrofit.

At least with my Knuth lathe, the base is out of rather thin sheet metal and tends to vibrate.
Displaying 15766 - 15780 out of 20823 results.
Time to create page: 0.322 seconds
Powered by Kunena Forum