What's new
What's new

Sending Macro programming to Haas

Millchucker

Plastic
Joined
Feb 28, 2020
Hello out there, this is my first post here...
Has anyone ever had their Haas controller lose macro programming when sent into the machine?
For instance:
#500=0
G00G17G90G56X0.Y0.T1
G43H03Z1.M19
M09
N400
Z.1
G01Z-0.23F2.
G00Z0.1
Z1.
#500=#500+1
IF[#500EQ2]GOTO401
G57X0.Y0.
GOTO400
N401
G91G28Z0.M05
G40G49
M01​

Goes into the machine as:
(#500=0?)
G00G17G90G56X0.Y0.T1
G43H03Z1.M19
M09
N400
Z.1
G01Z-0.23F2.
G00Z0.1
Z1.
(#500=#500+1?)
(IF[#500EQ2]GOTO401?)
G57X0.Y0.
(GOTO400?)
N401
G91G28Z0.M05
G40G49
M01​

It also registers some type of bad code alarm when the communication is finished.
It seems like this might be some type of communication setting, but wanted to check to see if anyone else has seen this.
Thank you in advance for any assistance you can offer.
 
Yes I think this happened on one of our machines because we didn’t have the macro option. What happens if you type #535=1. In MDI? Do you get an alarm for bad code? If so you don’t have macro option.
 








 
Back
Top