Advanced Search

Search Results (Searched for: )

  • Hakan
  • Hakan
02 Jun 2025 10:27
Replied by Hakan on topic ethercat-conf.xml pdoentry limits?

ethercat-conf.xml pdoentry limits?

Category: EtherCAT

Like this
      <sdoConfig idx="2002" subIdx="0"><sdoDataRaw data ="0a 00 00 00" /></sdoConfig> <!-- Lowpass filter pole frequency try 10 Hz -->
place before all syncmanagers in ethercat-conf.xml
Only thing to say here is that the byte order is reversed. Least significant byte comes first.

You can try to read out and set manually using
ethercat -p 0 upload 0x6064 0  # Read actual position
ethercat -p 0 download 0xregister subindex value #  write value to register


 
  • unknown
  • unknown
02 Jun 2025 10:25

installing linuxCNC 2.7.14 under Hyper-V Manager

Category: Installing LinuxCNC

Host System Linux Mint 22.2 Xia
VirtualBox 7.18
Guest
32 Bit System 4GB Ram 16GB HDD
Bridged Network

Install went fine about 5 or 10 miuntes, boots fine.
Obviously Wheezy is EOL so upgrades maybe a bit funky
Linuxcnc upgrade were fine
Installation of Midnight Commander & Geany went fine
Axis sim run as expected
Shutdown was clean

Langdons, before commenting please try to read the other posts.
VirtualBox was suggested
The last error log was from VirtualBox
This behaviour only frustrates people.
  • Cooped-Up
  • Cooped-Up
02 Jun 2025 10:19
Replied by Cooped-Up on topic Mesa card issues Maho MH800E Retrofit Project

Mesa card issues Maho MH800E Retrofit Project

Category: Computers and Hardware

yea so creating another new config is just working for some reason... that is weird
  • Cooped-Up
  • Cooped-Up
02 Jun 2025 10:10
Replied by Cooped-Up on topic Mesa card issues Maho MH800E Retrofit Project

Mesa card issues Maho MH800E Retrofit Project

Category: Computers and Hardware

The attach didnt work so here is the copy paste

Error report created by /usr/lib/tcltk/linuxcnc/show_errors.tcl:

Print file information:
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/MH800E'
Machine configuration file is 'MH800E.ini'
INIFILE=/home/coopedup/linuxcnc/configs/MH800E/MH800E.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): ./MH800E.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: 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
No input devices could be opened. This usually indicates a misconfigured
system. Please read the section 'PERMISSIONS AND UDEV' in the hal_input
manpage
./MH800E.hal:12: waitpid failed hal_input hal_input
./MH800E.hal:12: hal_input exited without becoming ready
1211
Stopping realtime threads
Unloading hal components
RTAPI_PCI: Unmapped 65536 bytes at 0x7f956125a000
Note: Using POSIX realtime



Info report created by linuxcnc_info:
The file: /tmp/linuxcnc_info.txt
can be posted to a forum or a web site like:
pastebin.com
in order to provide information about the linuxcnc
system and configuration.

Date: Sun Dec 1 08:29:00 AM EST 2024
UTC Date: Sun Dec 1 01:29:00 PM UTC 2024
this program: /usr/bin/linuxcnc_info
uptime: 08:29:00 up 0 min, 1 user, load average: 1.51, 0.37, 0.12
lsb_release -sa: Debian Debian GNU/Linux 12 (bookworm) 12 bookworm
linuxcnc: /usr/bin/linuxcnc
pwd: /home/coopedup/linuxcnc/configs/MH800E
USER: coopedup
LOGNAME: coopedup
HOME: /home/coopedup
EDITOR:
VISUAL:
LANGUAGE:
TERM: dumb
COLORTERM:
DISPLAY: :0.0
DESKTOP: lightdm-xsession
display size: 1920x1080 pixels (508x285 millimeters)
PATH: /usr/bin:/home/coopedup/linuxcnc/configs/MH800E/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

uname items:
nodename -n: coopedup
kernel-name -s: Linux
kernel-vers -v: #1 SMP PREEMPT_RT Debian 6.1.124-1 (2025-01-12)
machine -m: x86_64
processor -p: unknown
platform -i: unknown
oper system -o: GNU/Linux

/proc items:
cmdline: BOOT_IMAGE=/boot/vmlinuz-6.1.0-30-rt-amd64 root=UUID=b581ec7e-d84c-481b-a4e0-faa5ae23e5e5 ro initrd=/install/gtk/initrd.gz quiet
model name: AMD FX(tm)-8320 Eight-Core Processor
cores: 4
cpu MHz: 3515.449
parport: 0000-0000 : parport0
serial: 0000-0000 : serial

Versions:
gcc: gcc (Debian 12.2.0-14) 12.2.0
python: Python 3.11.2
git: not_in_PATH
git commit: NA
tcl: 8.6
tk: 8.6
glade: not_in_PATH

linuxcnc_var all:

LINUXCNCVERSION: 2.9.4
LINUXCNC_AUX_GLADEVCP: /usr/share/linuxcnc/aux_gladevcp
LINUXCNC_AUX_EXAMPLES: /usr/share/linuxcnc/aux_examples
REALTIME: /usr/lib/linuxcnc/realtime
RTS: uspace
HALLIB_DIR: /usr/share/linuxcnc/hallib
PYTHON: /usr/bin/python3

dpkg -l '*linuxcnc*':
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===================-============-============-=====================================================================
un linuxcnc <none> <none> (no description available)
un linuxcnc-dev <none> <none> (no description available)
un linuxcnc-doc <none> <none> (no description available)
ii linuxcnc-doc-de 1:2.9.4 all motion controller for CNC machines and robots (German documentation)
ii linuxcnc-doc-en 1:2.9.4 all motion controller for CNC machines and robots (English documentation)
ii linuxcnc-doc-es 1:2.9.4 all motion controller for CNC machines and robots (Spanish documentation)
ii linuxcnc-doc-fr 1:2.9.4 all motion controller for CNC machines and robots (French documentation)
un linuxcnc-sim <none> <none> (no description available)
un linuxcnc-sim-dev <none> <none> (no description available)
ii linuxcnc-uspace 1:2.9.4 amd64 motion controller for CNC machines and robots
ii linuxcnc-uspace-dev 1:2.9.4 amd64 PC based motion controller for real-time Linux
  • Cooped-Up
  • Cooped-Up
02 Jun 2025 10:09
Replied by Cooped-Up on topic Mesa card issues Maho MH800E Retrofit Project

Mesa card issues Maho MH800E Retrofit Project

Category: Computers and Hardware

here is that log, I dont remember selecting an MPG but maybe I did.
  • NT4Boy
  • NT4Boy
02 Jun 2025 10:06 - 02 Jun 2025 10:17
Replied by NT4Boy on topic HURCO KMB-1 Control Update

HURCO KMB-1 Control Update

Category: Milling Machines

What I hope will be the last part of my adventure, is to add a spindle encoder for rigid tapping etc.Mission now achieved. 48 teeth on the lower side of the drive pully as well as an index tooth on the upper side, (complete with counterbalance weight).Have used ATS616LSG hall effects, with 10k biasing resistors which produce at the 7i77 encoder 05 inputs, good clean 5volt signals.I have yet to get properly to grips with the hal side of things, but at first sight, the hal scope doesn’t look right.
  • esmurf
  • esmurf
02 Jun 2025 09:47
Replied by esmurf on topic ethercat-conf.xml pdoentry limits?

ethercat-conf.xml pdoentry limits?

Category: EtherCAT

is this the <initcmd> tag?
  • Hakan
  • Hakan
02 Jun 2025 09:02
Replied by Hakan on topic ethercat-conf.xml pdoentry limits?

ethercat-conf.xml pdoentry limits?

Category: EtherCAT

I don't know that, but if you have static data you can set that using the SDO instead.
  • esmurf
  • esmurf
02 Jun 2025 08:58
Replied by esmurf on topic ethercat-conf.xml pdoentry limits?

ethercat-conf.xml pdoentry limits?

Category: EtherCAT

These servos have so many functions and parameters, that 10 is a really small limit.
Is there a way to split the pdoentry tags into multiple pdos?
Or change them during operation, e.g. have a different ethercat-conf.xml during homing vs. normal operation?
  • Hakan
  • Hakan
02 Jun 2025 08:11 - 02 Jun 2025 08:52
Replied by Hakan on topic ethercat-conf.xml pdoentry limits?

ethercat-conf.xml pdoentry limits?

Category: EtherCAT

It is not uncommon for devices to have a limit on how much data they can exchange.
But do you need all of those PDOs? I guess not.
So just delete the ones you do not use from ethercat-conf.xml
  • Aciera
  • Aciera's Avatar
