inhibit Machine turning on
- bevins
 - 
				
									Topic Author
											 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 1940
 - Thank you received: 338
 
			
	
						08 Jan 2017 01:14				#85440
		by bevins
	
	
		
			
	
			
			 		
													
	
				inhibit Machine turning on was created by bevins			
			
				How can I inhibit turning on the machine unless certain inputs are true?
I have certain inputs that need to be true to be able to turn on the machine re: safety ropes, thermo switches, air pressure.
These are important to the machine operation and should not be able to turn on the machine if they are tripped.
Should I just put them in the e-stop chain?
					I have certain inputs that need to be true to be able to turn on the machine re: safety ropes, thermo switches, air pressure.
These are important to the machine operation and should not be able to turn on the machine if they are tripped.
Should I just put them in the e-stop chain?
Please Log in or Create an account to join the conversation.
- tommylight
 - 
				
											 - Away
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 20860
 - Thank you received: 7113
 
			
	
						08 Jan 2017 01:23				#85442
		by tommylight
	
	
		
			
	
			
			 		
													
	
				Replied by tommylight on topic inhibit Machine turning on			
			
				I would wire that to separate inputs that would in turn halt motion and display an alarm. Search the forum, there are several threads that mention alarms and how to set them up, like drive fault alarm or similar.			
					Please Log in or Create an account to join the conversation.
- bevins
 - 
				
									Topic Author
											 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 1940
 - Thank you received: 338
 
			
	
						08 Jan 2017 01:28				#85443
		by bevins
	
	
		
			
				
OK, thanks. The machine has them all wired in parrallel through the e-stop with a latching pushbutton to start the machine and a stop button. Problem is you wont know what was tripped.
I'll try it your way Tommy. Thanks.
					
	
			
			 		
													
	
				Replied by bevins on topic inhibit Machine turning on			
			I would wire that to separate inputs that would in turn halt motion and display an alarm. Search the forum, there are several threads that mention alarms and how to set them up, like drive fault alarm or similar.
OK, thanks. The machine has them all wired in parrallel through the e-stop with a latching pushbutton to start the machine and a stop button. Problem is you wont know what was tripped.
I'll try it your way Tommy. Thanks.
Please Log in or Create an account to join the conversation.
- Jake
 - Offline
 - Elite Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 282
 - Thank you received: 10
 
			
	
						08 Jan 2017 03:35				#85446
		by Jake
	
	
		
			
	
			
			 		
													
	
				Replied by Jake on topic inhibit Machine turning on			
			
				For my air pressure input I have
You will have to change the PPMC portion to your hardware, and the in-not/in to match the state of your switch
This creates a "motion inhibit" which will prevent the machine from turning on
There is a way to
loadrt message names = air-alarm messages = "LOW AIR PRESSURE"
addf air-alarm servo-thread
I have not gotten the message to work correctly yet, but I have not spent much time on it. The motion inhibit does work. I would only have the things critical to safety in the safety chain. Unless air is critical to the safety chain I would just use it as the part of the motion inhibit.
					# Air Pressure Switch DI 28 
net air-alarm motion.enable ppmc.0.din.28.in-notThis creates a "motion inhibit" which will prevent the machine from turning on
There is a way to
loadrt message names = air-alarm messages = "LOW AIR PRESSURE"
addf air-alarm servo-thread
I have not gotten the message to work correctly yet, but I have not spent much time on it. The motion inhibit does work. I would only have the things critical to safety in the safety chain. Unless air is critical to the safety chain I would just use it as the part of the motion inhibit.
Please Log in or Create an account to join the conversation.
- Benb
 - 
				
											 - Offline
 - Elite Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 183
 - Thank you received: 60
 
			
	
						08 Jan 2017 04:03				#85450
		by Benb
	
	
		
			
	
	
			
			 		
													
	
				Replied by Benb on topic inhibit Machine turning on			
			
				As you have mentioned in your initial message it is good idea to wire your safety switches in series with the estop.
For annunciation and to facilitate troubleshooting wire the spare contact in the safety switches (low pressure, pulled safety rope,...) to the inputs of the mesa card and use HAL to connect the switches to your alarm on the screen.
Note: Make sure to use the field power from you mesa card to wire up the new contacts.
See attached diagram
					For annunciation and to facilitate troubleshooting wire the spare contact in the safety switches (low pressure, pulled safety rope,...) to the inputs of the mesa card and use HAL to connect the switches to your alarm on the screen.
