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:

Misc Ints and Misc Reals Not Working


Recommended Posts

I'm working on a bar puller routine (lathe) and I want to use a misc real.  For some reason though they're not working.  I set a test pattern:

 

miscrealtest_zpsfi4197rq.png

 

Checked it with this code:

 


 *mi1$, e$
 *mi2$, e$
 *mi3$, e$
 *mi4$, e$
 *mi5$, e$
 *mi6$, e$
 *mi7$, e$
 *mi8$, e$
 *mi9$, e$
 *mi10$, e$
 *mr1$, e$
 *mr2$, e$
 *mr3$, e$
 *mr4$, e$
 *mr5$, e$
 *mr6$, e$
 *mr7$, e$
 *mr8$, e$
 *mr9$, e$
 *mr10$, e$
 
and got this:
 

 

 

mi1$ 2.

mi2$ 0.
mi3$ 0.
mi4$ 0.
mi5$ 0.
mi6$ 0.
mi7$ 0.
mi8$ 0.
mi9$ 0.
mi10$ 0.
mr1$ 0.
mr2$ 0.
mr3$ 0.
mr4$ 0.
mr5$ 0.
mr6$ 0.
mr7$ 0.
mr8$ 0.
mr9$ 0.
mr10$ 0.

 

 

I do know that this post is using buffers.  Is that killing my miscs?

 

Thanks

 

  • Like 1
Link to comment
Share on other sites

Matthew,

      I have done something similar to what you are trying to accomplish.  The custom integers and reals are defined as:

miscops_mi1$

            |

miscops_mi10$

 

and

 

miscops_mr1$

            |

miscops_mr10$

 

 

I primarily use this for setting stock pulls, whether to return the sub spindle or turn between spindles.  Try using these and you will get the results you're looking for.

  • Like 2
Link to comment
Share on other sites

Matthew,

      I have done something similar to what you are trying to accomplish.  The custom integers and reals are defined as:

miscops_mi1$

            |

miscops_mi10$

 

and

 

miscops_mr1$

            |

miscops_mr10$

 

 

I primarily use this for setting stock pulls, whether to return the sub spindle or turn between spindles.  Try using these and you will get the results you're looking for.

 

Bingo. There are a separate set of variables for the Lathe Misc Ops vs. regular MI/MR values.

  • Like 1
Link to comment
Share on other sites

If you use post text to set like I do:

 

[stock transfer custom parameters]
1. "Cutoff/transfer=0, Transfer=1"
2. "Use Torque Skip?"
3. "SYNC speed=0, phase=1
11. "Sub Spindle Rapid Position"
12. "Feed Position"
13. "Tool Initial Position"
[stock advance custom parameters]
1. "Retract sub=0, Turn between=1"

 

1-10 values are integers, 11-20 values are reals

Note that miscops_mi1$ has two different descriptions.  This way you always have 20 registers for each of the custom parameter types.

  • Like 1
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...