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:

Varaibles for Lathe Stock Transfer.


crazy^millman
 Share

Recommended Posts

Here is a picture of it: STOCK_TRANSFER.jpg

 

Here is what CNC thinks is worthy of pulling out of it from MPLFAN:

 

code:

pstck_trans$     #NCI code = 900 available variables:

#stck_spindle, stck_init_z, stck_final_z,

#stck_chuk_st_z, stck_chuk_st_x,

#stck_chuk_end_z, stck_chuk_end_x,

#stck_chuk_st_dz, stck_chuk_st_dx,

#stck_chuk_end_dz, stck_chuk_end_dx

if toolchng <> two, ptoolend$

toolend_flg = zero #Do not execute ptoolend again after xfer

[

!spaces$

spaces$ = zero

pbld, n$, "M00",e$

if prv_spaces$ > 0, " ",e$

if stck_spindle$ = 0, "(Xfer Part from Left Spindle)", e$

if stck_spindle$ = 1, "(Xfer Part from Right Spindle)", e$

spaces$ = prv_spaces$

]

Are any of the above code working? If so which ones and how do we activate them?

 

I am trying to adjust my Integrex Post so that once I have the number my posted code comes out right every time since all of the mi and mr are used up I can not go that method. I also see custom Parameters here. Are these the same that drilling ops used? If so can I use them the same way or do I need to do something different?

Link to comment
Share on other sites

Ron

code:

 OPS: PRM_LSTOCK_XFER

13205 Active spindle for stock transfer

13206 Z coordinate on stock to be transferred

13207 Previous Z coordinate on stock to be transferred

13208 Use stock BACK face as init Z position (True/False)

13209 Z coordinate on transferred stock

13210 Source chuck reference position before transfer

13211 Source chuck reference position before transfer

13212 Source chuck reference position after transfer

13213 Source chuck reference position after transfer

13214 Destination chuck reference position before transfer

13215 Destination chuck reference position before transfer

13216 Destination chuck pickoff position

13217 Destination chuck pickoff position

13218 Get final (Lathe) X coordinate from stock (True/False)

13219 Move Cplane origin to new stock position (True/False)

13220 Move Tplane origin to new stock position (True/False)

13221 Transfer geometry also (True/False)

13222 Level to store transferred geometry on

13223 Offset from source geometry level for transferred

geometry

13224 Use geolevel (as opposed entity level) (True/False)

13225 Blank original geometry (True/False)

13226 Entity with list of transferred entity IDs

13227 Entity with list of original entity IDs

OPS: OP_MISC Custom real / integer parameters

PARAMETER REFERENCE / Operation Parameters (10000s) • 277

OPS: PRM_LSTOCK_FLIP

13205 Active spindle for stock to flip

13206 Z coordinate on stock before flip

13207 Previous Z coordinate on stock

13209 Z coordinate on stock after flip

13210 Chuck reference position before flip

13211 Chuck reference position before flip

13212 Chuck reference position after flip

13213 Chuck reference position after flip

13219 Move Cplane origin to new stock position (True/False)

13220 Move Tplane origin to new stock position (True/False)

13221 Transfer geometry also during flip (True/False)

13222 Level to store transferred geometry on

13223 Offset from source geometry level for transferred

geometry

13224 Use geolevel [param: 13222] (as opposed entity level)

13225 Blank original geometry (True/False)

13226 Entity with list of transferred geometry entity IDs

13227 Entity with list of original geometry entity IDs

OPS: OP_MISC Custom real / integer parameters

278 • MASTERCAM X / Post Parameter Reference

OPS: PRM_LBARFEED

13205 Active spindle for stock to barfeed

13206 Z coordinate on stock before barfeed

13207 Previous Z coordinate on stock

13208 Get initial Z position from stock face (True/False)

13209 Z coordinate on stock after barfeed

13210 Chuck reference position before barfeed

13211 Chuck reference position before barfeed

13212 Chuck reference position after barfeed

13213 Chuck reference position after barfeed

13228 Use chuck positions (True/False)

13219 Move Cplane origin to new stock position (True/False)

13220 Move Tplane origin to new stock position (True/False)

13221 Transfer geometry also during barfeed (True/False)

13222 Level to store transferred geometry on

13223 Offset from source geometry level for xfer’d geometry

13224 Use geolevel [param: 13222](as opposed entity level)

13225 Blank original geometry (True/False)

13226 Entity with list of transferred entity id's

13227 Entity with list of original entity id's

13229 Operation type: 0= bar feed, 1 = bar feed with tool as

stop, 2 = bar pull

13230 Stock clearance for bar pull

13231 Grip length for bar pull

13232 Use plunge feed rate for approaching stock (True/

False)

OPS: OP_MISC Custom real / integer parameters

13233 Tool X position for stop, bar puller

PARAMETER REFERENCE / Operation Parameters (10000s) • 279

OPS: PRM_LCHUCK_CLAMP

13205 Active spindle for chuck

13229 Operation type: 0 = clamp, 1 = un-clamp, 2 = reposition

13210 Initial chuck reference position

13211 Initial chuck reference position

13212 Final chuck reference position

13213 Final chuck reference position

OPS: OP_MISC Custom real / integer parameters

280 • MASTERCAM X / Post Parameter Reference

OPS: PRM_LTAILSTOCK

13234 Operation: true = engage, false = retract

13235 Initial tailstock reference position

13236 Final tailstock reference position

13237 Is initial / final position based on stock position (True/

False)

13238 Is initial position based on tailstock minimum point

(True/False)

OPS: OP_MISC Custom real / integer parameters

PARAMETER REFERENCE / Operation Parameters (10000s) • 281

OPS: PRM_LSTEADYREST

13235 Initial steadyrest reference position (Z)

13236 Initial steadyrest reference position (Z)

OPS: OP_MISC Custom real / integer parameters

282 • MASTERCAM X / Post Parameter Reference


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...