TCP_Write (FB) ¶ FUNCTION_BLOCK PUBLIC FINAL TCP_Write EXTENDS ETrigTo This function block serves to write data to the previously established connection given in itfConnection . The content of the memory area indicated by pointer pData contains the data to be written. udiSize defines the number of bytes to be written. When xDone is set to TRUE , udiCount bytes of the data was written successfully. InOut: Scope Name Type Comment Inherited from Input xExecute BOOL Rising edge: Starts defined operation FALSE : Resets the defined operation after ready condition was reached ETrigTo udiTimeOut UDINT Max. operating time for executing [µs], 0: No operating time limit ETrigTo Output xDone BOOL Ready condition reached ETrigTo xBusy BOOL TRUE : Operation is running ETrigTo xError BOOL TRUE : Error condition reached ETrigTo eErrorID ERROR ETrigTo Input itfConnection IConnection pData __XWORD udiSize UDINT Output udiCount UDINT
TCP_Writer (FB) ¶ FUNCTION_BLOCK PUBLIC FINAL TCP_Writer EXTENDS LConC Reads the data ( ISegment instances) from the IStream ( itfStream ) instance and writes it to the IConnection instance InOut: Scope Name Type Comment Inherited from Input xEnable BOOL TRUE : Activates the defined operation FALSE : Aborts/resets the defined operation LConC Output xBusy BOOL TRUE : Operation is running LConC xError BOOL TRUE : Error condition reached LConC eErrorID ERROR LConC Input Const itfAsyncProperty IAsyncProperty itfTSNContext ITSNContext Input itfConnection IConnection itfStream IStream Output udiCount UDINT Methods: SetInitialValue Structure: SetInitialValue (Method)
TLS ¶ TLSContext (FunctionBlock) SetInitialValue (Method)
IDataItemInfo.Id (PROP) ¶ PROPERTY Id : UDINT
IDataItemInfo.Quality (PROP) ¶ PROPERTY Quality : PlcDataItemQualityInfo
IDataItemInfo.SymbolicName (PROP) ¶ PROPERTY SymbolicName : POINTER TO STRING
IDataItemInfo.Timestamp (PROP) ¶ PROPERTY Timestamp : DWORD The time of the last update of this item. TOCHECK: Is DWORD ok as type, what semantics does this DWORD have, what unit,…
IDataItemProvider (ITF) ¶ INTERFACE IDataItemProvider EXTENDS __SYSTEM.IQueryInterface Properties: ReadListId WriteListId Methods: GetReadItems GetWriteItems Structure: GetReadItems (Method) GetWriteItems (Method) ReadListId (Property) WriteListId (Property)
IDataItemProvider.GetReadItems (METH) ¶ METHOD GetReadItems : UDINT InOut: Scope Name Type Comment Return GetReadItems UDINT Output pItems POINTER TO ARRAY [0..100] OF IDataItem the 100 is no hard border, only for the compiler iItemCount DINT
IDataItemProvider.GetWriteItems (METH) ¶ METHOD GetWriteItems : UDINT InOut: Scope Name Type Comment Return GetWriteItems UDINT Output pItems POINTER TO ARRAY [0..100] OF IDataItem the 100 is no hard border, only for the compiler iItemCount DINT