Advanced Search

Search Results (Searched for: )

  • ckuecker
  • ckuecker
06 Oct 2025 13:19
Replied by ckuecker on topic EasyProbe buttons not moving axes

EasyProbe buttons not moving axes

Category: General LinuxCNC Questions

Apparently, it is waiting for me to complete an M6 tool change, which is not set up in my hal file. I'll keep digging.
  • tommylight
  • tommylight's Avatar
06 Oct 2025 12:39

Very small 4 axis mill for cutting plastic materials

Category: Show Your Stuff

This is what i was doing last few days, a very small 4 axis cnc machine for cutting some kind of plastic material for clear teeth aligners, machine is fully finished (except a box for electronics and cutting the protruding HGR25 rail to size).
-The machine kinematics are simple XYZC.
-The mill bit is angled at 35 degrees from table, can be changed to 90 or any other angle
-the C axis can spin freely both directions and has a home switch, with limits at+-99999 in ini only
-table/C axis is designed in FreeCAD and 3D printed, with 120 tooth HTD3 pulley included


Below is what i have to work with:
-the file generated from their software is a simple text file (.pts extension) with values for 3 axis, BUT has no axis assignments at all, only numbers, so with a bit of help from Gemini a filter was made to open the .pts file and assign axis letters together with Feed rate and M2, all that works fine
-also made a filter that adds the fourth axis that also seems to work, but not as required by this task, C does move small amounts to account for the tool cutting angle, but this requires rotating the C axis 360 degrees for a full job
-that job is always a single cut line, always same location of the material, always indexed on C, material shape does change but never significantly
-that is the only job this machine will do.

-
The machines used for this are 4 or 5 axis, always, and they use that same file type with 3 axis values, so the kinematics or CAM must do the required changes/modifications to path, and this is where i am stuck, so any ideas are welcomed.
  • Fabse
  • Fabse
06 Oct 2025 11:53

Axis configuration not fully working on 2.9.6

Category: AXIS

Ok, today I had the opportunity to check my signals. I started with analyzing the "reset" button, which is supposed to turn on/off the machine. When on version 2.9.4 the button toggles "halui.machine.on", which then activates "halui.machine.is-on". This is what I expected to see.
When on 2.9.6 I see that "halui.machine.on" is toggled, but i never get the "halui.machine.is-on" to become true. It isn't even true when I switch on the machine via the F2 key. The machine functions, but this pin never says it is on.
How could this be explained?
  • Ri
  • Ri
06 Oct 2025 11:51
Replied by Ri on topic Pin does not exist

Pin does not exist

Category: ClassicLadder

Починила, помогло, спасибо
  • tommylight
  • tommylight's Avatar
06 Oct 2025 11:45
Replied by tommylight on topic door signal implementation

door signal implementation

Category: General LinuxCNC Questions

probably using the
motion.feed-hold
or
motion.feed-inhibit
pins, but these may leave the spindle running and that might not be desirable.
  • Ri
  • Ri
06 Oct 2025 10:47
Replied by Ri on topic Pin does not exist

Pin does not exist

Category: ClassicLadder

./sodick.hal:22: classicladder exited without becoming ready
  • Ri
  • Ri
06 Oct 2025 10:46
Replied by Ri on topic Pin does not exist

Pin does not exist

Category: ClassicLadder

Maybe I wrote something incorrectly, but when I enter the parameters, the classic ladder error simply doesn't start on its own.
  • rodw
  • rodw's Avatar
06 Oct 2025 10:43
Replied by rodw on topic ARE YOU KIDDING ME YOUTUBE !!!

ARE YOU KIDDING ME YOUTUBE !!!

Category: Off Topic and Test Posts

I have not published a video for a month. I was puzzled to see that there was an upwards trend in my views which had doubled during the month without any new content.

I think this was because I added AI generated thumbnails and revised titles to be more in line with what Youtube wants. TIme will tell.

Yesterday, I published a new video about installing on Trixie and its the best performer I've done. I think this was because I followed a script, added some chapter heading banners and used a cheap Teleprompter (which I also bought a foot switch for). I also used my DSLR with a 50mm F1.4 lens. The ficus hunted a bit but the deot of fields is nicer when I am in focus... You be the judge


