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:

X2 MR2 Coolant


Post dept
 Share

Recommended Posts

There have been some parameter changes made in X2 MR2 that will disable mpmaster based posts from correctly outputting the coolant values. This applies to X style coolant ONLY. If you are using the version 9 style coolant (“Support coolant using coolant value in post-processor” selected in the general machine parameter’s coolant commands tab), you will not need to make these changes! Currently the only solution available is a manual edit made to the post to change the values.

 

The marked lines need to be deleted and the parameter table definition needs to be edited.

 

 

code:

# --------------------------------------------------------------------------

# Parameter lookup tables - You must adjust the size value if you add any parameters to these tables!

# --------------------------------------------------------------------------

# Machine Definition Parameters

fprmtbl 1 45 <--- (Change to 25 (deleted 20 entities from the table)) #Table Number, Size

# Param Variable to load value into

17004 allinax #Apply feedrates limits to all linear axes

17005 alrotax #Apply feedrates limits to all rotary axes

17006 alinvax #Apply inverse feedrate limits to all axes

17008 spostname #Post Processor Filename

17038 minfeedpm #Limit for feed in inch/min

17039 maxfeedpm #Limit for feed in inch/min

17042 maxfrinv #Maximum feedrate - inverse time - inch –

17043 minfrinv #Minimum feedrate - inverse time - inch –

17044 minfrdeg #Maximum feedrate deg/min

17045 maxfrdeg #Maximum feedrate deg/min

17046 minfeedpm_m #Limit for feed in mm/min

17047 maxfeedpm_m #Limit for feed in mm/min

17050 maxfrinv_m #Maximum feedrate - inverse time - metric –

17051 minfrinv_m #Minimum feedrate - inverse time - metric –

17080 scool50 #Coolant 1 On **DELETE**

17090 scool51 #Coolant 1 Off **DELETE**

17081 scool52 #Coolant 2 On **DELETE**

17091 scool53 #Coolant 2 Off **DELETE**

17082 scool54 #Coolant 3 On **DELETE**

17092 scool55 #Coolant 3 Off **DELETE**

17083 scool56 #Coolant 4 On **DELETE**

17093 scool57 #Coolant 4 Off **DELETE**

17084 scool58 #Coolant 5 On **DELETE**

17094 scool59 #Coolant 5 Off **DELETE**

17085 scool60 #Coolant 6 On **DELETE**

17095 scool61 #Coolant 6 Off **DELETE**

17086 scool62 #Coolant 7 On **DELETE**

17096 scool63 #Coolant 7 Off **DELETE**

17087 scool64 #Coolant 8 On **DELETE**

17097 scool65 #Coolant 8 Off **DELETE**

17088 scool66 #Coolant 9 On **DELETE**

17098 scool67 #Coolant 9 Off **DELETE**

17089 scool68 #Coolant 10 On **DELETE**

17099 scool69 #Coolant 10 Off **DELETE**

17101 all_cool_off #First coolant off command shuts off ALL coolant options

17102 v9_coolant #Use V9 coolant option

17406 lim_lo #Lower rotary axis limit

17407 lim_hi #Upper rotary axis limit

17391 axis_label #Axis label - 1=X,2=Y,3=Z

17397 srot_label #Rotary Axis label (Generally A, B or C) - Not yet available.

17401 rot_zero #Rotary zero degree position

17402 rot_dir #Rotary direction

17408 rot_index #Index or continuous

17409 rot_angle #Index step

17410 rot_type #Rotary type

The final change that will need to be made is importing all the values from your general machine parameters into your post. So the look up table will now need to be filled in. The values assigned should be the same as those found in the machine definition. An example of how the look up table should look is shown below.

 

If you had the following table in your machine def:

 

code:

Coolant Style       On          Off

Flood M08 M09

Mist M07 M09

Thru-tool M50 M51

Custom Option 1 On Off

Custom Option 2 On Off

Etc, etc

Your look up table would look like this:

code:

# --------------------------------------------------------------------------

# Coolant output code selection for X style coolant

# Note: To enable X style coolant, click on the General Machine Parameters icon

# in the Machine Definition Manager, Coolant tab, disable first check box

# Output of X style coolant commands in this post is controlled by pcan, pcan1, & pcan2

# This string select is setup using the "Coolant Commands" tab in the "General Machine Parameters"

scool50 M08 #Coolant 1 on value

scool51 M09 #Coolant 1 off value

scool52 M07 #Coolant 2 on value

scool53 M09 #Coolant 2 off value

scool54 M50 #Coolant 3 on value

scool55 M51 #Coolant 3 off value

scool56 M08 #Coolant 4 on value

scool57 M09 #Coolant 4 off value

scool58 M08 #Coolant 5 on value

scool59 M09 #Coolant 5 off value

scool60 M08 #Coolant 6 on value

scool61 M09 #Coolant 6 off value

scool62 M08 #Coolant 7 on value

scool63 M09 #Coolant 7 off value

scool64 M08 #Coolant 8 on value

scool65 M09 #Coolant 8 off value

scool66 M08 #Coolant 9 on value

scool67 M09 #Coolant 9 off value

scool68 M08 #Coolant 10 on value

scool69 M09 #Coolant 10 off value

scoolantx #Target for string

 

fstrsel scool50 coolantx scoolantx 20 -1

If you continue to have issues, please contact your reseller and they should be able to help you out with this process.

 

[ 09-25-2007, 02:23 PM: Message edited by: Chris McIntosh ]

Link to comment
Share on other sites

I neglected to mention in my previous post that any users with encrypted or "binned" post that cannot find the above parameter table will not be able to modify their post sufficiently to resolve this issue. In these cases the post will have to be changed at the source and you will have to contact your local reseller.

 

Chris

Link to comment
Share on other sites

It appears as though the "First coolant off shuts off all coolant options" command has also changed and will also require editing within the post. Similar to the changes above, the line:

 

17101 all_cool_off #First coolant off command shuts off ALL coolant options

 

will also need to be removed and the parameter table definition needs to have the entity count lowered by 1 (25 to 24).

 

If you use this feature, you will need to set the

all_cool_off variable to 1 where it is defined near the top of the post:

 

all_cool_off : 1 #First coolant off command shuts off ALL coolant options

 

Chris

Link to comment
Share on other sites
Guest CNC Apps Guy 1

quote:

...problem is that you can't default your operations with V9 style coolant...

True, but I default my coolant by tool NOT Operation and use "Use Tool's Step, Peck and Coolant".

Link to comment
Share on other sites

Since we updated to MR2 last week all of our lathe posts will not output a coolant call.

Has anyone else had this problem with the Lathe?

Does anyone have suggestions please.

It seems everyone is having trouble with the mill coolant. Ours is working fine on the mill. Very strange.

 

Any help would be great. Thanks

Link to comment
Share on other sites

It appears the mplmaster based posts are suffering from the same variable issues as the mill post. As a result there are some changes need to correct this.

 

First, comment out the bottom two lines and change the table size:

code:

 fprmtbl 17000   5   #Table Number, Size - Machine Definition parameter table

17391 axis_label #Axis label - 1=X,2=Y,3=Z

17402 rot_dir #Rotary direction

17408 rot_index #Index or continuous

17409 rot_angle #Index step

17410 rot_type #Rotary type

#17101 all_cool_off #First coolant off command shuts off ALL coolant options

#17102 v9_coolant #Use V9 coolant option

At the top of the post the v9_coolant and all_cool_off variables should be set if needed. v9_coolant if you would like to use version 9 coolant and the all_cool_off if the first coolant off command turns off all the coolant.

 

A revised version of the post will be available for download shortly.

 

Chris

Link to comment
Share on other sites
  • 3 weeks later...

Not to hijack the In-House thread here but I thought this was pertinent to the subject.

 

There has been a held thought that with MR2 you could not default coolant to "ON" any longer using the OP defaults. I found out this is not completly accurate.

 

Thanks to Paul Decelles @ CNC for this.

 

1. Make a back up of your mill_inch.defaults file

 

2. Rename your mill_inch.defaults to mill_inch.mcx

 

3. Open the mill_inch.mcx in Mastercam

 

4. Go in to the Machine Group properties >> edit the machine definition >> general parameters >> coolant tab >>and set it to support coolant using coolant value in post processor.

 

5. While your there you can go into the defaults and set them to coolant "ON"

 

6. Close the file

 

7. rename the mill_inch.mcx back to mill_inch defaults.

 

***** NOTE******

I found the system did create a "small" 5k mill_inch defaults files in the originals place. This one will have to be removed before the renaming back to mill_inch.defaults can take place.

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