X509CertCheckIP (FUN) ¶ FUNCTION X509CertCheckIP : BOOL Check if a certificate is bound to a specific IP Address. InOut: Scope Name Type Comment Return X509CertCheckIP BOOL True if the IP is part of the certificate. Input hCert RTS_IEC_HANDLE Handle of to certificate. pIP POINTER TO SysSocket_Interfaces.INADDR IP adress to check in network byte order flags RtsX509CertCheckFlags Flags how to check for the IP address. Values of the enumeration can be combined. pResult POINTER TO RTS_IEC_RESULT Pointer to the error code. ERR_PARAMETER: hCert is invalid, ERR_OK: everything went fine.
UtilIsGuidEmpty (FUN) ¶ FUNCTION UtilIsGuidEmpty : BOOL InOut: Scope Name Type Return UtilIsGuidEmpty BOOL Inout gd Guid
UtilNumericVersionToString (FUN) ¶ FUNCTION UtilNumericVersionToString : STRING InOut: Scope Name Type Return UtilNumericVersionToString STRING Input dwVersion DWORD
UtilResolveItemToRemoteAddr (FUN) ¶ FUNCTION UtilResolveItemToRemoteAddr : BOOL InOut: Scope Name Type Return UtilResolveItemToRemoteAddr BOOL Input item IDatasources.IDataItem Inout Const resolver RemoteVarResolver Output addrInfo AddressGeneratedInfo
UtilSizeFromAddrInfo (FUN) ¶ FUNCTION UtilSizeFromAddrInfo : DINT InOut: Scope Name Type Return UtilSizeFromAddrInfo DINT Inout ai AddressGeneratedInfo
UtilVersionToString (FUN) ¶ FUNCTION UtilVersionToString : STRING InOut: Scope Name Type Return UtilVersionToString STRING Input v VERSION
GlobalConstants ¶ ComponentConstants (GVL) Errors (GVL) Services (GVL)
ComponentConstants (GVL) ¶ Attributes: qualified_only InOut: Scope Name Type Initial Constant DatasourcesComponentName STRING ‘DatasourceApplicationV3’ ComponentId UDINT 16#1092
Errors (GVL) ¶ Attributes: qualified_only InOut: Scope Name Type Initial Comment Constant ERR_SCM_INVALID_HANDLE UDINT 16#1020 ERR_SCM_NO_BUFFER UDINT 16#1021 ERR_SCM_NOTCREATING UDINT 16#1022 ERR_SCM_NOTCREATED UDINT 16#1023 ERR_SCM_INVALID_ADDRESS UDINT 16#1024 ERR_PSC_INVALID_STATE UDINT 16#1030 ERR_PSC_ALREADY_REGISTERED UDINT 16#1031 ERR_PSC_NOT_REGISTERED UDINT 16#1032 ERR_PLCC_INVALID_STATE UDINT 16#1050 ERR_PLCC_NOCHANNEL UDINT 16#1051 ERR_PLCC_WRONGCODEGUID UDINT 16#1052 ERR_PLCC_WRONGDATAGUID UDINT 16#1053 ERR_PLCC_NOMONITORINGPROVIDER UDINT 16#1054 ERR_PLCC_NOTHING_TODO UDINT 16#1055 ERR_PLCC_TOO_MANY_ITEMS UDINT 16#1056 ERR_PLCC_LOGIN_FAILED UDINT 16#1057 ERR_PLCC_INVALID_CRYPTTYPE UDINT 16#1058 ERR_PLCC_PASSWORD_TOO_LONG UDINT 16#1059 the password is longer than 32 characters ERR_PLCC_LOGIN_FAILED_MULTIPLELOGINS UDINT 16#105A ERR_PLCC_CRYPTLOGIN_REQUIRED UDINT 16#105B ERR_PLCC_BAD_ITEM UDINT 16#105C An item cannot be monitored because some information is missing or not available; This is an internally handled error
Services (GVL) ¶ Attributes: qualified_only InOut: Scope Name Type Initial Comment Constant SG_Device UINT 16#1 Service Groups SG_Application UINT 16#2 SG_Monitoring UINT 16#3 SG_Visualization UINT 16#4 SG_IecVarAccess UINT 16#9 SG_TraceManager UINT 16#F SG_AlarmManager UINT 16#18 SG_Monitoring2 UINT 16#1B SG_TrendStorage UINT 16#1E SRV_DevGetTargetId UINT 16#1 Device Services SRV_DevLogin UINT 16#2 SRV_DevLogout UINT 16#3 SRV_DevSessionCreate UINT 16#A TAG_DevLoginUsername UINT 16#10 TAG_DevLoginPassword UINT 16#11 TAG_DevLoginReplyResult UINT 16#20 TAG_DevLoginReplySessionId UINT 16#21 TAG_DevLoginCryptType UINT 16#22 TAG_DevLoginCryptChallenge UINT 16#23 TAG_DevLoginReplySettingFlags UINT 16#24 TAG_DevLoginCredentials UINT 16#81 TAG_DevLoginReply UINT 16#82 TAG_DevLogout UINT 16#0 no data read out at the moment so sending this value is ok, even if it is not defined at all TAG_DevSessionCreateClientType UINT 16#40 TAG_DevSessionCreateClientName UINT 16#41 TAG_DevSessionCreateClientVendor UINT 16#42 TAG_DevSessionCreateClientHostName UINT 16#43 TAG_DevSessionCreateClientVersion UINT 16#44 TAG_DevSessionCreateClientCDSVersion UINT 16#45 TAG_DevSessionCreateClientAuthType UINT 16#46 TAG_DevSessionCreateClientIdentifier UINT 16#83 TAG_UsrMgrCryptType UINT 16#22 TAG_UsrMgrCryptStep UINT 16#25 TAG_UsrMgrCryptNonce UINT 16#26 TAG_UsrMgrCryptPubKey UINT 16#27 TAG_UsrMgrCredentials UINT 16#81 TAG_UsrMgrUser UINT 16#10 TAG_UsrMgrPassword UINT 16#11 TAG_UsrMgrOnlAccResult UINT 16#FF82 TAG_UsrMgrOnlAccReplyCryptType UINT 16#FF22 TAG_UsrMgrOnlAccReplyCryptChallenge UINT 16#FF23 SRV_AppLogin UINT 16#1 Application Services SRV_AppLogout UINT 16#2 TAG_AppLogin UINT 16#1 TAG_AppDesc UINT 16#81 TAG_AppName UINT 16#1 TAG_AppRights UINT 16#11 TAG_AppId UINT 16#11 TAG_AppResult UINT 16#10 TAG_AppReply UINT 16#81 TAG_AppLogout UINT 16#0 SRV_MonMonitoringListOnce UINT 16#1 Monitoring Services SRV_MonWriteVariables UINT 16#2 TAG_Monitoring UINT 16#81 TAG_MonApplication UINT 16#10 TAG_MonSimpleDataType UINT 16#11 TAG_MonStackRelative UINT 16#12 only to be complete, probably not important TAG_MonCompoData UINT 16#13 TAG_MonVarId UINT 16#14 TAG_MonParameterType UINT 16#15 TAG_MonBit UINT 16#18 TAG_PropertyCallRef UINT 16#20 TAG_MonErrorResponse UINT 16#1 TAG_MonReply UINT 16#1 SRV_Mon2Read UINT 16#1 Monitoring 2 Services SRV_Mon2Write UINT 16#2 TAG_Mon2AppHeader UINT 16#1 TAG_Mon2ReadExpList UINT 16#2 TAG_Mon2WriteExpList UINT 16#3 TAG_Mon2ReadValueList UINT 16#40 TAG_Mon2ReadError UINT 16#41 TAG_TrcVariableAddressArea UINT 16#23 Trace TAG_TrcVariableAddressOffset UINT 16#24 TAG_TrcInstanceArea UINT 16#43 TAG_TrcInstanceOffset UINT 16#44 TAG_TrcPropertyArea UINT 16#45 TAG_TrcPropertyOffset UINT 16#46 TAG_GeneralError UINT 16#FF7F TAG_ExtendedErrorInfo UINT 16#FF7E TAG_Online_Access_Result UINT 16#FF82