I bought a video switcher and I want to do an installation walkthrough but last night I realized that the HP PC I wanted to use does not have an HDMI port so Ihave ordered a VGA to HDMI adapter. Hopefully I will be able to capture the screens from the BIOS and the Debian Installer. Wish me Luck!
  • Cooped-Up
  • Cooped-Up
06 Oct 2025 10:30
Replied by Cooped-Up on topic 5i25t firmware screwup

5i25t firmware screwup

Category: Driver Boards

I think I have gotten the firmware situation figured out, but now I am trying to add some things to the machines hal file for the retrofit based off a guide for a maho 400e. I added the following and now the cnc panel gives me an error. it seems to be saying it cant find pins on the 7i77

added to the machines.hal file=

loadrt matrix_kb config=5x5s names=maho_panel
addf maho_panel servo-thread
setp maho_panel.negative-logic 0
#scan out
net maho_panel.row_00_sig-out maho_panel.row-00-out => hm2_5i25.0.7i77.0.0.output-01
net maho_panel.row_01_sig-out maho_panel.row-01-out => hm2_5i25.0.7i77.0.0.output-02
net maho_panel.row_02_sig-out maho_panel.row-02-out => hm2_5i25.0.7i77.0.0.output-03
net maho_panel.row_03_sig-out maho_panel.row-03-out => hm2_5i25.0.7i77.0.0.output-04
net maho_panel.row_04_sig-out maho_panel.row-04-out => hm2_5i25.0.7i77.0.0.output-05
#scan in
net maho_panel.col_00_sig-in maho_panel.col-00-in <= hm2_5i25.0.7i77.0.0.input-05
net maho_panel.col_01_sig-in maho_panel.col-01-in <= hm2_5i25.0.7i77.0.0.input-06
net maho_panel.col_02_sig-in maho_panel.col-02-in <= hm2_5i25.0.7i77.0.0.input-07
net maho_panel.col_03_sig-in maho_panel.col-03-in <= hm2_5i25.0.7i77.0.0.input-08
net maho_panel.col_04_sig-in maho_panel.col-04-in <= hm2_5i25.0.7i77.0.0.input-09

loadrt mh400e_gearbox
addf mh400e-gearbox servo-thread
# --- GEARBOX CONTROL ---

net sig_return_actual_speed mh400e-gearbox.spindle-speed-out => motion.spindle-
speed-in

net sig_return_spindle-at-speed mh400e-gearbox.spindle-at-speed => motion.spindle-at-
speed

net sig_stop_spindle mh400e-gearbox.stop-spindle => halui.spindle.stop
net set-gear-shift-start mh400e-gearbox.start-gear-shift =>
hm2_5i25.0.7i84.0.2.output-05
net set-reverse-shaft-motor mh400e-gearbox.reverse-direction =>
hm2_5i25.0.7i84.0.2.output-04
net activate-reducer-motor mh400e-gearbox.reducer-motor =>
hm2_5i25.0.7i84.0.2.output-01
net activate-midrange-motor mh400e-gearbox.midrange-motor =>
hm2_5i25.0.7i84.0.2.output-02

net set-shaft-motor-lowspeed mh400e-gearbox.motor-lowspeed =>
hm2_5i25.0.7i84.0.2.output-00 # MAHO calls this Anwahl Mittelstellung
net activate-input-stage-motor mh400e-gearbox.input-stage-motor =>
hm2_5i25.0.7i84.0.2.output-03
net activate-spindle-twitch-cw mh400e-gearbox.twitch-cw =>
hm2_5i25.0.7i84.0.2.output-06
net activate-spindle-twitch-ccw mh400e-gearbox.twitch-ccw =>
hm2_5i25.0.7i84.0.2.output-07

Error I now get

RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.4
Machine configuration directory is '/home/coopedup/linuxcnc/configs/my_LinuxCNC_machine'
Machine configuration file is 'my_LinuxCNC_machine.ini'
INIFILE=/home/coopedup/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=halui
DISPLAY=gmoccapy
COORDINATES=XYZ
KINEMATICS=trivkins coordinates=XYZ
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(REL): ./my_LinuxCNC_machine.hal
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
hm2: loading Mesa HostMot2 driver version 0.15
hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
hm2_pci: discovered 5i25t at 0000:04:06.0
hm2/hm2_5i25.0: Low Level init 0.15
hm2/hm2_5i25.0: Smart Serial Firmware Version 43
Board hm2_5i25.0.7i77.0.1 Hardware Mode 0 = standard
Board hm2_5i25.0.7i77.0.1 Software Mode 0 = analogout_enables
hm2/hm2_5i25.0: Smart Serial Firmware Version 43
hm2/hm2_5i25.0: 34 I/O Pins used:
hm2/hm2_5i25.0: IO Pin 000 (P3-01): IOPort
hm2/hm2_5i25.0: IO Pin 001 (P3-14): IOPort
hm2/hm2_5i25.0: IO Pin 002 (P3-02): IOPort
hm2/hm2_5i25.0: IO Pin 003 (P3-15): Smart Serial Interface #0, pin tx1 (Output)
hm2/hm2_5i25.0: IO Pin 004 (P3-03): Smart Serial Interface #0, pin rx1 (Input)
hm2/hm2_5i25.0: IO Pin 005 (P3-16): IOPort
hm2/hm2_5i25.0: IO Pin 006 (P3-04): IOPort
hm2/hm2_5i25.0: IO Pin 007 (P3-17): Muxed Encoder Select #0, pin Mux Select 0 (Output)
hm2/hm2_5i25.0: IO Pin 008 (P3-05): Muxed Encoder #0, pin Muxed A (Input)
hm2/hm2_5i25.0: IO Pin 009 (P3-06): Muxed Encoder #0, pin Muxed B (Input)
hm2/hm2_5i25.0: IO Pin 010 (P3-07): Muxed Encoder #0, pin Muxed Index (Input)
hm2/hm2_5i25.0: IO Pin 011 (P3-08): Muxed Encoder #1, pin Muxed A (Input)
hm2/hm2_5i25.0: IO Pin 012 (P3-09): Muxed Encoder #1, pin Muxed B (Input)
hm2/hm2_5i25.0: IO Pin 013 (P3-10): Muxed Encoder #1, pin Muxed Index (Input)
hm2/hm2_5i25.0: IO Pin 014 (P3-11): Muxed Encoder #2, pin Muxed A (Input)
hm2/hm2_5i25.0: IO Pin 015 (P3-12): Muxed Encoder #2, pin Muxed B (Input)
hm2/hm2_5i25.0: IO Pin 016 (P3-13): Muxed Encoder #2, pin Muxed Index (Input)
hm2/hm2_5i25.0: IO Pin 017 (P2-01): IOPort
hm2/hm2_5i25.0: IO Pin 018 (P2-14): IOPort
hm2/hm2_5i25.0: IO Pin 019 (P2-02): IOPort
hm2/hm2_5i25.0: IO Pin 020 (P2-15): IOPort
hm2/hm2_5i25.0: IO Pin 021 (P2-03): IOPort
hm2/hm2_5i25.0: IO Pin 022 (P2-16): IOPort
hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort
hm2/hm2_5i25.0: IO Pin 024 (P2-17): IOPort
hm2/hm2_5i25.0: IO Pin 025 (P2-05): IOPort
hm2/hm2_5i25.0: IO Pin 026 (P2-06): IOPort
hm2/hm2_5i25.0: IO Pin 027 (P2-07): IOPort
hm2/hm2_5i25.0: IO Pin 028 (P2-08): IOPort
hm2/hm2_5i25.0: IO Pin 029 (P2-09): IOPort
hm2/hm2_5i25.0: IO Pin 030 (P2-10): IOPort
hm2/hm2_5i25.0: IO Pin 031 (P2-11): IOPort
hm2/hm2_5i25.0: IO Pin 032 (P2-12): IOPort
hm2/hm2_5i25.0: IO Pin 033 (P2-13): IOPort
hm2/hm2_5i25.0: registered
hm2_5i25.0: initialized AnyIO board at 0000:04:06.0
hm2_5i25.0: dropping AnyIO board at 0000:04:06.0
hm2/hm2_5i25.0: unregistered
hm2_pci: driver unloaded
hm2: unloading
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
./my_LinuxCNC_machine.hal:298: Pin 'hm2_5i25.0.7i77.0.0.output-01' does not exist
1999
Stopping realtime threads
Unloading hal components
RTAPI_PCI: Unmapped 65536 bytes at 0x7f5cd11d7000
Note: Using POSIX realtime
  • Aciera
  • Aciera's Avatar
