Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
19 Jun 2025 20:02

Laser Head Height Sensor – Looking for a Beta Tester

Category: Plasma & Laser

  The velocity range only seems to be around 6500 hz from 0-10mm (3/8")

That does seem quite small, maybe too much stray capacitance on the sensor?

The BCL-AMPs ~2.5 MHz /2 frequency of ~1.25 MHz only gives you about 1250
counts per 1 ms servo period which will end up adding quite a bit of noise.
 This may be improved if you set the hires-timestamp of the encoder true but
a better solution may to use the periodm's frequency output as it does frequency
estimation by 1/period_average:

forum.linuxcnc.org/plasma-laser/51568-in...e-sensor-to-linuxcnc
  • PCW
  • PCW's Avatar
19 Jun 2025 18:40
Replied by PCW on topic Lo ejes dejaron de moverse

Lo ejes dejaron de moverse

Category: General LinuxCNC Questions

7I97 or 7I96?
 
  • Johnnysacalu
  • Johnnysacalu
19 Jun 2025 18:32
Lo ejes dejaron de moverse was created by Johnnysacalu

Lo ejes dejaron de moverse

Category: General LinuxCNC Questions

Hola a todos soy muy novato en esto pero lo intento.
Monte un  plasma cnc con mesa 7i97s que consequi hacer que funcione bien hasta que le puse el thcad2, le hice solo 3 pruebas de antorcha y los motores ya no se mueven, save alguien si puede ser que se haya quemado la tarjeta 7i96. Se conecta a linux puedo encender antorcha pero no se como verificar cual puede ser el problema, gracias.
  • ttt
  • ttt
19 Jun 2025 17:58

How to link existing glass scale DRO readout to LinuxCNC for cheap

Category: Driver Boards

The ELS project I listed above is my design, yes. I've talked about it before here on this forum but interest seems low. Most people go for Clough42's much simpler+cheaper approach: github.com/clough42/electronic-leadscrew

My ELS system is LinuxCNC based with a web interface frontend. I use a 7i96 board which has only one encoder, hence this rp2040 based project.

My system also has X-axis steppers, not just a Z-axis stepper. One my goals is to be able to do NPT taper threads easily since I do this often and using dies is a PITA on stainless.
  • meister
  • meister
19 Jun 2025 17:42

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

no checksum for SPI, it's only for short distance. only the UDP and RS485/RS422 connections have checksum
  • Geshka
  • Geshka
19 Jun 2025 17:31

How to link existing glass scale DRO readout to LinuxCNC for cheap

Category: Driver Boards

I was checking your GITHUB repos - great content. I am actually working on ELS myself right now. Fitting mechanical parts first to the Atlas lathe - need to add spindle encoder and stepper tot the lead-screw.

What ELS do you use ? your own design? LinuxCNC based ?
  • ttt
  • ttt
19 Jun 2025 17:03 - 19 Jun 2025 17:05

How to link existing glass scale DRO readout to LinuxCNC for cheap

Category: Driver Boards

Yes, I am actively using it. I just finished hooking it up in a closed loop system so it can do canned cycles on my lathe. So far the results look good, it works great!

I have my own ELS system for which I use it for: github.com/tinic/el-linuxcnc-electron

My hal file is here, though I doubt this will be meaningful to you since my system is rather complicated: github.com/tinic/el-linuxcnc-electron/bl...p/elle-hal/lathe.hal
  • JackRay
  • JackRay
19 Jun 2025 17:02
Replied by JackRay on topic homing with Phase Z encoder on MESA 7i96s

homing with Phase Z encoder on MESA 7i96s

Category: Advanced Configuration

what do you think of my configuration:

# --- Encodeur configuration ---
setp [HMOT](CARD0).encoder.00.counter-mode 0
setp [HMOT](CARD0).encoder.00.filter 0
setp [HMOT](CARD0).encoder.00.scale [JOINT_3]ENCODER_B_SCALE
#setp [HMOT](CARD0).encoder.00.index-enable true
setp [HMOT](CARD0).encoder.00.index-mask 1
setp [HMOT](CARD0).encoder.00.index-invert 0
setp [HMOT](CARD0).encoder.00.index-mask-invert 0

# --- Feedback position/velocity via encodeur ---
net b-pos-fb <= [HMOT](CARD0).encoder.00.position
net b-pos-fb => pid.b.feedback
net b-pos-fb => joint.3.motor-pos-fb
net b-vel-fb <= [HMOT](CARD0).encoder.00.velocity

# --- Index pour homing ---
net b-index-enable joint.3.index-enable <=> [HMOT](CARD0).encoder.00.index-enable
net phaseZ [HMOT](CARD0).encoder.00.input-index

# --- Raw counts (optionnel debug) ---
net b-pos-rawcounts <= [HMOT](CARD0).encoder.00.rawcounts

# --- Switches (home et fins de course) ---
net b-home-sw => joint.3.home-sw-in
net b-neg-limit => joint.3.neg-lim-sw-in
net b-pos-limit => joint.3.pos-lim-sw-in
  • bcorley
  • bcorley
19 Jun 2025 16:49

Laser Head Height Sensor – Looking for a Beta Tester

Category: Plasma & Laser

So, has there been any progress on getting this sensor to market? 

I'm trying to get a laser machine built, but, this is one of the toughest issues I'm facing.  I have a MESA 7i76EU that I have been trying to interface a BCL-AMP output to.  I have the BCL-AMP connected to a Raytools BT210S002A cutting head sitting on the bench with a chunk of steel in front of it and grounded to the case of the Raytools cutting head.  Between the BCL-AMP and the 7i76EU, I have a TI SN74HCS74DR dual Schmidt Trigger Flip Flop that I'm using to divide the BCL-AMP output frequency by 2 and "clean it up" at the same time.  However, it's just not very stable.  The velocity measured by the 7i76EU jumps around about 600-700 hz.  The velocity range only seems to be around 6500 hz from 0-10mm (3/8") sensing distance, so, my positional sensitivity sucks at around 0.1 inches.  Just for giggles, I ran the signal through 4 Flip Flops to see if the 'jumping around' would decrease.  It didn't.  Which leads me to believe the instability is introduced somewhere in my circuitry or wiring.  I even tried connecting Q and Q not outputs into the MESA card as differential signals and twisted the wires.  No help.

Anyhow, This CV2 height sensing device sounds very promising.  
  • tuxcnc
  • tuxcnc
19 Jun 2025 16:08 - 19 Jun 2025 16:29

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

I can't drive EC500 spindle encoder to work.
(The counter works properly, but index not. I can use encoder's index output as ordinary I/O, but this not satisfied me due to delays)
I suspect, this never will work, because the used code is wrong way.
I'm developing similar project (but only spindle support) on STM32F103, and my code seems works properly.
Here you are most important fragments:
[code]//********************************************************
This is a fragment of code from other project
Not for copy/paste, only for explanation
//********************************************************

// EC500 side
// fb. prefix means variables will send from EC500 to hal component

struct fbPacket {
    float raw_encoder;
    float encoder_latched;
} fb = { 0.0, 0.0 };

fb.raw_encoder = encoder.getCount();
void index_ISR1() {        // interrupt handler
  fb.encoder_latched  = encoder.getCount();
}

//********************************************************

// Hal component side
// fb. prefix means variables received from EC500
// index_ena is i/o hal pin for connect to spindle.0.index_enable
// pos_scale is hal input pin
// period is LinuxCNC global variable
// pos and vel are hal output pins
// Not need anything else for synchronising spindle

float old_pos;
float latched_enc;
float encoder_latched_old;
float delta_pos;
float delta_time;
struct FB {
    float raw_encoder;
    float encoder_latched;
} fb = { 0.0, 0.0 };

            if  ((encoder_latched_old != fb.encoder_latched) && (index_ena)) {
            latched_enc = fb.encoder_latched;
        old_pos = (fb.raw_encoder - latched_enc);
            index_ena = false;
            }
            encoder_latched_old = fb.encoder_latched;

   pos = (fb.raw_encoder - latched_enc) / pos_scale;
   delta_pos = pos - old_pos;
   old_pos = pos;
   delta_time = period * 1e-9;
   vel = delta_pos / delta_time;
   
//******************************************************** 
[/code]
 
  • PCW
  • PCW's Avatar
19 Jun 2025 15:45

Using Mesa 7i95T for laser + galvo (xy2-100) control

Category: Driver Boards

The differential input is because the full XY2-100 interface has a status channel
but its not required for operation.

Yes, a configuration could be made using the sserial tx channels and one stepgen.

The serial TXEna pins would end up as GPIO pins and have to be set into the enabled
state in the hal file.
 

 
  • kubes
  • kubes
19 Jun 2025 15:42 - 19 Jun 2025 16:08
Replied by kubes on topic How to jog when beyond soft limits

How to jog when beyond soft limits

Category: EtherCAT

@pippin88, Thanks for the move on the shutdown workaround! It will help with the symptom.

Thinking about this more and doing some more testing. Adding more limits will not address the root issue, as any we could be at that new limit and this could still exceed it.

I believe it's a limit resolution issue. Note, I do not know how the code works in comparing and testing for limits. I should be able to specify the resolution of the comparison. In the current case it looks like is doing the comparison at 10ths (.0001) and that scale is just too small. One should be able to set limits at the granularity required for their hardware. My max machine limit is 0.3 absolute in this case. I tried changing my limits to 0.3, 0.30, 0.300, etc. But is seem to compare .3 to the current position of 0.3007 (example). Again, in my case, the axis can shift by 0.0005 +/- .0002. So I would like my limit to be 0.300 (truncated (not rounded) at thou) thus 0.3007 would not be beyond the limit. Think 0.30007 > 3.000 vs 0.300 > 0.300.  Another means would be to add a VARIANCE ini setting to use to calculate the amount of variability in the limit comparison.

Also, this could be a issue for anyone with limits, but maybe due to off_set on the hard limit people don't see it. Or I am completely wrong in my limited understanding of limits work....

In addition, I am more sure the JOINT vs AXIS limit works as documented. (more on that later)
  • Geshka
  • Geshka
19 Jun 2025 14:45

How to link existing glass scale DRO readout to LinuxCNC for cheap

Category: Driver Boards

This is very interesting, Thanks. Do you have working setup? how it behaves ?  Is that link of DRO scales actually closes the loop and creates feedback) or it is providing only readout on LinuxCNC ? 
  • tommylight
  • tommylight's Avatar
19 Jun 2025 14:40

MESA 7i76U inputs changing state without changes to config

Category: Basic Configuration

As I mentioned the 24v power supply is holding steady at 24.1v. I've had my DVM connected for several hours without a single deviation, so I'm confident the PS is good.

I am glad you are confident, but DVM will not show ripple and high frequency mess that supply is causing, scope does, and does require using AC and DC coupling for all the checks.
You can try adding a capacitor in parallel to power output and check LinuxCNC if it stabilizes at all, but if the power supply has no inductor filtering on the output still might not be enough.
Sorry for insisting on this, but all china power supplies are getting utterly useless, been dealing with those daily for the last 17 years and seen terrible implementations to the point where the output inductor would burn to a crisp after 2-3 hours of being on with 10-50% of rated load. These were made by Horoz and all failed the same, by the hundreds.
  • phino
  • phino
19 Jun 2025 14:35

Using Mesa 7i95T for laser + galvo (xy2-100) control

Category: Driver Boards

What is the 1 differential input for? I thought just 4 differential outputs were needed for XY2-100 2-axis galvo setup.

Instead of stealing 2 step/dir channels, could the two Serial channels and one step/dir channel be used?
Displaying 12871 - 12885 out of 17633 results.
Time to create page: 0.444 seconds
Powered by Kunena Forum