mycnc:popup_messages
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
mycnc:popup_messages [2020/05/25 11:04] – ivan | mycnc:popup_messages [2020/05/28 12:26] – ivan | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | FIXME - WORK IN PROGRESS | ||
- | |||
====== Popup messages ====== | ====== Popup messages ====== | ||
+ | |||
+ | {{youtube> | ||
This is an expanded manual that serves to introduce the user to the concept of popup messages beyond the basics described in the [[mycnc: | This is an expanded manual that serves to introduce the user to the concept of popup messages beyond the basics described in the [[mycnc: | ||
Line 55: | Line 55: | ||
flag=gvarget(1999); | flag=gvarget(1999); | ||
}; | }; | ||
+ | |||
}while(flag> | }while(flag> | ||
Line 69: | Line 70: | ||
{{: | {{: | ||
+ | |||
+ | ===M604=== | ||
+ | |||
+ | < | ||
+ | main() | ||
+ | { | ||
+ | //clamp new tool | ||
+ | portclr(OUTPUT_TOOL_CLAMP); | ||
+ | |||
+ | timer=300; | ||
+ | |||
+ | timer=2000; | ||
+ | do | ||
+ | { | ||
+ | timer--; | ||
+ | t=portget(INPUT_TOOL_CLAMPED);// | ||
+ | if (t!=0) | ||
+ | { | ||
+ | exit(99); | ||
+ | }; | ||
+ | }while(timer> | ||
+ | |||
+ | gvarset(9124, | ||
+ | timer=20; | ||
+ | |||
+ | message=PLCCMD_MOTION_BREAK; | ||
+ | timer=20; | ||
+ | |||
+ | |||
+ | exit(99); | ||
+ | };</ |
mycnc/popup_messages.txt · Last modified: 2020/11/19 11:59 by ivan