The Device Installer is used to configure the IP address of the DL4500 as well as
configure the internal communication settings between the Lantronix daughter board and
the DL4500 mother board. The most recent version of Device Installer is Device
Installer 3.6.
5.1.1 IP Address
To assign an IP address to the DL4500, open the Device Installer Software. You will
then see a screen as shown below.
The following steps are used to assign an IP address to the DL4500.
1. Click on the Search button to have the Device Installer find the DL4500. If the
Device Installer finds the DL4500, the device should appear. If the device cannot be
found then follow the instructions at the end of the IP Address section.
2. Highlight the device and click on the Assign IP button. Choose the “Assign a specific
IP address” option and click Next. The following window will appear.
3. Enter the desired IP address, subnet mask, and default gateway (if required) and click
Next.
4. To assign the chosen IP address to the DL4500, click the Assign button. When the IP
address is assigned, a message stating that the IP address was successfully assigned
should appear. Click the Finish button to close the screen and go back to the main
menu.
Device Not Found
If for some reason the Device Installer cannot find the DL4500 on the Ethernet network,
follow the steps below.
1. Click the Assign IP button and the following screen will appear.
2. Enter MAC address of the DL4500 and click Next. This can be found on the bottom
of the DL4500. The Device Installer should now find the device. Now follow the
steps at the beginning of the IP Address section to assign an IP address. If for some
reason the device still cannot be found, see section 9.1 Device Installer Cannot Find
the DL4500.
5.1.2 Telnet
After the IP address of the DL4500 is assigned, the internal communication parameters
that the Lantronix daughter board uses to communicate with the DL4500 motherboard
must be configured. Depending on the model of DL4500 that is being used, there are
different Telnet settings that must be set. The Telnet settings for each model of DL4500
are shown below in the following order: DF1 MultiMaster, Standard Tunnel, and Modbus
TCP.
To start a telnet session, there are two ways that can be used. The first method uses the
Device Installer while the second uses a DOS command prompt.
Telnet using Device Installer
Open Device Installer and click search to find the DL4500. Once the device is found,
double click on the device and three tabs will appear on the right window frame. Select
the Telnet Configuration tab and the following should appear.
Make sure port 9999 is entered and click Connect to begin the Telnet session.
Telnet using the DOS Command Prompt
Open a DOS command prompt window to begin. At the prompt, type telnet then a space,
the IP address of the unit then a space, and then the port 9999. After this is entered, press
Enter to begin a telnet session. The following is an example of how to begin a telnet
session from the command prompt.
C:\>telnet 192.168.2.2 9999
On the following pages are the Telnet settings for the different DL4500 models. After
starting a telnet session, you must press the Enter key to bring up the main menu.
DF1 MultiMaster
The following menu will appear after starting a telnet session.
Multi-Master DF1
1) TCP/IP Network Settings:
Ethernet Autodetect
IP addr 192.168.2.2, no gateway set, netmask 255.255.255.000
2) DF1 Settings:
Protocol ................. DF1 Full-Duplex
Serial Interface ......... RS232 19200,8,N,1
Check Sum ................ CRC (16-bit)
Redirector Sockets ....... 2 (port:03001)
Raw Tunneled Sockets ..... 2 (port:10001)
3) MSG Block Remote IP Routing Table:
(* None Defined *)
R)eset all to factory Defaults
S)ave all to EEPROM and Quit
Q)uit without saving
Select Command or parameter set (1,2,R,S,Q) to change:
To set the proper Telnet settings, follow the steps below :
1. Press R to restore Factory Defaults.
2. Press 2 to configure the DF1 Settings. Input the values so that they match what is
shown below. The values shown in the parentheses are the current settings. To keep
the current settings, press Enter.
Interface Type (1=RS232 2=RS422/RS485+4-wire 3=RS485+2-wire) (00001) ?
Enter serial parameters (19200,8,N,1) 115200,8,n,1
Use DF1 16-bit CRC CheckSum? (Y) N
You have 4 total incoming sockets:
Number to use for Lantronix Redirector (00002) ? 0
Number to use for Raw DF1 in TCP 4
TCP port to use for Raw DF1 (10001) ?
When asked about the incoming sockets, enter 0 for Number to use for Lantronix
Redirector. This will allow up to 4 connections to be used on port 10001. The
default for this setting is 2.
Note that the DL4500 only supports BCC error checking at this time.
3. Press S to save the new settings and end the telnet session.
4. Press the reset button on the DL4500 to put it online.
Standard Tunnel
The following menu will appear after starting a telnet session.
Change Setup:
0 Server configuration
1 Channel 1 configuration
2 Channel 2 configuration
5 Expert settings
6 Security
7 Factory defaults
8 Exit without save
9 Save and exit Your choice ?
To set the proper Telnet settings, follow the steps below :
1. Press 7 and then Enter to restore Factory Defaults.
2. Press 1 and then Enter to configure the Channel 1 configuration. Input the values so
that they match what is shown below. The values shown in the parentheses are the
current settings. To keep the current settings, press Enter. The only value that needs
to be changed is the baud rate.
Baudrate (9600) ? 115200
I/F Mode (4C) ?
Flow (00) ?
Port No (10001) ?
ConnectMode (C0) ?
Remote IP Address : (000) .(000) .(000) .(000)
Remote Port (0) ?
DisConnMode (00) ?
FlushMode (00) ?
DisConnTime (00:00) ?:
SendChar 1 (00) ?
SendChar 2 (00) ?
3. Press 9 and then Enter save the new settings and end the telnet session.
4. Press the reset button on the DL4500 to put it online.
The ComPort Redirector is used to redirect a virtual COM port to the Ethernet port. This
software is needed since RSLinx does not offer an Ethernet DF1 driver. Therefore an
RS-232 serial driver is used and the ComPort Redirector redirects the data to the Ethernet
port.
5.2.1 Configuration
To begin configuring the ComPort Redirector, open the software and the following
screen will appear under tolls click on lunch CPR manager.
To configure the ComPort Redirector, use the following steps.
1. Click the Add/Remove button to add a virtual COM port to be redirected. The
following screen will appear, inaccessible comports will be different depending on
what ports are being used on each computer.
2. Select the COM port that you want to use a virtual COM port and click OK. You will
then be returned to the first screen. Whenever a COM port is added or removed, you
may need to reboot your PC before the COM port can be used. The PC can be
rebooted after the ComPort Redirector has been configured and saved.
3. From the main screen, click on the new COM port that you want to configure.
4. Enter an IP address and TCP port to where that COM port will be redirected to. The
IP address will be the address assigned to the DL4500, Put a checkmark beside
Timeout Reconnect, Server Reconnect more details in sec port settings 5.2.2, then
click on Save.
5. Confirm save, click on Yes to finalize the setup.
6. CPR manager windows will be as shown after save.
7. Close CPR window, it is recommended to reboot your computer at this point.
5.2.2 Port Settings
The follow section provides more details about the different port settings available with
the ComPort Redirector software. This information was obtained from the Lantronix
ComPort Redirector User Manual.
Buffer Writes :
The follow section provides more details about the different port settings available with
the ComPort Redirector software. This information was obtained from the Lantronix
ComPort Redirector User Manual.
Server Reconnect :
If selected, enables the com port to reconnect to the device server
after the device server disconnects from CPR.
No Net Close :
If selected, when an application closes the com port, CPR does not close
the network connection. To disconnect CPR from the device server, right-click the com
port in the com port tree view on the left or in the Com Port List on the right, or select
Disconnect on the Com Port menu.
Connection Timeout (in seconds) :
Number of seconds the com port should wait before
attempting to connect to the next device server in the list, or before aborting the
connection attempt.
Timeout Reconnect :
If selected, CPR re-establishes the connection if the connection
times out. When auto-reconnecting, CPR tries to reconnect until the connection succeeds
or the number of tries reaches the value in Reconnect Limit
The DL32 software is only required when updating the firmware of DL4500.
The DH+ or DH-485 requires that every station on the network has its own node address.
This section describes the configuration of the DL4500 for the desired A-B network.
5.4.1 DH+ Node Address
The DH+ network allows up to 64 nodes on a network with addresses ranging from 0 to
63 decimal. The DL4500 DH+ node address is determined from the last octet of the IP
address assigned to the unit. The following table shows how the DH+ node address is
determined from the last octet of the IP address.
If the last octet of the IP address is larger than 63, subtract 64 from the value until it falls
within the range of 0 to 63. This will be the DH+ node address in decimal. Since DH+
uses octal notation, a conversion decimal to octal will be needed.
Ex.
DL4500 with IP Address 192.168.2.170
Solution
Take the last octet and subtract and keep subtracting 64
until the value falls within the range of 0 to 63.
170 - 64 - 64 = 42
The DH+ node address is 42 decimal or 52 octal.
5.4.2 DH+ Baud Rate
The DH+ Baud rate on the DL4500 is auto detecting; whatever the existing network is set
to the DL4500 will use that baud rate. Valid rates of 57.6K, 115.2K and 230.4K Baud
are supported.
On Hardware Reset the A-B Network LED will flash GREEN and RED until a valid
DH+ network is detected. This is the AUTO BAUD Rate detection Mode and the
DL4500 will stay in this mode until a valid network is connected to the A-B Network
Connector. The A-B Network LED will then switch to on solid once the DL4500 is on
the DH+ network as a valid node address.
5.4.3 DH-485 Node Address
The DH-485 network allows up to 32 nodes on a network with addresses ranging from 0
to 31 decimal. The DL4500 DH-485 node address is determined from the last octet of
the IP address assigned to the unit. The following table shows how the DH-485 node
address is determined from the last octet of the IP address.
If the last octet of the IP address is larger than 31, subtract 32 from the value until it falls
within the range of 0 to 31. This will be the DH-485 node address in decimal.
Ex.
DL4500 with IP Address 192.168.2.170
Solution
Take the last octet and subtract and keep subtracting 32
until the value falls within the range of 0 to31.
170 - 32 - 32 - 32 - 32 - 32 = 10
The DH-485 node address is 10 decimal.
5.4.4 DH-485 Baud Rate
The DH-485 Baud rate will set itself to 19.2K if the Serial Interface was set to 19200 or
Higher. Otherwise it will use 9600 for a 9600 baud and 4800 for 4800 baud.