06 Oct 2025 10:07 - 06 Oct 2025 10:09
Replied by Aciera on topic Pin does not exist

Pin does not exist

Category: ClassicLadder

You might need to increase the number of pins (default is 15 input- and 15 output-pins):
linuxcnc.org/docs/html/ladder/classic-ladder.html#_variables
  • laurentl38
  • laurentl38
06 Oct 2025 08:32
Replied by laurentl38 on topic orient spindle with ethercat EL5101

orient spindle with ethercat EL5101

Category: EtherCAT

hello,

I've spent hours playing with the PID values ​​and still have the same problem...
In the meantime, I've made progress on other points on the machine to take my mind off things.

If I move the spindle to 45 degrees, then 145, 245, and 345, no problem; it positions itself correctly at the value. However, if I move it from 45 to 245, the spindle goes to maximum speed without stopping...

But since yesterday, I've had an interesting lead. When this doesn't work, I realized that the spindle command becomes negative (LCNC, probably choosing the shortest path, by wanting to rotate the spindle in the opposite direction).
And that's the problem: the spindle doesn't change direction, so the PID drifts...

To confirm my idea, I made the same movements, but imposed the rotation direction with an M19 Rx P1.
And then, if I move the spindle from 45 to 145 degrees or from 45 to 345, there's no longer a problem; it positions itself every time.

I've probably found the cause, but how to resolve it, I don't know.

Do I have an error in my HAL or am I missing a line?
Do you have any leads?
  • MarkoPolo
  • MarkoPolo
06 Oct 2025 08:23
Replied by MarkoPolo on topic Error in tool_offsetview.py

Error in tool_offsetview.py

Category: Qtvcp

The LEDs are working properly.
The label translation is perfectly sufficient.

Thanks for the good work.
  • Hakan
  • Hakan
06 Oct 2025 08:14
Replied by Hakan on topic CiA 402 in 1.15.0

CiA 402 in 1.15.0

Category: EtherCAT

Switched to the generic driver, ok.
You probably need to add the configPDOS="true" to the line
<slave idx="0" type="generic" vid="0x0000001d" pid="0x007b1a95" name="D1">
like
<slave idx="0" type="generic" vid="0x0000001d" pid="0x007b1a95" name="D1" configPDOS="true">
  • Ahmed.emara
  • Ahmed.emara
06 Oct 2025 08:04
door signal implementation was created by Ahmed.emara

door signal implementation

Category: General LinuxCNC Questions

Hello everyone,I have a proximity sensor that detects whether the machine door is open or closed. I’d like to integrate this signal into my system so that:
  1. If the door is open, the program automatically pauses.
  2. If the door is closed, the program continues.
  3. The program should not start if the door is open — it should only start once the door is fully closed.
What’s the best way to implement this behavior in my setup?
  • Hakan
  • Hakan
06 Oct 2025 07:47
Replied by Hakan on topic Config-Problem Ethercat

Config-Problem Ethercat

Category: Deutsch

Haha, ok..

Taking this as the cia402 reference example github.com/dbraun1981/hal-cia402/blob/main/example/cia402.hal
you normally connect opmode to the cia402 module. I would say connect lcec.0.5 to cia402.2 in the same way as in the example.
Displaying 511 - 525 out of 22864 results.
Time to create page: 0.530 seconds
Powered by Kunena Forum