RuntimeCredentialsHandler (FB) ¶ FUNCTION_BLOCK RuntimeCredentialsHandler A utility function block for the work with credentials, storing them at the correct location in the INI-String and resetting them both in the caller and after usage in the INI-String InOut: Scope Name Type Comment Input pIniString POINTER TO BYTE The ini-string that should be modified at need xAssignCredentials BOOL Whether the fb should become active or not xResetPassedCredentials BOOL could become an option in the future whether credentials should be asked on every connection; for now we use the same behaviour than dataserver (keeping credentials) Inout userName STRING The username to write to ini; will be resetted after writing to ini (thus VAR_IN_OUT) password STRING The username to write to ini; will be resetted after writing to ini (thus VAR_IN_OUT) Output error SysTypes.RTS_IEC_RESULT Methods: ResetIniContent Structure: ResetIniContent (Method)
GlobalVariables ¶ GVL (GVL) GVL_EarlyInit (GVL)
GVL (GVL) ¶ Attributes: qualified_only InOut: Name Type logger Logger alloc Allocator
GVL_EarlyInit (GVL) ¶ Attributes: qualified_only InOut: Name Type Comment applicationName STRING _appNameHelper AppNameHelper only for automatic assignment of applicationName
Structs ¶ ConnectionSetup (Struct) DriverCfg (Struct)
ConnectionSetup (STRUCT) ¶ TYPE ConnectionSetup : STRUCT This structure contains all the data for dynamic connection setup IEC application has to instantiate it to allow a dynamic change of parameterss InOut: Name Type Comment xDataValid BOOL If the data are valid stIpAddress STRING Data to set when ‘CODESYS V3’ or ‘CODESYS V3 via Gateway’ connections have been selected at design time stPort STRING Port: e.g. ‘1234’ stGatewayAddress STRING Data to set when ‘CODESYS V3 via Gateway’ access has been selected at design time stGatewayPort STRING Gateway port: e.g. ‘1234’ stDeviceName STRING Data to set when ‘CODESYS V3’ or ‘CODESYS V3 via Gateway’ connections have been selected at design time and “node name” or “node address” are used If present, this parameter has priority on IP address parameters
DriverCfg (STRUCT) ¶ TYPE DriverCfg : STRUCT Driver configuration structure InOut: Name Type Comment pstIniContent POINTER TO STRING(InternalConstants.IniStringPtrSize) xCredentialsAtRuntime BOOL Initialization string for PLCHandler pConnectionSetup POINTER TO ConnectionSetup If the credentials have to be used
Library Information ¶ GetLibVersion (Function) GetLibVersionNumber (Function) IsLibReleased (Function)
GetLibVersion (FUN) ¶ FUNCTION GetLibVersion : VERSION This function has been automatically generated from the project information. InOut: Scope Name Type Return GetLibVersion VERSION
GetLibVersionNumber (FUN) ¶ FUNCTION GetLibVersionNumber : DWORD This function has been automatically generated from the project information. InOut: Scope Name Type Return GetLibVersionNumber DWORD