Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

Quick question about start block


Recommended Posts

So I found a thread about probing and was able to test it out today in our own machine.

I used the following to prevent spindle rotation call and would like to add tool 30. It is a cleaning tool and the machine doesn't want to have an m3 or m5 when the spindle air starts

Can I simply add a third one for tool 30? Or would that be sloppy.

In the t32 start block i put a flag with the probe on macro so the retract would output the probe off macro if tool 32 was in the spindle so i can't really use the tool 32 start block

 

Here is my basic format

if t$ = 32,

[

output your start block with no speed call

Probe on macro , probe on flag

]

else,

[

output your start block with speed

]

 

in the retract block if the probe on flag is on the probe off macro is output using the if, else argument

Link to comment
Share on other sites

Might think about adding a condition statement to the process to help the post do some problem solving if certain things need or not need to happen, but as long as the condition statements have the right logic in them to solve the equation in them then you are good to go.

Need to remember the drilling cycles have stuff going on with MP.dll that takes their process logic and does thing differently than other toolpath types. With them turning on and off stuff must be done a little different than just checking the drillcyc$ is being used. I have found you must use a separate condition to help things along like a mi or mr trigger. Tells me it is all broken and nothing is working like it should, but as long as you know what to look out for then you can solve the problem that really shouldn't be there.

Link to comment
Share on other sites
1 hour ago, C^Millman said:

Might think about adding a condition statement to the process to help the post do some problem solving if certain things need or not need to happen, but as long as the condition statements have the right logic in them to solve the equation in them then you are good to go.

Need to remember the drilling cycles have stuff going on with MP.dll that takes their process logic and does thing differently than other toolpath types. With them turning on and off stuff must be done a little different than just checking the drillcyc$ is being used. I have found you must use a separate condition to help things along like a mi or mr trigger. Tells me it is all broken and nothing is working like it should, but as long as you know what to look out for then you can solve the problem that really should be there.

I agree, there should be more conditions met than just the tool number.  I like to name my probe and other special tools, and have the post 'read' the names.  Then apply special conditions to each special tool.

As above, the output is for T30, regardless of the actual tool at that position.

Link to comment
Share on other sites

I'll have to read up on how to do that. If I can find it I'll add it in

This machine, these tools aren't removed the probe has an anti rotation lock in the pocket. And tool 31 is the dynavision calibration standard. So we never touch them

Its only me and another guy. And only his one machine has this hsk spindle.

Link to comment
Share on other sites

if t$ = 11 | t$ = 30 | | t$ = 31 | t$ = 32,

       [ #Do something

       ]

else,

     [

      M03, Sxxxx, ect.

     ]

 

You can use the "Pipe" character ( | ) as the "Or" Boolean Statement. Just be sure to use the full variable name in each comparison. That would check for 11, 30, 31, and 32.

  • Like 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...