OpcUa_ServerState (ENUM) ¶ TYPE OpcUa_ServerState : InOut: Name Initial OpcUa_ServerState_Running 0 OpcUa_ServerState_Failed 1 OpcUa_ServerState_NoConfiguration 2 OpcUa_ServerState_Suspended 3 OpcUa_ServerState_Shutdown 4 OpcUa_ServerState_Test 5 OpcUa_ServerState_CommunicationFault 6 OpcUa_ServerState_Unknown 7
OpcUa_StatusCode (ENUM) ¶ TYPE OpcUa_StatusCode : InOut: Name Initial OpcUa_Good 0 OpcUa_BadUnexpectedError 16#80010000 OpcUa_BadInternalError 16#80020000 OpcUa_BadOutOfMemory 16#80030000 OpcUa_BadResourceUnavailable 16#80040000 OpcUa_BadCommunicationError 16#80050000 OpcUa_BadEncodingError 16#80060000 OpcUa_BadDecodingError 16#80070000 OpcUa_BadEncodingLimitsExceeded 16#80080000 OpcUa_BadRequestTooLarge 16#80B80000 OpcUa_BadResponseTooLarge 16#80B90000 OpcUa_BadUnknownResponse 16#80090000 OpcUa_BadTimeout 16#800A0000 OpcUa_BadServiceUnsupported 16#800B0000 OpcUa_BadShutdown 16#800C0000 OpcUa_BadServerNotConnected 16#800D0000 OpcUa_BadServerHalted 16#800E0000 OpcUa_BadNothingToDo 16#800F0000 OpcUa_BadTooManyOperations 16#80100000 OpcUa_BadTooManyMonitoredItems 16#80DB0000 OpcUa_BadDataTypeIdUnknown 16#80110000 OpcUa_BadCertificateInvalid 16#80120000 OpcUa_BadSecurityChecksFailed 16#80130000 OpcUa_BadCertificatePolicyCheckFailed 16#81140000 OpcUa_BadCertificateTimeInvalid 16#80140000 OpcUa_BadCertificateIssuerTimeInvalid 16#80150000 OpcUa_BadCertificateHostNameInvalid 16#80160000 OpcUa_BadCertificateUriInvalid 16#80170000 OpcUa_BadCertificateUseNotAllowed 16#80180000 OpcUa_BadCertificateIssuerUseNotAllowed 16#80190000 OpcUa_BadCertificateUntrusted 16#801A0000 OpcUa_BadCertificateRevocationUnknown 16#801B0000 OpcUa_BadCertificateIssuerRevocationUnknown 16#801C0000 OpcUa_BadCertificateRevoked 16#801D0000 OpcUa_BadCertificateIssuerRevoked 16#801E0000 OpcUa_BadCertificateChainIncomplete 16#810D0000 OpcUa_BadUserAccessDenied 16#801F0000 OpcUa_BadIdentityTokenInvalid 16#80200000 OpcUa_BadIdentityTokenRejected 16#80210000 OpcUa_BadSecureChannelIdInvalid 16#80220000 OpcUa_BadInvalidTimestamp 16#80230000 OpcUa_BadNonceInvalid 16#80240000 OpcUa_BadSessionIdInvalid 16#80250000 OpcUa_BadSessionClosed 16#80260000 OpcUa_BadSessionNotActivated 16#80270000 OpcUa_BadSubscriptionIdInvalid 16#80280000 OpcUa_BadRequestHeaderInvalid 16#802A0000 OpcUa_BadTimestampsToReturnInvalid 16#802B0000 OpcUa_BadRequestCancelledByClient 16#802C0000 OpcUa_BadTooManyArguments 16#80E50000 OpcUa_BadLicenseExpired 16#810E0000 OpcUa_BadLicenseLimitsExceeded 16#810F0000 OpcUa_BadLicenseNotAvailable 16#81100000 OpcUa_GoodSubscriptionTransferred 16#2D0000 OpcUa_GoodCompletesAsynchronously 16#2E0000 OpcUa_GoodOverload 16#2F0000 OpcUa_GoodClamped 16#300000 OpcUa_BadNoCommunication 16#80310000 OpcUa_BadWaitingForInitialData 16#80320000 OpcUa_BadNodeIdInvalid 16#80330000 OpcUa_BadNodeIdUnknown 16#80340000 OpcUa_BadAttributeIdInvalid 16#80350000 OpcUa_BadIndexRangeInvalid 16#80360000 OpcUa_BadIndexRangeNoData 16#80370000 OpcUa_BadDataEncodingInvalid 16#80380000 OpcUa_BadDataEncodingUnsupported 16#80390000 OpcUa_BadNotReadable 16#803A0000 OpcUa_BadNotWritable 16#803B0000 OpcUa_BadOutOfRange 16#803C0000 OpcUa_BadNotSupported 16#803D0000 OpcUa_BadNotFound 16#803E0000 OpcUa_BadObjectDeleted 16#803F0000 OpcUa_BadNotImplemented 16#80400000 OpcUa_BadMonitoringModeInvalid 16#80410000 OpcUa_BadMonitoredItemIdInvalid 16#80420000 OpcUa_BadMonitoredItemFilterInvalid 16#80430000 OpcUa_BadMonitoredItemFilterUnsupported 16#80440000 OpcUa_BadFilterNotAllowed 16#80450000 OpcUa_BadStructureMissing 16#80460000 OpcUa_BadEventFilterInvalid 16#80470000 OpcUa_BadContentFilterInvalid 16#80480000 OpcUa_BadFilterOperatorInvalid 16#80C10000 OpcUa_BadFilterOperatorUnsupported 16#80C20000 OpcUa_BadFilterOperandCountMismatch 16#80C30000 OpcUa_BadFilterOperandInvalid 16#80490000 OpcUa_BadFilterElementInvalid 16#80C40000 OpcUa_BadFilterLiteralInvalid 16#80C50000 OpcUa_BadContinuationPointInvalid 16#804A0000 OpcUa_BadNoContinuationPoints 16#804B0000 OpcUa_BadReferenceTypeIdInvalid 16#804C0000 OpcUa_BadBrowseDirectionInvalid 16#804D0000 OpcUa_BadNodeNotInView 16#804E0000 OpcUa_BadNumericOverflow 16#81120000 OpcUa_BadServerUriInvalid 16#804F0000 OpcUa_BadServerNameMissing 16#80500000 OpcUa_BadDiscoveryUrlMissing 16#80510000 OpcUa_BadSempahoreFileMissing 16#80520000 OpcUa_BadRequestTypeInvalid 16#80530000 OpcUa_BadSecurityModeRejected 16#80540000 OpcUa_BadSecurityPolicyRejected 16#80550000 OpcUa_BadTooManySessions 16#80560000 OpcUa_BadUserSignatureInvalid 16#80570000 OpcUa_BadApplicationSignatureInvalid 16#80580000 OpcUa_BadNoValidCertificates 16#80590000 OpcUa_BadIdentityChangeNotSupported 16#80C60000 OpcUa_BadRequestCancelledByRequest 16#805A0000 OpcUa_BadParentNodeIdInvalid 16#805B0000 OpcUa_BadReferenceNotAllowed 16#805C0000 OpcUa_BadNodeIdRejected 16#805D0000 OpcUa_BadNodeIdExists 16#805E0000 OpcUa_BadNodeClassInvalid 16#805F0000 OpcUa_BadBrowseNameInvalid 16#80600000 OpcUa_BadBrowseNameDuplicated 16#80610000 OpcUa_BadNodeAttributesInvalid 16#80620000 OpcUa_BadTypeDefinitionInvalid 16#80630000 OpcUa_BadSourceNodeIdInvalid 16#80640000 OpcUa_BadTargetNodeIdInvalid 16#80650000 OpcUa_BadDuplicateReferenceNotAllowed 16#80660000 OpcUa_BadInvalidSelfReference 16#80670000 OpcUa_BadReferenceLocalOnly 16#80680000 OpcUa_BadNoDeleteRights 16#80690000 OpcUa_UncertainReferenceNotDeleted 16#40BC0000 OpcUa_BadServerIndexInvalid 16#806A0000 OpcUa_BadViewIdUnknown 16#806B0000 OpcUa_BadViewTimestampInvalid 16#80C90000 OpcUa_BadViewParameterMismatch 16#80CA0000 OpcUa_BadViewVersionInvalid 16#80CB0000 OpcUa_UncertainNotAllNodesAvailable 16#40C00000 OpcUa_GoodResultsMayBeIncomplete 16#BA0000 OpcUa_BadNotTypeDefinition 16#80C80000 OpcUa_UncertainReferenceOutOfServer 16#406C0000 OpcUa_BadTooManyMatches 16#806D0000 OpcUa_BadQueryTooComplex 16#806E0000 OpcUa_BadNoMatch 16#806F0000 OpcUa_BadMaxAgeInvalid 16#80700000 OpcUa_BadSecurityModeInsufficient 16#80E60000 OpcUa_BadHistoryOperationInvalid 16#80710000 OpcUa_BadHistoryOperationUnsupported 16#80720000 OpcUa_BadInvalidTimestampArgument 16#80BD0000 OpcUa_BadWriteNotSupported 16#80730000 OpcUa_BadTypeMismatch 16#80740000 OpcUa_BadMethodInvalid 16#80750000 OpcUa_BadArgumentsMissing 16#80760000 OpcUa_BadNotExecutable 16#81110000 OpcUa_BadTooManySubscriptions 16#80770000 OpcUa_BadTooManyPublishRequests 16#80780000 OpcUa_BadNoSubscription 16#80790000 OpcUa_BadSequenceNumberUnknown 16#807A0000 OpcUa_BadMessageNotAvailable 16#807B0000 OpcUa_BadInsufficientClientProfile 16#807C0000 OpcUa_BadStateNotActive 16#80BF0000 OpcUa_BadAlreadyExists 16#81150000 OpcUa_BadTcpServerTooBusy 16#807D0000 OpcUa_BadTcpMessageTypeInvalid 16#807E0000 OpcUa_BadTcpSecureChannelUnknown 16#807F0000 OpcUa_BadTcpMessageTooLarge 16#80800000 OpcUa_BadTcpNotEnoughResources 16#80810000 OpcUa_BadTcpInternalError 16#80820000 OpcUa_BadTcpEndpointUrlInvalid 16#80830000 OpcUa_BadRequestInterrupted 16#80840000 OpcUa_BadRequestTimeout 16#80850000 OpcUa_BadSecureChannelClosed 16#80860000 OpcUa_BadSecureChannelTokenUnknown 16#80870000 OpcUa_BadSequenceNumberInvalid 16#80880000 OpcUa_BadProtocolVersionUnsupported 16#80BE0000 OpcUa_BadConfigurationError 16#80890000 OpcUa_BadNotConnected 16#808A0000 OpcUa_BadDeviceFailure 16#808B0000 OpcUa_BadSensorFailure 16#808C0000 OpcUa_BadOutOfService 16#808D0000 OpcUa_BadDeadbandFilterInvalid 16#808E0000 OpcUa_UncertainNoCommunicationLastUsableValue 16#408F0000 OpcUa_UncertainLastUsableValue 16#40900000 OpcUa_UncertainSubstituteValue 16#40910000 OpcUa_UncertainInitialValue 16#40920000 OpcUa_UncertainSensorNotAccurate 16#40930000 OpcUa_UncertainEngineeringUnitsExceeded 16#40940000 OpcUa_UncertainSubNormal 16#40950000 OpcUa_GoodLocalOverride 16#960000 OpcUa_BadRefreshInProgress 16#80970000 OpcUa_BadConditionAlreadyDisabled 16#80980000 OpcUa_BadConditionAlreadyEnabled 16#80CC0000 OpcUa_BadConditionDisabled 16#80990000 OpcUa_BadEventIdUnknown 16#809A0000 OpcUa_BadEventNotAcknowledgeable 16#80BB0000 OpcUa_BadDialogNotActive 16#80CD0000 OpcUa_BadDialogResponseInvalid 16#80CE0000 OpcUa_BadConditionBranchAlreadyAcked 16#80CF0000 OpcUa_BadConditionBranchAlreadyConfirmed 16#80D00000 OpcUa_BadConditionAlreadyShelved 16#80D10000 OpcUa_BadConditionNotShelved 16#80D20000 OpcUa_BadShelvingTimeOutOfRange 16#80D30000 OpcUa_BadNoData 16#809B0000 OpcUa_BadBoundNotFound 16#80D70000 OpcUa_BadBoundNotSupported 16#80D80000 OpcUa_BadDataLost 16#809D0000 OpcUa_BadDataUnavailable 16#809E0000 OpcUa_BadEntryExists 16#809F0000 OpcUa_BadNoEntryExists 16#80A00000 OpcUa_BadTimestampNotSupported 16#80A10000 OpcUa_GoodEntryInserted 16#A20000 OpcUa_GoodEntryReplaced 16#A30000 OpcUa_UncertainDataSubNormal 16#40A40000 OpcUa_GoodNoData 16#A50000 OpcUa_GoodMoreData 16#A60000 OpcUa_BadAggregateListMismatch 16#80D40000 OpcUa_BadAggregateNotSupported 16#80D50000 OpcUa_BadAggregateInvalidInputs 16#80D60000 OpcUa_BadAggregateConfigurationRejected 16#80DA0000 OpcUa_GoodDataIgnored 16#D90000 OpcUa_BadRequestNotAllowed 16#80E40000 OpcUa_BadRequestNotComplete 16#81130000 OpcUa_GoodEdited 16#DC0000 OpcUa_GoodPostActionFailed 16#DD0000 OpcUa_UncertainDominantValueChanged 16#40DE0000 OpcUa_GoodDependentValueChanged 16#E00000 OpcUa_BadDominantValueChanged 16#80E10000 OpcUa_UncertainDependentValueChanged 16#40E20000 OpcUa_BadDependentValueChanged 16#80E30000 OpcUa_GoodCommunicationEvent 16#A70000 OpcUa_GoodShutdownEvent 16#A80000 OpcUa_GoodCallAgain 16#A90000 OpcUa_GoodNonCriticalTimeout 16#AA0000 OpcUa_BadInvalidArgument 16#80AB0000 OpcUa_BadConnectionRejected 16#80AC0000 OpcUa_BadDisconnect 16#80AD0000 OpcUa_BadConnectionClosed 16#80AE0000 OpcUa_BadInvalidState 16#80AF0000 OpcUa_BadEndOfStream 16#80B00000 OpcUa_BadNoDataAvailable 16#80B10000 OpcUa_BadWaitingForResponse 16#80B20000 OpcUa_BadOperationAbandoned 16#80B30000 OpcUa_BadExpectedStreamToBlock 16#80B40000 OpcUa_BadWouldBlock 16#80B50000 OpcUa_BadSyntaxError 16#80B60000 OpcUa_BadMaxConnectionsReached 16#80B70000
OpcUa_StructureType (ENUM) ¶ TYPE OpcUa_StructureType : InOut: Name Initial OpcUa_StructureType_Structure 0 OpcUa_StructureType_StructureWithOptionalFields 1 OpcUa_StructureType_Union 2
OpcUa_TimestampsToReturn (ENUM) ¶ TYPE OpcUa_TimestampsToReturn : InOut: Name Initial OpcUa_TimestampsToReturn_Source 0 OpcUa_TimestampsToReturn_Server 1 OpcUa_TimestampsToReturn_Both 2 OpcUa_TimestampsToReturn_Neither 3 OpcUa_TimestampsToReturn_Invalid 4
OpcUa_UserTokenType (ENUM) ¶ TYPE OpcUa_UserTokenType : InOut: Name Initial OpcUa_UserTokenType_Anonymous 0 OpcUa_UserTokenType_UserName 1 OpcUa_UserTokenType_Certificate 2 OpcUa_UserTokenType_IssuedToken 3
OpcUa_VariantArrayType (ENUM) ¶ TYPE OpcUa_VariantArrayType : InOut: Name Initial OpcUa_VariantArrayType_Scalar 0 OpcUa_VariantArrayType_Array 1 OpcUa_VariantArrayType_Matrix 2
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 20.04.2021, 15:47:17 companyName string 3S-Smart Software Solutions GmbH libraryFile CmpOPCUAStack_Itfs.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile CmpOPCUAStack_Itfs.clean.json version version 2.0.0.0 ProjectInformation IsInterfaceLibrary bool True Released True SourceLibrary False LastModificationDateTime date 20.04.2021, 15:47:17 LibraryCategories library-category-list System|SysLibs Author string CODESYS Development GmbH Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 DefaultNamespace Description See: Description DocFormat reStructuredText Project CmpOPCUAStack_Itfs Title CmpOPCUAStack Interfaces Version version 3.5.17.0
CmpPlcShell Library Documentation ¶ Company 3S - Smart Software Solutions GmbH Title CmpPlcShell Version 3.5.17.0 Categories System|SysLibs Namespace SHELL Author 3S - Smart Software Solutions GmbH Placeholder CmpPlcShell Description 1 ¶ This library can be used to implement own Commands for the PlcShell. Contents: ¶ CommandHandler (FunctionBlock) CommandHandler (Method) EventCallback (Method) FB_exit (Method) FB_init (Method) Register (Method) EVTPARAM_PlcShellCommand (Struct) PlcShellAppend (Function) PlcShellRegister (Function) PlcShellSetEof (Function) PlcShellSkip (Function) PlcShellUnregister (Function) Indices and tables ¶ 1 Based on CmpPlcShell.library, last modified 20.04.2021, 15:54:06. LibDoc 4.4.0.0-b.27 The content file CmpPlcShell.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 20.04.2021, 15:54:06.
CommandHandler.CommandHandler (METH) ¶ METHOD CommandHandler : UDINT InOut: Scope Name Type Return CommandHandler UDINT Input pszArguments REFERENCE TO STRING diBlockID DINT udiBlockSize UDINT
CommandHandler (FB) ¶ FUNCTION_BLOCK CommandHandler IMPLEMENTS ICmpEventCallback Command Handler for the PLCShell. This function block can be used as a base to register custom Command Handlers in the PLCShell. To implement a new Command Handler, just: extend this function block</li> Call SUPER^.Register() on FB_init</li> Overload CommandHandler() with your own command</li> An example in Pseudocode: FUNCTION BLOCK MyCommandHandler EXTENDS CommandHandler METHOD CommandHandler PlcShellAppend(‘The output of my command’, iBlockID); METHOD FB_init SUPER^.Register(‘myCmd’, ‘myCmd$r$n$tmyHelp’); METHOD FB_exit The registration is done in the function Register() and the deregistration is done in the FB_exit of the base FB. Methods: CommandHandler EventCallback FB_exit FB_init Register Structure: CommandHandler (Method) EventCallback (Method) FB_exit (Method) FB_init (Method) Register (Method)