Note: Make sure to use the field power from you mesa card to wire up the new contacts.
See attached diagram
Please Log in or Create an account to join the conversation.
- rodw
 - 
				
											 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 11472
 - Thank you received: 3848
 
			
	
						08 Jan 2017 06:42				#85459
		by rodw
	
	
		
			
	
			
			 		
													
	
				Replied by rodw on topic inhibit Machine turning on			
			
				Somewhere I saw an example of a HAL logic command that fed 4 inputs into the e-stop circuit. All all of the inputs had to be OK or an estop would trigger. I've done something similar with an or2 component to link an external e-stop and a torch crash sensor on my plasma build. eg. If the torch falls off its magnetic mount due to a crash, an e-stop will be triggered. LCNC sees this as an e-stop but of course the active signal can drill into the cause.			
					Please Log in or Create an account to join the conversation.
- bevins
 - 
				
									Topic Author
											 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 1940
 - Thank you received: 338
 
			
	
						08 Jan 2017 17:16				#85478
		by bevins
	
	
		
			
				
I think I would rather have external hardware logic than software logic for the e-stop.
					
	
			
			 		
													
	
				Replied by bevins on topic inhibit Machine turning on			
			Somewhere I saw an example of a HAL logic command that fed 4 inputs into the e-stop circuit. All all of the inputs had to be OK or an estop would trigger. I've done something similar with an or2 component to link an external e-stop and a torch crash sensor on my plasma build. eg. If the torch falls off its magnetic mount due to a crash, an e-stop will be triggered. LCNC sees this as an e-stop but of course the active signal can drill into the cause.
I think I would rather have external hardware logic than software logic for the e-stop.
Please Log in or Create an account to join the conversation.
- bevins
 - 
				
									Topic Author
											 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 1940
 - Thank you received: 338
 
			
	
						08 Jan 2017 17:17		 -  09 Jan 2017 12:39		#85479
		by bevins
	
	
		
			
	
	
	
			 		
													
	
				Replied by bevins on topic inhibit Machine turning on			
			
				So I came up with this.........
See attached wiring of the e-stop.
					See attached wiring of the e-stop.
		Last edit: 09 Jan 2017 12:39  by bevins.			
			Please Log in or Create an account to join the conversation.
- tommylight
 - 
				
											 - Away
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 20860
 - Thank you received: 7113
 
			
	
						08 Jan 2017 17:54				#85482
		by tommylight
	
	
		
			
	
			
			 		
													
	
				Replied by tommylight on topic inhibit Machine turning on			
			
				That looks O.K.
Does your e-stop cut power to servos, or just enable/disable them?
In case it disables the drives, your config is all good. In case it cuts the power, i would refrain from connecting anything to the e-stop loop, except the extreeme limit switches.
On bigger machines i use 2 limit switches on both sides of an axis, the inner ones wired to software limits and the outer ones wired to the e-stop loop that cuts the power to drives and almost anything else. That limits the usable work area, but it is very useful in case anything goes wrong.
					Does your e-stop cut power to servos, or just enable/disable them?
In case it disables the drives, your config is all good. In case it cuts the power, i would refrain from connecting anything to the e-stop loop, except the extreeme limit switches.
On bigger machines i use 2 limit switches on both sides of an axis, the inner ones wired to software limits and the outer ones wired to the e-stop loop that cuts the power to drives and almost anything else. That limits the usable work area, but it is very useful in case anything goes wrong.
Please Log in or Create an account to join the conversation.
- bevins
 - 
				
									Topic Author
											 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 1940
 - Thank you received: 338
 
			
	
						08 Jan 2017 17:57				#85483
		by bevins
	
	
		
			
				
The drives have two inputs, one for the limits and one for e-stop. I do not know what they do different in the two scenario's yet.
Will check that out later in the retrofit.
					
	
			
			 		
													
	
				Replied by bevins on topic inhibit Machine turning on			
			That looks O.K.
Does your e-stop cut power to servos, or just enable/disable them?
In case it disables the drives, your config is all good. In case it cuts the power, i would refrain from connecting anything to the e-stop loop, except the extreeme limit switches.
On bigger machines i use 2 limit switches on both sides of an axis, the inner ones wired to software limits and the outer ones wired to the e-stop loop that cuts the power to drives and almost anything else. That limits the usable work area, but it is very useful in case anything goes wrong.
The drives have two inputs, one for the limits and one for e-stop. I do not know what they do different in the two scenario's yet.
Will check that out later in the retrofit.
Please Log in or Create an account to join the conversation.
		Time to create page: 0.215 seconds