background image

724-746-5500   |   blackbox.com 

724-746-5500   |   blackbox.com 

Page 43

Chapter 6: Application Examples

Figure 6-2. Serial Port 1 setup.

3. Configure Serial Port 1. In this case, it is RS-232, 19.2 kbps, 8 data bits, 1 stop bit, and even parity. Save the settings.

4. Access Port 1 Modbus by clicking the link on the left side of the screen.

Summary of Contents for LES431A

Page 1: ... direct IP mode connections Modbus Hardened Serial Server LES431A Order toll free in the U S Call 877 877 BBOX outside U S call 724 746 5500 FREE technical support 24 hours a day 7 days a week Call 724 746 5500 or fax 724 746 0746 Mailing address Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 Web site www blackbox com E mail info blackbox com Customer Support Information ...

Page 2: ...ur technical experts in less than 30 seconds Trademarks Used in this Manual Black Box and the Double Diamond logo are registered trademarks of BB Technologies Inc Firefox is a registered trademark of Mozilla Foundation Internet Explorer Windows and Windows Vista are registered trademarks of Microsoft Corporation UL is a registered trademark of Underwriters Laboratories Any other trademarks mention...

Page 3: ...se will be required to take whatever measures may be necessary to correct the interference Changes or modifications not expressly approved by the party responsible for compliance could void the user s authority to operate the equipment This digital apparatus does not exceed the Class A limits for radio noise emis sion from digital apparatus set out in the Radio Interference Regulation of Industry ...

Page 4: ...an el flujo de aire por los orificios de ventilación 10 El equipo eléctrico deber ser situado fuera del alcance de fuentes de calor como radiadores registros de calor estufas u otros aparatos incluyendo amplificadores que producen calor 11 El aparato eléctrico deberá ser connectado a una fuente de poder sólo del tipo descrito en el instructivo de operación o como se indique en el aparato 12 Precau...

Page 5: ...rks Without a DHCP Server 33 3 4 4 Configuring the Modbus Hardened Serial Server via the Serial Port 35 3 5 LES431A Modbus Hardened Serial Server Operational Connections 37 3 6 Initiating a Hardware Reset on the Modbus Hardened Serial Server 37 3 7 Reloading Factory Defaults 37 4 Upgrading the Modbus Hardened Serial Server Firmware 38 4 1 Downloading Firmware Files 38 4 2 Uploading the Firmware to...

Page 6: ...40 to 185 F 40 to 85 C Maximum Ambient Surrounding Air Temperature 176 F 80 C Operating Humidity 10 to 95 noncondensing Power Voltage requirements 10 to 48 VDC 58 VDC max extermal power supply Consumption 4 0 watts maximum Terminal blocks Wire size 28 to 16 AWG Wire Type Copper wire only Tightening Torque 5 kg cm Wire Temperature Rating 105 C minimum sized for 60 C ampacity NOTE One conductor per ...

Page 7: ...8888 LES431A update Network Communications LAN 10 100 Mbps auto detecting 10BASE T and 100BASE TX Network Physical Layer Standards Ethernet IEEE 802 3 autodetecting and auto MDI MDI X 10BASE T and 100BASE TX Protocols Supported TCP IPv4 UDP ARP HTTP 1 0 ICMP PING DHCP BOOTP IP mode Static DHCP or Auto IP TCP User definable Search Serial direct COM and Ethernet autosearch or specific IP Timeouts Ch...

Page 8: ...724 746 5500 blackbox com Page 8 Chapter 1 Specifications Dimensional Diagrams Figure 1 1 Dimensional diagram of a LES431A Modbus Hardened Serial Server ...

Page 9: ...nector Multi interface serial port RS 232 RS 422 RS 485 DB9M and pluggable terminal block serial port connector options All serial ports are software selectable for RS 232 RS 422 or RS 485 2 and 4 wire communication Configuration can be done via network or direct serial connection Slim line DIN rail or panel mountable Accepts DC power over a wide voltage range Supports 10 100 Mbps Ethernet with au...

Page 10: ...Hardware Description 1 Port Modbus Hardened Serial Server LES431A Figures 2 1 and 2 2 show the front back and top panels of the LES431A Table 2 2 describes its components 4 5 1 2 3 7 6 Figure 2 1 LES431A front and back panels 4 8 Figure 2 2 LES431A top panel ...

