Advanced Search

Search Results (Searched for: )

  • 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]
 
Displaying 15001 - 15002 out of 15002 results.
Time to create page: 0.936 seconds
Powered by Kunena Forum