Sub Procedure
π KR
Description
This is a component that generates a RAPID sub-procedure block from an instruction list. The code is output as a named PROC, allowing it to be called when the main routine is executed.

Input
| Name | Type | Description |
|---|---|---|
| Proc Code | String | Full RAPID procedure code including PROC header and ENDPROC. Example: PROC CustomProc(num n, robtarget t) |
| Call | String | Call instruction string(s). One per call site. Example: CustomProc 5, target1;Multiple inputs produce multiple call instruction objects sharing the same procedure declaration. |
Output
| Name | Type | Description |
|---|---|---|
| SubProc | SubProc | Generated procedure. Connect to the Instructions input of the Core component. |