ComponentId (GVL) ¶ InOut: Scope Name Type Initial Constant CMPID_CmpSrv UDINT 16#1C
EventParameter ¶ EVTPARAM_CmpSrv (Struct) EventIDs (GVL)
EVTPARAM_CmpSrv (STRUCT) ¶ TYPE EVTPARAM_CmpSrv : STRUCT <category>Event parameter</category> <element name=”pServiceHandlerParameter” type=”IN”>Pointer to service handler structure</element> InOut: Name Type pServiceHandlerParameter POINTER TO SERVICEHANDLER_PARAMETER
EventIDs (GVL) ¶ InOut: Scope Name Type Initial Constant EVTPARAMID_CmpSrv UDINT 16#1 EVTVERSION_CmpSrv UDINT 16#2
Structs ¶ HEADER_TAG (Struct) PROTOCOL_DATA_UNIT (Struct) SERVICEHANDLER_PARAMETER (Struct)
HEADER_TAG (STRUCT) ¶ TYPE HEADER_TAG : STRUCT InOut: Name Type usHeaderTag UINT usHeaderLength UINT usServiceGroup UINT usService UINT ulSessionID UDINT ulServiceLength UDINT
PROTOCOL_DATA_UNIT (STRUCT) ¶ TYPE PROTOCOL_DATA_UNIT : STRUCT InOut: Name Type pData POINTER TO BYTE ulCount UDINT
SERVICEHANDLER_PARAMETER (STRUCT) ¶ TYPE SERVICEHANDLER_PARAMETER : STRUCT InOut: Name Type Comment ulChannelId UDINT Id of the channel on which the request arrived pHeaderTag POINTER TO HEADER_TAG Pointer to the header struct of the received request pduData PROTOCOL_DATA_UNIT References the request data (without header) pduSendBuffer PROTOCOL_DATA_UNIT Contains the buffer (pointer and length) for the reply data Result RTS_IEC_RESULT Result code; is used as inout parameter. When the corresponding event is posted, then this value is already pre-initalized with error code: - ERR_PENDING: Event was already posted before for the same received service request. The previous call returned ERR_CALL_AGAIN. - All other values (most likely ERR_L7_UNKNOWNCMD): Event for the received service request is posted the first time. Typical result codes, which should be returned by the event handler: - ERR_OK: Received service was completely handled. - ERR_CALL_AGAIN: Received service will be handled asynchronously. Event should be signaled again to poll the service reply. - ERR_L7_UNKNOWNCMD: Service is unknown by the event handler. - All other error codes: Runtime will send this result in a generic error tag as reply (or close the channel).
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 20.04.2021, 15:56:12 companyName string 3S-Smart Software Solutions GmbH libraryFile CmpSrv.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile CmpSrv.clean.json version version 2.0.0.0 ProjectInformation Released bool True LastModificationDateTime date 20.04.2021, 15:56:12 LibraryCategories library-category-list System|SysLibs Author string 3S - Smart Software Solutions GmbH Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 Description See: Description Placeholder CmpSrv Project CmpSrv Title CmpSrv Version version 3.5.17.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. SysTypes2 Interfaces ¶ Library Identification ¶ Name: SysTypes2 Interfaces Version: newest Company: System Namespace: SysTypes Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTypes2 Interfaces, * (System)