Emco PC turn 55 upgrade..

More
9 years 7 months ago #90256 by turbo
Replied by turbo on topic Emco PC turn 55 upgrade..
I commented out the manual change section in my hal file and added the connections to classic ladder. I was expecting to get some movement at this point when I call a tool in mdi, but it appears that my tool_change signal doesn't turn true. I haven't figured out how to watch anything without being in setup. I think maybe it would be easier if I wasn't using a 1024x768 monitor. Is there any need to put this stuff in the custom hal file as apposed to the main hal? I'll attach my hal. The classicladder connections are at the very bottom. I'll have to try to figure out how to screenshot my ladder program.

It looks like each "rung" is 6 lines, so I've got more than one output per rung. Is that going to cause problems?

File Attachment:

File Name: PCT55_2017-03-25.hal
File Size:11.54 KB

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

More
9 years 7 months ago #90257 by turbo
Replied by turbo on topic Emco PC turn 55 upgrade..
Ok I capitalized some of it, which got rid of some of the problems.

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

More
9 years 7 months ago #90258 by turbo
Replied by turbo on topic Emco PC turn 55 upgrade..
This is the latest. When I try to change tools in mdi the buttons all get disabled except for the coolant bottons and the power button. If I click on the coolant buttons then linuxcnc freezes. I click the power button and then exit but I have to restart linuxcnc before it lets me do anything again.

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

More
9 years 7 months ago #90260 by turbo
Replied by turbo on topic Emco PC turn 55 upgrade..
I may have figured it out. added "setp iocontontrol.0.tool-prepared 1".

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

More
9 years 7 months ago #90263 by andypugh
Replied by andypugh on topic Emco PC turn 55 upgrade..
There is meant to be a handshake where
iocontrol.0.tool-prepare goes TRUE, stuff happens, then the stuff sets iocontrol.0.tool-prepared TRUE

You can make it happen immediately:
net prep-loop iocontrol.0.tool-prepare goes => iocontrol.0.tool-prepared

The same is true for iocontrol.0.tool-change and ...tool-changed. That often goes through hal_manualtoolchange.

For a lathe you might want to change immediately on the T command, and not have to issue M6 and G43.

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

More
9 years 7 months ago #90270 by turbo
Replied by turbo on topic Emco PC turn 55 upgrade..
I'd like to be able to use the Tormach post without changing it to M6 G43 by hand, or learning how to edit my post.

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

Time to create page: 0.074 seconds
Powered by Kunena Forum