Ok, im currently trying to get an M1xx code working. you see, i normally load 4.5metre bars into the machine and run off as many parts as needed, i have the "out of bar" switch connected up to
net outa_bar <= halui.program.block-delete.on
and
/ O100 ENDREPEAT
makes it stop in such a situation.
But !
i want to be able to set a value while the program is running, not have to rely on the
/ O100 REPEAT [12]
value, giving me the ability to have a visible display on how many parts to go, and even possibly work out how long.
p.s. having a lot of trouble trying to make an m1xx code work, it was much easier when they are hooked up to "actual" pins.