Advanced Search

Search Results (Searched for: )

  • Soccer Kid
  • Soccer Kid's Avatar
27 May 2025 01:27
Replied by Soccer Kid on topic Unnamed CATIO-A Device Configuration (help!)

Unnamed CATIO-A Device Configuration (help!)

Category: EtherCAT

Hello friend, please refer to the following code. I have the same module and it has been tested and is available. The corresponding pulse counting and other modules only require you to add PDO as needed.
<!-- IO -->
<slave idx="5" type="generic" vid="90588" pid="109252" configPdos="true">
<syncManager idx="2" dir="out">
<pdo idx="1600">
<pdoEntry idx="0x2300" subIdx="00" bitLen="16" halPin="out00" halType="u32"/>
</pdo>
</syncManager>
<syncManager idx="3" dir="in">
<pdo idx="1A00">
<pdoEntry idx="2020" subIdx="00" bitLen="32" halPin="encoder" halType="u32"/>
<pdoEntry idx="2000" subIdx="0" bitLen="16" halType="complex">
<complexEntry bitLen="1" halPin="in-1" halType="bit"/>
<complexEntry bitLen="1" halPin="in-2" halType="bit"/>
<complexEntry bitLen="1" halPin="in-3" halType="bit"/>
<complexEntry bitLen="1" halPin="in-4" halType="bit"/>
<complexEntry bitLen="1" halPin="in-5" halType="bit"/>
<complexEntry bitLen="1" halPin="in-6" halType="bit"/>
<complexEntry bitLen="1" halPin="in-7" halType="bit"/>
<complexEntry bitLen="1" halPin="in-8" halType="bit"/>
<complexEntry bitLen="1" halPin="in-9" halType="bit"/>
<complexEntry bitLen="1" halPin="in-10" halType="bit"/>
<complexEntry bitLen="1" halPin="in-11" halType="bit"/>
</pdoEntry>
</pdo>
</syncManager>
</slave>
  • Soccer Kid
  • Soccer Kid's Avatar
27 May 2025 01:02
Replied by Soccer Kid on topic Modbus via Ethercat (Beckhoff)

Modbus via Ethercat (Beckhoff)

Category: EtherCAT

This module, I have previous usage experience on other platforms. In principle, it can be used without any problem, but it depends on how you call the corresponding registers. This module is very easy to use. All you need to do is to send data according to the standard MODBUS template.
  • Soccer Kid
  • Soccer Kid's Avatar
27 May 2025 00:52 - 27 May 2025 00:53

resolved-- Regarding the data reading offset issue of the ether cat IO module

Category: EtherCAT

RODW, as you said, is correct. In the EL2809 module, I used it like this, and at the same time, testing the "general" driver and adding hal manually was also without any problems. However, problems arise when using this "Sdot" module. I received the data related to this module. Each piece of data corresponding to the PDO will be shifted by 16 bit.
  • bondglen
  • bondglen
27 May 2025 00:20

How to refresh the Axis screen after setting offsets G10 L20

Category: AXIS

Hi all,
I have a home-made pendant that can jog and set the offsets using HALUI commands.
When I set the G54 offsets (using HAL commands) I would like to refresh the Axis display so that it will show the part in the offset position.
I would like to use a HALCMD to refresh the Axis display if possible, but will use whatever is required.
Is this even possible?

Thanks in advance.
  • slowpoke
  • slowpoke
26 May 2025 23:43
Changing MPG step rate with a switch was created by slowpoke

Changing MPG step rate with a switch

Category: HAL

I have a MPG encoder that has 100 detents and scaled on my lathe X axis for 0.001" increments. All working great.
Once in a while I need to turn to a dimension tighter than 0.001" When I need to do this I tweak my ini file to make the MPG increments 0.0001"

I would prefer to have a toggle switch to toggle between regular(0.001") and sensitive (0.0001") mode, and be able to toggle it as required and not have to restart LinuxCNC.

Is this possible and if so how would I go about it?

Thanks,
  • jackj120
  • jackj120
26 May 2025 21:43

Mecanumeric MF2040 LI retrofit (Pantograph)

Category: Milling Machines

Hi everyone,I'm planning a retrofit for my Mécanumeric MF2040 (large-format pantograph) i'll dismantle all the eletronic and leave the structure. After some research, I’m considering the following setup and would appreciate advice or feedback:Controller & Interface:
  • LinuxCNC running on an old (but reliable) PC
  • Mesa 7i76e Ethernet motion controller
