Classicladder IO questions

More
17 Sep 2014 16:44 #51261 by Niko
Hello,
I am experimenting with classicladder and I have a few questions .
In which .hal file should I initiate CL?
In which .hal should I wire the CL io with mesa io ?
What is the correct syntax to wire CL io to mesa io ?

So far I have added this toi custom.hal
loadrt classicladder_rt

addf classicladder.0.refresh servo-thread 

loadusr classicladder custom.clp
And I tried linking them with this line
net %I0 classicladder.0.in-00 hm2_5i20.gpio.048.in
to which LinuxCNC replies with either "classicladder.0.in-00 doesn't exist" or "hm2_5i20.gpio.048.in doesn't exist" depending on which file I include it .

Please Log in or Create an account to join the conversation.

More
17 Sep 2014 17:31 #51262 by cncbasher
try
net io1 hm2_5i20.0.gpio.048.in => classicladder.0.in-00

Please Log in or Create an account to join the conversation.

More
17 Sep 2014 19:12 #51267 by Niko
Replied by Niko on topic Classicladder IO questions
Works like a charm . Thank you !

Please Log in or Create an account to join the conversation.

Time to create page: 0.121 seconds
Powered by Kunena Forum