Quantcast
Channel: CNCzone.com- Largest Forums for CNC Professional and Hobbyist alike!
Viewing all articles
Browse latest Browse all 72868

Okuma MC-4VB tool change variable for active tool

$
0
0
Hello,

I am working on a post for a Okuma MC-4VB vertical 50 taper mill. I started with a MPmaster post. I need it to have the following code before every tool change. How do I do this in the post.. X5 or X6 Mastercam...


Needs to look like this..

(prog)
...
N2 IF [VATOL EQ 10] N4 <---------------- I need the [VATOL EQ (the current tool nuber)] N4 --------------- to post before every tool change...
N3 T10 M6
N4 S---- M3
.......
........

In my MC-4Vb, VATOL is the system variable for active tool. Line N2 is a conditional that will jump to N4 if the tool 10 is already there, if not, it will proceed to N3 and change the tool

Thanks

Viewing all articles
Browse latest Browse all 72868

Trending Articles