Turned Pattern x leg error

This section is for general discussion about Gadgets
Raney618
Posts: 17
Joined: Sat Apr 23, 2022 1:04 am
Model of CNC Machine: Workbee
Location: Smithton Illinois

Re: Turned Pattern x leg error

Post by Raney618 »

The pp that I am modifying produces a string of

G1A0.000
Move y
G1A360.000
Move y
G1A0.000
Move y
G1A360.000
Etc

So the rotary rotates back and forth and slowly moves down the object to round it into a cylinder.

Tomorrow I will send you the pp gcode and output.

Raney618
Posts: 17
Joined: Sat Apr 23, 2022 1:04 am
Model of CNC Machine: Workbee
Location: Smithton Illinois

Re: Turned Pattern x leg error

Post by Raney618 »

Hi Randall

The following pp is the one i have modified. The resulting Toolpath which i have not run yet is included also. Your cursory look would surely be appreciated.

Thanks

John
Attachments
ONZ2_Raney__wrap_X_on_Y_inches.pp
(2.43 KiB) Downloaded 81 times
Rounding Toolpath.pp
(516 Bytes) Downloaded 76 times

User avatar
Rcnewcomb
Vectric Archimage
Posts: 5886
Joined: Fri Nov 04, 2005 5:54 am
Model of CNC Machine: 24x36 GCnC/WinCNC with ATC
Location: San Jose, California, USA
Contact:

Re: Turned Pattern x leg error

Post by Rcnewcomb »

They look fine. I'm curious why your toolpath files have a .PP extension.
- Randall Newcomb
10 fingers in, 10 fingers out, another good day in the shop

Raney618
Posts: 17
Joined: Sat Apr 23, 2022 1:04 am
Model of CNC Machine: Workbee
Location: Smithton Illinois

Re: Turned Pattern x leg error

Post by Raney618 »

Hi Randall

I was using onz…. Post processor to modify. I took your suggestion and added a post_name and a rotary_wrap_x = “A”. It would not work. I looked and looked for the bug and found that taking out a P in a g1 x y z p f it all worked. It was like the blind leading the blind. I still have a rotation problem. I need to change the multiplication factor in a x variable. I have a 100:1 rotary drive so with 1.8 deg step, and 100:1. How must x be multiplied by what to equal 360 deg. I think that is the problem. I came up with 55. Do you have thoughts. I am going to try it out this afternoon.

Why *.pp, I found that placing a pp in the pp list requires a *.pp. I know that doesn’t make sense since there are other extensions in the list, but it works. Again, do you have any advice.

“Bootstrapping each leg of my pants” but fun.

Thanks for your guidance

John

User avatar
Rcnewcomb
Vectric Archimage
Posts: 5886
Joined: Fri Nov 04, 2005 5:54 am
Model of CNC Machine: 24x36 GCnC/WinCNC with ATC
Location: San Jose, California, USA
Contact:

Re: Turned Pattern x leg error

Post by Rcnewcomb »

Again, do you have any advice.
First let's get the basics of the machine figured out.

Checking Rotary Calibration
  • Put a piece of material in your rotary setup
  • Send the rotary axis to its home position with the command G1 A0
  • Put a pencil mark on the material
  • Tell the rotary axis to move one revolution with the command G1 A360
  • The pencil mark should be at the exact same location
  • Send the rotary axis back to its home position with the command G1 A0
  • Again, the pencil mark should be at the exact same location
  • Tell the rotary axis to move 100 revolutions with the command G1 A36000
  • The pencil mark should be at the exact same location
  • Send the rotary axis back to its home position with the command G1 A0
  • Again, the pencil mark should be at the exact same location
Let us know the results.
- Randall Newcomb
10 fingers in, 10 fingers out, another good day in the shop

Raney618
Posts: 17
Joined: Sat Apr 23, 2022 1:04 am
Model of CNC Machine: Workbee
Location: Smithton Illinois

Re: Turned Pattern x leg error

Post by Raney618 »

That is truly extensive, more than I had thought of. Will do, but grandkids come in tomorrow, so it may be a few days till i get some results. I will also have to make some adjustments along the way possibly. Possibly for sure.

John

Raney618
Posts: 17
Joined: Sat Apr 23, 2022 1:04 am
Model of CNC Machine: Workbee
Location: Smithton Illinois

Re: Turned Pattern x leg error

Post by Raney618 »

Since i don't have control hooked up to my cnc is there a way to use INTERFACE to send code pieces. If not i might have to write a gcode program to run pause run pause etc.

J

User avatar
Rcnewcomb
Vectric Archimage
Posts: 5886
Joined: Fri Nov 04, 2005 5:54 am
Model of CNC Machine: 24x36 GCnC/WinCNC with ATC
Location: San Jose, California, USA
Contact:

Re: Turned Pattern x leg error

Post by Rcnewcomb »

is there a way to use INTERFACE to send code pieces.
I have no idea how your machine operates so I cannot advise.
- Randall Newcomb
10 fingers in, 10 fingers out, another good day in the shop

Raney618
Posts: 17
Joined: Sat Apr 23, 2022 1:04 am
Model of CNC Machine: Workbee
Location: Smithton Illinois

Re: Turned Pattern x leg error

Post by Raney618 »

Hi Randall

I finally modified a Rotary post processor and got it to successfully run as expected.Expected is close but not an exact statement. The request to turn 360 degrees was only 68.108 deg. I tried to put a correcting multiplier in the VAR statement but that didn't work.
VAR |X|A|X|multiplier|. I think A is correct. You had indicated that I should run G0 A0 and G0 A360 and more. I only ran it once since it is so far off I wanted your advice on how to correct it.

Thanks for your help as always

John

User avatar
Rcnewcomb
Vectric Archimage
Posts: 5886
Joined: Fri Nov 04, 2005 5:54 am
Model of CNC Machine: 24x36 GCnC/WinCNC with ATC
Location: San Jose, California, USA
Contact:

Re: Turned Pattern x leg error

Post by Rcnewcomb »

The request to turn 360 degrees was only 68.108 deg.
This needs to be adjusted in your controller, not the post-processor. You may be able to find help on the OpenBuilds forum on adjusting the controller.

This might also be helpful...
- Randall Newcomb
10 fingers in, 10 fingers out, another good day in the shop

Post Reply