Cancel
Showing results for 
Search instead for 
Did you mean: 

PB - B Axis Turning

Solution Partner Experimenter Solution Partner Experimenter
Solution Partner Experimenter

Hi All

How can I create in PB a Baxis Turning Post?

Is there any template for it?

 

Thanks,

Abraham

 

5 REPLIES 5

Re: PB - B Axis Turning

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

Probably there is some.

But it is not so big deal.

Use tool axis variable to calculate angle for B in standart lathe postprocessor.

---------------------------------------------
#♫ PB, 5ax, itnc, nx, vericut ♫ #

Re: PB - B Axis Turning

Solution Partner Experimenter Solution Partner Experimenter
Solution Partner Experimenter

Thanks,

Any PB_CMD sample you can provide?

Re: PB - B Axis Turning

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

simple math

 

if {![array exists mom_tool_axis]} {
set mom_out_angle_pos(0) 0.0

} else {

set mom_out_angle_pos(0) [expr $RAD2DEG*atan2($mom_tool_axis(0),$mom_tool_axis(2))]
}

---------------------------------------------
#♫ PB, 5ax, itnc, nx, vericut ♫ #
Highlighted

Re: PB - B Axis Turning

Siemens Phenom Siemens Phenom
Siemens Phenom

The attached 7 zip file contains a sample NX12 part file, sample G-Code and a Fanuc XYZBC post processor. It uses a check block to see if you are doing BAXIS turning, just add the Head UDE as a Start Event to the operation and enter BAXIS for text. This test the post to output the BAXIS, without the UDE you get traditional XZ posted code.
The post can be configured from a simple 2 axis XZ lathe to a complex millturn with BAXIS head, a lower turret and a sub spindle. POST NOT ACTUALLY TESTED ON A MACHINE
Just open post and edit PB_CMD_set_output_options in Start of Program, post last saved in PB NX11.0.2

%
O0100
(MACHINE: CONFIGURABLE XYZBC MILLTURN)
(24-FEB-2019 02:16 PM - MANNINO)
G40 G20
( MACHINE CONFIGURATION IS AN XYZBC MULTI AXIS MILLTURN )
M1

N0101 ( TOOL: OD_55_L )
( TOOL NO. 1 , OFFSET NO. 1 )
(OPERATION FINISH TURN OD BAXIS PROFILE)
G18 M45
G97 S3000 M3
G0 G54 T0101
G50 S3000
G96 S350 M3
G98 X1.6222 Y0.0 Z.7685 B45.
X-.062
Z-.3238
G3 G99 X0.0 Z0.0 B45. R.062 F.03
X0.0 Z0.0 R.062
G1 X.0143 Z-.3858 B10.
X.7686 B0.0
X1.1494 Z-.0478 B35.
X1.1529 Z-.0447 B32.099
X1.1614 Z-.0374 B10.
X1.172 Z-.0316
X1.1842 Z-.0279
X1.193 Z-.0258 B21.176
X1.204 Z-.0253
X1.2335 Z-.0312 B88.537
X1.2584 Z-.0479
X1.2751 Z-.0729
X1.281 Z-.1023
Z-.1049 B90.
Z-.8336 B96.69
X1.2854 Z-.8745 B97.822
X1.3012 Z-.9126
X1.327 Z-.9446
X1.9669 Z-1.5844 B106.13
X1.9951 Z-1.6178 B107.709
X2.0153 Z-1.6559
X2.0276 Z-1.6971
X2.031 Z-1.7393
Z-2.5468 B115.123
Z-2.5486 B115.106
X2.0287 Z-2.5868 B113.924
X2.0187 Z-2.6238
X2.0017 Z-2.6581
X1.6071 Z-3.3414 B105.793
X1.5952 Z-3.3647 B105.
X1.5882 Z-3.3895
X1.5862 Z-3.4146
X1.5861 Z-3.4199 B104.886
Z-4.1126 B90.
Z-4.119
G3 X1.7431 Z0.0 B90. R.157
X1.7431 Z0.0 R.157
G1 X2.0504 Z-4.276
G2 X3.8314 Z0.0 B90. R1.781
X3.8314 Z0.0 R1.781
G1 X3.8255 Z-6.2141 B130.
X3.8047 Z-6.37
X3.7703 Z-6.5234
X3.7225 Z-6.6732
X3.6617 Z-6.8181
X3.5884 Z-6.9572
X3.503 Z-7.0893
X3.4064 Z-7.2133
X3.2985 Z-7.3276
Z-7.3655
G3 X3.3605 Z0.0 B130. R.062
X3.3605 Z0.0 R.062
G0 X4.5014 Z-7.4275
Z.7685
G0 G91 G28 X0.0
G91 G28 Y0.0 Z0.0
G91 G28 B0.0
T0100
(MACHINE TIME = 00:01:14)
M30
%

Re: PB - B Axis Turning

Solution Partner Experimenter Solution Partner Experimenter
Solution Partner Experimenter

Thank you all for your helpful support.

Especially for the sample post!

 

PB - B Axis Turning

Solution Partner Experimenter Solution Partner Experimenter
Solution Partner Experimenter

Hi All

How can I create in PB a Baxis Turning Post?

Is there any template for it?

 

Thanks,

Abraham

 

NX CAM Postprocessor Group
NX CAM Postprocessor Group

Members (232)