LOYTEC L-INX User Manual

Automation server, universal gateway
Hide thumbs Also See for L-INX:
Table of Contents

Advertisement

Quick Links

L-INX/L-GATE
L-INX™ Automation Server
L-GATE™ Universal Gateway
User Manual
LOYTEC electronics GmbH

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the L-INX and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for LOYTEC L-INX

  • Page 1 L-INX/L-GATE L-INX™ Automation Server L-GATE™ Universal Gateway User Manual LOYTEC electronics GmbH...
  • Page 2 Version 7.2 Document № 88073027 LOYTEC MAKES AND YOU RECEIVE NO WARRANTIES OR CONDITIONS, EXPRESS, IMPLIED, STATUTORY OR IN ANY COMMUNICATION WITH YOU, LOYTEC SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. THIS...
  • Page 3: Table Of Contents

    5.2.1 IP Configuration via the Web Interface ........... 49 5.2.2 IP Configuration via the LCD Display............. 50 5.2.3 BACnet Configuration ................51 5.2.4 License Activation ................... 51 Getting Started with the L-INX Configurator ..........52 Getting Started with the Gateway ..............53 Version 7.2 LOYTEC electronics GmbH...
  • Page 4 L-INX/L-GATE User Manual LOYTEC Configuration of the L-IOB I/O Modules ............55 Getting started with logiCAD ................56 Connect with an OPC XML-DA Client ............61 Reset to Factory Defaults ................. 62 6 Hardware Installation ................63 Enclosure ......................63 Product Label ....................
  • Page 5 8.6.3 Create Your Own Data Type ..............90 8.6.4 Using Persistent Data Points and Markers ..........92 8.6.5 Using Retain Variables ................92 8.6.6 L-INX System Registers, System Time ........... 93 8.6.7 Code Protection ..................93 8.6.8 Using Structured Data Point Members ............ 93 8.6.9 BACnet Server Objects ................
  • Page 6 L-INX/L-GATE User Manual LOYTEC 13.3 Removable Media ................... 110 13.3.1 LINX-12X/15X/22X, LGATE-950/951 ..........110 13.4 FCC Warning ....................111 13.5 CE Warning ....................111 14 References ....................112 15 Revision History ..................113 Version 7.2 LOYTEC electronics GmbH...
  • Page 7 IP-852 ........logical IP channel that tunnels CEA-709 packets according CEA-852 LAN ........Local Area Network LSD Tool ......LOYTEC System Diagnostics Tool MAC ........Media Access Control MD5 ........Message Digest 5, a secure hash function, see Internet RFC 1321 M-Bus .........
  • Page 8 L-INX/L-GATE User Manual LOYTEC SSH ........Secure Shell SL ........Send List SMTP ......... Simple Mail Transfer Protocol SNMP ........ Simple Network Management Protocol SNTP ........Simple Network Time Protocol SSL ........Secure Socket Layer STP ........Spanning Tree Protocol (Standard IEEE 802.1D) TLS ........
  • Page 9: Introduction

    The L-GATE product family is intended for use as universal gateways. They provide a similar user interface and set of protocols as the L-INX family. The L-GATE provides data access to a defined set of data points, which are mapped from one control network technology to another control network technology.
  • Page 10 Some devices also have an LCD display, which provides a quick way to configure basic settings of the device via a jog dial. Also available on some L-INX models are ports for SD card memory and a USB peripheral bus.
  • Page 11: Cea-709.1

    FT port (CEA-709) and a 100Base-T Ethernet port (CEA-852). CEA-709 L-INX models come with a router option or an RNI option. L-INX models with the router option contain a CEA-709 router between the FT and the IP-852 channel, which can be configured like an L-IP.
  • Page 12: Bacnet

    BACnet/IP port and the MS/TP port. This router can be operated and configured like the LIP- ME200 from LOYTEC. The BACnet/IP interface can be used to connect the L-INX to an IP- based high-speed backbone. The L-INX also can act as a BBMD for a BACnet/IP network.
  • Page 13: M-Bus

    On devices without a serial port, the L-MBUS interface must be used and is connected to the extension port (EXT). Through the M-Bus interface the L-INX can be used to scan the attached M-Bus network for devices, pull M-Bus data points into a configuration, connect those data points to other technologies and expose M-Bus data points to the automation server.
  • Page 14: Enocean

    LOYTEC The KNX interface allows creating KNX data points which can be used with the AST functions, the OPC server and also the PLC on the L-INX models. The device configuration can be imported from an ETS database export. For more information on how to set up the device for using KNX, configuring and using KNX data points, refer to the KNX Chapter in the LINX Configurator User Manual [2].
  • Page 15: L-Iob

    The I/O modules can be parameterized over the configuration software or the Web UI. All parameterization data is stored on the L-INX and can be reloaded to the LIOB modules when needed. The exchange of modules is detected automatically. For more information on how to setup and use L-IOB I/Os please refer to the L-IOB user manual [7].
  • Page 16 Table 1: Available features in different L-INX and L-GATE models. On L-INX models without the router option and on all L-GATE models, certain ports can only be used alternatively. On models with CEA-709 this means either as CEA-709 FT or as CEA-852 IP (see note 1 in Table 1 and Table 2).
  • Page 17 To operate these protocols an expansion module is needed and must be ordered separately. These models require a separate license that needs to be purchased to use this feature. Table 2: Available features in different L-INX and L-GATE models (continued). Version 7.2...
  • Page 18: Scope

    Basic device operations are covered in the LOYTEC Device User Manual [1] and data point configuration is covered by the L-INX Configurator User Manual [2]. The usage of logiCAD itself is beyond the scope of this manual.
  • Page 19: Disclaimer Cyber Security

    To ensure that devices, systems, and networks are always protected against online threats, a holistic security concept is required that is implemented using the latest technology and is being kept up-to-date. The LOYTEC portfolio is only one component of such an overall concept.
  • Page 20: Safety Instructions

    Therefore, comply with the country-specific regulations and the corresponding safety guidelines. CAUTION Electrical Safety Essentially, electrical safety in building automation systems from LOYTEC is based on the use of extra-low voltage and safe isolation from mains voltage. CAUTION...
  • Page 21 L-INX/L-GATE User Manual LOYTEC CAUTION NEC (North America) Class 2 transformers with energy limitation to 100 VA or Class 2 circuits with max. 100 VA (using a non-energy-limiting transformer of max. 400VA) combined with overcurrent limits (T-4A fuses) can be used for each individual 24VAC device.
  • Page 22 L-INX/L-GATE User Manual LOYTEC CAUTION Operating Voltage 24V AC/DC The power supply must meet the requirements for SELV or PELV. Permitted deviation of the nominal voltage:  At the transformer or power supply: 24V AC/DC -10 … + 10% ...
  • Page 23 L-INX/L-GATE User Manual LOYTEC CAUTION Protection of the 24VDC Supply Voltage 24VDC power supplies must be short-circuit proof or have an internal microfuse. Local regulations must be observed. CAUTION Protection of Mains Voltage Transformers/24VDC power supplies must be protected on the primary circuit using a control cabinet fuse.
  • Page 24: What's New In L-Inx/L-Gate

    USB port and offers LTE/UMTS/GSM mobile network access. A SIM card from your provider needs to be inserted and the LOYTEC device is ready on the mobile network. A Mobile tab has been added to the port configuration interface for configuring the LTE-800.
  • Page 25 Figure 2: Internet connection sharing Dynamic DNS LOYTEC devices can now make use of a dynamic DNS service to register a public DNS name. This makes the device reachable over a publich IP address that can change over time, for instance an LTE-800 mobile interface using a public IP address assigned by the mobile carrier.
  • Page 26 SMS can be sent using a locally attached LTE-800 mobile interface or over the network using another LOYTEC device acting as an SMS proxy for its LTE-800 mobile interface. SMS proxy mode can be configured in the new SMS configuration menu on the Web UI. As a result, only one LTE-800 is required to offer SMS service for an entire local network.
  • Page 27 IPv6 LOYTEC devices now support IPv6 using stateless address autoconfiguration (SLAAC) or having a configured, fixed IPv6 address. The IPv6 feature is available on all Ethernet and WLAN ports. With SLAAC no further configuration (except the required IPv6 router Version 7.2...
  • Page 28: New In L-Inx/L-Gate 7.0.0

    OpenVPN technology. An OpenVPN configuration file (.ovpn) can be installed on the Web interface and makes the LOYTEC device a VPN client and dial into the OpenVPN server defined by that file. Any standard OpenVPN configuration file can be used, which is auto-login, i.e.
  • Page 29 Figure 8: VPN client configuration on the Web interface Setting up a VPN client on the LOYTEC device may solve NAT router issues, because no port forwarding rules need to be configured. The device dials out to the OpenVPN server running on a public IP and establishes the VPN channel.
  • Page 30: New In L-Inx/L-Gate 6.4.0

    Support Custom Serial Port in JavaScript A new API has been added that allows using the serial port on a LOYTEC device in JavaScript. This feature can be used to implement custom serial protocols. The port Web interface offers a choice to select such a custom serial implementation based on meta data provided by the JavaScript module.
  • Page 31 This engine allows users to implement their own protocol support for the IoT world using RESTful APIs, JSON or Web services. The LOYTEC data point server allows integrating data points into the scripting language using the dpal-js API. The script modules can be embedded into and deployed along with the data point configuration.
  • Page 32: New In L-Inx/L-Gate 6.2.0

    RNI functionality, which can be configured as needed. The LINX- 153 as the larger sibling combines the functionality of the bigger L-INX models LINX-12x, 15x, 22x and also provides a configurable router/RNI. The new LINX-154 model has been designed to accommodate a maximum number of Modbus RTU and/or BACnet MS/TP devices on its four RS-485 ports.
  • Page 33: New In L-Inx/L-Gate 6.0.0

    The LMPBUS-804 interface is supported. This is a four-channel MP-Bus interface connected to the USB port of the LOYTEC device. The PPX addressing mode is now also supported for MP-Bus as well as an MP-Bus scan engine. For more information on MP-Bus read the respective Chapters in the Device User Manual [1] and the LINX Configurator User Manual [2].
  • Page 34 L-INX/L-GATE User Manual LOYTEC functionality. This saves energy while the SMI bus is idle. For more information on SMI read the respective Chapters in the Device User Manual [1] and the LINX Configurator User Manual [2]. Selective Backup and Restore The backup and restore interface on the Web interface has been extended by content options.
  • Page 35 L-INX/L-GATE User Manual LOYTEC Figure 17: Mesh floorplan and online link quality monitor Flexible Column Layout in Configurator The Configurator now supports a flexible column layout in the data point list. It is possible to modify the column arrangement and add/remove columns as needed. This provides for better overview in situations where the default column layout misses important information.
  • Page 36: New In L-Inx/L-Gate 5.3.0

    The new LROC-400 room controller models are now supported by the device firmware and in the LINX Configurator. The different device firmware images for LROC-10x, LIOB-AIR, and LROC-400 have been integrated in one image for all L-ROC, L-INX, LIOB-AIR and L- GATE models.
  • Page 37 Figure 19: CSV export dialog with configurable columns. Override Function for Data Points The data point model in LOYTEC devices has been extended with a manual override function. On the Web interface and on the LCD display data point values can be overridden to manual values.
  • Page 38: New In L-Inx/L-Gate 5.1.0

    Extended Support for U.S. Units An extended support for U.S. units has been built into LOYTEC devices. A device can now be configured to run either in the SI or the U.S. unit system by defining SI and U.S. units per data point as shown in Figure 21.
  • Page 39 OPC servers. This way an L-DALI device can be added to a L-INX configuration in a few steps. The OPC client can also take advantage of the commission later feature by using the Web UI in order to assign OPC server URLs at the time of device commissioning.
  • Page 40 L-INX/L-GATE User Manual LOYTEC available. To learn more on how to configure the L-WEB application refer to the LOYTEC Device User Manual [1]. BACnet All previously extended BACnet features and new features have been BTL-certified in the 5.X firmware series. New features include: ...
  • Page 41: New In L-Inx/L-Gate 5.0.0

    The wireless interface can be configured as a WLAN client, access point or mesh node. Using the latter, a wireless mesh network of LOYTEC devices can be built. Please refer to the LOYTEC Device User Manual [1] to learn more about the WLAN interface.
  • Page 42 Chapter of the LOYTEC Device User Manual [1]. SNMP For accessing vital operational data in standard IT equipment, L-INX and L-GATE devices offer an SNMP management base (MIB). All system registers and OPC-exposed data points are available in that MIB. The MIB file can be downloaded from the device and imported in the SNMP management tool.
  • Page 43 5000 BACnet Client Maps and Dynamic Polling The number of BACnet client mappings on the L-INX has been increased to 5000. This has become possible with the use of strict on-demand dynamic polling on the device. This means any data point configured for polling (client mappings, external NVs, Modbus, etc.) will start...
  • Page 44 Templates can now contain definitions of pollgroups and other type resources used by Modbus data points.  Templates can now store a folder hierarchy. 4.10 New in L-INX/L-GATE 5.0.0 This section describes the major changes and new features. For a full list of changes refer to the Readme file. Generic Scheduler Generic schedulers –...
  • Page 45 256 Trend Logs on LINX-10x/11x/20x/21x/LGATE-900 The smaller L-INX and L-GATE devices are now extended from 100 trend logs to 256 trend logs at a total of 256 trended data points. This is beneficial for native BACnet trend logs, which allow only one data point per trend log object.
  • Page 46 OPC XML-DA server. In addition OPC UA offers superior security features as well as slimmer data transfers. For more information on the OPC UA server please refer to the LOYTEC Device User Manual [1]. BACnet All previously extended BACnet features and new features have been BTL-certified in the 5.X firmware series.
  • Page 47 L-INX/L-GATE User Manual LOYTEC finding problems prior to the configuration download. The conflicts tab also provides easy navigation to data points listed as problematic. For more information refer to Section 8.4.7. Modbus and M-Bus Templates Modbus and M-Bus device templates offer some new features that boost productivity: ...
  • Page 48: Quick-Start Guide

    Do not connect terminal PWR Supply + with Earth-ground! Figure 26: Basic Hardware Installation. If the L-INX device is connected to a BACnet MS/TP network, the MS/TP network segment must be properly terminated with an LT-04 network terminator connected at each of the two ends of the segment media.
  • Page 49: Ip Configuration Via The Web Interface

    5.2.1 IP Configuration via the Web Interface LOYTEC devices are shipped with DHCP and will acquire an IP address as soon as they are connected to the network. To use a static IP you can use the Web interface to configure the client device.
  • Page 50: Ip Configuration Via The Lcd Display

    L-INX/L-GATE User Manual LOYTEC Figure 29: Enter IP address and gateway. Press Save Settings and then reset the device by selecting Reset in the highlighted text. This changes the IP settings of the device. 5.2.2 IP Configuration via the LCD Display Device models with an LCD display can also be configured to their basic settings through jog dial navigation on the LCD UI.
  • Page 51: Bacnet Configuration

    Save and reboot. 5.2.4 License Activation On the L-INX devices certain features must be activated by entering a license PIN code on the Web interface or the LCD UI. This license PIN code is entered only once and remains on the device for its lifetime.
  • Page 52: Getting Started With The L-Inx Configurator

    Before setting up a gateway, a working IEC61131 program or creating an L-WEB visualization, the data points of the L-INX automation server or the L-GATE need to be set up. These can be data points of L-IOB I/Os, network variables, BACnet objects, and other available technologies.
  • Page 53: Getting Started With The Gateway

    LINX Configurator User Manual [2]. 5.4 Getting Started with the Gateway The L-GATE and L-INX devices can be used as a gateway between any of the supported network technologies. This example gets you started with the gateway and shows how to map CEA-709 network variables from an LNS database to BACnet.
  • Page 54 L-INX/L-GATE User Manual LOYTEC After the scan has completed, the folder LNS Database Scan is populated with the found NVs as shown in Figure 32. Figure 32: Result of an NV scan in LNS. Select the scanned NVs for use in the gateway and click on the button Use on Device in the tool bar.
  • Page 55: Configuration Of The L-Iob I/O Modules

    LIOB-FT bus with standard TP/FT-10 wiring rules. Please visit the L-IOB User Manual [7] for detailed hardware installation and terminal configuration instructions. The L-INX Configurator uses a separate tab to configure the L-IOB devices. The L-IOB device configuration can be done off-line and is shown in the following steps.
  • Page 56: Getting Started With Logicad

    After downloading the L-INX configuration into the L-INX device, the L-IOB input and output terminals can be tested with the L-INX Web UI. An example is shown in Figure Figure 37: Test L-IOB inputs and outputs on the Web UI.
  • Page 57 L-INX/L-GATE User Manual LOYTEC L-INX Configurator. This software is required to configure the L-INX device to provide the necessary data points to the PLC and integrate the device into the network. logiCAD license for using logiCAD on the PC. The license is available as a softlock version or as a hardlock version with a USB dongle.
  • Page 58 LOYTEC Figure 39: Available project templates Select the project template for the L-INX device (e.g., LINX-11x or LINX-12x). Figure 40: Project name and path Specify the name of the project and the path where to store the project files, see Figure Version 7.2...
  • Page 59 In the new LogiCAD project there are no external variables yet. To expose data points from the L-INX to the logic program, activate the PLC check box of the corresponding data points in the Configurator, e.g., the L-IOB I/Os of the universal input or any other Version 7.2...
  • Page 60 L-INX/L-GATE User Manual LOYTEC data point such as a network variable, user register or BACnet object. When you have completed selecting the PLC data points, click the Export variables to LogiCAD speed button while LogiCAD is running. 10. The data points now appear as variables in LogiCAD in a folder under the device folder.
  • Page 61: Connect With An Opc Xml-Da Client

    Reboot the L-INX to start the IEC61131 program. 5.7 Connect with an OPC XML-DA Client After the configuration has been downloaded to the L-INX it is ready to serve OPC XML- DA clients. All data points with the OPC check box activated will be exposed. Connect to the L-INX using the URL http://192.168.24.99/DA,...
  • Page 62: Reset To Factory Defaults

    In case the password of the device or the PIN code of the LCD UI has been forgotten you may need to reset the device back to factory defaults to gain access again. On the L-INX models 10X, 11X, 20X, 21X press the service button and power-cycle the device. On the L-INX models with the jog dial press the jog dial and power-cycle the device.
  • Page 63: Hardware Installation

    The enclosure of the product and its terminal layout are shown on the installation sheet found in the product’s box. 6.2 Product Label The product label on the side of the L-INX/L-GATE contains the following information (for an example see Figure 47): ...
  • Page 64: Led Signals

    L-INX/L-GATE User Manual LOYTEC 6.4 LED signals Available LEDs and their location on the respective device model can be found on the product’s installation sheet. The installation sheet can be found in the product’s box. 6.4.1 OPC LED The OPC Server LED illuminates green when at least one OPC client is connected to the OPC server.
  • Page 65: Mstp Activity Led

    L-INX/L-GATE User Manual LOYTEC 6.4.4 MSTP Activity LED The MS/TP port has a three-color MSTP Activity LED (see product installation sheet). Table 5 shows the different LED patterns of the port and their meaning. A permanent color reflects a state. Flicker is for 25 ms when there is activity on the MS/TP data link layer.
  • Page 66: Bbmd Led

    For a deeper analysis of the reason for the overload condition, it is recommended to use a protocol analyzer (e.g., LOYTEC’s LPA) or a similar tool. The exact reason of the overload condition can also be determined with the LSD Tool.
  • Page 67: Concepts

    Data point values are typically written by the controller or by the network. For testing purposes the values can also be manually overridden (Set Override). More information on the data point Web interface can be found in the LOYTEC Device User Version 7.2...
  • Page 68: Iec61131 Variables

    L-INX/L-GATE User Manual LOYTEC Manual [1]. For a comprehensive description of the data point configuration on the device please refer to the LINX Configurator User Manual [2]. Figure 48: Data points on the Web interface. 7.3 IEC61131 Variables IEC61131 variables are used to exchange data with the IEC61131 program. These variables are represented in the data point configuration as register data points and can be connected to other data points, e.g.
  • Page 69: Iec 61131 - L-Logicad

    LOYTEC 8 IEC 61131 – L-LOGICAD To design the IEC61131 program which should run on the L-INX device, the graphical programming tool logiCAD is required. The tool allows creating IEC61131 programs using various IEC61131 programming languages. It offers additional features downloading and debugging of the created program.
  • Page 70: Softlock License

    L-INX/L-GATE User Manual LOYTEC the required software to build IEC61131 programs for the L-INX device, and required extensions to interface to CEA-709 networks. Follow the instructions of the installer to install logiCAD for the L-INX. The language for the logiCAD user interfaces can be set to German or English using the administration folder of the logiCAD control center.
  • Page 71: Hardlock License

    L-LODICAD-USB and is distributed as a USB hardlock key of type ‘CodeMeter’. If no driver for this type of hardlock is already installed on the PC, install the hardlock driver provided on the LOYTEC website. It can be found in Support  Version 7.2...
  • Page 72: Iec61131 Project Files

    8.3 IEC61131 Project Files In the L-INX Configurator select the LogiCAD Files tab to attach an IEC61131 program and a logiCAD project to the L-INX project. The tab is shown in Figure 54. If there is an IEC61131 program attached to the project, every time a new configuration is downloaded to the device, the L-INX Configurator asks, if the attached program should be downloaded as well.
  • Page 73: Working With Logicad

    This section provides all necessary background information how to use the L-INX with logiCAD. For using the L-INX with logiCAD, a predefined project template for the L-INX must be used. Hence, when creating a new project, select the project template “Project for LINX-110”, see Figure 55.
  • Page 74 LOYTEC Figure 55: L-INX specific extensions Figure 55 shows the standard project for the L-INX including all LINX-specific extensions for logiCAD. It shows the structure window showing the project structure on the left, an empty working area top right and the Error-state viewer on the bottom right side.
  • Page 75: Managing Variables

    %I, %O, or %M, the variable will be handed down to the I/O driver of the L-INX for processing. If a suitable IEC61131 variable exists in the data point configuration of the device, its value will be forwarded by the I/O driver between the PLC variable and the data point.
  • Page 76: Build And Download The Iec61131 Program

     Name: The name of a global variable must be unique. The name is used from the IO driver to identify the global variable and from the L-INX Configurator to generate the corresponding IEC61131 data points. ...
  • Page 77: Usage Of Nvs, Technology Converters

    To be able to communicate with the LINX-110 device via CEA709 the LINX-110 must be commissioned.  RS232: To connect via RS232 select LOYTEC RS232 as Driver and LOYTEC as transmission protocol. All other values are set correctly per default. 8.4.3 Usage of NVs, Technology Converters To used CEA-709 variables the content of the NVs must be converted to IEC61131 compliant data types.
  • Page 78: Iec61131 Program Cycle Time

    Please take care when defining names for the tasks. The names displayed in the project view are symbolic names, they do not correspond to the settings for the cycle time, even if the L-INX template project use the configured cycle time as task name. Version 7.2...
  • Page 79: Cpu Overload

    Number of inputs and outputs handled by the I/O driver.  Complexity of the logic in the running IEC61131 program.  Number of simultaneously running program instances on one L-INX.  Cycle time of IEC61131 programs.  logiCAD breakpoint support and force-able code enabled or disabled The developer of the IEC61131 program is able to check the current system load within the Web UI.
  • Page 80: Plc Conflicts

    L-INX/L-GATE User Manual LOYTEC variables, which cannot be loaded, because the corresponding data points cannot be located on the device, the I/O driver reports a warning in the system log and shows a listing on the Web interface. Since IEC61131 program and the data point configuration are downloaded separately, it may be possible that the IEC61131 program does not match the currently active data point interface.
  • Page 81: Workflows For The L-Inx

    8.5 Workflows for the L-INX 8.5.1 Starting with Data Points This workflow is based on defining data points used for the IEC61131 program in the L-INX Configurator and then export them to logiCAD. Figure 64 presents the basic steps of this workflow.
  • Page 82: Starting With Logicad

    Additional a warning is printed on the Error-state viewer.  The name of the global variables object represents the folder name in the L-INX Configurator. After exporting the data points as global variables to logiCAD, they can be used in the Functionplan ‘Plan_1’.
  • Page 83 Section 6.6.4 DONE Figure 66: Starting with logiCAD After creating a new project for a L-INX resource and opening the Functionplan Plan_1 an empty input area is shown, similar to Figure 67. Figure 67: Start new function plan The dark grey areas on the left and right side are intended to place the input and output variables, the light grey area is used to place the functional blocks.
  • Page 84 L-INX/L-GATE User Manual LOYTEC variable select the VAR_EXTERNAL tab, right click in the declaration area and select New, as shown in Figure 68. Figure 68: New external variable In the upcoming dialog the name and the type declaration of the variable must be specified.
  • Page 85 L-INX/L-GATE User Manual LOYTEC Figure 69: External variable type declaration The created variable is added to the declaration area and placed to the drawing area by drag- and-drop. At this time the direction of the external variable is not defined, it can be used as input as well as output variable.
  • Page 86 To start the creation of global variables, based on external variables, Save all changes, then right click the L-INX device and select Global Variables  Generate. Then the selected L-INX resource is parsed and every program instance found is checked for external variables.
  • Page 87 Based on the above created global variables corresponding IEC61131 data points are created on the L-INX. For doing so, start the L-INX Configurator and click the speed button Import variables from logiCAD. Data points are created in the IEC61131 Variables folder.
  • Page 88: Pre-Compiled Iec61131 Program

    The definitions for the data points must be available either in form of a CSV file to import to the L-INX Configurator or as part of a L-INX Configurator project. If the network interface for the L-INX was not already defined, the L-INX Configurator can be used to generate and connect the needed data points.
  • Page 89: Additional Features

    Finally, after downloading the configuration and rebooting the L-INX, the IEC61131 program can be downloaded to the L-INX via the Web UI or the L-INX Configurator. After a final reboot the L-INX loads and executes the IEC61131 program.
  • Page 90: Create Your Own Data Type

    CEA709 network type but should still be available as a data point on the L-INX automation server, in order to access the data point value from the Web interface or over XML as a parameter. Further, such data points can also be made persistent, which makes variables of such custom data types persistent.
  • Page 91 L-INX/L-GATE User Manual LOYTEC To Use logiCAD Types in User Registers In logiCAD right-click on the library with the types that shall be exported and select Export code…. In the export dialog choose ‘.ST’ as the export configuration, select the option single file and choose a target file (see Figure 77).
  • Page 92: Using Persistent Data Points And Markers

    Global input variables marked as persistent, supply the IEC61131 program every time with the last received, valid data, even after a power failure. To enable this behavior, set the respective input data points persistent in the L-INX Configurator and download the data point configuration to the device.
  • Page 93: L-Inx System Registers, System Time

    8.6.6 L-INX System Registers, System Time L-INX system registers, such as the system time or the CPU load, can be used within IEC61131 programs. Therefore, for each system input variable, a global input variable of type UDINT may be created within the IEC61131 program. Then, connections to the appropriate system registers are created manually with the L-INX Configurator.
  • Page 94: Bacnet Server Objects

    L-INX/L-GATE User Manual LOYTEC be used in logiCAD by implementing a technology converter (see Section 8.4.3) or by exposing the sub-data points of the respective structures. To Use Sub-Data Points in logiCAD In the Configurator, expand the structured data point and expose the desired sub-data points of its structure members to the PLC.
  • Page 95: Custom Serial Protocols

    L-INX/L-GATE User Manual LOYTEC processes the resulting value. The default for non-commandable BACnet objects (e.g. AI) is output (%O). This means the logic writes the value, which is read out of the object over the BACnet network. With this type of variables the BACnet objects are treated as variables of the IEC61131 program.
  • Page 96 L-INX/L-GATE User Manual LOYTEC  ASCII protocol: The serial communication block works with strings that are transmitted and received.  Line-Oriented: Each command and reply is modeled as a text line. The line can be terminated by any combination of CR and LF.
  • Page 97: Firmware Update

    When the device boots up with the fallback image, the all port LEDs are flashing red. The firmware image is distributed in a firmware ZIP archive that applies to all L-INX and L-GATE models. 9.1 Firmware Update via the Configurator The primary image can be updated using the Configurator.
  • Page 98 L-INX/L-GATE User Manual LOYTEC Figure 81: FTP connection dialog. In the connection dialog, enter the IP address of the device as well as the admin user’s password. The password can be changed via the Web interface. If the device uses other port settings than the standard settings or the device is operated behind a NAT router, adapt the FTP and Telnet ports accordingly.
  • Page 99: Firmware Update Via The Web Interface

    9.2 Firmware Update via the Web Interface The device’s firmware can also be upgraded using the Web interface. This option can be found in the Config menu under the Firmware item. For more details refer to the LOYTEC Device User Manual [1].
  • Page 100: Troubleshooting

    L-INX/L-GATE User Manual LOYTEC 10 Troubleshooting 10.1 Technical Support LOYTEC offers free telephone and e-mail support for the L-INX product series. If none of the above descriptions solves your specific problem please contact us at the following address: LOYTEC electronics GmbH...
  • Page 101: Application Notes

    Please refer to application note “AN009E Changing Device Interface in LNS” for more information on the static NV interface, XIF files, device templates and the use of static, dynamic, and external NVs on LOYTEC gateway products. Version 7.2 LOYTEC electronics GmbH...
  • Page 102: Security Hardening Guide

    Set a secure password for the admin and operator accounts.  Disable the HTTP, FTP, and Telnet servers in the IP port configuration as described in the LOYTEC Device User Manual [1]. Note, that FTP and Telnet are disabled in factory defaults as of firmware 7.0.0. ...
  • Page 103: Services

    L-INX/L-GATE User Manual LOYTEC Optional ports not necessary for the primary product function. They can be disabled as described in the installation instructions in Section 12.1:  21 tcp: This port is opened by the FTP server. The port can be changed and disabled.
  • Page 104: Upgrade Key Strength

    IEC61131 logic kernel. The service can be disabled.  LIOB-IP: This service is used by the L-IOB host function to operate LIOB-IP I/O modules. This service is enabled by default on all L-INX devices. The service can be disabled. ...
  • Page 105 L-INX/L-GATE User Manual LOYTEC  Static errors in the device and data point configuration.  System overload situations as one-time log messages since last power-on.  Crucial communication errors as they occur. Version 7.2 LOYTEC electronics GmbH...
  • Page 106: Specifications

    L-INX/L-GATE User Manual LOYTEC 13 Specifications 13.1 Physical Specifications 13.1.1 LINX-102/103/112/113/202/203/212/213/215 and LGATE-902 12 – 35 VDC or 12 – 24 VAC ±10 % Operating Voltage Power Consumption typ. 2.5 W In rush current up to 950 mA @ 24 VAC Operating Temperature (ambient) 0C to +50C...
  • Page 107: Resource Limits

    L-INX/L-GATE User Manual LOYTEC 13.2 Resource Limits 13.2.1 L-INX Models Table 8 and Table 9 specify the resource limits of the different L-INX models. Version 7.2 LOYTEC electronics GmbH...
  • Page 108 1,000 EnOcean data points SMI devices (per port) Connections (local) 1,000 1,000 2,000 2,000 2,000 2,000 Connections (global) L-WEB Clients (concurrent) L-IOB Modules LWLAN-800 AP+Mesh max clients Table 8: Resource limits of different L-INX models Version 7.2 LOYTEC electronics GmbH...
  • Page 109: L-Gate Models

    2,000 Connections (global) L-WEB Clients (concurrent) L-IOB Modules LWLAN-800 AP+Mesh max clients Table 9: Resource limits of different L-INX models (cntd.) 13.2.2 L-GATE Models Table 10 specifies the resource limits of the different L-GATE models. Version 7.2 LOYTEC electronics GmbH...
  • Page 110: Removable Media

    L-INX/L-GATE User Manual LOYTEC Model Limits 10,000 30,000 30,000 Total number of data points OPC Tags 2,000 5,000 5,000 User Registers 1,000 2,000 2,000 1,000 2,000 2,000 NVs (static, dynamic) 1,000 2,000 2,000 External NVs Alias NVs (ECS and legacy mode)
  • Page 111: Fcc Warning

    L-INX/L-GATE User Manual LOYTEC SD Card microSD form factor, max 8GB, standard density or SDHC (no SDXC), optionally with or without partition table, uses first primary partition 13.4 FCC Warning This device has been tested and found to comply with limits for a Class B digital device, pursuant to Part 2 and 15 of FCC Rules.
  • Page 112: References

    Document № 88081508, April 2019. L-VIS User Manual 6.2, LOYTEC electronics GmbH, Document № 88068522, August 2017. L-IOB I/O Module User Manual 7.2, LOYTEC electronics GmbH, Document № 88078513, April 2020. L-IP User Manual 7.0, LOYTEC electronics GmbH, Document № 88065914, September 2019.
  • Page 113: Revision History

    Added new device models. Added license activation. 2017-04-24 Added new device models. 2017-12-20 Updated for firmware 6.3.0. 2018-05-15 Updated for firmware 6.4.0. Limit changes for L-INX models. 2019-05-15 Updated for firmware 7.0.0. 2020-04-30 Updated for firmware 7.2.0. Removed old models LINX- 100/101/110/111/200/201/210/211 and LGATE-900.

This manual is also suitable for:

L-gate

Table of Contents