406 6 DIN Programming
6.29 Subprograms
6.29 Subprograms
Select the "Subprogram call."
Select the DIN macro list.
Call the subprogram.
Select Assume DIN macro.
Enter transfer parameters
Select the "Subprogram call."
Enter the program name (see figure at top right).
Enter transfer parameters
General information on subprograms:
Subprograms are defined in a separate file. They
can be called from any main program or other
subprogram. (DIN macros are subprograms.)
Subroutines can be "nested" up to 6 times. Nesting
means that another subprogram is called from
within a subprogram.
Recursion should be avoided.
Calling a subprogram
Entering subprogram names directly
Comments to this Manuals