Homemade, cheap, plasma CNC
- phillc54
 - 
				
											 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 5711
 - Thank you received: 2093
 
			
	
						21 Nov 2021 05:43				#227163
		by phillc54
	
	
		
			
				
The pin should exist even if laser offsets are not specified.
					
	
			
			 		
													
	
				Replied by phillc54 on topic Homemade, cheap, plasma CNC			
			You need to have laser offsets in your ini file for the pin to exist
The pin should exist even if laser offsets are not specified.
Please Log in or Create an account to join the conversation.
- rodw
 - 
				
											 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 11472
 - Thank you received: 3848
 
			
	
						21 Nov 2021 05:44				#227164
		by rodw
	
	
		
			
	
			
			 		
													
	
				Replied by rodw on topic Homemade, cheap, plasma CNC			
			
				from your ini file that means it goes in
custom_postgui.hal
 			
					custom_postgui.hal
Please Log in or Create an account to join the conversation.
- RNJFAB
 - Offline
 - Elite Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 244
 - Thank you received: 54
 
			
	
						21 Nov 2021 06:02				#227167
		by RNJFAB
	
	
		
			
	
			
			 		
													
	
				Replied by RNJFAB on topic Homemade, cheap, plasma CNC			
			
				Sorry for the stress this is causing gents.
Just to clarify.
I'm trying to run a button to turn on/off my laser pointer that rides on the Z axis. I would like to do this from one of the 20 custom buttons that can be set in my .ini file. I have called this 'LASER' and it links to 'toggle-halpin laser-switch'.
Right now i have in my .hal file
# ---PLASMA OUTPUTS---
# ---all modes---
#net plasmac:laser-switch <= qtplasmac.laser_on
# external output signals
# --- LASER ---
net plasmac:laser-switch => hm2_7i96.0.ssr.00.out-01
If i activate the '#net plasmac:laser-switch <= qtplasmac.laser_on' line i get and error saying "qtplasmac.laser_on does not exist".
If i # it out and put the same line in my custom_postgui.hal file i get the following error. "qtplasmac.laser_on was already linked"
Sorry to cause such headaches for what will undoubtedly be a simple line that i can't get right.
					Just to clarify.
I'm trying to run a button to turn on/off my laser pointer that rides on the Z axis. I would like to do this from one of the 20 custom buttons that can be set in my .ini file. I have called this 'LASER' and it links to 'toggle-halpin laser-switch'.
Right now i have in my .hal file
# ---PLASMA OUTPUTS---
# ---all modes---
#net plasmac:laser-switch <= qtplasmac.laser_on
# external output signals
# --- LASER ---
net plasmac:laser-switch => hm2_7i96.0.ssr.00.out-01
If i activate the '#net plasmac:laser-switch <= qtplasmac.laser_on' line i get and error saying "qtplasmac.laser_on does not exist".
If i # it out and put the same line in my custom_postgui.hal file i get the following error. "qtplasmac.laser_on was already linked"
Sorry to cause such headaches for what will undoubtedly be a simple line that i can't get right.
Please Log in or Create an account to join the conversation.
- phillc54
 - 
				
											 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 5711
 - Thank you received: 2093
 
			
	
						21 Nov 2021 06:11				#227168
		by phillc54
	
	
		
			
	
	
			 		
													
	
				Replied by phillc54 on topic Homemade, cheap, plasma CNC			
			
				If you want to do it from a custom user button then you can't use qtplasmac.laser_on because that pin is used by the laser function in QtPlasmaC, you would need to toggle the hm2_7i96.0.ssr.00.out-01 pin in the button code line in the ini file and also comment out the:
net plasmac:laser-switch => hm2_7i96.0.ssr.00.out-01
line in the hal file.
Why don't you want to use the built in laser function?
					net plasmac:laser-switch => hm2_7i96.0.ssr.00.out-01
line in the hal file.
Why don't you want to use the built in laser function?
		The following user(s) said Thank You: RNJFAB 	
			Please Log in or Create an account to join the conversation.
- rodw
 - 
				
											 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 11472
 - Thank you received: 3848
 
			
	
						21 Nov 2021 06:19		 -  21 Nov 2021 06:20		#227169
		by rodw
	
	
		
			
	
	
			 		
													
	
				Replied by rodw on topic Homemade, cheap, plasma CNC			
			
				Expected use is to use the laser button  at bottom right. I would try that first.
