|
Manufacturing Information Solutions Your Place for Support and Discussions
|
View previous topic :: View next topic |
Author |
Message |
John_B Frequent Poster
Joined: 03 Jul 2004 Posts: 56 Location: Milwaukee, WI USA
|
Posted: Thu Nov 03, 2005 11:50 am Post subject: G65 local variables help |
|
|
Hi guys,
I was hoping some of you season vets would be able to help me with variables.
Here's my dilema:
My company bought Gibbscam in hopes to prototype our parts faster rather than hand writting the codes. Gibbscam is outputting one file with a master and sub together. When our customize loader program runs that file, it would alarm out because the T,H,D would not match with the subs. I read there was a way to use G65 to pass the T,H,D into the sub. Can anyone give me an example using this command? |
|
Back to top |
|
|
franke Master Poster
Joined: 26 Jun 2004 Posts: 161 Location: Indiana, USA
|
Posted: Thu Nov 03, 2005 11:53 am Post subject: |
|
|
If you don't want subs, you can click off the "Prefer subs" box in either the pocketing or pofiling operation box on Gibbs.
I would suggest that if Gibbs is not posting output that matches your requirements, you ask to get the post changed.
Gibbs is a great CAM package, and fantastic for producing correct code in a very short period of time.
Also:
The variables are passed to the sub by letters that associate with numbers. For instance, A=variable #1, H=variable #11, D=variable #7, etc.
The code might look like this:
call statement...
G65 P1 D12 H3 Z-2.0
Code: | sub O1....
O1
G0G90
X5.0Y3.0
G43Z#26H#11
G41X5.0Y3.0D#7
etc, etc
M99 |
The variables are loaded with the approriate values at the time of the call and transferred to the sub. Check your manuals for the complete list of variable associations.
Hope that helps |
|
Back to top |
|
|
John_B Frequent Poster
Joined: 03 Jul 2004 Posts: 56 Location: Milwaukee, WI USA
|
Posted: Thu Nov 03, 2005 1:10 pm Post subject: |
|
|
Thanks, that helped me understand it. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|