EasyManuals Logo

Siemens MCP 398C Function Manual

Siemens MCP 398C
2184 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #720 background imageLoading...
Page #720 background image
Detailed description
2.9 Program control
Basic logic functions: Mode group, channel, program operation, reset response (K1)
162 Function Manual, 11/2006, 6FC5397-0BP10-2BA0
Programming
An external subroutine is called by means of parts program command EXTCALL.
Syntax: EXTCALL ("<path/program_name>")
Parameter:
The path name is optional, i.e., the absolute path (or a relative
path) or only the program name (subroutine identifier) can be
specified.
The program name can be specified with or without the "_N_"
prefix and "_SPF" or "_MPF" file extension.
Path / program name:
Typ
e:
STRING
Note
SINUMERIK powerline with HMI Embedded
An absolute path must always be specified for SINUMERIK powerline with HMI Embedded!
Effects
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:
1. If a path name is preset in SD42700, 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
2. 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.
3. If the called subprogram is not found on the program memory currently being searched
(e.g., CompactFlash card), the next program memory (e.g., network drive) is searched in
accordance with points 1 and 2.
4. The search ends when the subprogram is found for the first time.
If the search does not produce any hits, the program is canceled.

Table of Contents

Other manuals for Siemens MCP 398C

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens MCP 398C and is the answer not in the manual?

Siemens MCP 398C Specifications

General IconGeneral
BrandSiemens
ModelMCP 398C
CategoryControl Systems
LanguageEnglish

Related product manuals