Page 11: ...d or received on the serial port Lights steady green when the serial port is open 6 1 Ethernet Link LED Lights when a connection to the network is made Blinking when there is data traffic on the Ethernet link 7 1 Ready LED Blinks once per second when the system is operating correctly Blinks three times per second in reset configuration mode or when loading factory defaults Off or steady On when th...

Page 12: ...mmunication parameters are 9600 8 N 1 and no flow control implemented 3 2 2 RS 422 RS 422 connections support two signal pairs TDA TDB RDA RDB and GND The data lines are differential pairs A and B in which the B line is positive relative to the A line in the idle mark state In RS 422 the transmitter is always enabled Signal Ground provides a common mode reference 3 2 3 RS 485 RS 485 connections su...

Page 13: ...dy DSR 7 Request to Send RTS 7 Request to Send RTS 8 Clear to Send CTS 8 Clear to Send CTS 9 Ring Indicator RI 9 Ring Indicator RI Soldered to DB9 metal Shield FGND Soldered to DB9 metal Shield FGND If you select RS 422 mode RS 485 2 wire mode or RS 485 4 wire mode when you configure the Modbus Hardened Serial Server you must connect the Modbus network appropriately via the 5 position terminal blo...

Page 14: ...ger Software from ftp ftp blackbox com Double click on the executable file The file name is Modbus Hardened Serial Server Manager Vx x x a The following screen will be displayed on your computer Figure 3 3 Modbus Hardened Serial Server Manager Installation Welcome screen b Click Next The License Agreement Screen will be displayed on your computer Figure 3 4 Modbus License Acceptance Screen ...

Page 15: ...ses the computer Figure 3 5 User information screen d Click Next The Destination Folder Screen will be displayed on your computer The default directory is C Program Files Black Box Modbus Hardened Serial Server If desired you can select another location by pressing the Browse button Figure 3 6 Destination folder screen e Click Next The Ready to Install Application Screen will be displayed on your ...

Page 16: ... 746 5500 blackbox com Page 16 Chapter 3 Installation and Initial Setup Figure 3 7 Ready to Install Application screen f Click Next The software will begin installing Figure 3 8 Software Installing screen ...

Page 17: ...creen will be displayed on your computer Click Finish to finish the installation Figure 3 10 Installation Complete screen 3 4 2 Configuring the Modbus Hardened Serial Server via the Network Connection To configure via the network you can use either Modbus Configuration software or the Web interface Configuring with Modbus Configuration Manager LES431A Modbus Hardened Serial Servers can be configur...

Page 18: ...uration Manager 1 From the Desktop click Start Programs Modbus Hardened Serial Server Manager An alternate method is to double click the shortcut installed on the desktop Figure 3 11 Opening Modbus Hardened Serial Server Configuration Manager Figure 3 12 Modbus Hardened Serial Server Configuration Manager Shortcut Icon ...

Page 19: ...ll be displayed on your computer All available devices will be listed on the top portion of this screen If you know the IP address you may select The device is at this IP address and input the address in the box provided Figure 3 14 Modbus Hardened Serial Server Configuration Manager screen 4 All Modbus Hardened Serial Servers on the network will be displayed in the top portion of the screen To se...

Page 20: ...he configuration screen NOTE Save any configuration changes you make using the Save button D This area contains helpful information about the configuration screen you are currently on E This area contains shortcuts to specific functions 1 Open allows you to load a previously saved configuration file into your Modbus Hardened Serial Server 2 Save allows you to save your configuration to a file This...

Page 21: ...ame network To change the name type a new name in the The Name of this Modbus Hardened Serial Server is box The name must be a valid hostname as defined by RFC 952 and RFC 1123 Allowed characters are A to Z a to z 0 to 9 and The symbol cannot be the first or last character The name cannot consist of numbers only To save the new name click the Save button b You can also change the gateway s passwor...

Page 22: ...ve button d Password is the password assigned to the Modbus Hardened Serial Server Valid value range is from A to Z a to z 0 to 9 e Password Confirmation is the password entered a second time to confirm that it was entered correctly Valid value range is from A to Z a to z 0 to 9 8 See the Network Settings screen in Figure 3 18 a To get to the Network Settings Screen you can either click the Next b...

