Syntax
PROC <program name> (<parameter type> <parameter name>, etc.)
Significance
PROC:
<program name>:
<parameter type>:
<parameter name>:
NOTICE
The program name specified after the PROC keyword must match the program name
assigned on the user interface.
Example
Definition of a subprogram with 2 REAL type parameters
Program code
PROC SUB_PROG (REAL LENGTH, REAL WIDTH)
...
N100 RET
Job Planning
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
Definition operation at the beginning of a program
Name of the program
Data type of the parameter (e.g. REAL, INT, BOOL)
Name of the parameter
Flexible NC programming
1.25 Subprogram technique
Comment
; Parameter 1: Type: REAL, name:
LENGTH
Parameter 2: Type: REAL, name:
WIDTH
; Subprogram return
175