EasyManuals Logo
Home>Siemens>Control Unit>SINUMERIK

Siemens SINUMERIK Commissioning Manual

Siemens SINUMERIK
736 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 #455 background imageLoading...
Page #455 background image
Programming
2.7 Functions
Expanding the user interface
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
2-105
2.7.29 External functions (only HMI Advanced)
Description
Additional user-specific functions can be used by means of this call. External functions are
stored in a DLL file and identified by an entry in the definition lines of the configuration file.
Note
An external function must have at least one return parameter.
Programming
Syntax: FCT
Function name = ("File"/Type of return/Types of permanent call
parameters/Types of variable call parameters)
Description: Declares additional, external functions
Parameters: Function name Name of external function
File Complete path to DLL file
Type of return Data type of return value for function
R, I, S, C, B. Data types of permanent call parameters and
return values. The data types are separated by
commas.
Variable or register Data types of variable call parameters
Syntax: FCT
Function name (call parameter)
Call parameter List of all call parameters. Individual parameters
are separated by commas.
Example
//M(SCREEN FORM1)
DEF VAR1 = (R)
DEF VAR2 = (I)
DEF RET = (I)
FCT InitConnection = ("c:\user\mydll.dll"/I/R,I,S/I,S)
; The external function "InitConnection" is declared. The
data type of what has been declared. The data type of
the return value is Integer, the data types of the
permanent call parameters are Real, Integer and String;
the data types of the variable call parameters are
Integer and String.
LOAD
RET = InitConnection(VAR1+SIN(VAR3),13,"Servus",VAR2,

Table of Contents

Other manuals for Siemens SINUMERIK

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK and is the answer not in the manual?

Siemens SINUMERIK Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK
CategoryControl Unit
LanguageEnglish

Related product manuals