
LNC-M8000
Function
222 寶元數控精密股份有限公司
LNC Technology Co., Ltd.
Get CCD reply data column value
This function will be ignored when preview & R-restart
PATH =>Path No., value range 0 ~6, unit:N/A.
0:Current path, 1~6:First path~6th path.
ITEM =>Appoint CCD reply data column, value range1 ~20, unit:N/A
Get appointed CCD reply data column value, unit:N/A
Alarm:
-1 => over range
Refer to W_CCD function example
8.13 MACRO dialogue function
MSG_OK("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.
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:
MSG_OK("Dialogue message","welcome to use our product",""); /* Dialogue did not have
graph */
Example2:
MSG_OK("Dialogue message","welcome to use our product ","PIC.JPG"); /* Dialogue has
graph */
Example3:
#2= R_MACH_COOR(0,1); /* if this path MACHINE coordinate first axis=1.234mm,
#2Value=1.234 */
MSG_OK("Dialogue message ","MACHINE coordinateX#2correct!",""); /* show ”MACHINE
coordinate X1.234 correct !” */
Komentarze do niniejszej Instrukcji