What's new
What's new

Macro to determine file size?

Carboxyll

Plastic
Joined
Feb 21, 2018
Hello,
I have a HAAS VF2 with the next gen controls. I current send my jobs to the machine over ethernet. Very rarely do I have a job that gets corrupt during the transfer. My jobs are always around 500Kb, is there a way to flag anything smaller than this? I want to make is as dummy proof as possible for the operators. I would love to make this a macro variable something so I can make a user prompt alerting the small file size.

I know I can just look at the size during list program, but with such a low instance the operators tend to not look at that.

Thanks,
 
I'm not aware of one for that, but there might be one not listed in the manual. My HFO helped me out with some for tool approx length/dia, etc for the probing options, which are variables in the #50000+ range. Those aren't in the manual. Try asking the applications dept at your HFO.
 
With programs that small, can you just store them on the hard drive?

Alternatively:

(PROGRAM HEADER)
M97 P100

(MAIN PROGRAM STUFF)

M30

N100
M99

If the entire program doesn't load, it will alarm out when it can't find N100.
 








 
Back
Top