cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Milltronics 9000 G154 Offset

Milltronics 9000 G154 Offset

Post Process selection option in properties for the use of either G54-59 or G154 P1-9, G155 P1-9 ect.... Currently offsets beyond G59 gives a Error: Work offset out of range.

8 Comments
tommyjrobison
Contributor

Offsets may need to be G541-G549, G551-G559 ect..

bob.schultz
Alumni

I've looked at the Milltronics 9000 programming manual and I see G54x-G59x extended work offsets (60 total), but I don't see G154 Px style offsets.  Are you sure this is the correct syntax?

tommyjrobison
Contributor

@bob.schultz Sorry for the late reply. You are corrent. The offset are G540 to G599. If I go beyond 6 offsets with current post I have issues. Instead of starting at G540 it starts with a G54, and ends at G58, then restarts with a G55 and the last 2 Contours don't have a Offset assigned. 

 

O1111
(T1 D=0.625 CR=0 - ZMIN=-1.531 - FLAT END MILL)
N1 G90 G94 G17
N2 G20
N3 G32
(2D CONTOUR2)
N4 M9
N5 T1 M6
N6 S6112 M3
N7 G54
N8 M8
N9 G0 X-2.9935 Y-0.3874
N10 G43 Z0.75 H1
N11 G0 Z0.1
N12 G1 Z0.0394 F30
(2D CONTOUR2 2)
N35 G55
N36 G0 X2.9935 Y1.8874
N37 G43 Z0.75 H1
N38 G0 Z0.1
N39 G1 Z0.0394 F30
(2D CONTOUR2 3)
N62 G56
N63 G0 X-2.9935 Y-1.8874
N64 G43 Z0.75 H1
N65 G0 Z0.1
N66 G1 Z0.0394 F30
(2D CONTOUR2 4)
N89 G57
N90 G0 X2.9935 Y0.3874
N91 G43 Z0.75 H1
N92 G0 Z0.1
N93 G1 Z0.0394 F30
(2D CONTOUR2 5)
N116 G58
N117 G0 X-2.9935 Y-0.3874
N118 G43 Z0.75 H1
N119 G0 Z0.1
N120 G1 Z0.0394 F30
(2D CONTOUR2 6)
N143 G55
N144 G0 X2.9935 Y1.8874
N145 G43 Z0.75 H1
N146 G0 Z0.1
N147 G1 Z0.0394 F30
(2D CONTOUR2 7)
N169 G0 X-2.9935 Y-1.8874
N170 Z0.75
N171 Z0.1
N172 G1 Z0.0394 F30
(2D CONTOUR2 8)
N194 G0 X2.9935 Y0.3874
N195 Z0.75
N196 Z0.1
N197 G1 Z0.0394 F30
N219 M9
N220 G32
N221 G28 G91 X0 Y0
N222 G90
N223 M30

bob.schultz
Alumni
Status changed to: Accepted
 
tommyjrobison
Contributor

@bob.schultz What do I need to change in the Milltronics 9000 cnc post processor so, when I use extended WCS the offset read as follows

 

G540= Offset 1

G541= Offset 2

G542= Offset 3

G543= Offset 4

G544= Offset 5

G545= Offset 6

G546= Offset 7

G547= Offset 8

G548= Offset 9

G549= Offset 10

G550= Offset 11

and so on. 

 

 

Thanks

bob.schultz
Alumni

@tommyjrobison  As you probably found out, the implementation was made to match the control where 54=540, 55=550, 59=590, etc.  This makes it so the same work offsets can be used in Fusion/HSM when switching from standard to extended work offsets on the control.

 

You can change the following code in the post to use a consecutive numbering system instead.

          // var wcs = v1 == 0 ? 590 + v2 - 1 : (53 + v1) * 10 + v2;  // comment out this line
          var wcs = 539 + workOffset; // add this line

 

bob.schultz
Alumni
Status changed to: Implemented
 
tommyjrobison
Contributor

@bob.schultz Thank you! worked perfect!

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea