K1: Mode group, channel, program operation, reset response
9.13 Program control
Basic Functions
626
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Programming
An external subroutine is called by means of parts program command
EXTCALL
.
EXTCALL call with absolute path name
If the subprogram exists at the specified path, it will be executed following the
EXTCALL
call. If it does not exist,
program execution is cancelled.
EXTCALL call with relative path name/without path name
In the event of an
EXTCALL
call with a relative path name or without a path name, the available program
memories are searched as follows:
• If a path name is preset in SD42700 $SC_EXT_PROG_PATH, the data specified in the
EXTCALL
call
(program name or with relative path name) is searched for first, starting from this path. The absolute path
results from linking the following characters:
- The path name preset in SD42700
- The "/" character as a separator
- The subprogram path or identifier programmed in
EXTCALL
• If the called subprogram is not found at the preset path, the data specified in the
EXTCALL
call is then
searched for in the user-memory directories.
• The search ends when the subprogram is found for the first time. If the search does not produce any hits, the
program is canceled.
Syntax:
EXTCALL("<path/><program name>")
Parameter:
<path>
:
Absolute or relative path data (optional)
Type:
STRING
<program name>
: The program name is specified without prefix "_N_".
The file extension ("MPF", "SPF") can be attached to program
names using the "_" or "." character (optional).
Type:
STRING
Note
Path specification: Short designations
The following short designations can be used to specify the path:
• LOCAL_DRIVE: for local drive
• CF_CARD: for CompactFlash Card
• USB: for USB front connection
CF_CARD: and LOCAL_DRIVE: can be alternatively used.
Содержание SINUMERIK 828D Turning
Страница 34: ...Basic Functions 34 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 146: ...A3 Axis Monitoring Protection Zones 2 6 Data lists Basic Functions 146 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 328: ...F1 Travel to fixed stop 6 5 Data lists Basic Functions 328 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 816: ...K2 Axis Types Coordinate Systems Frames 10 9 Data lists Basic Functions 816 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1198: ...P4 PLC for SINUMERIK 828D 14 6 Function interface Basic Functions 1198 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1752: ...Appendix 20 2 Overview Basic Functions 1752 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1774: ...Glossary Basic Functions 1774 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...