Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: khalid on January 10, 2010, 10:39:04 PM
-
Hi Guys... I have a question... I want to rotate my rotary axis one revolution only after each X/Y move.. Like following
G01 X1 Y1
G01 A360
G01 X2 Y2
G01 A360
.
.
.
Now I want to rotate the A-axis in only one Direction Suppose CLOCKWISE ONLY...
Now i need some explaination for the following?
ROT 360 ROLLOVER - when checked the A axis Dro wll display from 0-360 degrees and then start over at 0.
If not checked the A axis DRO will be additive such that 2 revolutions will display 720 degrees.
In the above, If i give command A360, will it rotate one revolution and become '0'..If yes then this will do my work!!!
ANG SHORT ROT ON G0-The axis will move in the shortest possible move to a new position, such that if
at 0 degrees and you jogged to 359 deg then it would just rotate -1 degree.
In Last, Is it possible that the A axis DRO itself become '0' when one rotation of A-axis complete? So that it will prepare for next 360 revolution?
-
will it rotate one revolution and become '0'
YES
They both work as you have highlighted. Now only one comment that you should try. Are you in G90 / incremental distance or G91 / absolute distance mode? As that makes a difference.
EXAMPLE:
G91 ( INCREMENTAL)
G01 A90 F20 ( WILL MOVE TO 90 DEGREES AT THE FEEDRATE )
G01 A90 F20 ( WILL NOW MOVE ANOTHER 90 DEGREES SO YOUR AT 180 )
G01 A180 F20 ( WILL NOW MOVE ANOTHER 180 DEGREES )
Just do your codes in the MDI line and watch the DRO's, or jog the axis in either mode and see what happens.
Place a G90 or G91 on a line ahead of some simple code and see the difference. Play some and you'll be a pro in no
time at all with the experience gained.
As far as the G90 or G91 goes, it's like ice cream, pick your flavor for programing, or get a double dip of both but you decide which is on top. ;)
RICH
-
Rich:).. Thanks for such a nice, precise information:).. I will try your advice today..
Regards