
LNC-M8000
Function
224 寶元數控精密股份有限公司
LNC Technology Co., Ltd.
Example1 Example2
Example3
Result:When pressing”Y”button#1=1, when pressing ”N”button#1=0
INPUT("TITLE","TEXT","FILE",MIN,MAX,DEF)
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
MIN =>Input Min.value, value range-2147483648 ~ 2147483647, unit:N/A
MIN => Input Max.value, value range-2147483648 ~ 2147483647, unit:N/A
DEF => Input default value, value range-2147483648 ~ 2147483647, unit:N/A
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 value, value range-2147483648 ~ 2147483647, unit:N/A
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
-5 => Input value is over range
Example1:
#1 = INPUT("Input dialogue","input moving distance(LU)?","",0,500,100); /* dialogue did not
Komentarze do niniejszej Instrukcji