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
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.GetContent (METH) ¶ METHOD GetContent : UDINT InOut: Scope Name Type Return GetContent UDINT Output pData POINTER TO BYTE