- Hardware & Machines
- CNC Machines
- Plasma & Laser
- Laser Head Height Sensor – Looking for a Beta Tester
Laser Head Height Sensor – Looking for a Beta Tester
- rodw
-
- Offline
- Platinum Member
-
Less
More
- Posts: 11173
- Thank you received: 3720
28 Feb 2025 20:45 #322887
by rodw
Replied by rodw on topic Laser Head Height Sensor – Looking for a Beta Tester
Thanks Peter. What would be a good maximum frequency to work with? You will know a lot more than I doI would think a direct frequency output would be desirable as its readable
in real time by many different types of interface hardware.

Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18434
- Thank you received: 5034
28 Feb 2025 21:58 #322891
by PCW
Replied by PCW on topic Laser Head Height Sensor – Looking for a Beta Tester
I would say a couple hundred KHz so pretty much any encoder interface could work.
Also better if its a square wave so it asks the least of the frequency/period counter.
An offset frequency is good also so you don't lose bandwidth near 0 frequency.
Also better if its a square wave so it asks the least of the frequency/period counter.
An offset frequency is good also so you don't lose bandwidth near 0 frequency.
The following user(s) said Thank You: prokopcio
Please Log in or Create an account to join the conversation.
- prokopcio
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 27
- Thank you received: 18
28 Feb 2025 22:43 - 01 Mar 2025 07:51 #322895
by prokopcio
Replied by prokopcio on topic Laser Head Height Sensor – Looking for a Beta Tester
Thanks Peter for your opinion.
You strongly confirmed my analyses.
because some cards have a limit of 100kHz ( ETHERCAT EL5151for example )
I suggest 20-70kHz (0-10mm) and 10kHz(or 0Hz) = collision
You strongly confirmed my analyses.
because some cards have a limit of 100kHz ( ETHERCAT EL5151for example )
I suggest 20-70kHz (0-10mm) and 10kHz(or 0Hz) = collision
Last edit: 01 Mar 2025 07:51 by prokopcio.
Please Log in or Create an account to join the conversation.
- rodw
-
- Offline
- Platinum Member
-
Less
More
- Posts: 11173
- Thank you received: 3720
01 Mar 2025 01:51 #322901
by rodw

Maybe collisions are 5 kHz and our rule is: if < 10 kHz, report a collision
Replied by rodw on topic Laser Head Height Sensor – Looking for a Beta Tester
This is linuxcnc. We will not have collisions!I suggest 20-70kHz (0-10mm) and 10kHz(or 0Hz) = collision

Maybe collisions are 5 kHz and our rule is: if < 10 kHz, report a collision
Please Log in or Create an account to join the conversation.
- blazini36
- Away
- Platinum Member
-
Less
More
- Posts: 969
- Thank you received: 164
01 Mar 2025 05:33 #322907
by blazini36
Replied by blazini36 on topic Laser Head Height Sensor – Looking for a Beta Tester
Not sure what all types of laser heads this will work with but I'm about to stick a diode laser on a PnP machine I built but shelved. I'll be doing that in the next few days, I could stick this thing on it while I'm converting it over if that's the type of testing you're looking for.
I use a custom carrier board for a Mesa 7i92. Not sure what other kind IO capabilities that thing has but I think the only suitable input I have is an "SmartSerial" port. That's a 2.5Mbaud RS422 port which is what people tend to use around here for stuff like this since Mesa cards are the king of the hill. I could also swap the RS422 transceiver for a dual RS422 receiver to make it a quadrature encoder input.
I use a custom carrier board for a Mesa 7i92. Not sure what other kind IO capabilities that thing has but I think the only suitable input I have is an "SmartSerial" port. That's a 2.5Mbaud RS422 port which is what people tend to use around here for stuff like this since Mesa cards are the king of the hill. I could also swap the RS422 transceiver for a dual RS422 receiver to make it a quadrature encoder input.
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
- prokopcio
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 27
- Thank you received: 18
01 Mar 2025 18:34 #322953
by prokopcio
Replied by prokopcio on topic Laser Head Height Sensor – Looking for a Beta Tester
hi blazini,
I also think that digital/serial transmission is a very good solution.
I have to think about it because the output that I have available in the sensor is an open drain output and it would require a simple converter but it is not a problem to add it. These are just a few basic elements to adapt to various interfaces such as RS485, RS422, RS232 or UART TTL.
I do not foresee standard protocols such as MODBUS etc. with bidirectional communication due to the too long time of exchanging transmission frames.
I do not want to use a high transmission speed so that the quality of the connectors and cables does not affect any possible distortions.
I want to transmit every 1ms only 4 bytes (start byte, 2 data bytes, crc) at a speed of 57600 but it is possible that I will change the assumptions.
Could you handle something like this?
If you have other ideas, they will be welcome
I also think that digital/serial transmission is a very good solution.
I have to think about it because the output that I have available in the sensor is an open drain output and it would require a simple converter but it is not a problem to add it. These are just a few basic elements to adapt to various interfaces such as RS485, RS422, RS232 or UART TTL.
I do not foresee standard protocols such as MODBUS etc. with bidirectional communication due to the too long time of exchanging transmission frames.
I do not want to use a high transmission speed so that the quality of the connectors and cables does not affect any possible distortions.
I want to transmit every 1ms only 4 bytes (start byte, 2 data bytes, crc) at a speed of 57600 but it is possible that I will change the assumptions.
Could you handle something like this?
If you have other ideas, they will be welcome
Please Log in or Create an account to join the conversation.
- prokopcio
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 27
- Thank you received: 18
01 Mar 2025 18:40 #322954
by prokopcio
higher frequencies mean faster response, which is very important for collisions.
Replied by prokopcio on topic Laser Head Height Sensor – Looking for a Beta Tester
in fact, anything below 20 kHz is a collision.
I suggest 20-70kHz (0-10mm) and 10kHz(or 0Hz) = collision
This is linuxcnc. We will not have collisions!
Maybe collisions are 5 kHz and our rule is: if < 10 kHz, report a collision
higher frequencies mean faster response, which is very important for collisions.
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
- rodw
-
- Offline
- Platinum Member
-
Less
More
- Posts: 11173
- Thank you received: 3720
01 Mar 2025 20:23 #322960
by rodw
Replied by rodw on topic Laser Head Height Sensor – Looking for a Beta Tester
Linuxcnc is not really designed for serial transmission in real time.
Yes, Mesa has its smart serial interface that it uses principally for its own daughter cards but its not well developed for third party devices. It would add additional development complexity. Plus it would limit the hardware platform that could be used with Linuxcnc.
Using frequency or a voltage is well understood and easy to decode and support on different hardware
With the emergence of Ethercat controlled laser cutting heads, its important to consider a wider audience and how it can be incorporated into an Ethercat machine.
Also I noted that on some laser cutting solutions the capacitive BCL-AMP is being superceded by amplifiers with a 0-10 volt signal
I think Proma needs to gives some thought on to how to keep their audience as broad as possible. I think that while using a frequency read by an encoder is quite simple and broadly available, 0-10 volt may open the device up to a broader audience but may not have the advantage of sensing collissions etc via specific frequencies. Using serial communications reduces the audience to Linuxcnc users using specific hardware. I think frequency sounds the most flexible now.
Finally a question about frequencies. How would you sense a void? eg say you wanted to find the material edge so the axes can be rotated around the Z axis to account for a skewed sheet? Or to sense the edge of a sheet when severing it to turn off the laser?
Yes, Mesa has its smart serial interface that it uses principally for its own daughter cards but its not well developed for third party devices. It would add additional development complexity. Plus it would limit the hardware platform that could be used with Linuxcnc.
Using frequency or a voltage is well understood and easy to decode and support on different hardware
With the emergence of Ethercat controlled laser cutting heads, its important to consider a wider audience and how it can be incorporated into an Ethercat machine.
Also I noted that on some laser cutting solutions the capacitive BCL-AMP is being superceded by amplifiers with a 0-10 volt signal
I think Proma needs to gives some thought on to how to keep their audience as broad as possible. I think that while using a frequency read by an encoder is quite simple and broadly available, 0-10 volt may open the device up to a broader audience but may not have the advantage of sensing collissions etc via specific frequencies. Using serial communications reduces the audience to Linuxcnc users using specific hardware. I think frequency sounds the most flexible now.
Finally a question about frequencies. How would you sense a void? eg say you wanted to find the material edge so the axes can be rotated around the Z axis to account for a skewed sheet? Or to sense the edge of a sheet when severing it to turn off the laser?
Please Log in or Create an account to join the conversation.
- prokopcio
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 27
- Thank you received: 18
01 Mar 2025 21:03 - 01 Mar 2025 21:06 #322961
by prokopcio
Replied by prokopcio on topic Laser Head Height Sensor – Looking for a Beta Tester
This is "only" a sensor that transmits the distance value to the CNC System. The CNC System must be able to use it.
If you have any ideas how i can help, I would be grateful for your advice.
At the moment I have accepted that the frequency will be the best solution.
so I implemented freq. scale
0-10mm -->> 20kHz - 70kHz (10kHz = colision )
( each of steps 0.05kHz = 0.01mm ).
It works exactly as it should.
of course is availabe analog output 0-10V and you can use the analog output or frequency (a square 50% duty signal and any voltage) depended what you need.
first test frequency output on my desk :
If you have any ideas how i can help, I would be grateful for your advice.
At the moment I have accepted that the frequency will be the best solution.
so I implemented freq. scale
0-10mm -->> 20kHz - 70kHz (10kHz = colision )
( each of steps 0.05kHz = 0.01mm ).
It works exactly as it should.
of course is availabe analog output 0-10V and you can use the analog output or frequency (a square 50% duty signal and any voltage) depended what you need.
first test frequency output on my desk :
Last edit: 01 Mar 2025 21:06 by prokopcio.
Please Log in or Create an account to join the conversation.
- prokopcio
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 27
- Thank you received: 18
01 Mar 2025 21:10 #322963
by prokopcio
I was looking some time ago for such sensors but I found only one that did not meet my requirements.
Replied by prokopcio on topic Laser Head Height Sensor – Looking for a Beta Tester
could you give an example / link ?Also I noted that on some laser cutting solutions the capacitive BCL-AMP is being superceded by amplifiers with a 0-10 volt signal?
I was looking some time ago for such sensors but I found only one that did not meet my requirements.
Please Log in or Create an account to join the conversation.
Moderators: snowgoer540
- Hardware & Machines
- CNC Machines
- Plasma & Laser
- Laser Head Height Sensor – Looking for a Beta Tester
Time to create page: 0.168 seconds