{"id":279,"date":"2025-12-16T01:57:48","date_gmt":"2025-12-15T23:57:48","guid":{"rendered":"https:\/\/www.robertksiazek.com\/?p=279"},"modified":"2025-12-17T15:09:53","modified_gmt":"2025-12-17T13:09:53","slug":"displaying-custom-messages","status":"publish","type":"post","link":"https:\/\/www.robertksiazek.com\/index.php\/2025\/12\/16\/displaying-custom-messages\/","title":{"rendered":"Displaying Custom Messages"},"content":{"rendered":"\n<p>This code is shared for educational purposes only. Use it at your own risk \u2014 you are fully responsible for any results.<\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:0.7rem\"><code>( ------------------------------------- )\n(                                       )\n(      DISPLAYING CUSTOM MESSAGE        )\n(   More CNC programs on my website     )\n(         RobertKsiazek.com             )\n(                                       )\n( --------------------------------------)\n\nVNCOM&#91;1]=1\nMSG (WRITE YOUR MESSAGE HERE)\nM00\nVNCOM&#91;1]=0<\/code><\/pre>\n\n\n\n<p><strong><code>VNCOM[1]=1<\/code><\/strong> \u2013 Activates the communication\/message function on the Okuma control.<\/p>\n\n\n\n<p><strong><code>MSG (WRITE YOUR MESSAGE HERE)<\/code><\/strong> \u2013 Displays a custom message to the operator on the machine screen.<\/p>\n\n\n\n<p><strong><code>M00<\/code><\/strong> \u2013 Pauses the program and waits until the operator confirms and restarts the cycle.<\/p>\n\n\n\n<p><strong><code>VNCOM[1]=0<\/code><\/strong> \u2013 Deactivates the communication\/message function and resumes normal program execution.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This code is shared for educational purposes only. Use it at your own risk \u2014 you are fully responsible for any results. VNCOM[1]=1 \u2013 Activates the communication\/message function on the Okuma control. MSG (WRITE YOUR MESSAGE HERE) \u2013 Displays a custom message to the operator on the machine screen. M00 \u2013 Pauses the program and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38],"tags":[40,41,39],"class_list":["post-279","post","type-post","status-publish","format-standard","hentry","category-okuma","tag-genos","tag-m560-v-e","tag-okuma"],"_links":{"self":[{"href":"https:\/\/www.robertksiazek.com\/index.php\/wp-json\/wp\/v2\/posts\/279","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.robertksiazek.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.robertksiazek.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.robertksiazek.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.robertksiazek.com\/index.php\/wp-json\/wp\/v2\/comments?post=279"}],"version-history":[{"count":5,"href":"https:\/\/www.robertksiazek.com\/index.php\/wp-json\/wp\/v2\/posts\/279\/revisions"}],"predecessor-version":[{"id":324,"href":"https:\/\/www.robertksiazek.com\/index.php\/wp-json\/wp\/v2\/posts\/279\/revisions\/324"}],"wp:attachment":[{"href":"https:\/\/www.robertksiazek.com\/index.php\/wp-json\/wp\/v2\/media?parent=279"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.robertksiazek.com\/index.php\/wp-json\/wp\/v2\/categories?post=279"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.robertksiazek.com\/index.php\/wp-json\/wp\/v2\/tags?post=279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}