ServiceRequestRaw (FB) ¶ FUNCTION_BLOCK ServiceRequestRaw EXTENDS ServiceRequestBase Properties: RawData ContentPtr , inherited from ServiceRequestBase Data , inherited from ServiceRequestBase DataValid , inherited from ServiceRequestBase HaveToSwap , inherited from ServiceRequestBase Header , inherited from ServiceRequestBase Methods: Create , inherited from ServiceRequestBase DoFinish FB_Exit , inherited from ServiceRequestBase Finish , inherited from ServiceRequestBase Structure: RawData (Property) override DoFinish (Method)
ServiceRequestRaw.RawData (PROP) ¶ PROPERTY RawData : ProtocolDataUnit When assigning this property, the data from the given PDU will be copied into the buffer managed by this request object.
override ¶ DoFinish (Method)
ServiceReader.ReadBytes (METH) ¶ METHOD ReadBytes : UDINT InOut: Scope Name Type Comment Return ReadBytes UDINT Input pBuffer POINTER TO BYTE The read bytes will be written to this location udiCount UDINT The number of bytes to be read
ServiceReader.ReadBytesSwapped (METH) ¶ METHOD ReadBytesSwapped : UDINT InOut: Scope Name Type Comment Return ReadBytesSwapped UDINT Input pBuffer POINTER TO BYTE The read bytes will be written to this location udiCount UDINT The number of bytes to be read
ServiceReader.ReadDWord (METH) ¶ METHOD ReadDWord : UDINT InOut: Scope Name Type Return ReadDWord UDINT Output dw DWORD
ServiceReader.ReadLWord (METH) ¶ METHOD ReadLWord : UDINT InOut: Scope Name Type Return ReadLWord UDINT Output lw LWORD
ServiceReader.ReadString (METH) ¶ METHOD ReadString : UDINT InOut: Scope Name Type Return ReadString UDINT Output str STRING(255)
ServiceReader.ReadWString (METH) ¶ METHOD ReadWString : UDINT InOut: Scope Name Type Return ReadWString UDINT Output wstr WSTRING(255)
ServiceReader.ReadWord (METH) ¶ METHOD ReadWord : UDINT InOut: Scope Name Type Return ReadWord UDINT Output wd WORD