Hi Guys
has anyone ever used the Haas code M109? i have been trying the code below [from the Haas question man], but just get error 331. the manual just says 'range error-number too large' which does not help me much. any ideas?
thanks in advance
axis
%
O00233
(M109 INTERACTIVE USER INPUT)
(Require Y/N input)
N1 #501= 0.
M109 P501
N5 IF [ #501 EQ 0. ] GOTO5
IF [ #501 EQ 89. ] GOTO10 (Y)
IF [ #501 EQ 78. ] GOTO20 (N)
GOTO1
N10
M95 (00:01)
GOTO30
N20
G04 P1.
N30
M30
%
%
O00234
(M109 INTERACTIVE USER INPUT)
(Require 1/2/3 input)
N1 #501= 0.
M109 P501
N5 IF [ #501 EQ 0. ] GOTO5
IF [ #501 EQ 49. ] GOTO10 (1)
IF [ #501 EQ 50. ] GOTO20 (2)
IF [ #501 EQ 51. ] GOTO30 (3)
GOTO1
N10
M95 (00:01)
GOTO30
N20
G04 P5.
N30
M30
%