Displaying Custom Messages

This code is shared for educational purposes only. Use it at your own risk — you are fully responsible for any results.

( ------------------------------------- )
(                                       )
(      DISPLAYING CUSTOM MESSAGE        )
(   More CNC programs on my website     )
(         RobertKsiazek.com             )
(                                       )
( --------------------------------------)

VNCOM[1]=1
MSG (WRITE YOUR MESSAGE HERE)
M00
VNCOM[1]=0

VNCOM[1]=1 – Activates the communication/message function on the Okuma control.

MSG (WRITE YOUR MESSAGE HERE) – Displays a custom message to the operator on the machine screen.

M00 – Pauses the program and waits until the operator confirms and restarts the cycle.

VNCOM[1]=0 – Deactivates the communication/message function and resumes normal program execution.


Comments

Leave a Reply