Then follow Phil's instructions if you want to use a button
					Then follow Phil's instructions if you want to use a button
		Last edit: 21 Nov 2021 06:20  by rodw.			
			Please Log in or Create an account to join the conversation.
- RNJFAB
 - Offline
 - Elite Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 244
 - Thank you received: 54
 
			
	
						21 Nov 2021 06:24				#227171
		by RNJFAB
	
	
		
			
	
			
			 		
													
	
				Replied by RNJFAB on topic Homemade, cheap, plasma CNC			
			
				Hey Phil,
No doubt in the future I will. For now I'm still getting my head around the basic running of things.
I still need to setup all the tools from sheetcam (i don't know if i can just import them, currently just creating each tool as i go), and then I'll need to change the PP in sheetcam so as not to add tool details, and then I'll try and workout how to do spotting.
I have read about all these things but I'm not at the same level as the rest of you, in fact i may very well still be in the basement trying to find the light.
Thank you for all the help. I'll continue to read.
					No doubt in the future I will. For now I'm still getting my head around the basic running of things.
I still need to setup all the tools from sheetcam (i don't know if i can just import them, currently just creating each tool as i go), and then I'll need to change the PP in sheetcam so as not to add tool details, and then I'll try and workout how to do spotting.
I have read about all these things but I'm not at the same level as the rest of you, in fact i may very well still be in the basement trying to find the light.
Thank you for all the help. I'll continue to read.
Please Log in or Create an account to join the conversation.
- rodw
 - 
				
											 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 11472
 - Thank you received: 3848
 
			
	
						21 Nov 2021 07:46				#227173
		by rodw
	
	
		
			
	
			
			 		
													
	
				Replied by rodw on topic Homemade, cheap, plasma CNC			
			
				That is super easy thanks to Phil. From Sheetcam, save your toolset (in windows or linuxcnc), get it on your lcnc machine and type [/code]
and follow your nose.
Ref: linuxcnc.org/docs/devel/html/plasma/qtpl...#_material_converter
There is a plasmac postprocessor on the windows version so use that. Move it to your linux machine too.
You may need to edit it to change a setting. If I get a chance, I'll email you the latest during the week.
AND don't worry about your skill set. We all knew nothing about Linuxcnc once!
					[code]qtplasmac-materialsand follow your nose.
Ref: linuxcnc.org/docs/devel/html/plasma/qtpl...#_material_converter
There is a plasmac postprocessor on the windows version so use that. Move it to your linux machine too.
You may need to edit it to change a setting. If I get a chance, I'll email you the latest during the week.
AND don't worry about your skill set. We all knew nothing about Linuxcnc once!
Please Log in or Create an account to join the conversation.
- phillc54
 - 
				
											 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 5711
 - Thank you received: 2093
 
			
	
						21 Nov 2021 08:05				#227174
		by phillc54
	
	
		
			
				
					
	
	
			 		
													
	
				Replied by phillc54 on topic Homemade, cheap, plasma CNC			
			+1AND don't worry about your skill set. We all knew nothing about Linuxcnc once!
		The following user(s) said Thank You: rodw 	
			Please Log in or Create an account to join the conversation.
- bevins
 - 
				
											 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 1940
 - Thank you received: 338
 
			
	
						21 Nov 2021 12:36				#227192
		by bevins
	
	
		
			
				
					
	
	
			 		
													
	
				Replied by bevins on topic Homemade, cheap, plasma CNC			
			That's not true. It is rumored that Tommy was born with the linuxcnc gene's.
[/code][code] week. AND don't worry about your skill set. We all knew nothing about Linuxcnc once!
		The following user(s) said Thank You: phillc54, tommylight, rodw 	
			Please Log in or Create an account to join the conversation.
- tommylight
 - 
				
											 - Online
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 20860
 - Thank you received: 7115
 
			
	
						21 Nov 2021 12:38		 -  21 Nov 2021 12:39		#227193
		by tommylight
	
	
		
			
				
Took some time to stop laughing !
			
					
	
	
			 		
													
	
				Replied by tommylight on topic Homemade, cheap, plasma CNC			
			
That's not true. It is rumored that Tommy was born with the linuxcnc gene's.
AND don't worry about your skill set. We all knew nothing about Linuxcnc once!
Took some time to stop laughing !
		Last edit: 21 Nov 2021 12:39  by tommylight.			
			Please Log in or Create an account to join the conversation.
		Time to create page: 0.106 seconds