Advanced Search

Search Results (Searched for: )

  • Jabbery
  • Jabbery
05 Jan 2026 20:05
3D touch probe confusion was created by Jabbery

3D touch probe confusion

Category: Basic Configuration

Hello, I picked up awhile back a 3D touch probe and I can't seem to wrap my head around Z zero.
 I have not installed it yet, installation and configuration I have no issues. I currently have a tool setter and touch plate.

 My question I can't see in my head is Z zero, when the touch probe detects a material surface Linuxcnc has no idea where that probe tip is in space so of course it Zero's Z. Now when you change to a bit and the toolsetter routine creates a zero offset for it the offset is to what?

 My thought was to use the tool setter to detect the toollength of the probe but a combination of multiple spring loaded buttons may throw off the actual tool length.

 Thoughts?
Thanks
  • freemoore
  • freemoore
05 Jan 2026 19:55 - 05 Jan 2026 19:57

MB2HAL example with cheap 16I/16O 24v 'Geroosaty' Modbus boards over RS485

Category: Computers and Hardware

Attaching what documentation I could find, though these refer to the boards having baud rate jumpers, which mine did not.  
  • PCW
  • PCW's Avatar
05 Jan 2026 19:47 - 05 Jan 2026 20:36
Replied by PCW on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

Yes, the error spike at the beginning and end of motion cannot be eliminated without jerk control.
 This is because without jerk control you have a step function in acceleration=force which is physically
impossible as that requires infinite motion control bandwidth.
  • freemoore
  • freemoore
05 Jan 2026 19:45

MB2HAL example with cheap 16I/16O 24v 'Geroosaty' Modbus boards over RS485

Category: Computers and Hardware

Hi all.
This is currently working at dining-table levels, but will (hoepfully) become part of a Morbidelli Author 503 retrofit. I haven't found many examples of working mb2hal .hal and .ini files and had a bit of a time getting it all to work, so wanted to post results/a simple guide now that it does. The Morbidelli wants somewhere near 60 inputs/90 outputs and the budget is tight, hence going for the cheapest available:

Geroosaty UM72 board, model number on the board is N4D3E16. These were about £18 each.
Waveshare's USB to RS485 converter based on CH343G and SP485EEN chips, for about £15.
Linuxcnc version is 2.9.8.

I've attached .ini and .hal files. Note that modbus_io.ini is not a separate config file for lcnc but the config file for the mb2hal component. 

The board is 16I/16O, 24v, and has SlaveID settable by dip switches:
board 1 has A0 ON and A1-5 OFF for SlaveID 1,
board 2 has A0 OFF, A1 ON, A2-5 OFF for SlaveID 2.

I found some docs which suggest that the baud rate can be changed to 19200 but default is 9600. Wiring: A and B were correctly marked and wired A to A, B to B; GND was attached to the GND of the 24v psu.

I didn't have much success with modbus functions other than 03 or 06; other functions I could get to show up in hal configuration, but either not work or work in a way I couldn't use, hence the weighted_sum components. Notes there: weighted_sum doesn't seem to work with the 'names=' option, just numbered instances. Invoking 'weighted_sum' instances are referred to by 'wsum.0, wsum.1' etc. and when you add them to the servo thread, you add 'process_wsums'. Also when setting up the bits and their weights, it doesn't like the form 'wsum.01.bit.01.weight' but worked when 'wsum.1.bit.1.weight' was used.

I hope reading my config files helps someone else with this setup! Spent a whole day trying to get it to work with either one of two identical but ~15 year old rs485-usb adapters, eventually binned them and had the waveshare one working in a few minutes, once it arrived. Happy New Year all

Andy
  • endian
  • endian's Avatar
05 Jan 2026 19:35 - 05 Jan 2026 20:17
Replied by endian on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

yes exactly ... if all axis homed then ini.traj_planner_type == 1 else 0 ... its important for external drivers over buses maily... 

2nd day of testing at hardware is away... motion is way smoother and followinf error ar beginning at ending of movement is away too 

thanks
loadrt and2                count=2
loadrt mux2                count=1
loadrt conv_float_s32    count=1

    addf    and2.0                        servo-thread
    addf    and2.1                        servo-thread
    addf    mux2.0                        servo-thread
    addf    conv-float-s32.0            servo-thread

addf     lcec.write-all                 servo-thread

net        homed-0        joint.0.homed        and2.0.in0
net        homed-1        joint.1.homed        and2.0.in1
net        homed-01    and2.0.out            and2.1.in0
net        homed-2        joint.2.homed        and2.1.in1

setp    mux2.0.in0        0
setp    mux2.0.in1        1

net        homedAll        and2.1.out            mux2.0.sel
net        fPlannerSwitch    mux2.0.out            conv-float-s32.0.in
net        diPlannerSwitch    conv-float-s32.0.out    ini.traj_planner_type
  • Hakan
  • Hakan
05 Jan 2026 19:26

Dual axis Lichuan driver configuration problem

Category: EtherCAT

It happens there are several pdos in a syncmanager, it's ok.

I don't see anything obvious wrong. So it can be some details.
Here are some options.
Check output of syslog "sudo dmesg | tail -30". The EtherCAT master writes 
messages there especially things it doesn't like.

The PDOS might not be configurable. You then need to specify exactly
the order the pdoentries appear, with correct sizes, don't skip anything. You have your listing
in some disorder so that might be it. Take help from the output of "lcec_configgen --typedb=false"

 
  • PCW
  • PCW's Avatar
05 Jan 2026 18:23

7i96S card arrived what setup is recomended

Category: Driver Boards

