What's new
What's new

Sequential serial numbers on a cylinder with 4th axis

D Smith

Plastic
Joined
May 7, 2005
Location
San Diego
I wish Gibbscam had this built in but it does not and I am in need. I've watched the tip of the day video and read from the Haas.com site but still need a little help modifying this example from Haas.com


I program from center of A axis and this example does not. I know I want .125 tall S/N on centered on the A axis and starting 5.125" in X. My stock is 1.75" dia. The tip of the day video explains the Macro variable 599 well enough that I can start at S/N 0001 OK but I'm having trouble with editing this example. Can someone point me in the right direction? I can change the R value to .875 for my stock but would I simply change the
X0.323 Y0. A0. (START POINT OF ENGRAVE);
to
X5.125 Y0. A0. (START POINT OF ENGRAVE);
and the J0.15 number height to my J.125? and my Z depth's to the R -.01 so I can use the center Height of A axis?
Any help would be greatly appreciated.

%
O01832 (CHANNEL ON 1.5 ROTARY PART);
(MOUNT ROTARY ON RIGHT SIDE OF TABLE);
(X ZERO IS FACE OF STOCK);
(Y ZERO IS ROTARY CL)(TOUCH OFF TOOLS ON TOP OF PART);
(STOCK IS 1.5 DIA);
(T11 = ENGRAVING TOOL);
(WRAP ENGRAVING AROUND CYLINDER, G107 G47);
T11 M06;
M11;
M03 S12000;
G57 G90 G00 G17 G40 G80;
X0.323 Y0. A0. (START POINT OF ENGRAVE);
G43 H11 Z0.1;
/ G107 A0. Y0. R0.75;
G187 P3 E0.002;
G47 P0 (ROTARY) X0.323 Y0.177 I45. J0.15 R0.05 Z-0.004 F30. E10.;
G00 Z0.1;
G187;
G107;
T11 M06;
M11;
M03 S12000;
G57 G90 G00 G17 G40 G80;
X0.323 Y0. A0. (START POINT OF ENGRAVE);
G43 H11 Z0.1;
/ G107 A0. Y0. R0.75;
G187 P3 E0.002;
G47 P1 (S/N ####) X0.79 Y-0.28 I45. J0.15 R0.05 Z-0.004 F30. E10.;
G00 Z2. M09;
G107;
G90 G00 A70.;
G53 G00 G90 Y0;
G187;
M30;
%
Here is where I found it.
Scroll down Engraving Around the Outside of a Rotary Part (G47, G107)
 

Metalsoul212

Plastic
Joined
Jun 26, 2022
G107 will simply remap one of your linear axies to a rotary axis.
G107 Y0 A0 R.875
Would make it so that a 1inch Y move would make your A axis turn the right amount of degrees to make exactly 1in on the .875 Radius cylinder.
Basically you use it exactly as you would if your cylinder is 'unrolled' into a flat plane.
The engravings start point is going to be G01 X5.125 Y0 Z0 A0
Assuming Y0 is your center of rotation.
A0 is the starting angle of the engraving.
And Z0 is the top of your stock.
The angle specified in your G47 line in this case is pretty important since A0 would engraving along the top of your cylinder and either A90. Or A270. Would wrap the text along the diameter.
 








 
Top