The text of a manual · part 2 of 16
CoBox-FL/CoBox-FL-IAP User Guide: Introduction
Pages 15 to 26 of 135, from CoBox-FL/CoBox-FL-IAP User Guide
The original document is the PDF (1.7 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Lantronix CoBox-FL
Page 15
Introduction
1. Introduction This manual describes the CoBox-FL family of Device Servers, including the CoBox-FL Device Server and the CoBox-FL-IAP Device Server with Industrial Automation Protocols. Most of the material in this manual applies to all of the CoBox-FL products. However, in some cases there will be some features that apply to only one product. In those cases, a note will explain the variation. Note: In most cases CoBox-FL refers to CoBox-FL and CoBox-FL-IAP.
1.1 CoBox-FL The CoBox-FL Device Server connects serial devices to Ethernet networks using the IP protocol family (TCP for connection-oriented stream applications and UDP for datagram applications). A few of the different types of serial devices supported are listed below: • Time/Attendance Clocks and Terminals • ATM Machines • CNC Controllers • Data Collection Devices • Universal Power Supply (UPS) Management Units • Telecommunications Equipment • Data Display Devices • Security Alarms and Access Control Devices • Handheld Instruments • Modems The CoBox-FL connects these devices through a TCP data channel or through a Telnet connection to computers or another Device Server. Datagrams can be sent by UDP.
The CoBox-FL supports RS-232, RS-422/485 through the DB-25F Channel 1 serial port. It supports RS-232 through the DB-9M Channel 2 serial port. It supports 10Mb/s Ethernet through an RJ-45 connector and through ST-Fiber connectors. It can be configured via HTTP, SNMP, DHCP or Telnet. It contains a Flash ROM for easy software upgrades.
CoBox-FL User Guide
1-1
Page 16
Introduction
1.2 CoBox-FL-IAP Device Server Note: This section is for the CoBox-FL-IAP only. 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 solution using TCP/IP and standard Ethernet networks that is vendor-independent. By encapsulating serial data and transporting it over Ethernet, the Device Server allows virtual serial links to be established over Ethernet and IP (TCP/IP, UDP/IP) networks. As a result, limited distance, point-to-point, direct serial connections can be extended within the plant, throughout the facility, or across the global enterprise. The following picture is one of the Device Servers in the IAP family.
Figure 1 – CoBox-FL-IAP Lantronix provides IAP Device Servers specifically designed for different industrial environments. • CoBox-DR1-IAP, with a DIN rail interface for harsh environments or alongside controls instruments in electrical panels. • CoBox-FL-IAP, with fiber connectivity for long cable runs or electrically hazardous environments. • UDS-10-IAP, a compact Device Server for use in less demanding environments.
1-2
CoBox-FL User Guide
Page 17
Introduction
A few examples of attached devices are: • PLCs • AC/DC drives • CNC systems • Operator panels and message displays • Process Controls • Instrumentation • Power monitoring equipment • Scales and weighing systems • Barcode scanners • Label printers • Most factory floor serial devices
1.2.1 Industrial Automation Protocols IAP Device Servers, adapted to multiple factory environments, can unite any mixture of equipment from industrial automation vendors into a single reliable pipeline. 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. IAP Device Servers are delivered with IAP Standard Tunneling protocol and can be loaded with industrial communication protocols. The suite of protocols include DF1 (Rockwell Automation) and Modbus (Schneider Electric). Where the IAP Standard Tunneling protocol is limited to exclusive, standard ASCII device-to-device connections, the industrial protocols offer connections to other devices that require special formatting or features simultaneously. For information about using any of the industrial communication protocols, see the user manuals on the software CD or our web site. Protocol firmware files are also contained on the CD and new versions are available from the Lantronix web site. You can set up the unit using the serial port, or remotely over Ethernet using Telnet or a web browser. The CD that comes with your Device Server includes DeviceInstaller, a Windows based configuration software that simplifies the process of installing protocols and configuring them for use with attached devices. IAP Device Servers use Flash memory for maintenance-free, non-volatile storage which allows for fast system upgrades.
CoBox-FL User Guide
1-3
Page 18
Introduction
1.3 Network Protocols Note: CoBox-FL refers to CoBox-FL and CoBox-FL-IAP except where noted. The CoBox-FL uses TCP/IP protocols for network communication. The supported standards are: ARP, UDP, TCP, ICMP, Telnet, TFTP, DHCP, AutoIP, and SNMP. For transparent connections, TCP/IP (binary stream) or Telnet protocols are used. Firmware upgrades can be made with the TFTP protocol. The IP (Internet Protocol) protocol defines addressing, routing, and data-block handling over the network. The TCP (transmission control protocol) assures that no data is lost or duplicated, and that everything sent into the connection on one side arrives at the target exactly as it was sent. For typical datagram applications where devices interact with others without maintaining a point-to-point connection, UDP datagram is used.
1.3.1 Packing Algorithm The two available packet algorithms (which define how and when packets are sent to the network) are software selectable. The standard algorithm is optimized for applications where CoBox-FL is used in a local environment, allowing for very small delays for single characters while trying to keep the packet count low. The alternate packing algorithm minimizes the packet count on the network and is especially useful for applications in routed Wide Area Networks. Various parameters can be set in this mode to economize the serial data stream.
1.3.2 IP Address Every active device connected to the TCP/IP network must have a unique IP address. This IP address is used to reference a specific device, for example, to build a connection to CoBoxFL’s serial port. See Appendix A for a complete description of IP Addressing.
1.3.3 Port Number A destination IP address and a port number define every TCP connection and every UDP datagram. A port number is necessary to address an application or a channel on a network host. The port number can be compared to an extension on a PBX system. A Telnet application (login to a host with an ASCII terminal) is commonly assigned TCP port number 23. More than one Telnet connection can be established to one host using the Telnet port; however, the other peer IP address/port number combinations must be different. In the CoBox-FL, a port number can be configured on the channel (port). The CoBox-FL uses this port number for outgoing messages and incoming connections, or UDP datagrams, which are addressed to its port number. Port 9999 (decimal) is used for remote configuration.
1-4
CoBox-FL User Guide
Page 19
Introduction
1.4 Serial Interface The CoBox-FL has two serial ports. CH 1 uses a DB-25F (DCE) connector and supports RS232, RS-422/485. CH 2 uses a DB-9 connector and supports RS-232 only. It supports 10Mb/s Ethernet through the RJ-45 (10BASE-T) connector or the ST-Fiber (10BASE-FL). It can be configured via HTTP, SNMP, DHCP or Telnet. It contains a Flash ROM for easy software upgrades.
CH2
State
DB-9 Serial Port (DTE)
LEDs
CH1
DB-25 Serial Port (DCE)
1.4.1 Channel 1 The CoBox-FL Channel 1 is a female DB-25F supporting RS-232C, RS-485, or RS-422 DCE serial interface. The default serial port settings are 9600 baud, 8 data bits, no parity, and 1 stop bit. 1 TX (input) RX (output) RTS (input) CTS (output) DSR (output) GND DCD (output) Reg. +5VDC (Note 1)
14 TX+ (out) (Note 2) TX- (out)
RS-232/485 DB-25F DTR (input) RX+ (in) RX- (in) (Note 2)
Reg. +9-30VDC (Note 1)
13
25
Note 1: The Device Server can alternately be powered up via the serial port using one of these pins. Note 2: The minus sign (-) is sometimes shown as A (TXA), and the plus sign is sometimes shown as B (TXB) For RS-485 2-wire functionality, connect pin 14 to 21, and connect pin 15 to 22.
CoBox-FL User Guide
1-5
Page 20
Introduction
1.4.2 Channel 2 The CoBox-FL Channel 2 is a male DB-9M supporting RS-232C DTE serial interface. 5 GND DTRA (out) TXA (out) RXA(in) DCDA (in)
9 CTSA (in) RTSA (out)
1
6
1.5 RJ-45 Ethernet Interface The CoBox-FL’s back panel contains a 9-30V AC/DC power plug, four LEDs, an ST-Fiber (10BASE-FL) Ethernet port, and an RJ-45 (10BASE-T) Ethernet port. Both Ethernet ports support 10 Mbps and are auto detecting.
9-30V AC/DC 10 BASE-T
10 BASE-FL Rx Tx
Tx GL
Rx Co
LEDs 10BASE-T Ethernet Port
9-30V AC/DC Power
10BASE-FL Ethernet Port
Note: Do not attempt to connect both Ethernet ports simultaneously. If one is used, the other is disabled.
1-6
CoBox-FL User Guide
Page 21
Introduction
1.6 RJ-45 Ethernet Connector The next drawing shows a typical RJ-45 connector. The color is not standard but very typical of an Ethernet Patch cable. Pin 1 is located at the top of the connector (Orange + White). The view is from the end of the connector. Orange + White Orange Green + White Blue
1
8
Blue + White Green
Ethernet
Brown + White
(RJ45) View from Connector End
Brown
1 - TX+ 2 - TX3 - RX+ 6 - RX-
Figure 2 - RJ-45 Connector Table 1 - Ethernet Interface Signals Signal Name DIR
PIN
Primary Function
TX+ TXRX+ RX-
1 2 3 6
Transmit Data + Transmit Data Differential Ethernet Receive Data + Differential Ethernet Receive Data -
Out Out In In
1.7 ST-Fiber Ethernet Connectors Tx
Rx
The CoBox-FL also supports 10Mbit Ethernet through an ST-Fiber Ethernet connector. Note: Do not attempt to connect both Ethernet ports simultaneously. If one is used, the other is disabled.
CoBox-FL User Guide
1-7
Page 22
Introduction
1.8 Serial Interface Cable The CoBox-FL can be connected to a serial or Ethernet device for setup and configuration. The serial device can be RS-232 or RS-485/422. The following diagram shows a typical interface cable for the RS-232 Serial interface. The UDS-M-SBC is an optional male DB-25 to RS-485 screw block connector. 13 25
GND
5 DTR
9
CTS 8
4 3
20
5 7 6
DSR
6
TXD
RTS 2
RXD
1
4
RX(in) 3 TX(in) 2 14 1
DTE, 9-Pin, FEMALE
DCE, 25-Pin, MALE
1.9 Network LEDs The following table explains the function of the four network LEDs.
Tx GL
9-30V AC/DC
Rx Co LED
Meaning
GL (Good Link)
Lights solid green to indicate network port is connected to the network. Blinks yellow to indicate network packets are transmitting. Blinks yellow to indicate network packets are receiving. Blinks red to indicate network collisions.
Tx (Network Transmit) Rx (Network Receive) Co (Collision)
1-8
CoBox-FL User Guide
Page 23
Introduction
1.10 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 blinks between its pauses. Blink patterns indicate which fault condition exists. The following table explains the functions of the three serial LEDs. CH2
State
CH1
LEDs
Table 2 - CoBox-FL LED Functions LED
Meaning
GREEN CH1
Lights solid green to indicate that Channel 1 does not have a connection to or from the network. Blinks green to indicate that Channel 1 does have a connection to or from the network. Lights solid yellow to indicate Channel 2 does not have a connection to or from the network. Blinks yellow to indicate Channel 2 does have a connection to or from the network. Blinks or lights solid red in combination with the green (Channel 1) LED to indicate diagnostics and error detection.
YELLOW CH2
RED Diagnostic
Red solid, green (Channel 1) blinking: 1x: EPROM checksum error 2x: RAM error 3x: Token Ring error 4x: EEPROM checksum error 5x: Duplicated IP address on the network Red blinking, green (Channel 1) blinking: 4x: Faulty network connection 5x: No DHCP response received
CoBox-FL User Guide
1-9
Page 24
Introduction
1.11 Dimensions The CoBox-FL dimensions are shown in the following drawing. Note: For CoBox-FL and CoBox-FL-IAP. 4.46 in. (11.34 cm) 6.5 in. (16.51 cm) 1.39 in. (3.55 cm)
9-30V AC/DC 10 BASE-T
10 BASE-FL Rx Tx
Removable Guard
Tx GL
Rx Co
1.12 Product Information Label The product information label contains important information about your specific unit.
S/N:5226863 COBOX-FL-IAP 00-20-4A-52-68-EF Rev. A11 Made in USA
Serial Number Part Number MAC ID Revision
1.13 Software Support DeviceInstaller is a powerful software utility for configuring device servers from a network connection. For more information, see Using DeviceInstaller on page 3-2. Lantronix DeviceComm Manager is a Windows based COM port redirector software utility. Its function is to redirect customer application data destined for a local serial (COM) port to the PC’s network port. Rather than going out the local port, the data is transmitted across the Ethernet network port using the TCP/IP protocol. For more information, see DeviceComm Manager on page 5-1.
1-10
CoBox-FL User Guide
Page 25
Introduction
1.14 Power Requirements The CoBox-FL is shipped with a 12VDC, 0.8A, 100-240VAC, 50-60Hz power supply, but any power supply between 9VAC/DC and 30V AC/DC can be used. 9-30V AC/DC 10 BASE-T
10 BASE-FL Rx Tx
Tx GL
Rx Co
9-30V AC/DC Power
CoBox-FL User Guide
1-11
Page 26
Introduction
1.15 Technical Specifications Table 3 - Technical Specs Category CPU, Memory
Description AMD 188ES CPU, 20MHz clock, 128kByte RAM
Flash, EPROM Installable Serial Protocols Serial Interface
512kByte Flash PROM Standard Tunnel (CoBox-FL, and CoBox-FL-IAP), Modbus (CoBoxFL-IAP), DF1 (CoBox-FL-IAP) DB-25F, RS-232C or RS-422/485 (DCE pinout) DB-9M, RS-232C (DTE pinout) Baud Rate selectable from 300bps to 115Kbps External adapter for 9-30V AC/DC, 3 Watts Max 16.51 cm (6.5 in) , 11.34 cm (4.46 in) , 3.55 cm (1.39 in) .48 kg (1.10 lbs) Operating range: 5° to +50° C (41to122° F) Max temperature change per hour: 20° C (36° F) Storage range: -40° to +66° C (-40 to 151° F) 10% to 90% RH, non-condensing, 40% to 60% recommended Metal case with mounting flanges. Auto IP, ARP, UDP/IP, TCP/IP, Telnet, ICMP, SNMP, DHCP, BOOTP, TFTP, and HTTP RJ-45 10BASE-T or ST-Fiber 10BASE-FL Characters: 7 or 8 data bits Stop bits: 1,2 Parity: odd, even, none DTR, DCD, CTS, RTS, DSR CTS/RTS (hardware) XON/XOFF (software) Internal web server (Standard Tunneling only) SNMP (read only) Serial login Telnet login Windows® 95/98/ME/NT/2000 based configuration software Network Transmit, Network Receive, Good Link, Collisions, Channel 1 Status, Channel 2 Status, Diagnostic Ethernet: Version 2.0/IEEE 802.3
Power Supply Dimensions Weight Temperature
Humidity Case Protocols Supported Network Interface Serial Line Formats
Modem Control Flow Control Management
System Software LEDs Compatibility
1-12
CoBox-FL User Guide