Postprocessor G68 command
Postprocessor G68 command
(OP)
Hi
How to customize the post for G68 co-ordinate rotaion option.
My machine is 5-Axis Milling Machine With
Rotary Head (C) and Table (B).
How to customize the post for G68 co-ordinate rotaion option.
My machine is 5-Axis Milling Machine With
Rotary Head (C) and Table (B).





RE: Postprocessor G68 command
You can source some of the ugs maths routines to do the transformations.
RE: Postprocessor G68 command
Is there any other solution to solve this..
Thanks
RE: Postprocessor G68 command
I use my own code to put rotations around a vector in a transformation matrix. That works too.
RE: Postprocessor G68 command
I checked with the convert_back and onvert_point method looks bit complex codeing.
Can you please explain this how to use this.
Thanks in advance
RE: Postprocessor G68 command
I had a go at the PB_CMD_set_csys procedure. It looks like that requires an update. Only if I put type to fanuc then I am able to get output in one occasion. The vector sample is also calling the procedure but bails out in the first couple of sentences. The first bit is to disable G68 I think by the looks of it.
The convert_point and convert_back will not be very useful. You will only need to transform the coordinates in the b-axis. The arcs are converted in linear moves if you opt for vector programming when using the same postprocessor configuration.
In order to get the desired output for vector programming. The PB_CMD_set_csys procedure should be modified in such a way that it does not bail out in the first couple of lines. Then you will need to put a transformation in place in PB_CMD_before_motion that will only act if G68 is active.
The transformation is a simple one axis rotation.
RE: Postprocessor G68 command
-Derek
RE: Postprocessor G68 command
You are right putting the procedure in initial move and first move will make it more useful. Does your pp also solve the issue of circular motions being outputted as linear motions?
There has been a discussion on the subject on the ugs news group but I could not find the answer.
RE: Postprocessor G68 command
-Derek
RE: Postprocessor G68 command
RE: Postprocessor G68 command
RE: Postprocessor G68 command
-Derek
RE: Postprocessor G68 command
Thanks for the information
I tried as you sujjested earlier to change the machine to table/table, but I did get the result as I need.
This is how I am expecting the code to look after post.
M05
T1008
G361 B-45 D0 (Tool change and Axis rotated by -45 degree)
M302
M45
G28 U0 V0 W0
G97 S5000 M13
G00 C00
G68.1 X8.0 Y0.0 Z-1.0 I0.0 J1.0 K0.0 R45 (Co-ordinate system rotated by 45 degree)
G43 H5 (No B in G68.1)
G00 X0.0 Y0.0 (Make the temp rotated Co-ordinate system as Zero)
Z0.1
G83 Z-1.0 Q2500 R0.0 F0.020
C180
G80
G00Z10
G49
G69.1
G28 U0V0W0
RE: Postprocessor G68 command
-Derek
RE: Postprocessor G68 command
RE: Postprocessor G68 command
-Derek
RE: Postprocessor G68 command
RE: Postprocessor G68 command
you find each other very well..i fix a Mazak E800-II post.
Our vendor made it, but it has som bugs.
Since i have no pui file, i don't know how it made up.
But it doesn'n use G68..
there were a sipmle problem, in a simple planar operation, where the coords range from x350 to x-350, we hit the travel limits, at X-80. Did you meet this problem?
----
kukelyk