Errors (GVL) ¶ Attributes: qualified_only InOut: Scope Name Type Initial Comment Constant ERR_PLCS_UNKNOWN_PROTOCOL UDINT 16#1011 ERR_PLCS_ALIGNMENT UDINT 16#1010 ERR_TSW_NOTCREATED UDINT 16#1000 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_TSR_NOTCREATED UDINT 16#1045 The service reader object was not created completely or not created at all
ICDSV3RequestBuilder (ITF) ¶ INTERFACE ICDSV3RequestBuilder This interface is implemented by function blocks, that are able to build the CDSV3 service requests Methods: BuildRequest GetDataBuffer GetDataBufferSize GetService GetServiceGroup RequestEnqueued Structure: BuildRequest (Method) GetDataBuffer (Method) GetDataBufferSize (Method) GetService (Method) GetServiceGroup (Method) RequestEnqueued (Method)
ICDSV3RequestBuilder.BuildRequest (METH) ¶ METHOD BuildRequest : UDINT Method is called to build the request. InOut: Scope Name Type Comment Return BuildRequest UDINT The error code Input itfServiceWriter IServiceWriter An instance of IServiceWriter, that has to be used to build the request xHasToSwap BOOL TRUE if the PLC the request will be sent to, has a different byte order
ICDSV3RequestBuilder.GetDataBuffer (METH) ¶ METHOD GetDataBuffer : POINTER TO BYTE Returns a pointer to the buffer, where the request to send to the PLC will be built InOut: Scope Name Type Return GetDataBuffer POINTER TO BYTE
ICDSV3RequestBuilder.GetDataBufferSize (METH) ¶ METHOD GetDataBufferSize : UDINT Returns the size of the buffer, that is returned by method GetDataBuffer InOut: Scope Name Type Return GetDataBufferSize UDINT
ICDSV3RequestBuilder.GetService (METH) ¶ METHOD GetService : UINT Returns the service identifying the request InOut: Scope Name Type Comment Return GetService UINT an UINT representing the service
ICDSV3RequestBuilder.GetServiceGroup (METH) ¶ METHOD GetServiceGroup : UINT Returns the service group the request belongs to InOut: Scope Name Type Comment Return GetServiceGroup UINT an UINT representing the service group
ICDSV3RequestBuilder.RequestEnqueued (METH) ¶ METHOD RequestEnqueued : UDINT This method is a simple notification, that will be called, after the request was enqueued and will be sent soon. InOut: Scope Name Type Comment Return RequestEnqueued UDINT An UDINT representing the error code of the processing. 0 in case of success
ICDSV3RequestCallback (ITF) ¶ INTERFACE ICDSV3RequestCallback This interface has to be implemented by callbacks, that are notified if CDSV3 service responses are available Methods: SetTargetByteorder Structure: SetTargetByteorder (Method)
ICDSV3RequestCallback.SetTargetByteorder (METH) ¶ METHOD SetTargetByteorder Method is called to pass the byte order of the response. InOut: Scope Name Type Comment Input eByteOrder IDatasources.ByteOrder The byte order of the response.