تبلیغات
تبلیغات
L-INX User Manual 23
2 Quick-Start Guide
LOYTEC
This chapter shows step-by-step instructions on how to configure the LINX-20X for a simple OPC server application.
2.1 Hardware Installation
Connect power (12-35 VDC or 12-24 VAC), the MS/TP network, and the Ethernet cable as
shown in Figure 1. More detailed instructions are shown in Chapter 3.
Important: Do not connect terminal 17 with Earth-ground!
Version 4.0
Power Supply
Ethernet
Figure 1: Basic Hardware Installation.
If the LINX-20X 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.
LOYTEC electronics GmbH
L-INX User Manual 24 LOYTEC
2.2 Configuration of the LINX
The L-INX can be configured via a console interface, LCD display or via the Web interface.
To configure the device, the following steps have to be performed:
1.
Setup IP configuration (see Sections 2.2.1 and 2.2.2).
2.
Setup BACnet configuration (see Section 2.2.4).
3.
Setup the OPC configuration (see Section 2.3).
Note: This setup procedure assumes the use of the IP interface.
2.2.1 IP Configuration on the Console
Use a PC terminal program with the communication settings set to 38,400 bps / 8 data bits / no parity / 1 stop bit / no handshake. To connect COM1 of the PC to the Console on the device, use a standard null-modem cable with full handshaking. Power up the device or press Return if the device is already running. The following menu should appear on the terminal:
Device Main Menu
================
[1] Show device information
[2] Serial firmware upgrade
[3] System configuration
[5] IP configuration
[7] BACnet configuration
[8] Reset configuration (factory defaults)
[9] Device statistics
[a] Data Points
[0] Reset device
Please choose:
Figure 2: Device Main Menu
Important!
Select ‗5‘ from the device main menu and enter the IP address, netmask, and gateway address. Note that you must use different IP addresses if you are using multiple IP devices in your setup.
IP Configuration Menu
=====================
[1] DHCP : disabled
[2] IP Address : 192.168.24.99
[3] IP Netmask : 255.255.192.0
[4] IP Gateway : 192.168.1.1
[5] Hostname : test-linx200
[6] Domainname : <unset>
[7] DNS Servers : 10.101.17.2
[9] MAC Address : 00:0A:B0:01:0A:4C (factory default)
[0] NTP Servers : <unset> (out-of-sync)
[b] Link Speed & Duplex : Auto Detect
[q] Quit without saving
[x] Exit and save
Please choose:
Figure 3: Enter basic IP settings.
Press ‗x‘ to save the IP settings and reset the device with the main menu item ‗0 ’ in order to let the new IP settings take effect.
The default IP address 192.168.1.254 is only set for configuration access. It must be changed in order to make the device functional.
Version 4.0 LOYTEC electronics GmbH
L-INX User Manual 25 LOYTEC
You should now be able to connect to the LINX-20X with a Web browser.
2.2.2 IP Configuration via the Web Interface
Optionally to using the console interface one can also use the Web interface to configure the client device. In a Web browser enter the default IP address ‗192.168.1.254‘ of the
LINX-20X. Note that if your PC has an IP address in a subnet other than 192.168.1.xxx, please open a command tool and enter the following route command to add a route to the
LINX-20X.
To Add a Route to the Device
1.
Windows START
Run
2.
Enter ‗cmd‘ and click OK .
3.
In the command window enter the command line route add 192.168.1.254 %COMPUTERNAME%
4.
Then open your Web browser and type in the default IP address 192.168.1.254.
Figure 4: Example Start Screen.
5.
Click on Config in the left menu. You will be asked to enter the administrator password in order to change the IP settings. Enter ‗admin‘ and select Login .
Version 4.0 LOYTEC electronics GmbH
L-INX User Manual 26 LOYTEC
Figure 5: Enter ‗admin‘ as the default administrator password.
6.
The Config menu opens. Click on IP in the Config menu and enter the IP address, the
IP netmask, and IP gateway for this device as shown in Figure 6.
Figure 6: Enter IP address and gateway.
7.
Press Save Settings and then reset the device by selecting Reset in the highlighted text.
This changes the IP settings of the device.
2.2.3 IP Configuration via the LCD Display
L-INX models with an LCD display can also be configured to their basic settings through jog dial navigation on the LCD UI. Turn the jog dial to navigate between menu items and press to enter a menu or go into selection mode. When in selection mode turn the jog dial to alter the value and press again to quit the selection.
Version 4.0 LOYTEC electronics GmbH
L-INX User Manual 27
To Set the IP Address on the LCD Display
1.
On the LCD main screen navigate to Device Settings »» .
2.
Then navigate to Device Mgmt »» , TCP/IP Setup »» .
LOYTEC
3.
There navigate to the needed input fields, press and change the value. Press again to set the value. Continue to the next field.
4.
Finally navigate to Save and Reboot and press.
5.
The device reboots with the new IP address.
2.2.4 BACnet Configuration
To configure the BACnet interface, at least the Device ID and the Device Name must be
Version 4.0
Figure 7: BACnet Device Configuration.
The device ID corresponds to the instance number of the BACnet device object. It must be a unique ID on the BACnet internetwork. Also the Device Name must be a unique name on the BACnet internetwork.
By default the BACnet/IP data link layer is used. If the device shall be used with the
BACnet MS/TP data link layer, please refer to Section 4.2.13 for further information.
On devices with an LCD display, the BACnet device ID can also be configured over the
LCD UI.
To Configure the BACnet Device ID over the LCD Display
1.
On the LCD main screen navigate to Device Settings »» .
2.
Then navigate to the menu BACnet »» .
LOYTEC electronics GmbH
L-INX User Manual 28 LOYTEC
3.
In that menu navigate to the ID input for entering the device ID. The field is split into two controls, one for the thousands and one for singles.
4.
After the device ID has been entered the device name is automatically assembled using that device ID, if no other name has been configured on the Web UI.
5.
To let the changes take effect, the device needs to be rebooted. For doing this now you may select the menu item Save and reboot .
2.3 Getting Started with the L-INX Configurator
Before setting up a working IEC61131 program or creating an L-Web visualization, the data points of the L-INX automation server need to be set up. These can be data points of
L-IOB I/Os, network variables, BACnet objects, and other available technologies. Before executing the steps below, install the L-INX Configurator Software from the ‗setup.exe‘.
This file can be downloaded from www.loytec.com
.
To Start a Configurator Project
1.
Start the L-INX Configurator software by selecting Windows Start
Programs
LOYTEC LINX Configurator
LOYTEC LINX Configurator . The application
starts up and displays the data point manager screen as shown in Figure 9.
2.
When the device is online, connect to the device by clicking on the FTP connect speed
button as indicated by the red rectangle in Figure 9.
Version 4.0 LOYTEC electronics GmbH
L-INX User Manual 29 LOYTEC
Figure 8: L-INX Configurator main screen.
3.
For detailed information on how to create data points out of the network please refer to
Section 6.7 for CEA-709 or 6.9 for BACnet.
2.4 Configuration of the L-IOB I/O Modules
The L-IOB I/O modules can be attached either directly to the LIOB Connect bus or to the
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.
To Configure L-IOB I/Os
1.
Add L-IOB devices on the LIOB tab from the supplied L-IOB templates using the Add
Device(s) button
Version 4.0 LOYTEC electronics GmbH
L-INX User Manual 30 LOYTEC
Figure 9: Add LIOB devices to the LIOB-Connect bus.
2.
Select a L-IOB device in the tree on the left-hand side and enter names for the terminals by double-clicking into the Name
Figure 10: Change LIOB terminal names for your installation.
3.
Select a terminal and change the object parameters to configure this terminal. You can multi-select terminals and change the parameters for all selected terminals.
Version 4.0
Figure 11: Change LIOB parameters for the selected terminal(s).
4.
On the Datapoints tab the data points for the LIOB terminals have been created. These data points can be used, e.g., in the logiCAD IEC61131 program. For terminal inputs the data point L1_x_UIy_ Input_Read will be used to read an input terminal and for
LOYTEC electronics GmbH
L-INX User Manual 31 LOYTEC terminal outputs the data point L1_x_DOy_ Output_Write will be used to set an output terminal.
5.
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 12: Test L-IOB inputs and outputs on the Web UI.
2.5 Getting started with logiCAD
Install the following software components which are available from the website:
Hardlock driver for USB keys. For the logiCAD license, an Aladdin USB key may be used. If no driver for this type of keys is installed on the PC and the software is licensed via the USB key, install this driver first. This driver is not required if a logiCAD softlock license is used.
L-logiCAD setup package. This package installs the logiCAD software, which is needed to design PLC programs for the L-INX device.
L-INX Configurator. This software is required to configure the device to provide the necessary data points to the PLC and integrate the device into the CEA709 network.
A detailed guide how to install the software components described above can be found in
To Start a logiCAD Project
1.
After installing the necessary software components start logiCAD from the L-INX
Configurator by clicking the Start LogiCAD speed button.
2.
The project wizard starts automatically as shown in Figure 13.
Version 4.0 LOYTEC electronics GmbH
L-INX User Manual 32 LOYTEC
Figure 13: logiCAD project wizard
3.
Select Create new project and press Next .
Version 4.0
Figure 14: Available project templates
4.
Select the project template for the L-INX device (e.g., LINX-11x or LINX-12x).
LOYTEC electronics GmbH
L-INX User Manual 33 LOYTEC
Figure 15: Project name and path
5.
Specify the name of the project and the path where to store the project files, see Figure
Figure 16: Additional information
6.
After specifying additional information the new project is created by pressing the
Finish button.
7.
As shown in Figure 17 below, expand the tree element
Functionplans and double click
Plan_1 in order to start editing the plan.
Version 4.0 LOYTEC electronics GmbH
L-INX User Manual 34 LOYTEC
Version 4.0
Figure 17: Edit Plan_1
8.
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 data point such as a network variable, user register or BACnet object.
9.
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. The folder is named specific to the technology of the data points, e.g. LIOB for
all L-IOB I/Os that are exposed as a PLC variable. An example is shown in Figure 18.
LOYTEC electronics GmbH
L-INX User Manual 35 LOYTEC
Figure 18: Exposed PLC data points appear in LogiCAD
11.
Now the logic can be developed on the function plan.
12.
For later debugging, it is good practice to add online test fields to the drawing, to display the current value of the signals during online test. To do this, right-click on the value output of the left function block and select Create OLT Field from the context
Figure 19: Create online test fields
13.
Place the fields above and below the drawing as shown in Figure 20, then press the
Save button to save your changes.
Version 4.0
Figure 20: Online Test fields
14.
Finally, open the context menu of the LINX-11x device again and select Code
Generation . In the dialog, press the button Start to start the code generation process.
On success, the code generation window reports Errors=0 and Warnings=1.
15.
Close the window by pressing the OK button. Now the compiled IEC61131 program can be downloaded to the device. Right-click the tree element LINX-11x and select
Download from the context menu. A connection dialog will appear and ask for the type of connection and additional information.
LOYTEC electronics GmbH
L-INX User Manual 36 LOYTEC
Figure 21: IEC61131 program download
16.
Select the TCP/IP communication driver and enter the target address as configured in
section 2.2. Start the download process by pressing the
OK button.
2.6 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 , given that 192.168.24.99 is the IP address of the device. Note, that by default, writing to
OPC tags needs basic HTTP authentication using the password for the operator user. This is
‗operator‘ by default.
2.7 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. Keep the button/jog dial pressed until the port LEDs illuminate orange permanently. Release the button/jog dial within five seconds from that time on to reset the device to factory defaults.
Version 4.0 LOYTEC electronics GmbH
دانلود
تبلیغات