PDA

View Full Version : Write macro b so machine sizes hole



Richie78
14-12-2020, 05:52 PM
Hi Guys,
I new to macro b and am trying to learn it. Apart from Peter Smid books, I cannot find anything else half decent to read.

I set my self a project where I want to

1). machine a hole
2). probe the hole and update the offset
3). then re-machine hole to size
4). then check with probe
5). give the user a message of good or bad on machine

I'm sure I have seen a cycle that does this but id like to write a macro. to help me learn the logic

Also, why is the logic saying it is oversize when its 5 microns smaller?

I have attached a screenshot.

Thanks to anyone who can help me understand this

Lee Roberts
24-04-2021, 01:33 PM
bump