Create new Named Parameter

More
29 Nov 2019 18:58 #151517 by Vmax549
Replied by Vmax549 on topic Create new Named Parameter
Hi Andy it works perfectly now that I fugured out that PP does not understand anything but a float value . BUT Python does so I just had to move teh DATETIME over to puthon to use when creating teh engraving sequence to be used by PPs G47 sequential s/n engraving function.

ACtually I used their code and create a new Gcode G46 that has all teh attributes of their G47 except it only engraves teh DateTime. It uses a set of numbes that are predefined. The Height and wideth can be adjusted with G47/46 parameters.

On the part there is a pad machined to receive the Datetime and S/N.

When the pad is machined the prefixes are engraved from CAM

ManfDate:
S/N:

Then the gcode calls teh G46 and engraves teh Date time and then moved and calls the G47 and it engraves teh next S/N

ManfDate: 112920161805
S/N: 000123456

Just like teh big boys can do it.

It does not matter about teh time value as it is ONLY called one time in teh routine and teh resolution is down to minutes.

IF you try to put teh datetime into a Mcode it will always come out as a Float value with decimals. I tried that already.

The G46 method works perfectly. You could actually roll it all into the G47 function with switches .

ALSO teh PP routine only does X axis engraving. I also changed that to be able to do Y axis and I am going to take a look at Axis as well.

NOW if PP can add that routine it will be swell.

(;-) TP

Please Log in or Create an account to join the conversation.

More
29 Nov 2019 21:21 #151522 by Vmax549
Replied by Vmax549 on topic Create new Named Parameter
Hi Andy interesting how you did teh cylinder engraving . Haas has teh Cylindrical engraving function.

For having alpha letters I used this MacroB setup and borrow teh letters www.cncci.com/post/a-letter-engraving-custom-macro

The letters are also scalable .

(;-) TP

Please Log in or Create an account to join the conversation.

More
29 Nov 2019 21:24 #151523 by Vmax549
Replied by Vmax549 on topic Create new Named Parameter
Andy how do you get teh X/A toolpath to display that way. PP has an X/A but it does not have teh X/A toolpath that centers on X. The display is always off center and off scale to the X centerline.

I am assuming they did not setup a 4th axis toolpath display.

(;-) TP

Please Log in or Create an account to join the conversation.

More
02 Dec 2019 23:53 #151788 by andypugh
Replied by andypugh on topic Create new Named Parameter
I had to fiddle it a bit to get the display that good for the demo photo.

1) You need to set GEOMETRY = AXYZ in the [DISPLAY] section of the INI.
2) You need to be touched-off such that Z = 0 is on the axis of rotation.
Which might not be convenient for actual milling.

Please Log in or Create an account to join the conversation.

Moderators: cncbasher
Time to create page: 0.098 seconds
Powered by Kunena Forum