Functionblocks ¶ ByteBuffer (FunctionBlock) Align2 (Method) Align4 (Method) GetByte (Method) GetDWord (Method) GetDataPointer (Method) GetLWord (Method) GetNBytes (Method) GetNDWords (Method) GetNLWords (Method) GetNWords (Method) GetWord (Method) NeedsSwapping (Property) Padding (Method) PutByte (Method) PutDWord (Method) PutLWord (Method) PutNBytes (Method) PutNDWords (Method) PutNLWords (Method) PutNWords (Method) PutWord (Method) ResetPosition (Method) Skip (Method) MemoryManager (FunctionBlock) Private FB_Exit (Method) Public ActSize (Property) AutoExtend (Property) Create (Method) Delete (Method) Exchange (Property) Free (Method) InitSize (Property) Malloc (Method) MessagesLeft (Property)
ByteBuffer (FB) ¶ FUNCTION_BLOCK ByteBuffer InOut: Scope Name Type Comment Input pbyBuffer POINTER TO BYTE udiBufferSize UDINT eByteOrder ByteOrder Byte order the data shall have Output pos UDINT udiBytesRemaining UDINT xOverflow BOOL TRUE if a function would read or write over the buffer memory. Properties: NeedsSwapping Methods: Align2 Align4 GetByte GetDWord GetDataPointer GetLWord GetNBytes GetNDWords GetNLWords GetNWords GetWord Padding PutByte PutDWord PutLWord PutNBytes PutNDWords PutNLWords PutNWords PutWord ResetPosition Skip Structure: Align2 (Method) Align4 (Method) GetByte (Method) GetDWord (Method) GetDataPointer (Method) GetLWord (Method) GetNBytes (Method) GetNDWords (Method) GetNLWords (Method) GetNWords (Method) GetWord (Method) NeedsSwapping (Property) Padding (Method) PutByte (Method) PutDWord (Method) PutLWord (Method) PutNBytes (Method) PutNDWords (Method) PutNLWords (Method) PutNWords (Method) PutWord (Method) ResetPosition (Method) Skip (Method)
ByteBuffer.Align2 (METH) ¶ METHOD Align2
ByteBuffer.Align4 (METH) ¶ METHOD Align4
ByteBuffer.GetByte (METH) ¶ METHOD GetByte : BYTE InOut: Scope Name Type Return GetByte BYTE
ByteBuffer.GetDWord (METH) ¶ METHOD GetDWord : DWORD InOut: Scope Name Type Return GetDWord DWORD
ByteBuffer.GetDataPointer (METH) ¶ METHOD GetDataPointer : POINTER TO BYTE Returns the pointer where pos points to. If pos is outside buffer range function returns 0. InOut: Scope Name Type Return GetDataPointer POINTER TO BYTE
ByteBuffer.GetLWord (METH) ¶ METHOD GetLWord : LWORD InOut: Scope Name Type Return GetLWord LWORD
ByteBuffer.GetNBytes (METH) ¶ METHOD GetNBytes InOut: Scope Name Type Input pbyTarget POINTER TO BYTE nBytes UINT
ByteBuffer.GetNDWords (METH) ¶ METHOD GetNDWords InOut: Scope Name Type Input pdwTarget POINTER TO DWORD uiCount UINT