02 Jun 2025 07:35 - 02 Jun 2025 07:47
Replied by Aciera on topic Position: relative expected

Position: relative expected

Category: General LinuxCNC Questions

Seems that there may actually be two printouts on the same line:
'joint 0 following error'
which comes from motion
'position: relative commanded'
which seems to come from the Axis GUI:
github.com/LinuxCNC/linuxcnc/blob/6f7753...s/tcl/axis.tcl#L1838
You are not giving us much else to go on. Are you getting getting following errors on joint 0 when using other Gcode or is it only with this particular program?
  • esmurf
  • esmurf
02 Jun 2025 07:32
ethercat-conf.xml pdoentry limits? was created by esmurf

ethercat-conf.xml pdoentry limits?

Category: EtherCAT

i have the attached ethercat-conf.xml (for stepperonline A6 servos).
Each time i add more than 10 pdoentry tags, i get the following error in /var/log/messages:

Jun  2 09:04:11 cnc kernel: EtherCAT ERROR 0-1: SDO download 0x1A00:0B (4 bytes) aborted.
Jun  2 09:04:11 cnc kernel: EtherCAT ERROR 0-1: SDO abort message 0x06090011: "Subindex does not exist".
Jun  2 09:04:11 cnc kernel: EtherCAT WARNING 0-1: Failed to map PDO entry 0x60FD:00 (32 bit) to position 11.
Jun  2 09:04:11 cnc kernel: EtherCAT WARNING 0-1: Currently mapped PDO entries: 0x6041:00/16 0x6061:00/8 0x6064:00/32 0x606C:00/32 0x6077:00/16 0x60BA:00/32 0x60BC:00/32 0x60B9:00/16 0x603F:00/16 0x60F4:00/32 0x60FD:00/32. Entries to map: 0x6041:00/16 0x6061:00/8 0x6064:00/32 0x606C:00/32 0x6077:00/16 0x60BA:00/32 0x60BC:00/32 0x60B9:00/16 0x603F:00/16 0x60F4:00/32 0x60FD:00/32
Jun  2 09:04:11 cnc kernel: EtherCAT WARNING 0-1: Failed to configure mapping of PDO 0x1A00.
Jun  2 09:04:11 cnc kernel: EtherCAT 0: Domain 0: Working counter changed to 3/12.
Jun  2 09:04:13 cnc kernel: EtherCAT ERROR 0-1: Failed to set SAFEOP state, slave refused state change (PREOP + ERROR).
Jun  2 09:04:13 cnc kernel: EtherCAT ERROR 0-1: AL status message 0x001E: "Invalid input configuration".
Jun  2 09:04:13 cnc kernel: EtherCAT 0-1: Acknowledged state PREOP.

If i remove / comment out any one pdoentry, the error goes away.
master idx="0" has no error, idx="1" - idx="3" have the error.  
There seems to be a limit of max 10 entries?
How can i work around this?

 
  • Kieran
  • Kieran
02 Jun 2025 04:11

GUI that somewhat resembles haas or fanuc workflow.

Category: General LinuxCNC Questions

Hey yall. Im a machinist by trade. I initially learned cnc on linuxcnc about 10y ago. Now I run "Real" cnc machines using fanuc and Haas. Initially I missed linuxcnc, but now when I go back and use my little linux mill, I am annoyed by the tool table and just the "PC" feel in general. The Fanuc soft keys are actually super nice and you can quickly go between work offsets, tool offsets ect. I can for example go to my absolute position page, do some mental math, type a number in the control, switch pages to my offsets, and input+ that number in seconds to quickly set offsets and stuff. No need for a mouse or anything silly like that. Hass is very similar but its even better with dedicated buttons to kick into the offsets or positions pages. Honestly the mouse is a major pain in a shop environment. The fanuc/Hass button based interaction is crazy fast for me compared to scrolling around on linuxcnc. suggestions? also itd be nice to get rid of the X Y tool offset and just have length/wear and diameter/wear. is there an "industrial GUI" im missing out on?
  • PCW
  • PCW's Avatar
02 Jun 2025 02:41

Mesa card issues Maho MH800E Retrofit Project

Category: Computers and Hardware

Can you post the terminal log?

( start Linuxcnc from the terminal and copy-paste the messages printed )

The previous error indicated an issue with a (probably USB) input device like a MPG

I would create  a configuration without the added input device to get past this error
for now

 
Displaying 2611 - 2625 out of 24904 results.
Time to create page: 0.257 seconds
Powered by Kunena Forum