ClassicLadder named input
- bkt
 - 
				
									Topic Author
											 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 1110
 - Thank you received: 113
 
			
	
						13 Jan 2022 18:17				#231689
		by bkt
	
	
		
			
	
			
			 		
													
	
				ClassicLadder named input was created by bkt			
			
				he because completely new on classicladder i run my example using some tutorial ... all good I connect in/out with EL1008/2008 ...
these my ladder-glue.hal file (only first row):
Question: is possible to use "pressulre-low" for example instead "I0"?? .... because I try with error .... seems not possible but I ask to classic ladder expert .....
Plus I have an annoing warning about error on period 0 of 50.000ns .... but I run all on rt-preempt system so no one use base period ... only servo period instead ... where become these warning? My ini file is without BASE_PERIOD .... need to used because classicladder? I can put it on 100.000 .... so system can be happy.
					these my ladder-glue.hal file (only first row):
# first load realtime portion of classicladder, and create a 1ms
loadrt classicladder_rt period=1000000
# hook functions to realtime thread
addf classicladder.0.refresh classicladder.thread 1
# create some I/O signals
# connect I/O signals to classicladder
net I0 => classicladder.0.in-00
net I1 => classicladder.0.in-01 ...... #30 in 20 out at leastQuestion: is possible to use "pressulre-low" for example instead "I0"?? .... because I try with error .... seems not possible but I ask to classic ladder expert .....
Plus I have an annoing warning about error on period 0 of 50.000ns .... but I run all on rt-preempt system so no one use base period ... only servo period instead ... where become these warning? My ini file is without BASE_PERIOD .... need to used because classicladder? I can put it on 100.000 .... so system can be happy.
Please Log in or Create an account to join the conversation.
- BigJohnT
 - 
				
											 - Offline
 - Administrator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 3990
 - Thank you received: 994
 
			
	
						13 Jan 2022 19:26				#231697
		by BigJohnT
	
	
		
			
	
	
			 		
													
	
				Replied by BigJohnT on topic ClassicLadder named input			
			
				The signal name can be almost anything unique.
This is a perfectly legal net line.
Always put the exact error in the message or if long attach as a text file.
JT
					This is a perfectly legal net line.
net pressure-low => classicladder.0.in-00Always put the exact error in the message or if long attach as a text file.
JT
		The following user(s) said Thank You: bkt 	
			Please Log in or Create an account to join the conversation.
- bkt
 - 
				
									Topic Author
											 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 1110
 - Thank you received: 113
 
			
	
						13 Jan 2022 19:52				#231703
		by bkt
	
	
		
			
	
			
			 		
													
	
				Replied by bkt on topic ClassicLadder named input			
			
				I means inside classic ladder in graphica ladder gui programming ( -| |- or -|\|- not able named "mary" instead %I0 ..... for example).
AZny how tomorrow try again and take a screenshot ....
					AZny how tomorrow try again and take a screenshot ....
Please Log in or Create an account to join the conversation.
- bkt
 - 
				
									Topic Author
											 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 1110
 - Thank you received: 113
 
			
	
						14 Jan 2022 09:37		 -  14 Jan 2022 09:41		#231740
		by bkt
	
	
		
			
				 
These appear when try to insert "in2" intead %I12 .... in my .hal file I write these that is perfectly legal obviusly
			
					
	
	
		
	
			 		
													
	
				Replied by bkt on topic ClassicLadder named input			
			These appear when try to insert "in2" intead %I12 .... in my .hal file I write these that is perfectly legal obviusly
net in2 <= lcec.0.1.din-2
net in3 <= lcec.0.1.din-3
net in4 <= lcec.0.1.din-4
net in5 <= lcec.0.1.din-5
net in6 <= lcec.0.1.din-6
net in7 <= lcec.0.1.din-7
net in2 => classicladder.0.in-12
net in3 => classicladder.0.in-13
net in4 => classicladder.0.in-14
net in5 => classicladder.0.in-15
net in6 => classicladder.0.in-16
net in7 => classicladder.0.in-17
 Attachments:
		Last edit: 14 Jan 2022 09:41  by bkt.			
			Please Log in or Create an account to join the conversation.
- BigJohnT
 - 
				
											 - Offline
 - Administrator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 3990
 - Thank you received: 994
 
			
	
						14 Jan 2022 23:18				#231816
		by BigJohnT
	
	
		
			
	
	
			 		
													
	
				Replied by BigJohnT on topic ClassicLadder named input			
			
				Check Display symbols and create your symbol names for each variable with the Symbols button.
JT
					JT
		The following user(s) said Thank You: bkt 	
			Please Log in or Create an account to join the conversation.
- bkt
 - 
				
									Topic Author
											 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 1110
 - Thank you received: 113
 
			
	
						17 Jan 2022 12:34				#232109
		by bkt
	
	
		
			
	
			
			 		
													
	
				Replied by bkt on topic ClassicLadder named input			
			
				On Dysplay Simbols can see name assigned from .hal file .... thanks ... but not possible assign a arbitrary name on new var .... so think is possible to assign only if not included in some manner on some .hal file .... or when total virgin program is created. Not try but seems to me is right .... you can confirm or not?
Maybe I misunderstood.
bkt
					Maybe I misunderstood.
bkt
Please Log in or Create an account to join the conversation.
- BigJohnT
 - 
				
											 - Offline
 - Administrator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 3990
 - Thank you received: 994
 
			
	
						24 Jan 2022 11:16				#232948
		by BigJohnT
	
	
		
			
	
	
			 		
													
	
				Replied by BigJohnT on topic ClassicLadder named input			
			
				Double click the Symbol Name in the Symbols names interface and change the Symbol Name there.
JT
					JT
		The following user(s) said Thank You: bkt 	
			Please Log in or Create an account to join the conversation.
		Time to create page: 0.200 seconds