SettgGetIntValue (FUN)ΒΆ
FUNCTION SettgGetIntValue : RTS_IEC_RESULT
Get an integer value from settings
- InOut:
Scope
Name
Type
Comment
Return
SettgGetIntValueRTS_IEC_RESULTRuntime system error code (see CmpErrors.library).
Input
pszComponentREFERENCE TO STRING
Name of component
pszKeyREFERENCE TO STRING
Name of key
piValuePOINTER TO DINT
Pointer to value for result
iDefaultDINTDefault value to set, if key not found
bCachedDINTFlag, if value should be read cached or direct from file (CMPSETTINGS_CACHED, CMPSETTINGS_NOT_CACHED)