Additional Inputs
- vre
 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 605
 - Thank you received: 17
 
			
	
						29 Dec 2024 01:06		 -  29 Dec 2024 04:09		#317581
		by vre
	
	
		
			
	
	
			 		
													
	
				Additional Inputs was created by vre			
			
				What solution exists for mill front panel button inputs? These are non critical real time inputs
for example extra inputs for front panel buttons like cycle start/stop/pause/ +- x+-y+-z+-a/flood/mist/tool clamp/spindle cw-ccw-stop.
Can i use parallel port for these or something
from usb port like arduino or rs232 or rs485 port?
					for example extra inputs for front panel buttons like cycle start/stop/pause/ +- x+-y+-z+-a/flood/mist/tool clamp/spindle cw-ccw-stop.
Can i use parallel port for these or something
from usb port like arduino or rs232 or rs485 port?
		Last edit: 29 Dec 2024 04:09  by vre.			
			Please Log in or Create an account to join the conversation.
- tommylight
 - 
				
											 - Away
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 20861
 - Thank you received: 7115
 
			
	
						04 Jan 2025 14:19				#318070
		by tommylight
	
	
		
			
	
			
			 		
													
	
				Replied by tommylight on topic Additional Inputs			
			
				Yes, parallel port works for that, normally it has only 5 inputs but it can be st to "input" mode giving you 13 inputs and 4 outputs.
There are also some Arduino projects around here, but i never used them.
					There are also some Arduino projects around here, but i never used them.
Please Log in or Create an account to join the conversation.
- vre
 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 605
 - Thank you received: 17
 
			
	
						06 Jan 2025 12:01				#318210
		by vre
	
	
		
			
	
			
			 		
													
	
				Replied by vre on topic Additional Inputs			
			
				How can i switch parallel to input mode?			
					Please Log in or Create an account to join the conversation.
- jmelson
 - Offline
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 512
 - Thank you received: 123
 
			
	
						06 Jan 2025 15:04				#318231
		by jmelson
	
	
		
			
	
			
			 		
													
	
				Replied by jmelson on topic Additional Inputs			
			
				You just specify input on the hal command line that instantiates the driver (hal_parport or rtapi_parport), and it will export the needed hal pins.
Jon
					Jon
Please Log in or Create an account to join the conversation.
- tommylight
 - 
				
											 - Away
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 20861
 - Thank you received: 7115
 
			
	
						06 Jan 2025 15:14				#318232
		by tommylight
	
	
		
			
				
to
loadrt hal_parport cfg="0x378 in"
					
	
			
			 		
													
	
				Replied by tommylight on topic Additional Inputs			
			loadrt hal_parport cfg="0x378 out"How can i switch parallel to input mode?
to
loadrt hal_parport cfg="0x378 in"
Please Log in or Create an account to join the conversation.
		Moderators: PCW, jmelson	
		Time to create page: 0.069 seconds