PlcService.InitSavepoint (METH) ¶ METHOD InitSavepoint : BOOL InOut: Scope Name Type Comment Return InitSavepoint BOOL Input buffer DataBuffer if there is no memory given here, then dynamic savepoints will be allocated
GetTitle (FUN) ¶ FUNCTION GetTitle : WSTRING This function has been automatically generated from the project information. InOut: Scope Name Type Return GetTitle WSTRING
GetVersion (FUN) ¶ FUNCTION GetVersion : VERSION This function has been automatically generated from the project information. InOut: Scope Name Type Return GetVersion VERSION
GetVersionProperty (FUN) ¶ FUNCTION GetVersionProperty : VERSION This function has been automatically generated from the project information. InOut: Scope Name Type Return GetVersionProperty VERSION Input stKey WSTRING
ReturnValues (GVL) ¶ InOut: Scope Name Type Initial Comment Constant ERR_OK UDINT 16#0 ERR_PARAMETER UDINT 16#2 ERR_NOTINITIALIZED UDINT 16#3 ERR_NOBUFFER UDINT 16#6 ERR_PENDING UDINT 16#A ERR_NOTIMPLEMENTED UDINT 16#C ERR_INVALIDID UDINT 16#D ERR_L7_UNKNOWNCMDGROUP UDINT 16#301 ERR_APP_INVALID_SESSIONID UDINT 16#502 ERR_APP_INVALID_DATAID UDINT 16#503 ERR_TSW_NOTCREATED UDINT 16#1000 ERR_PLCS_ALIGNMENT UDINT 16#1010 ERR_PLCS_UNKNOWN_PROTOCOL UDINT 16#1011 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_TSR_NOMORETAGS UDINT 16#1040 ERR_TSR_NOCONTAINERTAG UDINT 16#1041 ERR_TSR_NODATATAG UDINT 16#1042 ERR_TSR_ENDOFTAG UDINT 16#1043 ERR_TSR_READONWRONGTAG UDINT 16#1044 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 ERR_MIM_ALIGNMENT UDINT 16#1060 ERR_NO_ITF UDINT 16#1061 Implementation of a requiered interface is not available
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 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 TODO: correct tag when this is implemented in the runtime SRV_AppLogin UINT 16#1 TODO: tags for answer of device login 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 TODO: correct tag 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 SRV_IecVarAcc_Register_Var_List UINT 16#1 Symbolic (IecVarAccess) Monitoring services SRV_IecVarAcc_UnRegister_Var_List UINT 16#2 SRV_IecVarAcc_Read_Var_List UINT 16#3 SRV_IecVarAcc_Write_Var_List UINT 16#4 SRV_IecVarAcc_Read_Vars UINT 16#5 SRV_IecVarAcc_Write_Vars UINT 16#6 TAG_IecVarAcc_Varlist_Handle UINT 16#10 TAG_IecVarAcc_Flags UINT 16#13 TAG_IecVarAcc_Result UINT 16#14 TAG_IecVarAcc_Num_Of_Vars UINT 16#18 TAG_IecVarAcc_Var UINT 16#19 TAG_IecVarAcc_Var2 UINT 16#1A TAG_IecVarAcc_Var_Access_Info UINT 16#1B TAG_IecVarAcc_Var_Error UINT 16#1C TAG_IecVarAcc_Var_Read UINT 16#1D TAG_IecVarAcc_Var_Write UINT 16#1E TAG_IecVarAcc_Var_Result UINT 16#20 TAG_IecVarAcc_Var_Name UINT 16#21 TAG_IecVarAcc_Var_ClientHandle UINT 16#23 TAG_IecVarAcc_Var_NameList_Opt UINT 16#24 TAG_GeneralError UINT 16#FF7F TAG_IecVarAcc_PEERADDRESS : UINT := 16#81; TAG_IecVarAcc_PEERADDRESS_INFO : UINT := 16#11; TAG_IecVarAcc_PEERADDRESS_COMPONENT : UINT := 16#12; TAG_IecVarAcc_RESULT : UINT := 16#14; TAG_IecVarAcc_NAME_LEN : UINT := 16#15; TAG_IecVarAcc_NAME : UINT := 16#16; TAG_IecVarAcc_UPDATERATE : UINT := 16#17; TAG_IecVarAcc_VAR : UINT := 16#19; TAG_IecVarAcc_VAR2 : UINT := 16#1A; TAG_IecVarAcc_VAR_WRITE : UINT := 16#1E; TAG_IecVarAcc_VAR_HANDLE : UINT := 16#1F; TAG_IecVarAcc_TIMESTAMP : UINT := 16#22; TAG_ExtendedErrorInfo UINT 16#FF7E SRV_AlmGetCount UINT 16#81 Alarm manager services SRV_AlmGetAlarms UINT 16#82 SRV_AlmGetAlarms2 UINT 16#83 TAG_AlmAppName UINT 16#1 Tags for the requests TAG_AlmAlarmGroups UINT 16#2 TAG_AlmAlarmClasses UINT 16#3 TAG_AlmPriority UINT 16#4 TAG_AlmRowSpecification UINT 16#5 TAG_AlmRowId UINT 16#6 TAG_AlmGetCountReply UINT 16#1 Tags for the responses TAG_AlmGetAlarmsReply UINT 16#82 TAG_AlmGetAlarmsError UINT 16#1 TAG_AlmGetAlarmsRows UINT 16#2 TAG_AlmGetAlarmsRowId UINT 16#3 TAG_Alarms2Alarm UINT 16#84 TAG_GetAlarms2AlarmConstantValues UINT 16#21 TAG_GetAlarms2AlarmLatchVariable UINT 16#22 SRV_TrcPacketCreate UINT 16#2 Trace manager services SRV_TrcPacketDelete UINT 16#3 SRV_TrcPacketComplete UINT 16#4 SRV_TrcPacketOpen UINT 16#5 SRV_TrcPacketClose UINT 16#6 SRV_TrcPacketGetConfig UINT 16#9 SRV_TrcRecordAdd UINT 16#D SRV_TrcPacketStart UINT 16#A SRV_TrcPacketStop UINT 16#B SRV_TrcPacketRead UINT 16#7 SRV_TrcPacketResetTrigger UINT 16#10 SRV_TrcPacketStore UINT 16#11 SRV_TrcPacketRestore UINT 16#12 SRV_TrcGetConfigFromFile UINT 16#13 TAG_TrcPacketName UINT 16#10 Tags for the requests TAG_TrcPacketComment UINT 16#16 TAG_TrcAppName UINT 16#11 TAG_TrcTaskName UINT 16#12 TAG_TrcEveryNCycles UINT 16#13 TAG_TrcBufferEntries UINT 16#14 TAG_TrcPacketFlags UINT 16#15 TAG_TrcTrigger UINT 16#86 TAG_TrcTriggerLevel UINT 16#30 TAG_TrcTriggerEdge UINT 16#31 TAG_TrcTriggerUpdatesAfterTrigger UINT 16#34 TAG_TrcTriggerFlags UINT 16#33 TAG_TrcVariable UINT 16#83 TAG_TrcVariableAddressFlag UINT 16#21 TAG_TrcVariableAddressArea UINT 16#23 TAG_TrcVariableAddressOffset UINT 16#24 TAG_TrcVariableName UINT 16#20 TAG_TrcVariableTypeClass UINT 16#25 TAG_TrcVariableSize UINT 16#26 TAG_TrcPacketHandle UINT 16#40 TAG_TrcError UINT 16#FF7F TAG_TrcGraphType UINT 16#27 TAG_TrcGraphColor UINT 16#28 TAG_TrcParameterId UINT 16#29 TAG_TrcParameterModuleType UINT 16#30 TAG_TrcParameterInstance UINT 16#31 TAG_TrcActivateMinWarning UINT 16#32 TAG_TrcCriticalLowerLimit UINT 16#33 TAG_TrcMinWarningColor UINT 16#34 TAG_TrcActivateMaxWarning UINT 16#35 TAG_TrcCriticalUpperLimit UINT 16#36 TAG_TrcMaxWarningColor UINT 16#37 TAG_TrcSecondYAxis UINT 16#38 TAG_TrcRecordHandle UINT 16#41 TAG_TrcRecordConfiguration UINT 16#84 TAG_TrcPacketTimestamp UINT 16#4A TAG_TrcTraceStateStruct UINT 16#87 TAG_TrcTraceState UINT 16#50 TAG_TrcTraceStartTime UINT 16#51 TAG_TrcTriggerState UINT 16#52 TAG_TrcTriggerTimestamp UINT 16#53 TAG_TrcTraceChangeTime UINT 16#55 TAG_TrcRecordBuffer UINT 16#42 TAG_TrcRecordResult UINT 16#47 TAG_TrcCondition UINT 16#85 TAG_TrcFileName UINT 16#4C TAG_TrcInstanceArea UINT 16#43 TAG_TrcInstanceOffset UINT 16#44 TAG_TrcPropertyArea UINT 16#45 TAG_TrcPropertyOffset UINT 16#46 SRV_VISU_USER_MGMT_GETUSERCOUNT UINT 16#8 Visu user mgmt services SRV_VISU_USER_MGMT_GETUSERS UINT 16#9 SRV_VISU_USER_MGMT_CHECKCHANGEUSER UINT 16#A SRV_VISU_USER_MGMT_GETSETDB UINT 16#B TAG_VisuUserMgmtAppName UINT 16#1 Tags for the requests TAG_VisuUserMgmtDBID UINT 16#2 TAG_VisuUserMgmtREQVersion UINT 16#3 TAG_VisuUserMgmtStartIndex UINT 16#4 TAG_VisuUserMgmtEndIndex UINT 16#5 TAG_VisuUserMgmtFlags UINT 16#6 TAG_VisuUserMgmtUserChangeType UINT 16#7 TAG_VisuUserMgmtIndex UINT 16#8 TAG_VisuUserMgmtUser UINT 16#9 TAG_VisuUserMgmtGetUserCountReply UINT 16#1 Tags for the responses TAG_VisuUserMgmtGetUsersReply UINT 16#2 TAG_VisuUserMgmtCheckChangeUserReply UINT 16#3 TAG_VisuUserMgmtGetSetDBReply UINT 16#4 SRV_TrendGetMinMaxTimestamps UINT 16#83 Trend storage services SRV_TrendReadTrendData UINT 16#84 TAG_TrendApplicationName UINT 16#1 Tags for the requests TAG_TrendPacketName UINT 16#2 TAG_TrendTimestamps UINT 16#3 TAG_TrendVariables UINT 16#4 TAG_TrendError UINT 16#1 Tags for the responses TAG_TrendGetMinMaxTimestamps UINT 16#2 TAG_TrendCountVariables UINT 16#3 TAG_TrendReadTrendDataVariables UINT 16#85 TAG_TrendRelevantVariables UINT 16#86 SUBT_TrendReadTrendDataVariable UINT 16#5 TAG_TrendReadTrendDataTimestamps UINT 16#6 TAG_TrendReadTrendDataData UINT 16#7 SUBT_TrendRelevantVariable UINT 16#8 TAG_TrendReadTrendDataValidity UINT 16#9 TAG_TrendReadTrendDataPacket UINT 16#A SUBT_TrendVariableDescription UINT 16#9 SUBT_TrendAttachedYAxis UINT 16#A SUBT_TrendLineProperties UINT 16#B
PlcCredentials (STRUCT) ¶ TYPE PlcCredentials : STRUCT InOut: Name Type stUser STRING stPassword STRING
PlcServiceHeader (STRUCT) ¶ TYPE PlcServiceHeader : STRUCT InOut: Name Type Initial Comment HeaderTag UINT HEADER_TAG_STANDARD Qualified Constants.<…> but this leads to compile errors HeaderSize UINT UDINT_TO_UINT((SIZEOF(THIS^) - 4)) size from service group on! ServiceGroup UINT Service UINT DeviceSessionId UDINT ServiceLength UDINT size of the service wihtout the header CustomerId UINT 0 0 -> 3S Reserved UINT 0 must be 0
Test ¶ Test_CBTarget (FunctionBlock) ChannelError (Method) ReplyReceived (Method) Test_Connection (Program) Test_DataItem (FunctionBlock) Access (Property) AddressInfo (Property) DataType (Property) Id (Property) Quality (Property) ReferenceCount (Property) SymbolicName (Property) Tag (Property) Timestamp (Property) ValueAddress (Property) ValueSize (Property) WriteCopyAddress (Property) Test_DataItemProvider (FunctionBlock) GetReadItems (Method) GetWriteItems (Method) Initialize (Method) ReadListId (Property) WriteListId (Property) Test_DataItemProviderBlackfin (FunctionBlock) GetReadItems (Method) GetWriteItems (Method) Initialize (Method) ReadListId (Property) WriteListId (Property) Test_MonitoringValues (Struct) Test_OSRB (Program) Test_PRG (Program) CheckDataArraysEqual (Action) CheckErrors (Action) ClearDataCheck (Action) ClearErrors (Action) Test_ReadWriteSwap (Action) Test_TaggedReader (Action) Test_TaggedWriter (Action) Test_UintToHexString (Action) Test_Uint_FromHexString (Action) Testcases (Enum)
Test_CBTarget (FB) ¶ FUNCTION_BLOCK Test_CBTarget IMPLEMENTS IPlcServiceChannelCallbackTarget Methods: ChannelError ReplyReceived Structure: ChannelError (Method) ReplyReceived (Method)