ServiceRequestBase.Create (METH) ¶ METHOD Create : UDINT InOut: Scope Name Type Comment Return Create UDINT Input targetByteOrder IDatasources.ByteOrder uiServiceGroup UINT uiService UINT udiDevSessId UDINT if known, otherwise 0 pBuffer POINTER TO BYTE the buffer where the data of the service is to be written remark Depending on the way this service is sent, there might be the requirement that the content is not changed until the answer or an error is returned! udiBufferSize UDINT the size of the buffer pointed to by pBuffer
UtilValidateByteOrder (FUN) ¶ FUNCTION UtilValidateByteOrder : BOOL The intention of this function is to prevent an occurrence of Byteorder.Unknown as well as resolving Byteorder.Host InOut: Scope Name Type Return UtilValidateByteOrder BOOL Inout bo IDatasources.Byteorder
ProtocolDataUnit (STRUCT) ¶ TYPE ProtocolDataUnit : STRUCT InOut: Name Type pData POINTER TO BYTE dwSize DWORD
ServiceHeader (STRUCT) ¶ TYPE ServiceHeader : STRUCT InOut: Name Type Initial Comment HeaderTag UINT Constants.HeaderTagStandard 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
ServiceReader (FB) ¶ FUNCTION_BLOCK ServiceReader IMPLEMENTS IServiceReader Properties: Alive IsDataTag TagId ValidTag Methods: Create CreateDynamic Destroy FB_Exit GetContent GetContentSize GetUnreadContent GetUnreadContentSize IgnoreBytes MoveDown MoveNext MoveNextConditional MoveUp ReadByte ReadBytes ReadBytesSwapped ReadDWord ReadLWord ReadString ReadWString ReadWord Structure: Alive (Property) Create (Method) CreateDynamic (Method) Destroy (Method) FB_Exit (Method) ITaggedServiceReader GetContent (Method) GetContentSize (Method) GetUnreadContent (Method) GetUnreadContentSize (Method) IgnoreBytes (Method) IsDataTag (Property) MoveDown (Method) MoveNext (Method) MoveNextConditional (Method) MoveUp (Method) ReadByte (Method) ReadBytes (Method) ReadBytesSwapped (Method) ReadDWord (Method) ReadLWord (Method) ReadString (Method) ReadWString (Method) ReadWord (Method) TagId (Property) ValidTag (Property)
ServiceReader.Alive (PROP) ¶ PROPERTY Alive : BOOL
ServiceReader.Create (METH) ¶ METHOD Create : UDINT InOut: Scope Name Type Return Create UDINT Input pReaderBuffer POINTER TO BYTE udiReaderBufferSize UDINT pDataBuffer POINTER TO BYTE udiDataBufferSize UDINT targetByteOrder IDatasources.ByteOrder
ServiceReader.CreateDynamic (METH) ¶ METHOD CreateDynamic : UDINT InOut: Scope Name Type Return CreateDynamic UDINT Input pDataBuffer POINTER TO BYTE udiDataBufferSize UDINT targetByteOrder IDatasources.ByteOrder
ServiceReader.Destroy (METH) ¶ METHOD Destroy : UDINT InOut: Scope Name Type Return Destroy UDINT
ServiceReader.FB_Exit (METH) ¶ METHOD FB_Exit : BOOL InOut: Scope Name Type Return FB_Exit BOOL Input bInCopyCode BOOL