Motors:
  • 3x Delta B2 Servo Motors (220V, 750W, 2.39Nm, 3000rpm, ECMA-C20807RS)
    • Alternative: 3x Leadshine ELM0750DH80E-SS
  • Z-axis motor: Still evaluating options
Usage:
  • The machine is mainly used for cutting and engraving (pantograph work, large panels).
Questions:
  1. Does this setup sound suitable for a machine of this size and type?
  2. Any experience with these servo motors (Delta B2 vs Leadshine)? Reliability, tuning, integration?
  3. Suggestions for the Z-axis motor?
  4. Any compatibility issues or tips when using LinuxCNC with the Mesa 7i76e and these servo drives?
Thank you in advance for your advice and suggestions!
  • SwitchWitch
  • SwitchWitch
26 May 2025 21:23
Replied by SwitchWitch on topic Modbus via Ethercat (Beckhoff)

Modbus via Ethercat (Beckhoff)

Category: EtherCAT

So it`s not going over ethercat? Didn`t think about this possibility yet. Thx a lot for the hint!
  • PCW
  • PCW's Avatar
26 May 2025 20:39 - 26 May 2025 20:40
Replied by PCW on topic Threading Index Varies With Speed

Threading Index Varies With Speed

Category: General LinuxCNC Questions

Yes, the X movement (joint 0 in the plot) is done before index is detected
but the interpolated position (spindle-revs) removes any quantization
issues:

  • COFHAL
  • COFHAL
26 May 2025 19:33

W5100S-EVB-PICO stepgenerator and encoder driver

Category: Driver Boards

What is the bianari file for the normal RP pico?

stepper-ninja-W5500 or stepper-ninja-W5500S
  • rodw
  • rodw's Avatar
26 May 2025 18:59

Protecting My Mesa 7i76EU: Wiring Questions for Home Sensors and Touch Probe

Category: Basic Configuration

The longs motor DM542A is better than you think and is my choice of drives for NEMA23 motors if price is important.
With 25x microstepping and 48v power supply, I used the following setttings
DIRSETUP   = 500
DIRHOLD    = 500
STEPLEN    = 1000
STEPSPACE  = 1000
STEP_SCALE = 1000
  • Spyderbreath
  • Spyderbreath's Avatar
26 May 2025 18:16 - 27 May 2025 09:23
QTDragon_hd with mechanical dial tool setter was created by Spyderbreath

QTDragon_hd with mechanical dial tool setter

Category: Qtvcp

Never mind, stupid question. All attempts result in massive errors or a segfault crash of LinuxCNC.

Thanks for looking.
  • npostma
  • npostma's Avatar
26 May 2025 17:58 - 26 May 2025 17:59

Protecting My Mesa 7i76EU: Wiring Questions for Home Sensors and Touch Probe

Category: Basic Configuration

Yes that is what i thought. I find it so strange that i can have ludicrous speeds in the wizard. Not sure what kind of magic is happening there :laugh:

I have stepgen's maxaccel and maxvel 25% bigger than the linuxcnc maxaccel
and maxvel settings. Also i have to figure out what i can set of DIRSETUP, DIRHOLD, STEPLEN, STEPSPACE realistically for my stepper-driver. A Longs DM542A driver is probably not the best driver in the world. 

This is the max i can do without getting errors:

#******************************************
[AXIS_X]
MAX_VELOCITY = 200.0
MAX_ACCELERATION = 200.0
MIN_LIMIT = -0.01
MAX_LIMIT = 750.0

[JOINT_0]
TYPE = LINEAR
HOME = 0.0
FERROR = 10.0
MIN_FERROR = 1.0
MAX_VELOCITY = 200.0
MAX_ACCELERATION = 200.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 = 250.00
STEPGEN_MAXACCEL = 250.00
P = 1000.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
# these are in nanoseconds
DIRSETUP   = 10000
DIRHOLD    = 10000
STEPLEN    = 5000
STEPSPACE  = 5000
STEP_SCALE = -400.0
MIN_LIMIT = -0.01
MAX_LIMIT = 750.0
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = -30.000000
HOME_LATCH_VEL = -2.500000
HOME_FINAL_VEL = 0.000000
HOME_USE_INDEX = NO
HOME_SEQUENCE = 2
  • PCW
  • PCW's Avatar
26 May 2025 17:48

Protecting My Mesa 7i76EU: Wiring Questions for Home Sensors and Touch Probe

Category: Basic Configuration

hm2_7i76e: 0.stepgen.00.maxvel is too big for current step timings & position-scale, clipping max possible.
hm2_7i76e: 0.stepgen.01.maxvel is too big for current step timings & position-scale, clipping max possible.
hm2_7i76e: 0.stepgen.02.maxvel is too big for current step timings & position-scale, clipping max possible.


