Programming
2.7 Functions
Expanding the user interface
2-106
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
//M(SCREEN FORM1)
REG[2])
; The value of the "InitConnection" external function is
assigned to RET along with the call parameters
VAR1+SIN(VAR3), 13, Servus, VAR2 and REG[2].
END_LOAD
Extract from DLL file
void __export WINAPI InitConnection(ExtFctStructPtr FctRet, ExtFctStructPtr
FctPar, char cNrFctPar)
FctRet->value.i Return value of function
FctPar[0]->value.r 1st parameter (VAR1+SIN(VAR3))
FctPar[1]->value.i 2nd parameter (13)
FctPar[2]->value.s 3rd parameter ("Servus")
FctPar[4]->value.i 4th parameter (reference to VAR2)
FctPar[5]->value.s 5th parameter (reference to REG[2])
cNrFctPar Number of parameters (5)
Summary of Contents for SINUMERIK
Page 6: ...Preface Base software and HMI Advanced 6 Commissioning Manual 03 2009 6FC5397 0DP10 3BA0 ...
Page 96: ......
Page 562: ...Index Expanding the user interface Index 4 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Page 566: ...Table of contents Online Help HE1 4 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Page 598: ...Online Help HE1 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 36 ...