jopek323
Mechanical
- Sep 9, 2023
- 1
Hi, everyone!
I want the post processor to automatically generate Clamp Rotary Axis but only for indexing, not for continuous axis machining.
In the NX Post Bulider, I added in the Custom Command:
global mom_sys_auto_clamp
set mom_sys_auto clamp "ON"
I added to: Program - Operation Start Sequence - Initial Move
I use the following codes
A-axis clamping: G110 A1
B-axis clamping: G110 B1
A-axis unclamping: G110 A0
B-axis unclamping: G110 B0
N0100, N0220 etc. - B-axis rotation - no previous axis unclamping
I would like the code to look as follows:
How can I do this? I want auto_clamping to work only on indexing.
Thanks a lot for any help.
I want the post processor to automatically generate Clamp Rotary Axis but only for indexing, not for continuous axis machining.
In the NX Post Bulider, I added in the Custom Command:
global mom_sys_auto_clamp
set mom_sys_auto clamp "ON"
I added to: Program - Operation Start Sequence - Initial Move
I use the following codes
A-axis clamping: G110 A1
B-axis clamping: G110 B1
A-axis unclamping: G110 A0
B-axis unclamping: G110 B0
Code:
%
N0010 G17 G94 G90
N0020 G21
N0030 G40
N0040 M08
N0050 G120 T02
N0060 M41
N0070 S3000 M03
N0080 G56
N0090 G613
N0100 G00 X-10. Y10. A0.0 B90.
N0110 G43 Z135. H02
N0120 G110 B0
N0130 G110 A0
N0140 G81 X-10. Y10. Z124.7 R128. F250.
N0150 G110 B1
N0160 G110 A1
N0170 X8.742 Y0.0
N0180 G80
N0190 M09
N0200 G613
N0210 G110 A0
N0220 G00 X-115. Y0.0 A0.0 B0.0
N0230 Z50.
N0240 G110 A1
N0250 G81 X-115. Y0.0 Z19.7 R23. F250.
N0260 G80
N0270 G110 B0
N0280 G00 Z66.51 A45.
N0290 A90.
N0300 Z47.03
N0310 G110 B1
N0320 G81 X-115. Y0.0 Z19.7 R23.
N0330 G80
N0340 G110 B0
N0350 G00 Z66.51 A135.
N0360 A180.
N0370 Z47.03
N0380 G110 B1
N0390 G81 X-115. Y0.0 Z19.7 R23.
N0400 G80
N0410 G110 B0
N0420 G00 Z66.51 A225.
N0430 A270.
N0440 Z47.03
N0450 G110 B1
N0460 G81 X-115. Y0.0 Z19.7 R23.
N0470 G80
N0480 G613
N0490 G110 B0
N0500 G110 A0
N0510 M30
%
N0100, N0220 etc. - B-axis rotation - no previous axis unclamping
I would like the code to look as follows:
Code:
N10 A,B-axis unclamping
N20 A,B-axis rotary
N30 A,B-axis clamping
....
N50 A-axis unclamping
N60 A-axis rotary
N70 A-axis clamping
...
N110 B-axis unclamping
N120 B-axis rotary
N130 B-axis clamping
How can I do this? I want auto_clamping to work only on indexing.
Thanks a lot for any help.