Page 23: ...rdened Serial Server without using a DHCP Server uncheck the I want DHCP to setup the network box You will need to know the IP Address Subnet Mask and Default Gateway The IP Address field contains the static internet protocol address of the Modbus Hardened Serial Server Subnet Mask field contains the mask that is used to define the sub network For a Class A network IP addresses 0 0 0 0 through 127...

Page 24: ... DHCP Server is contained in the section Configuring the Modbus Hardened Serial Server on Networks without a DHCP Server e Save changes by clicking the Save button 9 See the Modbus TCP Settings screen in Figure 3 20 a To access this screen click the Next Button or click on the Modbus TCP link on the left side of the screen b This screen allows you to see Modbus TCP client and server settings ...

Page 25: ...id value range is from 1 to 65535 3 Save settings by clicking the Save button b TCP Server Settings 1 Listen on Port identifies the TCP port to be used by the Modbus Hardened Serial Server in TCP server mode Valid value range is from 1 to 65535 2 Limit the number of connections to pull down box allows you to control the number of simultaneous TCP clients that can be connected Choices are 1 through...

Page 26: ...ction Filter Allow Specific IP addresses to Connect b You can select and allow a specific range of IP addresses to connect This filter is limited to 4 IP address ranges c Save settings by clicking the Save button Figure 3 22 TCP Connection Filter and Allow Specific Range of IP Addresses to Connect ...

Page 27: ...ace character d Mode controls the physical communications mode for the server The Mode can be RS 232 RS 422 4 Wire RS 485 2 Wire or RS 485 4 Wire e Baud Rate controls the communications speed of the serial port The Baud Rate can be 2400 7200 9600 14400 19200 14400 28800 38400 57600 115200 or 230400 f Stop Bits controls the number of bits to end a character Choices are 1 or 2 g Parity controls the ...

Page 28: ... been reached or has a bad response check sum does not match the 0Bh exception code is transmitted to the Master that initiated the Modbus message g Enable Serial Message Buffering If this option is selected the gateway will buffer up to 32 message requests per port If this option is unselected the Modbus Hardened Serial Server will respond with a 06h if it has a message out on the port with no re...

Page 29: ...Valid value range is from 1 to 247 d The second box in line is the last serial port of that range Valid value range is from 1 to 247 e The third box in line is the starting ID of a range to remap to Valid value range is from 1 to 247 f The fourth box in line is auto filled in based on the range filled in the first 3 boxes Valid value range is from 1 to 247 g Save settings by clicking the Save butt...

Page 30: ...he third box in line is a port or IP address that has slave devices attached f The fourth box in line is an IP address of the slave device if IP address is chosen in the third box g Save settings by clicking the Save button 14 See the Modbus Priority screen a To access this screen click the Next button or click the Modbus Priority link on the left side of the screen b This screen allows you to con...

Page 31: ...e Up to five different priorities can be set d IP Address Used to set a static Internet protocol address for the Modbus Hardened Serial Server e Modbus ID Valid range is from 1 to 247 f Function Code Valid range is from 1 to 99 g Save settings by clicking the Save button Configuring with the Web Interface LES431A Modbus Hardened Serial Servers can be configured over the network using a standard In...

Page 32: ... DHCP server If a DHCP Server is not available on your network it will default to 169 254 102 39 Solve most any Modbus conversion challenge with the Modbus Hardened Serial Server Modbus Hardened Serial Servers bridge devices on Modbus serial networks RS 232 RS 422 or RS 485 with those on Modbus TCP networks allowing seamless integration of any Modbus device Each serial port is accessible over a LA...

Page 33: ...A Modbus Hardened Serial Server on Networks without a DHCP Server Your Modbus Hardened Serial Server comes from the factory set up to receive an IP assignment from a DHCP Server If there is not a DHCP server on your network the Modbus Hardened Serial Server will default to IP address 169 254 102 39 If this address does not work with your PC there are two methods to manually configure the network i...

Page 34: ...r serial emulation software and connect to the COM port used in step one Ensure the port is configured to 115 200 baud 8 data bits no parity and 1 stop bit c Enter Console Mode Press and hold the Modbus Hardened Serial Server s Mode button for 2 to 10 seconds The LED indicators will respond as follows Model LES431A Port 1 LED OFF Ready LED OFF d Release the Mode button The READY LED will blink onc...

