7i96 SSR output invert
- blazini36
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 972
- Thank you received: 167
			
	
						01 May 2018 02:00				#109882
		by blazini36
	
	
		
			
	
			
			 		
													
	
				7i96 SSR output invert was created by blazini36			
			
				Working on my other machine today, I'm editing the HAL file that was originally used for a 7i76e. I had 2 outputs inverted because of the way a custom component was written. I don't see any parameters in the 7i96 for inverting the SSR outputs. Is it possible?			
					Please Log in or Create an account to join the conversation.
- PCW
- 
				  
- Away
- Moderator
- 
				  
		Less
		More
		
			
	
		- Posts: 17366
- Thank you received: 5062
			
	
						01 May 2018 14:08				#109906
		by PCW
	
	
		
			
	
	
			 		
													
	
				Replied by PCW on topic 7i96 SSR output invert			
			
				There's no built-in way to invert the 7I96 SSR outputs, but you can
use the "not" component:
loadrt not count=2
addf not.0 servo-thread
addf not.1 servo-thread
net ssr2out not.0.out hm2_7i96.0.ssr.00.out-02
net ssr5out not.1.out hm2_7i96.0.ssr.00.out-05
net ssr2in not.0.in whateverdrivesSSR2
net ssr5in not.1.in whateverdrivesSSR5
					use the "not" component:
loadrt not count=2
addf not.0 servo-thread
addf not.1 servo-thread
net ssr2out not.0.out hm2_7i96.0.ssr.00.out-02
net ssr5out not.1.out hm2_7i96.0.ssr.00.out-05
net ssr2in not.0.in whateverdrivesSSR2
net ssr5in not.1.in whateverdrivesSSR5
		The following user(s) said Thank You: nkp, rdtsc 	
			Please Log in or Create an account to join the conversation.
		Moderators: PCW, jmelson	
		Time to create page: 0.115 seconds	