These warnings are because its not physically  possible to generate the required step rate because
the rate cannot be faster than 1/(steplength+stepspace). You can increase the maximum step rate
by reducing steplength and stepspace or using a lower micro-step ratio in the drives.

Following errors during installlation/setup are often because the stepgen maxaccel and maxvel
values do not leave enough headroom from LinuxCNCs joint/axis maxvel and maxaccel values, so check
that the stepgen maxaccel and maxvel values are at least 25% greater than LinuxCNCs joint/axis values
  • npostma
  • npostma's Avatar
26 May 2025 17:46 - 26 May 2025 17:48
Replied by npostma on topic Probe tripped during non-probe move

Probe tripped during non-probe move

Category: Basic Configuration

Hi,
I ran into this exact issue today as well while porting my routines to a new Mesa card setup. My typical workflow is:
  • Move down quickly until probe touch
  • Move up a bit
  • Move down slowly for precise touch
There seem to be two common causes for the "probe triggered during non-probe move" error:
  1. Speed-related signal bounce:
    Moving too fast (or sometimes too slow) can cause vibrations, which may result in the probe signal bouncing. This bounce can trigger the probe input at unexpected times.
  2. Not moving up far enough after the first probe:
    If you only move up 1mm after the first touch, the tool might not fully clear the touch plate, especially if there is any residual flex, springiness, or electrical noise. In my case, increasing the retraction distance to 3mm after the first touch, and making sure the upward move was at a reasonable speed, completely solved the problem.
Summary of what helped in my setup:
  • After the first probe touch, retract upwards by at least 3mm (instead of just 1mm)
  • Ensure the retract move is at a moderate speed (not too slow, not too fast)
  • Double-check wiring and mechanical play to minimize vibration
Hope this helps someone else with a similar setup! My routine before i do a touch-off:

O <touchplate_delicate> sub

#1 = 20        (touch plate dikte in mm)
#2 = -110      (Z-min limiet, uit .ini file)
#3 = [abs[#2] - #1]  (max travel distance)

G91            (relatieve coördinaten)
G21            (millimeters)

G38.2 Z-#3 F250   (probe snel naar beneden, tot plaat geraakt wordt)
G1 Z2 F250        (2 mm omhoog na contact, los van de plaat)
G38.2 Z-3 F50     (langzaam naar beneden, precieze touch)
G1 Z3 F100        (3 mm omhoog, zeker los van de plaat)

G90            (terug naar absolute coördinaten)

O <touchplate_delicate> endsub
M2
  • npostma
  • npostma's Avatar
26 May 2025 17:14

Protecting My Mesa 7i76EU: Wiring Questions for Home Sensors and Touch Probe

Category: Basic Configuration

Hi all,

Thanks for all your input—everything is working fine again! There’s still some tweaking to do, but I’m getting there.

For the inputs, I made a small PCB breakout with terminal blocks, each protected by a pair of 0.5W resistors (2x 3K in parallel, so 1.5K total) to protect the Mesa card inputs. This limits the input current to a maximum of 0.016A (16mA) and 0.384W per pair.

I do have one last question. When testing my axis with the PNCconf wizard, I was able to achieve insane speeds—acceleration around 2500 and a max velocity of 15,000 (even higher values just made it wait or go slower). This seemed very promising. However, those values didn’t end up in the generated .ini file.

In reality, I had to limit my velocity to 200 to avoid errors in LinuxCNC, specifically:

hm2_7i76e: 0.stepgen.00.maxvel is too big for current step timings & position-scale, clipping max possible.
hm2_7i76e: 0.stepgen.01.maxvel is too big for current step timings & position-scale, clipping max possible.
hm2_7i76e: 0.stepgen.02.maxvel is too big for current step timings & position-scale, clipping max possible.

By lowering the timing values like this:

DIRSETUP = 6000
DIRHOLD = 6000
STEPLEN = 3000
STEPSPACE = 3000

(from the original 10,000 / 10,000 / 5,000 / 5,000), I could push the velocity up to 250, but then I started getting joint following errors.

So, I think I must be missing something fundamental, because the speeds I got in the wizard are nowhere near what I see in actual LinuxCNC. I don’t need crazy speeds for milling, but jogging 20cm takes a bit too long right now. Is there a way to make it faster, or can someone explain why the wizard speeds were so much higher than what’s actually possible in LinuxCNC?

Thanks!
Displaying 2041 - 2055 out of 25542 results.
Time to create page: 0.484 seconds
Powered by Kunena Forum