Page 35: ...nnect to the device 3 4 4 Configuring the LES431A Modbus Hardened Serial Server via the Serial Port Your Modbus Hardened Serial Server can be configured via a serial port using Modbus Hardened Serial Server Manager To use this feature the Modbus Hardened Serial Server s serial port must be connected to the serial port of a PC using a null modem cable PC Null modem cable Modbus Hardened Serial Serv...

Page 36: ...required 1 Under Connection select Serial Port Figure 3 34 Connection 2 If you do not know which COM port your Modbus Hardened Serial Server is connected to select Search all serial ports for the device under Serial Port Options If you do know you may specify the COM port by selecting The device is connected to this serial port under Serial Port Options and using the pull down menu to choose the C...

Page 37: ...ettings using Modbus Hardened Serial Server Manager or the Web interface 3 Configure your software application with the appropriate IP address and port number to communicate with the Modbus network s PC Network Serial device Modbus Hardened Serial Server LES431A Figure 3 36 Direct IP Connection 3 6 Initiating a Hardware Reset on the Modbus Hardened Serial Server To initiate a Hardware Reset on the...

Page 38: ... been discovered can be selected from the drop down list if desired The current firmware version of the selected Modbus Hardened Serial Server is shown in the text below the Modbus Hardened Serial Server name Information about the selected firmware file is shown in the third text box 4 1 Downloading Firmware Files The Firmware File list second box displays all firmware files in the firmware instal...

Page 39: ...irmware 1 In the Modbus Hardened Serial Server Selection drop down list select the Modbus Hardened Serial Server to be upgraded 2 In the Firmware Description drop down list select the firmware to upload to the Modbus Hardened Serial Server 3 Click the Upgrade button The Progress bar and Progress box provide information on the progress of the transfer 4 In the Firmware File drop down list select th...

Page 40: ...e type of network connections the IP addresses Subnet Masks and Default Gateways in use Figure 5 1 Diagnostics dialog box Testing a Modbus Hardened Serial Server Connection To run diagnostics on a Modbus Hardened Serial Server 1 Click the Diagnostics icon The Diagnostics dialog box appears 2 In the drop down box select the specific Modbus Hardened Serial Server you want to check 3 Click the Start ...

Page 41: ...724 746 5500 blackbox com Page 41 Chapter 5 Diagnostics Figure 5 2 Testing a Modbus Hardened Serial Server connection ...

Page 42: ...e Contact Black Box Technical Support at 724 746 5500 or info blackbox com for information on other applications 6 1 Ethernet Master and Serial Slaves Your Modbus Hardened Serial Server can be used to integrate serial slave devices on a Modbus TCP network This allows TCP Masters to control serial slave devices Ethernet RS 232 Serial 19 2 kbps RTU slave ID 200 IP slave IP master IP slave Modbus Har...

Page 43: ...Application Examples Figure 6 2 Serial Port 1 setup 3 Configure Serial Port 1 In this case it is RS 232 19 2 kbps 8 data bits 1 stop bit and even parity Save the settings 4 Access Port 1 Modbus by clicking the link on the left side of the screen ...

Page 44: ...tion Examples Figure 6 3 Port 1 Modbus 5 Configure the Port 1 Modbus Settings In this case Attached should be slaves Modbus should be RTU The other settings depend on your application 6 Access Modbus ID Remapping for each port and configure as necessary ...

Page 45: ... com Page 45 Chapter 6 Application Examples Figure 6 4 Port x Modbus Slave ID remapping 7 Access Modbus ID Routing Configure as necessary In this example Slave ID 200 is mapped to serial port 1 Figure 6 5 Modbus ID routing ...

Page 46: ...724 746 5500 blackbox com Page 46 Chapter 6 Application Examples 8 Access the Modbus Priority screen and configure as necessary Figure 6 6 Modbus priority ...

Page 47: ...ks Modbus Hardened Serial Server LES431A ASCII slave ID 1 ASCII slave ID 5 ASCII slave ID 205 IP slave ID 150 IP slave ID 151 160 IP master Figure 6 7 Serial and Ethernet masters Serial and Ethernet slaves 1 In this example Serial Port 1 has an RTU master attached Configure the serial port settings as appropriate for the device Access the Port 1 Modbus screen and configure the port for Modbus mast...

