Advanced Search

Search Results (Searched for: )

  • 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.
  • minimac
  • minimac
06 Oct 2025 07:14

Hilfe bei Pinbelegung ERL PCSE200 an Mesa 7i96S (Step/Dir

Category: Deutsch

Grüß dich michael,
das ist dann mein Plan B,
ich hoffe natürlich das noch irgendjemand vielleicht ein Datenblatt hat.
Der diesen Eintrag hier liest.

Viele Grüße,
  • Ri
  • Ri
06 Oct 2025 06:47 - 06 Oct 2025 09:15
Pin does not exist was created by Ri

Pin does not exist

Category: ClassicLadder

I get this error:
./sodick.hal:253: Pin 'classicladder.0.in-15' does not exist
It sees all the pins, all the inputs and outputs work, but it doesn't see the 16th pin.
HAL:
loadrt classicladder_rt
# Подключение входов Classic Ladder к физическим входам
net cl-in-01 lcec.0.5.in-01 => classicladder.0.in-00
net cl-in-02 lcec.0.5.in-02 => classicladder.0.in-01
net cl-in-03 lcec.0.5.in-03 => classicladder.0.in-02
net cl-in-04 lcec.0.5.in-04 => classicladder.0.in-03
net cl-in-05 lcec.0.5.in-05 => classicladder.0.in-04
net cl-in-06 lcec.0.5.in-06 => classicladder.0.in-05
net cl-in-07 lcec.0.5.in-07 => classicladder.0.in-06
net cl-in-08 lcec.0.5.in-08 => classicladder.0.in-07
net cl-in-09 lcec.0.5.in-09 => classicladder.0.in-08
net cl-in-10 lcec.0.5.in-10 => classicladder.0.in-09
net cl-in-11 lcec.0.5.in-11 => classicladder.0.in-10
net cl-in-12 lcec.0.5.in-12 => classicladder.0.in-11
net cl-in-13 lcec.0.5.in-13 => classicladder.0.in-12
net cl-in-14 lcec.0.5.in-14 => classicladder.0.in-13
net cl-in-15 lcec.0.5.in-15 => classicladder.0.in-14
net cl-in-16 lcec.0.5.in-16 => classicladder.0.in-15

# Подключение выходов Classic Ladder к физическим выходам
net cl-out-01 classicladder.0.out-00 => lcec.0.5.out-01
net cl-out-02 classicladder.0.out-01 => lcec.0.5.out-02
net cl-out-03 classicladder.0.out-02 => lcec.0.5.out-03
net cl-out-04 classicladder.0.out-03 => lcec.0.5.out-04
net cl-out-05 classicladder.0.out-04 => lcec.0.5.out-05
net cl-out-06 classicladder.0.out-05 => lcec.0.5.out-06
net cl-out-07 classicladder.0.out-06 => lcec.0.5.out-07
net cl-out-08 classicladder.0.out-07 => lcec.0.5.out-08
net cl-out-09 classicladder.0.out-08 => lcec.0.5.out-09
net cl-out-10 classicladder.0.out-09 => lcec.0.5.out-10
net cl-out-11 classicladder.0.out-10 => lcec.0.5.out-11
net cl-out-12 classicladder.0.out-11 => lcec.0.5.out-12
net cl-out-13 classicladder.0.out-12 => lcec.0.5.out-13
net cl-out-14 classicladder.0.out-13 => lcec.0.5.out-14
net cl-out-15 classicladder.0.out-14 => lcec.0.5.out-15
net cl-out-16 classicladder.0.out-15 => lcec.0.5.out-16

There is a PIN in the terminal:
37  bit   OUT         FALSE  lcec.0.5.in-01 ==> cl-in-01
    37  bit   OUT         FALSE  lcec.0.5.in-02 ==> cl-in-02
    37  bit   OUT         FALSE  lcec.0.5.in-03 ==> cl-in-03
    37  bit   OUT         FALSE  lcec.0.5.in-04 ==> cl-in-04
    37  bit   OUT         FALSE  lcec.0.5.in-05 ==> cl-in-05
    37  bit   OUT         FALSE  lcec.0.5.in-06 ==> cl-in-06
    37  bit   OUT         FALSE  lcec.0.5.in-07 ==> cl-in-07
    37  bit   OUT         FALSE  lcec.0.5.in-08 ==> cl-in-08
    37  bit   OUT         FALSE  lcec.0.5.in-09 ==> cl-in-09
    37  bit   OUT         FALSE  lcec.0.5.in-10 ==> cl-in-10
    37  bit   OUT         FALSE  lcec.0.5.in-11 ==> cl-in-11
    37  bit   OUT         FALSE  lcec.0.5.in-12 ==> cl-in-12
    37  bit   OUT         FALSE  lcec.0.5.in-13 ==> cl-in-13
    37  bit   OUT          TRUE  lcec.0.5.in-14 ==> cl-in-14
    37  bit   OUT         FALSE  lcec.0.5.in-15 ==> cl-in-15
    37  bit   OUT          TRUE  lcec.0.5.in-16
    37  bit   IN          FALSE  lcec.0.5.out-01 <== cl-out-01
    37  bit   IN          FALSE  lcec.0.5.out-02 <== cl-out-02
    37  bit   IN          FALSE  lcec.0.5.out-03 <== cl-out-03
    37  bit   IN          FALSE  lcec.0.5.out-04 <== cl-out-04
    37  bit   IN          FALSE  lcec.0.5.out-05 <== cl-out-05
    37  bit   IN          FALSE  lcec.0.5.out-06 <== cl-out-06
    37  bit   IN          FALSE  lcec.0.5.out-07 <== cl-out-07
    37  bit   IN          FALSE  lcec.0.5.out-08 <== cl-out-08
    37  bit   IN          FALSE  lcec.0.5.out-09 <== cl-out-09
    37  bit   IN          FALSE  lcec.0.5.out-10 <== cl-out-10
    37  bit   IN          FALSE  lcec.0.5.out-11 <== cl-out-11
    37  bit   IN          FALSE  lcec.0.5.out-12 <== cl-out-12
    37  bit   IN          FALSE  lcec.0.5.out-13 <== cl-out-13
    37  bit   IN          FALSE  lcec.0.5.out-14 <== cl-out-14
    37  bit   IN          FALSE  lcec.0.5.out-15 <== cl-out-15
    37  bit   IN          FALSE  lcec.0.5.out-16
    37  bit   OUT          TRUE  lcec.0.5.slave-online
    37  bit   OUT          TRUE  lcec.0.5.slave-oper
    37  bit   OUT         FALSE  lcec.0.5.slave-state-init
    37  bit   OUT          TRUE  lcec.0.5.slave-state-op
    37  bit   OUT         FALSE  lcec.0.5.slave-state-preop
    37  bit   OUT         FALSE  lcec.0.5.slave-state-safeop
  • michaeln
  • michaeln
06 Oct 2025 06:43

Hilfe bei Pinbelegung ERL PCSE200 an Mesa 7i96S (Step/Dir

Category: Deutsch

Hallo Jochen,

ohne Datenblatt kommst du nicht weiter.
Meistens ist es leider so, dass nur eine Schnittstelle an solchen Antrieben vorhanden ist.
D.h. entweder CanOpen ODER Puls-/Richtung-Schnittstelle. 

Ich würde den Motor gegen eine Schrittmotor ersetzen, vieleicht findest du einen passenden zu dem PLE60-Getriebe und kannst wenigstens dies behalten.

Viele Grüße
  • minimac
  • minimac
06 Oct 2025 06:32 - 06 Oct 2025 06:41

Hilfe bei Pinbelegung ERL PCSE200 an Mesa 7i96S (Step/Dir

Category: Deutsch

Hier jetzt noch mal die Platine von der Rückseite.
Displaying 1681 - 1695 out of 22554 results.
Time to create page: 0.211 seconds
Powered by Kunena Forum