plc:plc_show_custom_message_box
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plc:plc_show_custom_message_box [2019/05/17 11:20] – ivan | plc:plc_show_custom_message_box [2019/09/16 15:54] (current) – ivan | ||
---|---|---|---|
Line 14: | Line 14: | ||
At this point, the popup window' | At this point, the popup window' | ||
- | 4. Copy and paste the following code into the window instead of the window' | + | 4. Copy and paste the following code into the window instead of the window' |
- | < | + | |
+ | < | ||
main() | main() | ||
Line 25: | Line 26: | ||
if (portget(3)!=0) //Port 3 is used here. Use the actual port number for your particular setup | if (portget(3)!=0) //Port 3 is used here. Use the actual port number for your particular setup | ||
{ | { | ||
- | | + | |
+ | different | ||
}; | }; | ||
- | }while(1); | + | }while(1); |
}; | }; | ||
</ | </ | ||
- | 5. In order to edit the newly created | + | 5. In order to insert information into this popup window, we can open CNC Settings > Screen > Popup Messages, and then press **Create New** |
{{: | {{: | ||
- | 6. Fill in the information regarding your new popup window and press the **Save** button. The Hide Timeout field is in seconds. | + | 6. Fill in the information regarding your new popup window and press the **Save** button. The Hide Timeout field is in seconds |
{{: | {{: | ||
Line 42: | Line 45: | ||
{{: | {{: | ||
- | + | ====Deprecated version | |
- | ====Deprecated version==== | + | |
[[plc: | [[plc: | ||
plc/plc_show_custom_message_box.txt · Last modified: 2019/09/16 15:54 by ivan