Lenze P94DLL01A User Manual
Page 11

11
P94DLL01A
long SS940_GetParamAsDouble ( SHANDLE h, int pid, double& param )
Purpose: To read a RAM (run time) variable as a DOUBLE type with index specified by pid and return it
in argument parameter.
Inputs:
h
handle to interface opened by the function
SS940_OpenInterfaceB
pid
variable (parameter) index
Returns:
param
variable value in double format
long SS940_GetParamAsInteger ( SHANDLE h, int pid, int& param )
Purpose: To read the RAM (run time) variable as a -bit INTEGER type with index specified by pid and
return it in argument parameter.
Inputs:
h
handle to interface opened by the function
SS940_OpenInterfaceB
pid
variable (parameter) index
Returns:
param
variable value in integer format
long SS940_WriteParamAsDouble ( SHANDLE h, int pid, double param )
Purpose: To write the RAM (run time) and EPM copies of the variable as a DOUBLE type with index speci-
fied by pid and return it in argument parameter.
Inputs:
h
handle to interface opened by the function
SS940_OpenInterfaceB
pid
variable (parameter) index
Returns:
param
variable value in double format
long SS940_WriteParamAsInteger ( SHANDLE h, int pid, int param )
Purpose: To write the RAM (run time) and EPM copies of the variable as a DOUBLE type with index speci-
fied by pid and return it in argument parameter.
Inputs:
h
handle to interface opened by the function
SS940_OpenInterfaceB
pid
variable (parameter) index
Returns:
param
variable value in integer format