Siemens SINUMERIK 840D sl Commissioning Manual page 722

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Programming commands
6.3 Functions
6.3.13
Function (FCT)
Description
The external functions are stored in a DLL file and identified by an entry in the definition lines
of the configuration file.
Note
The external function must have at least one return parameter.
Programming
Syntax:
Description:
Parameters:
The external function can e.g. be called in the LOAD block or in the PRESS block.
Example:
press(vs4)
RET = InitConnection(VAR1,13,"Servus",VAR2,VAR17)
end_press
104
Function name = ("File"/Type of return/Types of permanent
FCT
parameters/Types of variable parameters)
FCT InitConnection = ("c:\tmp\xyz.dll"/I/R,I,S/I,S)
An external function can e.g. be called in the LOAD block or in the PRESS
block.
Function name
Name of external function
File
Complete path to DLL file
Type of return
Data type of the return value
Type of fixed
Value parameter
parameter
Type of variable
Reference parameter
parameter
The data types are separated by commas.
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 03/2013, 6FC5397-1DP40-3BA1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents