The text of a manual · part 4 of 7
MS-Connect 210 User Manual, pages 31 to 40
Pages 31 to 40 of 65
The original document is the PDF (2.4 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 Microscan MS-Connect 210
Page 31
Power-On the System
Power-On the System When your reader is connected to the MS-Connect 210 and all other cabling is connected and secured, it is safe to turn on the system.
Power supply cable (97-100004-15)
Set the Power switch to ON to cycle power.
2-2
MS-Connect 210 User’s Manual
Page 32
Using Ethernet
Select and Identify the MS-Connect 210 When you run ESP, you will see the model menu shown below. Select the MS-Connect 210 by double-clicking on the MS-Connect 210 button, or by clicking it once and then clicking OK.
Click the button showing the MS-Connect 210.
The MS-Connect 210 view (shown below) will then appear.
Click Search to locate your MS-Connect 210. The MS-Connect 210’s IP address and MAC address will appear in this field. Important: The unit’s MAC address is printed on the top of the Ethernet module inside the box.
Click Revert to match all settings to the selected MS-Connect 210’s current settings.
MS-Connect 210 User’s Manual
2-3
Page 33
Set Network Parameters
Set Network Parameters You can use ESP to change Ethernet settings. Clicking Send and Save updates the settings in the MS-Connect 210’s Ethernet module.
The firmware version, MAC address, and IP address will automatically populate the fields shown at left. Select the appropriate Subnet Mask, Gateway address, and TCP port.
Send and Save network parameters.
Configuring Network Parameters The following example is based on a default IP address of 169.254.33.228 for the MS-Connect 210 Ethernet module. 1. Determine the host computer’s IP address on the host network. • Go to the Start menu, select Run, type cmd, and type Enter. • Type ipconfig at the command prompt. • Note the IP address of the host computer. 2. At the command prompt, type route add 169.254.33.228 [host computer IP address] and type Enter. This adds the MS-Connect 210’s IP address to the host computer’s routing table. 3. At the command prompt, type route print and type Enter. The command prompt will display a list similar to the following:
2-4
MS-Connect 210 User’s Manual
Page 34
Using Ethernet
Configuring Network Parameters (cont.) 4. Look for the default IP address in the Network Destination column. If it does not appear there, contact your IT department. 5. At the command prompt, type telnet [MS-Connect 210 IP address] 9999 and type Enter. 6. At the Telnet prompt, type Enter. 7. To configure the IP address in the Telnet session, type 0 and Enter. Note: “Netmask: Number of Bits for Host Port” will appear in the command prompt. This defines the number of cleared bits (“0” bits) in the LSB (least significant bit) of the 32-bit Netmask, starting at the right. Example: 255.255.255.0 = 8 “0” bits 255.255.0.0. = 16 “0” bits 255.0.0.0 = 24 “0” bits 8. Follow the command prompts to configure the IP address. 9. When done, type 9 and Enter to save settings. 10. At the command prompt, type ping [MS-Connect 210 IP address] and type Enter. 11. If the MS-Connect 210 responds to the pings, it is ready to communicate.
MS-Connect 210 User’s Manual
2-5
Page 35
Set COM Port Parameters
Set COM Port Parameters The serial port settings of the MS-Connect 210 must match those of the reader for Ethernet communication to be successful.
Click here to communicate with readers via TCP/IP connection. Note: This option can also be configured in the ESP Preferences dialog.
Set Baud Rate, Parity, Stop Bits, and Data Bits to match the corresponding settings in the connected reader.
Send and Save COM port parameters.
2-6
MS-Connect 210 User’s Manual
Page 36
Using Ethernet
Select Reader Model and Connect Once the MS-Connect 210’s Ethernet and serial port settings are configured, click the Switch Model button and select your reader model from the dropdown menu.
If your reader model does not appear on the dropdown menu, select New Model to bring up the model menu shown below.
When your reader is selected, select Settings from the Connect dropdown menu in ESP’s menu toolbar.
In the Connection Settings dialog, select the TCP/IP tab, set the previously configured IP address and TCP port, and click Connect. When a connection is established, you can begin configuring the reader in ESP.
MS-Connect 210 User’s Manual
2-7
Page 37
Configure the Connected Reader
Configure the Connected Reader Each Microscan reader has different configuration requirements. Refer to the User’s Manual for the Microscan reader or readers being used in your application. Once the reader is configured, you can begin communicating via Ethernet. Important: If the reader’s settings for baud rate, parity, stop bits, or data bits are changed, you must reconfigure those settings in the MS-Connect 210 to match the new settings in the reader. See Set COM Port Parameters.
2-8
MS-Connect 210 User’s Manual
Page 38
Using Ethernet
Configuring the Ethernet Port The MS-Connect 210’s Ethernet Port behaves as an EtherNet/IP or TCP server device capable of communicating with one or more serial devices. The port is identified as an EtherNet/IP communication adapter. The interface is designed to support remote serial transmit and receive using Explicit and I/O messaging. The port converts EtherNet/IP communication from TCP/IP and UDP to the serial interface. The Ethernet Port has the following features: • Supports one EtherNet/IP I/O connection and two EtherNet/IP TCP connections. • Serial buffer status updated on the I/O connection. • Serial master command-response handling with one request. • Packing parameters available in each read request. • Serial-configurable and Telnet-configurable. • Internal TFTP server to upload new firmware. • Supports BOOTP.
Configurable Ethernet Port Parameters The Ethernet Port is both serially configurable and Telnet-configurable. The configurable parameters are: Network • IP Address • Network Mask • Gateway IP Address Serial • Interface (RS-232 or RS-422/485 4-wire and 2-wire) • Baud Rate • Data Format (Data Bits, Parity, Stop Bits) • Flow Control Serial operation is controlled by parameters of the serial “read” and “write” commands.
MS-Connect 210 User’s Manual
2-9
Page 39
Configuring the Ethernet Port
Ethernet Port Configuration Tools The following tools are necessary for configuring the MS-Connect 210’s Ethernet Port: • BOOTP Server, The Ethernet Port initially powers on and attempts to obtain an IP address using BOOTP. If no BOOTP server responds, the Ethernet Port will revert to a default IP address. Note: To configure an IP address using a PC as a DHCP/BOOTP server, download the free Allen-Bradley DHCP/BOOTP Utility from this location: http://www.ab.com/networks/bootp.html • EtherNet/IP Messaging Tool, This can be a PLC or software tool, and must be capable of establishing an explicit messaging connection and sending Get_Attribute_Single and Set_Attribute_Single EtherNet/IP explicit messages. • Microscan’s ESP Software or Telnet communication software for configuration. • DeviceInstaller, This firmware is compatible with the Lantronix DeviceInstaller tool for device discovery (Search) and Telnet. DeviceInstaller may be used instead of ESP or Telnet for configuration purposes. Note: Lantronix also offers a COM Port Redirector for applications that require data to be sent over an Ethernet network using TCP/IP instead of the local port. The COM Port Redirector can be downloaded from this location: http://www.lantronix.com/device-networking/utilities-tools/com-port-redirector.html • A terminal emulation or serial communication tool such as HyperTerminal or ESP. • TFTP client software, Required to upload new firmware.
2-10
MS-Connect 210 User’s Manual
Page 40
Using Ethernet
Ethernet Port Custom Features Serial Configuration Menu The MS-Connect 210 Ethernet Port’s custom firmware allows the user to access the Serial Configuration Menu from Telnet at port 9999 (see Ethernet Port Operation), or from the RS-232 serial port. To access the Serial Configuration Menu via the serial port: At power-on, if the module receives a series of three “x” characters at 9600-8-N-1, the menu is activated. The menu allows the user to configure the following: • Network IP, Subnet, Gateway, and Tunneling TCP Port • UART bps, data, parity, stop bits
Dual Mode Connections: Raw tcpserial and EtherNet/IP Both raw tcpserial and EtherNet/IP connections are available on different TCP ports. The EtherNet/IP port numbers are defined by that standard. The raw tcpserial port number is configurable. Parameter Raw tcpserial Port Default Setting 2001 Optional Setting 1 to 65535
Serial UART The Serial UART can be customized in three ways: 1. The default UART settings are customized to match the majority of Microscan products (9600 7E1). 2. Packet control options are disabled. 3. Flush Mode options are disabled. All ports are flushed whenever TCP connection status changes. The serial port operates in standard RS-232, point-to-point, non-flow control mode. Parameter Bit Rate (bps) Data Bits Parity Stop Bits Default Setting 9600 7 Even 1 Optional Setting 300 7 None 1 600 8 Even 2 1200 Odd 2400 4800 9600 19200 38400 57600 115200 MS-Connect 210 User’s Manual
2-11