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:

2018 Generic 5X post


gcode
 Share

Recommended Posts

I downloaded the 2018 post library this morning

Its a pretty good collect of posts

I checked out the 5X generic post.

I use a have dozen posts derived form the Generic 5X mill post, dating back to X2 and X3

I was wondering if it's time to start fresh and update some of the with a 2018 post

I was surprised see this in the comment section

 

Quote

# CNC 03/31/17  -  Beginning with Mastercam 2018, all post text edits MUST be made with the Control Definition Manager.
#                  Do NOT edit the post text manually.

 

At first glance, the post itself doesn't look much different from what I've been using for a decade

Link to comment
Share on other sites

I should note that  I've updated a dozen or more 5X, 4X, 2D lathe and C axis mill/turn posts to 2018 without a single issue.

I'm just wondering what the no manual edits note in the 5X generic post is all about

 

Link to comment
Share on other sites
7 minutes ago, gcode said:

I'm just wondering what the no manual edits note in the 5X generic post is all about

All it really is, the text that "used" to be the external text file(circa V9), moved into the post in the X transition.....it has now, as of 2018 become an XML entity and not just straight text...

So all of this...

 

[CTRL_MILL|XXXXXXXX HAAS 4X MILL]
[misc integers]
1. "Work Coords [0-1=G92, 2=G54's, 3=G52, 4=both]"//2
2. "Absolute/Incremental, top level [0=ABS, 1=INC]"
3. "Reference Return [0=G28, 1=G30]"
10. "Safe Home Move{0=no, 1=yes]"
[simple drill]
1. "Drill/Counterbore"
7. ""
8. ""
9. ""
10. ""
11. ""
[peck drill]
3. ""
7. "Peck"
8. ""
9. ""
10. ""
11. ""
[chip break]
3. ""
7. "Peck"
8. ""
9. ""
10. ""
11. ""
[tap]
3. ""
7. ""
8. ""
9. ""
10. ""
11. ""
[bore1]
1. "Bore #1 (feed-out)"
7. ""
8. ""
9. ""
10. ""
11. ""
[bore2]
1. "Bore #2 (stop spindle, rapid out)"
3. ""
7. ""
8. ""
9. ""
10. ""
11. ""
[misc1]
1. "Fine Bore (shift)"
7. ""
8. ""
9. ""
10. ""
[misc2]
1. "Rigid Tapping Cycle"
3. ""
7. ""
8. ""
9. ""
10. ""
11. ""
[drill cycle 9]
1. "Descending Peck Drill"
7. "Initial Peck"
8. "Descending Value"
9. "Final Peck"
10. ""
[drill cycle descriptions]
7. "Fine bore (shift)"
8. "Rigid Tapping Cycle"
9. "Descending Peck Drill Cycle"
[canned text]
1. "Stop"
2. "Ostop"
3. "Bld on"
4. "bLd off"
5. "M5"
6. "M6"
7. "M7"
8. "M8"
9. "M9"
10. "M10"
[CTRL_TEXT_END]

Has now become this

