
LNC-M8000
Expression
194 寶元數控精密股份有限公司
LNC Technology Co., Ltd.
7.10 CALL_SUB
Method:
CALL_SUB “function name”
SUB “function name”
Data Process;
END_SUB
Description:allow program to ccall the same file’s function
Example:
G0 X0.
#1=3;
CALL_SUB “ABC_123”
G0 X99.
M30
SUB “ABC_123”
G0 Y10.
IF(#1>2)
EXIT_SUB
END_IF
G0 Y20.
END_SUB
7.11 EXIT_SUB
Method:
EXIT_SUB
Description:leave function command
Example:
Refer to CALL_SUB call function description
Komentáře k této Příručce