PlcDataItemType (ENUM) ¶ TYPE PlcDataItemType : InOut: Name Iec_Min Iec_Bool Iec_Bit Iec_Byte Iec_Word Iec_Dword Iec_Lword Iec_Sint Iec_Int Iec_Dint Iec_Lint Iec_Usint Iec_Uint Iec_Udint Iec_Ulint Iec_Real Iec_Lreal Iec_String Iec_Wstring Iec_Time Iec_Date Iec_DateAndTime Iec_TimeOfDay Iec_Pointer Iec_Reference Iec_Subrange Iec_Enum Iec_Array Iec_Userdef Iec_Interface Iec_None Iec_Any Iec_AnyBit Iec_AnyDate Iec_AnyInt Iec_AnyNum Iec_AnyReal Iec_Lazy Iec_Ltime Iec_Max
PlcPropertyByCallAddressInfo (STRUCT) ¶ TYPE PlcPropertyByCallAddressInfo EXTENDS PlcAddressInfo : STRUCT This type of address information can be used for monitoring properties by calling their method on the plc InOut: Name Type Comment Inherited from InfoType PlcAddressInfoType PlcAddressInfo Size DINT PlcAddressInfo AreaProperty INT The area number of the property method OffsetGet DINT The offset of the getter method of the property; a negative value indicates that there is no get accessor OffsetSet DINT The offset of the setter method of the property; a negative value indicates that there is no set accessor AreaInstance INT The area of the function block instance (when the property is a call on an instance); a negative value indicates there is no instance (eg. a property on a GVL) OffsetInstance DINT The offset of the function block instance (when the property is a call on an instance); a negative value indicates there is no instance (eg. a property on a GVL)
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 20.04.2021, 14:41:38 companyName string 3S-Smart Software Solutions GmbH libraryFile MonitoringData_Itfs.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile MonitoringData_Itfs.clean.json version version 2.0.0.0 ProjectInformation IsInterfaceLibrary bool True Released True LastModificationDateTime date 20.04.2021, 14:41:38 LibraryCategories library-category-list Intern|DataServer Author string 3S-Smart Software Solutions GmbH Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 DefaultNamespace Monitoringdata_Interfaces Description See: Description Project MonitoringData_Itfs Title Monitoring Data Interfaces Version version 3.5.17.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces.
Net Base Services Library Documentation ¶ Company : CODESYS Title : Net Base Services Version : 4.0.0.0 Categories : Application|Base; Intern|Base Namespace : NBS Author : CODESYS Development GmbH Placeholder : NetBaseSrv Description [ 1 ] ¶ This Library implements a TCP Server, TCP Client and a UDP Peer as a collection of base services for ethernet Contents: ¶ Library Information GetLibVersion (Function) GetLibVersionNumber (Function) IsLibReleased (Function) NetBaseServices Enums Function Blocks Interfaces Structs Types Indices and tables ¶ [ 1 ] Based on Net Base Services.library, last modified 17.06.2024, 11:20:54. LibDoc 4.5.0.0 The content file Net Base Services.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 17.06.2024, 11:20:58.
Library Information ¶ GetLibVersion (Function) GetLibVersionNumber (Function) IsLibReleased (Function)
TCP_Read (FB) ¶ FUNCTION_BLOCK PUBLIC FINAL TCP_Read EXTENDS LConC This function block serves to read data from the previously established connection given in itfConnection . As long as xEnable is TRUE and the connection is valid. The pointer pData specifies the memory area to write the read data to. udiSize defines the max number of bytes to read. When the data was read successfully, xReady is set to TRUE and udiCount indicates the actually read number of bytes. 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 itfConnection IConnection pData __XWORD udiSize UDINT Output xReady BOOL udiCount UDINT
TCP_Reader (FB) ¶ FUNCTION_BLOCK PUBLIC FINAL TCP_Reader EXTENDS LCon Reads the data from the IConnection instance and passes it on via the IStream instance ( itfStream ) in the form of ISegment instances InOut: Scope Name Type Comment Inherited from Input xEnable BOOL TRUE : Activates the defined operation FALSE : Aborts/resets the defined operation LCon Output xDone BOOL Ready condition reached LCon xBusy BOOL TRUE : Operation is running LCon xError BOOL TRUE : Error condition reached LCon eErrorID ERROR LCon Input Const itfAsyncProperty IAsyncProperty itfSegmentPool ISegmentPool Input itfConnection IConnection Output itfStream IStream udiCount UDINT Methods: SetInitialValue Structure: SetInitialValue (Method)
TCP_Server (FB) ¶ FUNCTION_BLOCK PUBLIC FINAL TCP_Server EXTENDS LConC IMPLEMENTS IServer , IServer_Internal, IOptionConsumer Sets up a server over the ip and port specified in itfIPAddress and uiPort . A server can handle several connections. The output itfServer of these function block can be used to establish a connection via TCP_Connection . InOut: Scope Name Type Initial 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 udiMaxConnections UDINT 5 Maximum number of connections queued in TCP Stack itfAsyncProperty IAsyncProperty itfTLSContext ITLSContext itfTSNContext ITSNContext Input itfIPAddress IIPAddress uiPort UINT Output xActive BOOL itfServer IServer Methods: SetInitialValue SetOptionProvider Structure: IOptionConsumer SetOptionProvider (Method) SetInitialValue (Method)
TCP_Stream ¶ CreateSegment (Function) CreateSegmentPool (Function) SegmentPool (FunctionBlock) IDisposable ObjectDispose (Method) ISegmentPool GetSegment (Method) SetInitialValue (Method) Stream (FunctionBlock) IStream Read (Method) Write (Method)