Typically you would wire it (in hal) to joint.0.amp-fault-in
(a true on any joint.x.amp-fault-in  will cause LinuxCNC to halt motion)
  • rodw
  • rodw's Avatar
05 Jan 2026 18:14

New member from Germany - CNC retrofit of a Leinen FM1

Category: General LinuxCNC Questions

Most of your concerns are not valid.

The final position after homing can set by HOME linuxcnc.org/docs/stable/html/config/ini-homing.html#_home so it does not need to finish at the end of the table.

Use G54 offsets to touch off using your microscope after homing. Most GUIs have touch off features to automate this and here you will correct any accuracy. (Machining should be done in G54 or similar coordinates). This lets you use multiple vices (G54, G55  etc)

I don't think your concerns about additional wear and tear are valid. Typically you only need to home the machine once per day
There are no wiring or parts required to implement this. Why don't you copy your config and give it a go. You might find you like it.

 
  • CWDay77
  • CWDay77
05 Jan 2026 18:01
Complete Newbee - Need help was created by CWDay77

Complete Newbee - Need help

Category: General LinuxCNC Questions

    Good morning, I am new to this community and joined in hopes you could help me step into the world of CNC’ing. Couple of years back I purchased this multi-cam CNC that had been sitting for a while. It had been used to machine deep pockets into Ovation guitar bodies. After cleaning out all the fiber material I found all the slide bearings in almost new condition. I took a bunch of picts and proceeded to completely disassemble the unit for restore. All the wiring too! I thought I would I’ll just look up what information I need to put it back together… bad plan! Not only can I not find how to wire these components I’m not even sure where to begin, what to keep and what to ditch.I will replace the spindle but would like to keep using the x,y,z motors. These are Allen-Bradley N-3412 B series brushless servo motors powered by Electro-Craft DDM-009 drives. All the rest I want to have new. I figure to use LinuxCNC on a Raspberry 5 with Unbuntu to control these x,y,z axis and (maybe) control the spindle (whatever that will be) separately. What add-on board and how to finally connect the motors escapes me.I have looked and looked but don’t know where to start. I need help.I would greatly appreciate any advise or direction. 
  • Hartwig
  • Hartwig
05 Jan 2026 17:58
Replied by Hartwig on topic Retrofitting Deckel FP4ATC

Retrofitting Deckel FP4ATC

Category: Milling Machines

Hi Mbrandt,

I am using the Mesa 7i97T for 4 seperate axes with Heidenhain encoders and Tacho DC servo motors on my milling machine.
My servo amplifiers get the setpoint +- 10V and the Enable signal from the Mesa card. Very simple and straightforward. The inputs from the Heidenhain EXE ( I would assume, that your machine has the Heidenhain EXE card/units on board) are also easy to connect. The read-out of the positions worked immediately.
I bought the MESA card from EUSurplus in Portugal - the only source, where it was available in Europe, Highly recommended dealer.

Best regards

Hartwig
  • kello711
  • kello711's Avatar
05 Jan 2026 17:53
Replied by kello711 on topic 7i96S card arrived what setup is recomended

7i96S card arrived what setup is recomended

Category: Driver Boards

I got the ENA setup and working properly. Enabling the machine turns on the drives as expected. Now I just have to work on handling the ALM signal when there is a problem reported. What is the current way of handling this? I think I need to tie in fault-in from the motion module.
  • Mbrand1901
  • Mbrand1901
05 Jan 2026 16:55
Replied by Mbrand1901 on topic Retrofitting Deckel FP4ATC

Retrofitting Deckel FP4ATC

Category: Milling Machines

Hello again!
I finally received the drawings of the electrical, hydraulic and air circuits. Now I will count the exact number of I/Os. Then I will make a list with the exact signal of each I and O needs. It would be nice, if someone could correct me on my choice of mesa cards.

Here they are (lower resolution), maybe I can help someone with this:

This browser does not support PDFs. Please download the PDF to view it: Download PDF

 

This browser does not support PDFs. Please download the PDF to view it: Download PDF

  • tommylight
  • tommylight's Avatar
05 Jan 2026 15:30
Replied by tommylight on topic MESA 7i76eu Firmware

MESA 7i76eu Firmware

Category: Driver Boards

Already replied on the other topic.
  • Routercnc
  • Routercnc
05 Jan 2026 15:07 - 05 Jan 2026 15:14
Replied by Routercnc on topic EasyProbe

EasyProbe

Category: AXIS

Hi,
I installed EasyProbe exactly following video and instructions.However, I can’t use the midpoint and distance probing functions because I keep getting an error related to M130.LinuxCNC shows “Unknown M code used: M130” when I press the X0 / Y0 / Z0 / R0 buttons or when an abort occurs.I already set the M130 file as executable
chmod +x M130
, but the error still happens.Could you please clarify:
– where exactly the M130 file must be located macros, nc_files, or another folder?
– and whether M130 must be a
.ngc
file or a shell script?I’m using LinuxCNC 2.9.4.
  • PCW
  • PCW's Avatar
05 Jan 2026 14:32

7i76EU GPIO inputs completely frozen - not updating in real-time

Category: Driver Boards

7I76EU inputs are sinking inputs, that is, they detect a positive voltage
relative to field power ground. They will read "low" in hal until there are at
~60% of field voltage (~+14.4V at +24V field voltage)

If you use proximity switches, they should be PNP (sourcing) type.
NPN type switches would need a pullup (say 2.2K 1/2W) resistor to
+24V to work.
Displaying 106 - 120 out of 20511 results.
Time to create page: 0.246 seconds
Powered by Kunena Forum