Siemens SINUMERIK 840DE sl Commissioning Manual page 1145

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

Advertisement

typedef struct ExtFct* ExtFctStructPtr;
If the external function is to be developed independently of the platform (Windows, Linux), then
it is not permissible to use the keyword __declspec(dllexport). This keyword is only required
under Windows. For instance, the following macro can be used under Qt:
#ifdef Q_WS_WIN
#else
#endif
The function is declared as follows:
If the screens, configured with "Run MyScreens", are used on the NCU and PCU/PC, then the
extension of the binary file must be omitted:
When the absolute path information is omitted, "Run MyScreens" first searches for the binary
file in the configured directory.
6.3.19
Generate code (GC)
Description
The GC (Generate Code) function generates NC code from the OUTPUT method.
Programming
Syntax:
Description:
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
char
union CFI_VARIANT
)ExtFctStruct;
#define MY_EXPORT __declspec(dllexport)
#define MY_EXPORT
extern "C" MY_EXPORT void InitConnection
(ExtFctStructPtr FctRet, ExtFctStructPtr FctPar,char cNrFctPar)
FCT InitConnection = ("xyz"/I/R,I,S/I,S)
Identifier"[,"Target file"][,Opt],[Append])
GC("
Generating NC code (the GC function can only be used within the NC)
Programming commands
cTyp;
value;
6.3 Functions
159

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents