AlbertRaczynski
Plastic
- Joined
- Aug 14, 2007
- Location
- Gilberts, IL
Hello everyone,
I had a question that maybe some of you could help me answer. I know there is a way to do what I want to do, just have not yet had to do it, so I could use some help implementing this. What I am trying to do is setup multiple parts in my machine, say 4 parts. Each part will have its own work offset, ie G54 G55 G56 G57... etc. Rather than copy each operation and post it 4 times in my program (for each work offset this will be many lines of code, taking up more memory) I would like to do a subroutine call.
For instance:
1st operation uses tool 1 and comes down to face the part.
Rather than going to my next operation, and next tool, I would like to and the end of the first operation use a subroutine call, to jump to the beginning of the 1st operation and bumps the work offset to the next one (G55) and repeats the process until I tell it to break out of the 'loop' or subroutine. Upon which it will switch to the next tool and repeat the operation 4 times for each work offset.
Am I making myself clear enough? Could anyone offer me some advice on the actual syntax to implement this?
I had a question that maybe some of you could help me answer. I know there is a way to do what I want to do, just have not yet had to do it, so I could use some help implementing this. What I am trying to do is setup multiple parts in my machine, say 4 parts. Each part will have its own work offset, ie G54 G55 G56 G57... etc. Rather than copy each operation and post it 4 times in my program (for each work offset this will be many lines of code, taking up more memory) I would like to do a subroutine call.
For instance:
1st operation uses tool 1 and comes down to face the part.
Rather than going to my next operation, and next tool, I would like to and the end of the first operation use a subroutine call, to jump to the beginning of the 1st operation and bumps the work offset to the next one (G55) and repeats the process until I tell it to break out of the 'loop' or subroutine. Upon which it will switch to the next tool and repeat the operation 4 times for each work offset.
Am I making myself clear enough? Could anyone offer me some advice on the actual syntax to implement this?