Page 48: ...8 Chapter 6 Application Examples 2 Configure the Modbus slave ID routing In this case Modbus slaves 1 through 5 and 205 are on Serial Port 1 Modbus slaves 150 and 151 through 160 have IP assignments Figure 6 9 Modbus Slave ID routing ...

Page 49: ...ntrol IP slaves Modbus Hardened Serial Server LES431A IP slave ID 150 IP slave ID 151 160 ASCII master IP slave ID 1 100 Serial RS 232 9 6 kbps Figure 6 10 Serial masters IP slaves 1 In this example an ASCII master is connected to Serial Port 1 Configure the serial port as appropriate for this device Figure 6 11 Port 1 Serial ...

Page 50: ...746 5500 blackbox com Page 50 Chapter 6 Application Examples 2 Access the Modbus screen for each port and configure as appropriate In this case Port 1 has an ASCII master attached Figure 6 12 Port 1 Modbus ...

Page 51: ...t serial ports Modbus Hardened Serial Server LES431A ASCII slave ID 5 Serial RS 485 ASCII Master ASCII slave ID 1 Figure 6 13 Identical hard coded slaves 6 5 Identical Production Lines In this example identical or backup production lines can be controlled by the same IP Master This allows the duplicate networks to be configured identically saving documentation and maintenance time RTU slave ID 2 R...

Page 52: ...ror check field The addressed slave responds with a similar message structure Typically it repeats back its address and the function code and then sends a field indicating the number of bytes of data it is sending followed by the data and the error check field Slave addresses can range from 1 to 247 Function codes include several common ones typically used in all applications and additional ones t...

Page 53: ...Address DHCP will configure If a DHCP assignment is not available the device will default to 169 254 102 39 Net Mask 255 255 255 0 Modbus Serial Server 169 254 102 100 MAC Address Fixed see bottom label Firmware Version X X X Current Version Hardware Version X X Current Version Port 1 Serial port mode RS 232 Baud Rate 9600 Data bits 8 Parity None Stop bits 1 Flow Control None Protocol TCP Serial t...

Page 54: ...out DB9 M Pin Direction RS 232 1 Input DCD 2 Input RXD 3 Output TXD 4 Output DTR 5 GND 6 Input DSR 7 Output RTS 8 Input CTS 9 Input RI B 2 Terminal Block Figure B 2 Terminal block connector Table B 2 Terminal block connector pinout Terminal RS 232 Direction RS 232 RS 422 RS 485 A RTS Output TDA Data A B TD Output TDB Data B C CTS Input RDA D RD Input RDB E GND GND GND ...

Page 55: ...server TXA to the RXA of the serial device 2 Ground is signal ground and provides a common mode reference for the RS 422 receivers and transmitters B 3 Standard Ethernet Cable RJ 45 Pinout Figure B 3 RJ 45 Ethernet cable pinout Table B 3 RJ 45 cable pinout RJ 45 Pin Signal Wire Color 1 TX White Green 2 TX Green 3 RX White Orange 4 Not used Blue 5 Not used White Blue 6 RX Orange 7 Not used White Br...

Page 56: ...l MEI Multi Electrical Interface via RS 232 422 485 Modbus A request reply protocol that offers services specified by function codes Modbus Gateway A bridge to get from Modbus TCP to Modbus Serial Parity Bit A binary digit that is added to ensure that the number of bits with value of one in a given set of bits is always even or odd It may also be a Mark 1 or a Space 0 PDU Protocol Data Unit RS 232...

Page 57: ...724 746 5500 blackbox com Page 57 NOTES ...

Page 58: ...724 746 5500 blackbox com Page 58 NOTES ...

Page 59: ...724 746 5500 blackbox com Page 59 NOTES ...

Page 60: ...7 Tech support available in 30 seconds or less Copyright 2013 Black Box Corporation All rights reserved Black Box and the Double Diamond logo are registered trademarks of BB Technologies Inc Any third party trademarks appearing in this manual are acknowledged to be the property of their respective owners Black Box Tech Support FREE Live 24 7 Tech support the way it should be Great tech support is ...

Reviews: