- Posts: 206
- Thank you received: 0
Float switch code
4 years 1 week ago #254996
by rajsekhar
Float switch code was created by rajsekhar
Hello friends, I am trying to build a oxyfuel cutting machine.
Now, unlike plasma machines using PlasmaC, I am trying to use sheetcam generated codes that gives complete custom control of Z axis. Also I have deceided using capacitive THC using thc components if linuxcnc.
But I am stuck with float switch. I will use 200mm range contact optical digital output sensor so that nozzle do not touch plates.
but how to enable that with sofware? what code i should use in Gcode file?
Now, unlike plasma machines using PlasmaC, I am trying to use sheetcam generated codes that gives complete custom control of Z axis. Also I have deceided using capacitive THC using thc components if linuxcnc.
But I am stuck with float switch. I will use 200mm range contact optical digital output sensor so that nozzle do not touch plates.
but how to enable that with sofware? what code i should use in Gcode file?
Please Log in to join the conversation.
4 years 1 week ago #255000
by rodw
Replied by rodw on topic Float switch code
Ypu can try a gcode approach using a touchoff.ngc file similar to this on from JT
gnipsel.com/shop/plasma/files/touchoff.ngc
gnipsel.com/shop/plasma/files/touchoff.ngc
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22012
- Thank you received: 4
4 years 1 week ago #255006
by tommylight
Replied by tommylight on topic Float switch code
Wha signal does the capacive sensor output?
Please Log in to join the conversation.
4 years 1 week ago #255008
by rajsekhar
Replied by rajsekhar on topic Float switch code
It is a digital output , NO+NC available.
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22012
- Thank you received: 4
4 years 1 week ago #255010
by tommylight
Replied by tommylight on topic Float switch code
Strange, should be analog.
How do you set the sense height? With a pot on it?
Does it have two separate outputs, one for over and the other for under the limit?
How do you set the sense height? With a pot on it?
Does it have two separate outputs, one for over and the other for under the limit?
Please Log in to join the conversation.
4 years 1 week ago #255011
by rajsekhar
Replied by rajsekhar on topic Float switch code
I mean float switch is digital output. Capacitive THC gives analog voltage output.
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22012
- Thank you received: 4
4 years 1 week ago #255012
by tommylight
Replied by tommylight on topic Float switch code
Is the voltage range usable with a THCAD?
So 5 to 10V? Or more ?
So 5 to 10V? Or more ?
Please Log in to join the conversation.
4 years 6 days ago #255013
by rajsekhar
Replied by rajsekhar on topic Float switch code
That I am not sure right now.
If it is beyond THCAD range i have plan to use voltage divider. I have THCAD 5 in my stock.
Will update as soon as i get the values.
If it is beyond THCAD range i have plan to use voltage divider. I have THCAD 5 in my stock.
Will update as soon as i get the values.
Please Log in to join the conversation.
4 years 6 days ago #255015
by rajsekhar
Replied by rajsekhar on topic Float switch code
I have never used subroutine before.
Request for practical guide how to use that.
subroutine in gcode file or a separate file??
Request for practical guide how to use that.
subroutine in gcode file or a separate file??
Please Log in to join the conversation.
4 years 6 days ago #255078
by rodw
Replied by rodw on topic Float switch code
The intent was the touchoff was called in our gcode when the cutting should start. You normally pass it some variables. Time to read up on gcode subroutines.
Please Log in to join the conversation.
Time to create page: 0.102 seconds