[CTRL_TEXT_XML_BEGIN]  # All post text edits must be made through Control Definition Manager
<?xml version="1.0"?>
<mp_xml_post_text>
	<control>
		<control_label>CTRL_MILL|XXXXXXXXX HAAS 4X MILL</control_label>
		<language>en-US</language>
		<misc_integers>
			<misc_1>
				<text>Work Coords [0-1=G92, 2=G54's, 3=G52, 4=both]</text>
				<value>2</value>
			</misc_1>
			<misc_2>
				<text>Absolute/Incremental, top level [0=ABS, 1=INC]</text>
			</misc_2>
			<misc_3>
				<text>Reference Return [0=G28, 1=G30]</text>
			</misc_3>
		</misc_integers>
		<simple_drill>
			<first_peck>
				<text>""</text>
			</first_peck>
			<subsequent_peck>
				<text>""</text>
			</subsequent_peck>
			<peck_clearance>
				<text>""</text>
			</peck_clearance>
			<retract_amount>
				<text>""</text>
			</retract_amount>
			<shift>
				<text>""</text>
			</shift>
		</simple_drill>
		<peck_drill>
			<dwell>
				<text>""</text>
			</dwell>
			<first_peck>
				<text>Peck</text>
			</first_peck>
			<subsequent_peck>
				<text>""</text>
			</subsequent_peck>
			<peck_clearance>
				<text>""</text>
			</peck_clearance>
			<retract_amount>
				<text>""</text>
			</retract_amount>
			<shift>
				<text>""</text>
			</shift>
		</peck_drill>
		<chip_break>
			<dwell>
				<text>""</text>
			</dwell>
			<first_peck>
				<text>Peck</text>
			</first_peck>
			<subsequent_peck>
				<text>""</text>
			</subsequent_peck>
			<peck_clearance>
				<text>""</text>
			</peck_clearance>
			<retract_amount>
				<text>""</text>
			</retract_amount>
			<shift>
				<text>""</text>
			</shift>
		</chip_break>
		<tap>
			<dwell>
				<text>""</text>
			</dwell>
			<first_peck>
				<text>""</text>
			</first_peck>
			<subsequent_peck>
				<text>""</text>
			</subsequent_peck>
			<peck_clearance>
				<text>""</text>
			</peck_clearance>
			<retract_amount>
				<text>""</text>
			</retract_amount>
			<shift>
				<text>""</text>
			</shift>
		</tap>
		<bore1>
			<description>
				<text>Bore #1 (feed-out)</text>
			</description>
			<first_peck>
				<text>""</text>
			</first_peck>
			<subsequent_peck>
				<text>""</text>
			</subsequent_peck>
			<peck_clearance>
				<text>""</text>
			</peck_clearance>
			<retract_amount>
				<text>""</text>
			</retract_amount>
			<shift>
				<text>""</text>
			</shift>
		</bore1>
		<bore2>
			<description>
				<text>Bore #2 (stop spindle, rapid out)</text>
			</description>
			<dwell>
				<text>""</text>
			</dwell>
			<first_peck>
				<text>""</text>
			</first_peck>
			<subsequent_peck>
				<text>""</text>
			</subsequent_peck>
			<peck_clearance>
				<text>""</text>
			</peck_clearance>
			<retract_amount>
				<text>""</text>
			</retract_amount>
			<shift>
				<text>""</text>
			</shift>
		</bore2>
		<misc1>
			<description>
				<text>Fine Bore (shift)</text>
			</description>
			<first_peck>
				<text>""</text>
			</first_peck>
			<subsequent_peck>
				<text>""</text>
			</subsequent_peck>
			<peck_clearance>
				<text>""</text>
			</peck_clearance>
			<retract_amount>
				<text>""</text>
			</retract_amount>
		</misc1>
		<misc2>
			<description>
				<text>Rigid Tapping Cycle</text>
			</description>
			<dwell>
				<text>""</text>
			</dwell>
			<first_peck>
				<text>""</text>
			</first_peck>
			<subsequent_peck>
				<text>""</text>
			</subsequent_peck>
			<peck_clearance>
				<text>""</text>
			</peck_clearance>
			<retract_amount>
				<text>""</text>
			</retract_amount>
			<shift>
				<text>""</text>
			</shift>
		</misc2>
		<drill_cycle_9>
			<description>
				<text>Descending Peck Drill</text>
			</description>
			<first_peck>
				<text>Initial Peck</text>
			</first_peck>
			<subsequent_peck>
				<text>Descending Value</text>
			</subsequent_peck>
			<peck_clearance>
				<text>Final Peck</text>
			</peck_clearance>
			<retract_amount>
				<text>""</text>
			</retract_amount>
		</drill_cycle_9>
		<drill_cycle_descriptions>
			<misc_drill_1>
				<text>Fine bore (shift)</text>
			</misc_drill_1>
			<misc_drill_2>
				<text>Rigid Tapping Cycle</text>
			</misc_drill_2>
			<custom_drill_9>
				<text>Descending Peck Drill Cycle</text>
			</custom_drill_9>
		</drill_cycle_descriptions>
		<canned_text>
			<canned_text_1>
				<text>Stop</text>
			</canned_text_1>
			<canned_text_2>
				<text>Ostop</text>
			</canned_text_2>
			<canned_text_3>
				<text>Bld on</text>
			</canned_text_3>
			<canned_text_4>
				<text>bLd off</text>
			</canned_text_4>
			<canned_text_5>
				<text>M5</text>
			</canned_text_5>
			<canned_text_6>
				<text>M6</text>
			</canned_text_6>
			<canned_text_7>
				<text>M7</text>
			</canned_text_7>
			<canned_text_8>
				<text>M8</text>
			</canned_text_8>
			<canned_text_9>
				<text>M9</text>
			</canned_text_9>
			<canned_text_10>
				<text>M10</text>
			</canned_text_10>
		</canned_text>
	</control>
</mp_xml_post_text>
[CTRL_TEXT_XML_END]

 

I have tried editing the XML and it does push back up into the control def, however, I don't know if there is some "unknown" reason not to do it this way, short of just muffing up the xml for the unknowing

Edited by Guest
Link to comment
Share on other sites
22 hours ago, JParis said:

 

I have tried editing the XML and it does push back up into the control def, however, I don't know if there is some "unknown" reason not to do it this way, short of just muffing up the xml for the unknowing

I am guessing it is because if you muck up the syntax, the control def can't read it and therefore it becomes harder to fix.

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