
LNC-M8000
Function
寶元數控精密股份有限公司 223
LNC Technology Co., Ltd.
Example1 Example2 Example3
MSG_YES("TITLE","TEXT","FILE")
This function will stop interpretation automatically.(TypeⅠ);This function will be ignored
when preview & R-restart
TITLE =>Dialogue title, empty is allowed
TEXT =>Dialogue message
FILE =>Dialogue with graph name, empty is allowed
If above arguments string has MACRO variables, system will replace it to be the value
automatically. Refer to 5.5 string variables replace value chapter.
Read dialogue input button(0:N,1:Y)
Alarm:
-1 => Function arguments format error
-2 =>Title is over string length limit
-3 => Did not input dialogue message
-4 => Graph name is over string length limit
Example1:
#1 = MSG_YES("Inquiry dialogue","if turn on LUB?",""); /* Dialogue did not have graph */
Example2:
#1 = MSG_YES("Inquiry dialogue "," if turn on LUB?","PIC.JPG"); /* Dialogue has graph */
Example3:
#2= R_MACH_COOR(0,1); /* if this path MACHINE coordinate first axis=1.234mm,
#2Value=1.234 */
#1 = MSG_YES("Inquiry dialogue ","MACHINE coordinateX#2 correct?",""); /* show”
MACHINE coordinate X1.234 correct ?” */
welcome to
use our product !
welcome to use
our product !
Komentáře k této Příručce