File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 20.04.2021, 14:26:06 companyName string 3S-Smart Software Solutions GmbH libraryFile ModbusFB non standard extensions.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile ModbusFB non standard extensions.clean.json version version 2.0.0.0 ProjectInformation AutoResolveUnbound bool True IsEndUserLibrary False Released True SourceLibrary False LastModificationDateTime date 20.04.2021, 14:26:06 LibraryCategories library-category-list Application|Fieldbus Author string 3S - Smart Software Solutions GmbH Company 3S - Smart Software Solutions GmbH CompiledLibraryCompatibilityVersion CODESYS V3.5 SP16 DefaultNamespace ModbusFB_ext Description See: Description DocFormat reStructuredText LanguageModelAttribute qualified-access-only Placeholder ModbusFB_ext Project ModbusFB non standard extensions Title ModbusFB non standard extensions Version version 3.5.17.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. 3SLicense ¶ Library Identification ¶ Placeholder: 3SLicense Default Resolution: 3SLicense, * (3S - Smart Software Solutions GmbH) Namespace: _3S_LICENSE Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: 3SLicense CmpErrors2 Interfaces ¶ Library Identification ¶ Name: CmpErrors2 Interfaces Version: newest Company: System Namespace: CmpErrors Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpErrors2 Interfaces, * (System) CmpLog ¶ Library Identification ¶ Placeholder: CmpLog Default Resolution: CmpLog, * (System) Namespace: CmpLog Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpLog Common Behaviour Model ¶ Library Identification ¶ Placeholder: CBML Default Resolution: Common Behaviour Model, * (3S - Smart Software Solutions GmbH) Namespace: CBML Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CBML Component Manager ¶ Library Identification ¶ Placeholder: Component Manager Default Resolution: Component Manager, * (System) Namespace: Component_Manager Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Component Manager ModbusFB ¶ Library Identification ¶ Placeholder: ModbusFB Default Resolution: ModbusFB, * (3S - Smart Software Solutions GmbH) Namespace: ModbusFB Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: ModbusFB Standard ¶ Library Identification ¶ Placeholder: Standard Default Resolution: Standard, * (System) Namespace: Standard Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Standard StringUtils ¶ Library Identification ¶ Placeholder: StringUtils Default Resolution: StringUtils, * (System) Namespace: Stu Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: StringUtils SysCom ¶ Library Identification ¶ Placeholder: SysCom Default Resolution: SysCom, * (System) Namespace: SysCom Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysCom SysCpuHandling ¶ Library Identification ¶ Placeholder: SysCpuHandling Default Resolution: SysCpuHandling, * (System) Namespace: SysCpuHandling Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysCpuHandling SysMem ¶ Library Identification ¶ Placeholder: SysMem Default Resolution: SysMem, * (System) Namespace: SysMem Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysMem SysSocket ¶ Library Identification ¶ Placeholder: SysSocket Default Resolution: SysSocket, * (System) Namespace: SysSocket Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysSocket SysTarget ¶ Library Identification ¶ Placeholder: SysTarget Default Resolution: SysTarget, * (System) Namespace: SysTarget Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTarget SysTime ¶ Library Identification ¶ Name: SysTime Version: 3.5.9.0 Company: System Namespace: SysTime Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTime, 3.5.9.0 (System) SysTypes2 Interfaces ¶ Library Identification ¶ Name: SysTypes2 Interfaces Version: newest Company: System Namespace: SysTypes Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTypes2 Interfaces, * (System)
ModbusTCP Slave Library Documentation ¶ Company 3S - Smart Software Solutions GmbH Title ModbusTCP Slave Version 3.5.16.40 Categories Intern; Docs|Fieldbus|Modbus Author 3S - Smart Software Solutions GmbH Placeholder ModbusTCP Slave Description 1 ¶ ModbusTCP Slave library Contents: ¶ GVL (GVL) ModbusServer (FunctionBlock) Indices and tables ¶ 1 Based on ModbusTCPSlave.library, last modified 25.01.2021, 12:12:15. LibDoc 4.4.0.0-b.27 The content file ModbusTCPSlave.clean.json was generated with CODESYS V3.5 SP16 Patch 1 on 25.01.2021, 12:12:15.
GVL (GVL) ¶ InOut: Scope Name Type Initial Constant MODBUS_TCP_MAXCLIENTS DINT (SysSocket.SOCKET_FD_SETSIZE - 1)
ModbusServer (FB) ¶ FUNCTION_BLOCK ModbusServer Tis function block processes up to 16 parallel client connection requests by Modbus TCP. InOut: Scope Name Type Initial Comment Input wPort WORD 502 Modbus server port - 502 is Modbus default pInputData POINTER TO WORD Input Registers pOutputData POINTER TO WORD Holding Registers uiInputDataSize UINT Size in words of Input Register data area uiOutputDataSize UINT Size in words of Output Register data area xEnable BOOL FALSE Flag to enable execution - default is FALSE xReset BOOL FALSE Flag to reset - default is FALSE tTimeout UDINT 0 Modbus request timeout. If specified, the modbus data area that is updated by client (Holding Registers, Coils) is reset. Output xTimeout is TRUE. InterfaceName WSTRING(255) Name of ethernet interface (optional). If specified, the modbus server binds to the IP address of this interface. Output xBusy BOOL function block is active xError BOOL an Error occured byClientConnections BYTE 0 Number of open TCP-connections xTimeout BOOL Timeout expired. Holding Registers and Coils are set to zero.
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. 3SLicense ¶ Library Identification ¶ Placeholder: 3SLicense Default Resolution: 3SLicense, * (3S - Smart Software Solutions GmbH) Namespace: _3S_LICENSE Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: 3SLicense CAA Types Extern ¶ Library Identification ¶ Placeholder: CAA Types Default Resolution: CAA Types Extern, * (CAA Technical Workgroup) Namespace: CAA Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CAA Types CmpErrors2 Interfaces ¶ Library Identification ¶ Name: CmpErrors2 Interfaces Version: newest Company: System Namespace: CmpErrors Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpErrors2 Interfaces, * (System) IoDrvModbus ¶ Library Identification ¶ Placeholder: IoDrvModbus Default Resolution: IoDrvModbus, * (3S - Smart Software Solutions GmbH) Namespace: IoDrvModbus Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: IoDrvModbus Standard ¶ Library Identification ¶ Placeholder: Standard Default Resolution: Standard, * (System) Namespace: Standard Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Standard StringUtils ¶ Library Identification ¶ Placeholder: StringUtils Default Resolution: StringUtils, * (System) Namespace: Stu Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: StringUtils SysCpuHandling ¶ Library Identification ¶ Placeholder: SysCpuHandling Default Resolution: SysCpuHandling, * (System) Namespace: SysCpuHandling Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysCpuHandling SysMem ¶ Library Identification ¶ Placeholder: SysMem Default Resolution: SysMem, * (System) Namespace: SysMem Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysMem SysSocket ¶ Library Identification ¶ Placeholder: SysSocket Default Resolution: SysSocket, * (System) Namespace: SysSocket Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysSocket SysTarget ¶ Library Identification ¶ Placeholder: SysTarget Default Resolution: SysTarget, * (System) Namespace: SysTarget Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTarget SysTypes2 Interfaces ¶ Library Identification ¶ Name: SysTypes2 Interfaces Version: newest Company: System Namespace: SysTypes Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTypes2 Interfaces, * (System)
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 25.01.2021, 12:12:15 companyName string 3S-Smart Software Solutions GmbH libraryFile ModbusTCPSlave.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 1 contentFile ModbusTCPSlave.clean.json version version 2.0.0.0 ProjectInformation Released bool True LastModificationDateTime date 25.01.2021, 12:12:15 LibraryCategories library-category-list Intern; Docs|Fieldbus|Modbus Author string 3S - Smart Software Solutions GmbH Company 3S - Smart Software Solutions GmbH CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 Description See: Description Placeholder ModbusTCP Slave Project ModbusTCPSlave Title ModbusTCP Slave Version version 3.5.16.40
TaggedServiceReader.TagId (PROP) ¶ PROPERTY TagId : UDINT
TaggedServiceReader.ValidTag (PROP) ¶ PROPERTY ValidTag : BOOL
TaggedServiceReader.prvNextTagIsEndTagWithId (METH) ¶ METHOD prvNextTagIsEndTagWithId : UDINT InOut: Scope Name Type Return prvNextTagIsEndTagWithId UDINT Input id UDINT