GmoccaPY first steps

More
9 years 7 months ago - 9 years 7 months ago #89555 by swalts
GmoccaPY first steps was created by swalts
All,

Background info:
I am an amateur user trying to mill a part on my PM 25-mv mill converted to cnc. I can run single tool (no tool changes) with no problem. The whole thing goes hay wire when I have to make a tool change. That is when I went internet searching for a better way than running divided or separate operations. I found GmoccaPY and installed and ran a single tool operation without software failure.
While trying to run multiple operations and change my end mills out during the transition from operation to operation. This causes some sort of offset and eventually leads to catastrophic failure (Ex. broken end mill, spindle diving into the material...).

The only thing I am trying to do is change my end mill and reset the height of the tool properly. Also have a nice cool looking interface. I have a touch off plate but don't know what to do with it (or how to wire it or tell gmoccapy that its there.)

After install of gmoccapy( cool looking interface), I noticed that I could not perform the function I am wanting to do. The forums mention setting up a HAL pin, running macros or sub-routines. The information seems to be geared toward computer wizards as far as instruction goes.

My questions:
1. What are HAL pins and do i need them to perform the tool offset measurement? If so, are there any layman term instructions out there for me to follow?
2. Is there a step-by-step instruction for setting up macros or sub-routines to command the mill to move to the measurement location?
3. Is there anything else that I am missing that prevents me from making this work? Aside from growing a new brain.
4. Last question. Any way to get the keyboard arrows to work again? That's an if your bored question.

Thank you for your time and patience.

Very Respectfully,
swalts
Last edit: 9 years 7 months ago by swalts. Reason: added last question

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

More
9 years 7 months ago - 9 years 7 months ago #89556 by newbynobi
Replied by newbynobi on topic GmoccaPY first steps
Hallo swalts,

First wellcome and thanks for your interest in gmoccapy.
You do not need a new brain, just fill it with some additional information:-)

Have you looked at the dokumentation? There are examples on how to set up a macro and also a very breve instruktion for tool change.

But IMHO you need to understand first what tooloffsets are and why you need G43 to use them.
Do you know abut that?

Norbert
Last edit: 9 years 7 months ago by newbynobi.

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

More
9 years 7 months ago #89557 by swalts
Replied by swalts on topic GmoccaPY first steps
After this reply I am going to learn G43 and how to use it properly. The documentation I have looked at so far does not make any sense to me. Do you know of any simplified version?

Thank you for your response. Will check back after my G43 training.

-swalts

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

More
9 years 7 months ago #89558 by swalts
Replied by swalts on topic GmoccaPY first steps
Found this information:

G43 G44 and G49 tool length compensation
G-Code G43, G44 and G49 (TOOL LENGTH COMPENSATION)
In an CNC Programming Tool length compensation Code is used to adjust for differences in length between different tools, without worrying about those differences in your part program.
This standard length is the Reference Tool. In general, you load the Reference Tool, jog the Z axis down until that tool touches some surface, and set the Z Reference position there. The control memorizes this position of its Z axis. You then load each other tool, bring that tool down until it touches the same surface, and tell the control to measure the tool. The control compares the Z axis position with this tool touching the surface to the previously stored Z Reference position. The difference in Z axis positions is stored as the length offset for the tool.

Clearly, to touch the same surface with a shorter tool, you have to move the Z axis down further. This results in a negative offset. The shorter the tool, the more the negative offset. To touch the same surface with a longer tool, you don't have to move the Z axis down as far. This results in a positive offset. The longer the tool, the larger (or less negative) the offset.

This seems pretty straight forward. Any idea on how to change that between operations? I assume this is where the touch plate comes in to play, but i do not have any electrical connection to it.

-swalts

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

More
9 years 7 months ago #89623 by newbynobi
Replied by newbynobi on topic GmoccaPY first steps
Hallo swalts,

The normal way to use tool offsets is to use a combination of

T2 M6
G43

But that will only work, if you have allready measured the tools and the offsets are included in your tool table.
If you want to measure the tool during a tool change (if you do not have a tool holder with a fix position), the way to do that is to use a remap procedure.

I need some more information about your machine to help you further.

Norbert

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

More
9 years 7 months ago #89629 by swalts
Replied by swalts on topic GmoccaPY first steps
Norbert,

What kind of info would you like.

I do not have a way to premeasure all of the tools as you mentioned before. This remap method seems to be the way I must do things.

Would you be willing to guide me further on this remap procedure. What do I need. Hardware wise, I have 3 axis on nema 23 motors with KB drivers and a C10 controller.

I made a tool touch off plate but do not know how to connect it yet. Any guidance ( within reason) I will take as per instructions.

Thank you for your time and patience.

Very respectfully
Swalts

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

Moderators: newbynobi, HansU
Time to create page: 0.184 seconds
Powered by Kunena Forum