hi, please, what exactly do you wish to achieve ? you wish to run a macro after the program ended ? or to loop a program ? pls be more specific / kindly
Hello, I have a lathe Okuma Osp-p20l-r. How to when M30 then a Macro program in CNC will automatically run. Like M code macro on Fanuc. Thank you
Similar Threads:
hi, please, what exactly do you wish to achieve ? you wish to run a macro after the program ended ? or to loop a program ? pls be more specific / kindly
we are merely at the start of " Internet of Things / Industrial Revolution 4.0 " era : a mix of AI, plastics, human estrangement, powerful non-state actors ...
can you post the O9029 program ?
what you might be able to do is start a counter. This is for a mill control OSP200m it maybe different for a lathe
If you want it out of the operator view call it as a sub program
VRMNT: A 4-byte free-running minute counter can be read.
vc100=VRMNT at the beginning of the program
at the end of the program
vc101=VRMNT
vc102=vc101-vc100
vc102 should equal the cycle time
you could put vc103=(cycle time in minutes)
CALL OTIME
M30
The call will allow you to call OTIME.SUB program.
Place your code inside the sub and end it with RTS (return from sub)
Best regards,
Experience is what you get just after you needed it.