classicladder will not load change signals

More
25 Jan 2017 06:35 #86597 by johnmc1
Good Day Todd,
Thanks for your reply,
I changed the pin name errors, but still have the problem with the custom hal file.
At present I am trying to copy and paste the text, printed in the terminal .
Regards john

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

More
25 Jan 2017 13:45 #86614 by Todd Zuercher
After you have what you want to copy showing in the terminal window, just highlight it with the mouse, then pres Ctrl+Shift+C to copy that to your clipboard memory.

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

More
26 Jan 2017 04:16 #86681 by johnmc1
Good Day Todd.

Thanks for the information on copying files,
Maybe I have enough information to for Chris and yourself to help solve the the problems.

Regards john

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

More
26 Jan 2017 05:04 #86683 by johnmc1
Good Day Chris,
Thanks for you reply and the smiling face.
With Todd and your help , to copy and paste the files.
May be I have attached enough files to help solve the problem.

File Attachment:

File Name: linuxcncdmesg.txt
File Size:54 KB

File Attachment:

File Name: linuxcncte...rror.txt
File Size:7 KB

File Attachment:

File Name: linuxcnc_d...1-25.txt
File Size:0 KB

File Attachment:

File Name: linuxcnc_p...1-25.txt
File Size:1 KB


linuxcnc terminal error,txt file
./custom.hal:33: Pin 'hm2_5i20.0.gpio.069.out' was already linked to signal 'Rear_Turret_Brake'
Is this error because hm2_5i20.0.gpio.069.out is used in the classicladder MAZAK3T.clp file

linuxcnc dmesg.txt file

[ 297.550097] classicladder_rt: module license 'LGPL' taints kernel.
[ 297.550099] Disabling lock debugging due to kernel taint

Regards john
Attachments:

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

More
26 Jan 2017 22:11 #86745 by andypugh
Yes, it looks like you are already using that output pin.

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

More
27 Jan 2017 04:02 - 27 Jan 2017 04:02 #86762 by Todd Zuercher
You have used that pin in your mazak303,hal file
connecting it to this signal in this line
net Rear_Turret_Brake hm2_5i20.0.gpio.069.out
Then you tried to connect it to a new similarly named signal in your custom hal file, that is a no go.
net rear_turret_brake        hm2_5i20.0.gpio.069.out       <=  classicladder.0.out-06
You can connect your ClassicLadder pin to the original signal in the main hal file by changing the line in your custom.hal file to this.
net Rear_Turret_Brake <=  classicladder.0.out-06
Don't forget to make similar changes to the other lines in your custom.hal file.
Last edit: 27 Jan 2017 04:02 by Todd Zuercher.

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

More
28 Jan 2017 11:57 #86832 by johnmc1
Good Day Todd

Many thanks for the information about connecting the classicladder pins in the custom hal file

(You can connect your ClassicLadder pin to the original signal in the main hal file by changing the line in your custom.hal file to this.
net Rear_Turret_Brake <= classicladder.0.out-06)

Linuxcnc will now config the mazak303 file ,for me a major step forward all smiles.
The classicladder tool change clp must have some error that I have yet to find.
Regards john

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

More
28 Jan 2017 11:59 #86833 by johnmc1
Good day Andy ,
Thanks for your reply.
Regards john

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

More
13 Sep 2017 10:36 #98917 by johnmc1
Good Day All,
Just a update on the classicladder tool change.
Life got in the way for a few months
First part was to upgrade the linuxcnc to the latest version.
Second part as pointed out by Andy, Chris and Todd that I was using the same signal more than once.
Many thanks for all the help.
Now both the front an rear turrets change tools :) :) :) .
Best Regards john

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

More
05 Sep 2018 09:13 #117086 by nicolemeow
If you want, then I can ask my friend who specializes in this. Write in pm

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

Time to create page: 0.091 seconds
Powered by Kunena Forum