Qvar Problem

If you have a question about the software please ask it here.

Re: Qvar Problem

Postby cncdrive » Wed Sep 04, 2019 5:28 am

Yes, there is no position 3600 if the rotary axis is enabled with rollover, 3600 is the same position as 360 for the control, because the position range then is 0-360 only, that is what the rollover does.
cncdrive
Site Admin
 
Posts: 4926
Joined: Tue Aug 12, 2014 11:17 pm

Re: Qvar Problem

Postby cncdrive » Wed Sep 04, 2019 5:31 am

And one more thing is that this is the same way as how rotary rollover works in mach3, if that makes any sense. :)
cncdrive
Site Admin
 
Posts: 4926
Joined: Tue Aug 12, 2014 11:17 pm

Re: Qvar Problem

Postby cncdrive » Wed Sep 04, 2019 5:44 am

To let you see why it makes no sense let me ask how should the A axis move in your example?

So, the coordinate is 360 or 0 (it is the same). And you program G1 A3600, then to what direction the A axis should rotate? CW or CCW? Where is that defined? What I'm saying is that it is undefined and so this movement if it would happen could damage things, because the rotation direction is not defined by the g-code, so it could rotate to CW or CCW, nothing defines it.
cncdrive
Site Admin
 
Posts: 4926
Joined: Tue Aug 12, 2014 11:17 pm

Re: Qvar Problem

Postby Vmax549 » Wed Sep 04, 2019 6:07 am

This has nothing to do with direction. IT has everything to do with Shortest Rotation ONLY working with G0 moves(rapids) and NOT working with G1 moves (feed). It can work no other way otherwise you cannot machine anything with teh rotary because G1 moves would NOT follow teh Gcode instruction.



(;-) TP
Vmax549
 
Posts: 331
Joined: Sun Nov 22, 2015 3:25 am
Location: USA

Re: Qvar Problem

Postby Vmax549 » Wed Sep 04, 2019 6:27 am

Here is the Mach3 config screen. Notice what teh Checkbox says. (x) ANG Short Rot on " G0 "
Attachments
untitled.JPG
Vmax549
 
Posts: 331
Joined: Sun Nov 22, 2015 3:25 am
Location: USA

Re: Qvar Problem

Postby cncdrive » Wed Sep 04, 2019 6:48 am

OK Terry, so Rotary axis is set for A and rollover is also set for A.
The coordinate is 360°, you program G1 A3600, what should happen? I mean what movement? Please explain.
cncdrive
Site Admin
 
Posts: 4926
Joined: Tue Aug 12, 2014 11:17 pm

Re: Qvar Problem

Postby Vmax549 » Wed Sep 04, 2019 12:41 pm

G0 X0 Y0 Z0 A0
G1 Z-1 F10
G1 X10 A3600 F50
G0 Z0
G0 X0 A0

IF you had it set up that way and UCCNC 360 rollover ON and from X0Y0 you called G1 X10 A3600 teh Machine should make a coordinated move to X10 and rotate teh A 10 times in teh process. It should arrive at X10 and A3600 at teh same time as a normal move creating a helix on teh part. ALSO each time it reached a 360 deg multiple it would reset the DRO to zero and start the count over.

To return BACK to A0 you would switch to to G0 and lift the Z to clear and do G0 X0 A0 and teh A axis would NOT rotate and teh X would go straight back to A0 (Shortest rotation)

IF you made teh SAME set of moves with UCCNC roll over as it is it would NOT move in A but go straight to X10 (shortest rotation). Then lift an move straight back to X0 without A rotating at all either . NO Helix created.

(;-) TP
Vmax549
 
Posts: 331
Joined: Sun Nov 22, 2015 3:25 am
Location: USA

Re: Qvar Problem

Postby Vmax549 » Wed Sep 04, 2019 12:52 pm

Hi Balazs, with your example From A360 to G1 A3600 teh A axis would rotate 9 times and each time it crossed a 360 multiple it would reset teh DRO to zero.

(;-) TP
Vmax549
 
Posts: 331
Joined: Sun Nov 22, 2015 3:25 am
Location: USA

Re: Qvar Problem

Postby cncdrive » Wed Sep 04, 2019 1:08 pm

OK, but it would rotate 9 times to CW or CCW direction.
Don't tell me that the direction does not matter, because if you want to use that code for machining as you told me then the movement direction matters.

BTW, in Mach3 that code will not rotate either. :)
cncdrive
Site Admin
 
Posts: 4926
Joined: Tue Aug 12, 2014 11:17 pm

Re: Qvar Problem

Postby ger21 » Wed Sep 04, 2019 1:23 pm

In the positive direction, no?
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2720
Joined: Sat Sep 03, 2016 2:17 am

PreviousNext

Return to Ask a question from support here

Who is online

Users browsing this forum: No registered users and 1 guest