Using Plane Spatial with a 45 Deg Head not working

Using Plane Spatial with a 45 Deg Head not working

alex_winter
Advocate Advocate
212 Views
0 Replies
Message 1 of 1

Using Plane Spatial with a 45 Deg Head not working

alex_winter
Advocate
Advocate

Hello I need some help with this.  When I am posting out a 5X Procedure, I am getting an incorrect spatial angle.  It simulates correctly in machine simulation in fusion but Errors out the PLANE SPATIAL line in the actual machine.

 

I have the machine configuration kinematics setup and using the current heidenhain post.  It is working properly on the 3+2 procedure but not the 5X procedure. Here is a snippet of the code that isn't working.  I also attached the file. I believe the proper spatial angle should be PLANE SPATIAL SPA-89.147 SPB0.000 SPC180.000 STAY

0 BEGIN PGM 0376-spatial INCH
1 ;REV -
2 BLK FORM 0.1 Z X-29.85 Y-3.95 Z-3.95
3 BLK FORM 0.2 X+0 Y+3.95 Z+3.95
4 ;-------------------------------------
5 ;Tools
6 ;  #12 D=0.3937 CR=0.0791 - bullnose end mill
7 ;    ISCAR
8 ;    EFF-S4-10 040/30C10R1.6M
9 ;-------------------------------------
10 ;
11 PLANE RESET STAY
12 L Z-0.1 R0 FMAX M91
13 * - ROUGH TOP
14 M5
15 TOOL CALL 12 Z S1910
16 L Z-0.1 R0 FMAX M91
17 M126
18 M3
19 LBL 1
20 CYCL DEF 247 DATUM SETTING ~
  Q339=2 ; DATUM NUMBER
21 LBL 0
22 L B+165.98 C+189.864 R0 FMAX
23 CYCL DEF 7.0 DATUM SHIFT
24 CYCL DEF 7.1 X+0.75
25 CYCL DEF 7.2 Y-3.5419
26 CYCL DEF 7.3 Z+13.95
27 PLANE SPATIAL SPA+0 SPB+165.98 SPC+189.864 STAY
28 PLANE RESET STAY
29 FUNCTION TCPM F TCP AXIS POS PATHCTRL AXIS
30 L X+0 Y+0 R0 FMAX
31 L Z+0 R0 FMAX
32 CYCL DEF 7.0 DATUM SHIFT
33 CYCL DEF 7.1 X+0
34 CYCL DEF 7.2 Y+0
35 CYCL DEF 7.3 Z+0
36 M8
37 CYCL DEF 32.0 TOLERANCE
38 CYCL DEF 32.1 T+0.0005
39 CYCL DEF 32.2 HSC-MODE:0 TA0.5
40 FN0: Q50=300 ; Cutting
41 FN0: Q53=300 ; Entry
42 FN0: Q60=300 ; Transition
43 L X+0.75 Y-3.5419 Z+13.95 FMAX
44 L Z+0.0531 FMAX
0 Likes
213 Views
0 Replies
Replies (0)