Lantronix C 7/01, CoBox-FL-IAP User Manual

CoBox-FL-IAP User Guide
Rev. C 7/01
Chapter 1: Introduction
The IAP Family of Device Servers........................................................ 1-1
Key Features..........................................................................................1-2
Packing Algorithms.................................................................. 1-3
Ethernet (MAC) Address.......................................................... 1-3
Internet Protocol (IP) Address.................................................. 1-3
Port Numbers............................................................................1-3
Chapter 2: Installation
Product Description............................................................................... 2-1
Network Interface..................................................................... 2-1
Serial Interface.......................................................................... 2-2
Product Information Label .......................................................2-2
Installing the CoBox-FL-IAP................................................................2-3
LEDs.........................................................................................2-4
Contents
Chapter 3: Getting Started
Assigning the IP Address ......................................................................3-1
DHCP ....................................................................................... 3-1
Auto IP......................................... ......... ......... ........................... 3-2
APS Configuration Utility........................................................3-3
ARP ..........................................................................................3-7
Direct Serial Connection..........................................................3-8
Configuring the Device Server.............................................................. 3-8
Chapter 4: Using the Device Server
Comm Port Redirector........................................................................... 5-1
Redirector Setup....................................................................... 5-1
Device Server Configuration....................................................5-1
Appendix A: Contact Information
Problem Report Procedure.................................................................... A-1
Full Contact Information...................................................................... A-2
Corporate Offices ................................. ......... .......................... A-2
Sales Offices............................................................................ A-2
-i
Appendix B: Troubleshooting
Monitor Mode........................................................................................B-1
Entering Monitor Mode Via the Serial Port .............................B-1
Entering Monitor Mode Via the Network Port.........................B-1
Monitor Mode Commands........................................................B-2
Appendix C: Updating Firmware
Downloading Firmware.........................................................................C-1
Downloading Via the APS Configuration Utility..................................C-1
Downloading Via TFTP ........................................................................C-3
Downloading Via the Serial Port...........................................................C-4
Appendix D: Technical Specifications
CoBox-FL-IAP..................................................................................... D-1
Appendix E: IP Addressing
Network Portion.....................................................................................E-1
Subnet Portion .......................................................................................E-2
Host Portion...........................................................................................E-2
Network Address...................................................................................E-2
Broadcast Address.................................................................................E-2
IP Subnet Mask......................................................................................E-3
Private IP Networks and the Internet.....................................................E-4
Network RFCs.......................................................................................E-4
Appendix F: Pinouts
Ethernet Connectors...............................................................................F-1
10BASE-T................................................................................F-1
10BASE-FL..............................................................................F-1
Serial Connectors...................................................................................F-2
Warranty Statement
Declaration of Conformity
-ii
1: Introduction
The IAP Family of Device Servers
The Lantronix Industrial Automation Platform (IAP) family of Device Servers allows a single network and protocol to connect multiple serial devices from many vendors. IAP provides the automation industry with a network-enabling s olution using TCP/IP and standard Ethernet networks that is vendor-ind e pen dent.
By encapsulating serial data and transporting it over Ethernet, the Device Server allows virtual serial links t o be establishe d over Ethernet a nd IP networks. As a result, direct serial connections can be extended within the plant, throug hout the facility, and across the global enterprise.
Existing COM-port-based Windows devices, using Comm Port Re director TM software. Redirector allows the creation of virtual serial ports, which can be mapped to remote Device Servers over Ethernet. When used in conjunction with an OPC server, most Windows based HMI, SCADA, and PC based control applications have full access to information in the connected device.
Lantronix provides IAP Device Servers specifically designed for different industrial environments:
u
CoBox-DR1-IAP, with a DIN rail interface for harsh environments or alongside controls instruments in electrical panels.
u
CoBox-FL-IAP, with fiber connectivity for long cable runs or electrically hazardo us environments.
u
UDS-10-IAP, a compact design Device Server for use in less demanding environments.
TM
applications can access network-enabled serial
1-1
Key Features Introduction
A few examples of attached devices are:
u
PLCs
u
AC/DC drives
u
CNC systems
u
Operator panels and message displays
u
Process Controls
u
Instrumentation
u
Power monitoring equipm ent
u
Scales and weighing systems
u
Barcode scanners
u
Label printers
u
Most factory floor serial devices
Key Features
IAP Device Servers, adapted to the three factory environments , will unit e any mixture of equipment from indust rial automation v endors into a sing le reliable pipel ine. This new and open infrastructure opens the way for data to flow in real time from all your plant devices up to your IT layer.
The IAP Device Servers feature installable industrial communication protocols. Lantronix’s Automation P rotocol s Suite (APS) includes protocol s such as DF1 (Rock well Automation) and Modbus (Schneider Electric). Where the Standard Tu nneli ng p rotoco l is limited to exclusive, device-to-device connections, the industrial protocols offer connections to other devices simultaneously.
You can configure the unit using the serial po rt, or remotely over the network using Telnet or a web browser. The APS CD (the CD that comes with your Device Server) includes Windows-based configuration software that simplifies the process of installing protocols and configuring them for use with attached devices. Flash memory provides for maintenance free, non-volatile storage and allows system upgrades.
1-2
Introduction Network Protocols
Network Protocols
Device Servers use IP protocols for network communicatio ns. The supported prot ocols are ARP, UDP, TCP, ICMP, Telnet, TFTP, DHCP, HTTP, SNMP, and BOOTP. For connections to the serial port, TCP, UDP, or Telnet protocols are used. Firmware updates can be performed using TFTP.
The Internet Protocol (IP) defines addressing, routing, and data block handling over the network. The Transmission Control Protocol (TCP) assures that no data is lost or duplicated, and that everything sent to the connection arrives correctly at the target.
For typical datagram applications in which devices interact with other devices withou t maintaining a point-to-point connection, User Datagram Protocol (UDP) is used.
Packing Algorithms
Two firmware selectable packing algorithms define how and when packets are sent to the network. The standard algor ith m i s opti mized for app lications in which the Device Serv er is used in a local environment, allowing for very small delays for single characters while keeping the packet count low. The alternate packing algorithm minimizes the packet count on the network, and is especially useful in applications in a routed Wide Area Network (WAN). Adjusting parameters in this mode can economize the network data stream.
Ethernet (MAC) Address
The Ethernet address is also referred to as the hardware address or the MAC address. The first three bytes of the Ethernet Address are fixed (e.g., 00-20-4A), identifying the unit as a Lantronix product. The f ourth, fifth, and sixt h bytes are u nique numbers assigned to each Device Server.
Figure 1-1: Sample Ethernet Address
00-20-4A-14-01-18 or 00:20:4A:14:01:18
Internet Protocol (IP) Address
Every device connected to an IP network must have a unique IP address. This address is used to reference the specific Device Server.
Port Numbers
Every TCP connection and every UD P datagram i s defined by a dest ination IP ad dress and a port number. For example, a Telnet application commonly uses port number 23. A port number is similar to an extension on a PBX system.
1-3
2: Installation
This chapter describes the CoBox-FL-IAP and shows how to install it on a basic network.
Product Description
Network Interface
The CoBox-FL-IAP’s network panel contains a 9-30VDC or 9-25VAC power plug, four LEDs, an ST-Fiber (10BASE-FL) Ethernet port, and an RJ45 (10BASE-T) Ethernet port. Both Ethernet ports support 10 Mbps and are auto detecting.
Note: Do not attempt to connect both Ethernet ports simultaneously. If one
is used, the other is disabled.
Figure 2-1: Network Interface
10 BASE-T
10BASE-T Ethernet Port
2-1
10 BASE-FL
Tx
10BASE-FL Ethern et Port (Transmit)
9-30V DC
Tx GL
Rx
Rx Co
Power Plug
LEDs
10BASE-FL Ethernet Port (Receive)
Product Description Installation
Serial Interface
The CoBox-FL-IAP’s serial panel contains two serial ports and three LEDs. Port (Channel) 1 is a femal e DB25 (DCE) that supports RS-232, RS-485 , and RS-422 serial s t andards (firmware selectable) up to 115.2 Kbps. Port (Channel) 2 is a male DB9 (DTE) tha t supports RS-232 only. LED functionality is described in Table 2-2.
Figure 2-2: Serial Interface
CH 1
DB25 Serial Port (DCE)
CH 2
DB9 Serial Port (DTE)
State
LEDs
Product Information Label
A product informati on label is located on the undersi de of the CoBox-FL-IAP, and contains the following information about your specific unit:
u
Bar Code
u
Serial Number
u
Product ID (name)
u
Product Description
u
Ethernet Address (also referred to as Hardware Address or MAC Address)
2-2
Installation Installing the CoBox-FL- IAP
Installing the CoBox-FL-IAP
The following connection diagram shows a typical CoBox-FL-IAP used to attach serial devices to a network.
Figure 2-3: CoBox-FL-IAP Connected to Serial Device and Network
2
1
9-30V DC
10 BASE-FL
Tx
Tx GL
Rx
Rx Co
10 BASE-T
Serial Device 2
4
Serial Device 1
OR
10BASE-T Ethernet
10BASE-FL Ethernet
3
To install the CoBox-FL-IAP, complete the following steps in order. Refer to the numbers in the previous figure.
1 Connect a serial device to the CoBox-FL-IAP. See Appendix F, Pinouts, for more
information about the kinds of device attachments the CoBox-FL-IAP supports.
2 Connect a second serial device to the CoBox-FL-IAP (optional). 3 Connect an Ethernet cable to either the 10BASE-FL OR the10BASE-T Ethernet
port. When connecting to the 10BASE-FL, connect the receiving cable to the Rx port and the transmitting cable to the Tx port.
Note: Do not attempt to connect both Ethernet ports simultaneously. Only
one Ethernet connection can be made at any one time.
4 Supply power to the CoBox-FL-IAP using the power s upply that was included in the
packaging.
Note: The required input voltage is 9-30VDC or 9-25VAC.
5 Supply power to the serial devices.
2-3
Installing the CoBox-FL-IAP Installation
LEDs
Network LEDs
The following table explains the function of the four network LEDs:
Table 2-1: CoBox-FL-IAP Network LEDs
LED Function
GL (Good Link) Lights solid green to indicate network port is connected to the network. Tx (Network Transmit) Blinks yellow to indicate network packets are transmitting. Rx (Network Receive) Blinks yellow to indicate network packets are recei ving. Co (Collision) Blinks red to indicate network collisions.
Serial LEDs
Simultaneously lit red and green LEDs means something is wrong. If the red LED is lit or blinking, count the number of times the green LED bl inks bet ween its paus es. Eig ht blin k patterns indicate which fault condition exists. The following table explains the functions of the three serial LEDs
Table 2-2: CoBox-FL-IAP Network LEDs.
LED Function
Serial Port 1 Status
Serial Port 2 Status
Diagnostics Blinks or lights solid red in combination with the green (Channel 1) LED to
Lights solid green to indic a te that Channe l 1 is idle. Blinks green to indicate that the Channel 1 socket connection has been made.
Lights solid yellow to indicate Channel 2 is connected to the network and idle. Blinks yellow to indicate the Channel 2 socket connection has been made.
indicate diagnostics and error detection.
Red solid, gree n (Channel 1) blinki ng:
1x: EPROM checksum error 2x: RAM error 3x: Token Ring error 4x: EEPROM checksum error 5x: Duplicated IP address on the network
6x: Firmware does not match hardware
Red blinking, green (Channel 1) blinking:
4x: Faulty network connection 5x: No DHCP response received
2-4
3: Getting Started
This chapter covers the required steps to get the Device Server on-line and working. Consider the following points before logging into and configuring the Device Server:
u
The Device Server’s IP address must be configured befor e a network connection is available.
u
The IP address must be within a valid range, unique to your network, and i n the same subnetwork as your PC.
u
Only one person at a time may be logged in to the Set up (configu ration) sc reen. This eliminates the possibility of several people simultaneously attempting to configure the Device Server.
u
Network port logins can be disabled. The system manager will not be able to access the unit if the port is disabled. This port can also be password protected.
u
Only one terminal at a time can be connected to a serial port.
Assigning the IP Address
You can several methods to assign an IP address to your Device Server, including:
u
DHCP
u
AutoIP
u
APS Configuration Utility
u
ARP
u
Direct serial connection
DHCP
IP Address
The Device Server ships with a default setting of 0.0.0.0, which automatically enables DHCP within the Device Server.
Provided a DHCP server exists on t he network, it will su pply the Device S erver with an IP address, gateway addres s, and subnet mask whe n the Device Server boot s up. (If no DHCP server exists, the red Di agnostic LED blinks continuously, and the green Status LED bl inks five times.)
3-1
Assigning the IP Address Getting Started
A DHCP-assigned IP address does not appear in the Device Server’s configuration screen (Setup Menu). You can, however, determine your Device Server’s DHCP-assigned IP address in Monitor Mod e. When you enter Monit or Mode from the seri al port with network connection enabled and issue the NC (Network Connection) command., you will see the Device Server’s IP configuration. (For more infor mat i on abou t Monitor Mode, see the Troubleshooting appendix.)
DHCP Name
A DHCP name is a unique identifier used for managing multiple DHCP hosts on a network. Your Device Server ships with a default DHCP name of Cxxxx xx, where the xxxxxx is the last six digits of your Device Server’s MAC address . You can change the DHCP nam e (up to 8 characters) from the Server Configuration option on the Setup Menu.
The name can be changed to LTXdd, where 0.0.0.d d is the IP address assigned (dd s hould be a number between 1 and 99). For example, if the IP address is set to 0.0.0.5, the resulting DHCP name is LTX05.
Figure 3-1: Server Configuration Option
Change DHCP device name (LTRX) ? (N) Y Enter new DHCP device name : LTRXYES
Note: If you are rolling out a large number of Device Servers and do not
want to track them by their MAC address, change the DHCP name to LTX##, where ## is the IP address of your Device Server. For example, if the IP ad dr ess i s 1 92. 169 .11.17, then the D HCP n ame fo r the Device Server will be LTX17.
The Device Server’s IP address must be configured before a network connection is available. If the IP address was not set automatically via DHCP, set it now using one of the
following methods.
Auto IP
AutoIP is an alternative to DHCP that allows hosts to automatically obtain an IP address in smaller networks that may not have a DHCP server. A range of IP addresses (from
169.254.0.1 to 169.254.255.1) has been explicitly reserved for AutoIP-enabled devices. The range of Auto IP addresses is not intended to be used over the Internet.
If your Device Server canno t find a DHCP s erver, and you have no t man ually ass igned an IP address to it, then it automatically selects an address from the AutoIP reserved range. Then, your device sends out an (ARP) request to other nodes on the same network to see whether the selected address is being used. If the selected address is not in use, then the Device Server uses it for local subnet communication.
If another device is using the selected IP address, the Device Server selects another address from the AutoIP rang e and reboots it self. After rebo ot, the Device Serv er sends out an other ARP request to see if the selected address is in use, and so on.
3-2
Loading...
+ 28 hidden pages