Home

Modbus TCP to Modbus ASCII / RTU Converters

image

Contents

1. Overview P cuba Config sion Metos Ferme Upa ade Curtoexzaton Figure 34 Device Installer Help Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 46 Modbus Basics Chapter 6 Modbus Basics If you are reading this manual you are probably in the process of interfacing legacy Modbus ASCH RTU devices to a network Chances are you already have some knowledge and familiarity with Modbus ASCIVRTU but possibly somewhat less knowledge of Modbus TCP and or networking in general Most likely your biggest questions relate to what is involved in bringing the two together This section provides e abasic introduction to Modbus e some information on Modbus TCP e some tips and suggestions for ensuring success Modbus ASCIVRTU 47 The Modbus protocol emerged in the mid 1970s as an early protocol for linking terminals with Modicon PLCs using a master slave sometimes called a master client relationship A simple open message based protocol it caught on quickly and became a defacto standard in the industry It supports asynchronous point to point and multidrop communications and can be used with a variety of serial interfaces RS 232 RS 422 RS 485 modems etc The original Modbus specification included two possible transmission modes ASCII and RTU Modbus RTU m
2. Figure 37 RS 232 Connections for DB 9 Connector 1 RDB 2 RDA TDB 4 TDA UUUUU 5 GND Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 58 59 RS 232 Connections Signal Name Label Direction Terminal Receive Data RDB In 1 Receive Data RDA In 2 Transmit Data TDB Out 3 Transmit Data TDA Out 4 Signal Ground GND 5 Figure 38 LES42A Terminal Block Pin out for RS 422 485 Four Wire Operation DO 1 RDB J 2 RDA 3 TDB O 4 TDA 5 GND Signal Name Label Direction Terminal Not used Not 1 used Not used Not 2 Used DataB TDB In Out 3 DataA TDA In Out 4 Signal Ground GND 5 Figure 39 LES42A Terminal Block Pin out for RS 485 Two Wire Manual Documentation Number LES4xA 1207m Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 Operation PN7925 rev000 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 Appendix E Network Connections Ru 45 Pin signal Wire Color_ RJ 45 Pin ls Rx omae 6 e Notused Brown 8 Figure 40 Pin outfora Standard Ethernet Cable Manual Documentation Number LES4xA 1207m PN7925 rev000
3. LES4XA The LES42A is capable of RS 485 multidrop allowing multiple slaves Hints and Tips 49 A few simple suggestions that may assist you if your system is experiencing problems include e Slow down the polling rate e Try the Disable Pipeline option in the LES4XA configuration menu e Make sure your Modbus TCP equipment uses sequence and Unit ID numbers Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 Modbus Basics Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 50 Default Configuration Settings Appendix A Default Configuration Settings IP Address 0 0 0 0 DHCP BOOTP AutolP Gateway IP Address Not set Netmask Not set Telnet Configuration Password Not set Attached Device Slave Serial Protocol lodbus RTU Slave LES41A RS 232 LES42A RS 422 485 Serial Parameters 9600 8 N 1 LES41A Not used LES42A RS 485 Enabled CP2 Function Not used CP3 Function Not used Slave Address 0 Allow Modbus Broadcasts 2 no Use MB TCP OOBH OOAH Exception Responses 2 yes Disable Modbus TCP pipeline 1 no Interface Type CP1 Function a
4. Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 iv Introduction Chapter 1 Introduction Thank you for purchasing an LES41A or LES42A Modbus TCP to Modbus ASCII RTU Converter Like all B amp B Electronics products this product has been manufactured to the highest standards of quality and performance to ensure your complete satisfaction About this Manual This manual has been created to assist you in installing configuring and using the LES4XA Please read it carefully and follow the instructions to achieve best results Support For additional information on this and other B amp B products and for technical support call 815 433 5100 option 3 or access B amp B Electronics website at www bb elec com About Your LES4XA Converter LES41A and LES42A Modbus TCP to Modbus ASCII RTU Converters are easy to use cost effective solutions for connecting new and existing Modbus ASCII RTU serial devices to TCP IP networks The LES41A provides this connection for Modbus devices with RS 232 interfaces the LES42A facilitates Modbus devices with RS 422 four wire point to point interfaces or RS 485 four or two wire multi drop bus connections Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbo
5. 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 17 Getting Started Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 18 Configuring the LES4XA Chapter 4 Configuring the LES4XA Configuration of the LES4XA is accomplished from the Configuration Menu which is accessed via a standard telnet window or through the telnet implementation within the Device Installer software Note The Web Configuration tab is not used with the LES4XA Device Details Web Configuration Telnet Configuration IP Address 192 1 68 1 105 Port 9999 Disconnect Clear Modbus TCP to RTU Bridge Mac address 0020448CC6CC Software version 02 3 050420 XPTEX Press Enter to go into Setup Mode Model Device Server Plus Firmware Code XA Modbus TCP to RTU Bridge Setup 1 Network IP Settings IP Address 0 0 0 DHCP BOOTP AutoIP Default Gateway not set Netmask o oooooooo noo not set 2 Serial amp Mode Settings Protocol Modbus RTU Slave s attached Serial Interface 9600 8 N 1 R5485 3 Modem Configurable Pin Settings R 485 Output Enable CP2 Not Used 4 Advanced Modbus Protocol settings Slave Addr Unit Id So
6. Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 60
7. DFaled P 192 168 1 105 00 20 44 8C CE CC Update firmware AMXP0230 ROM Succeeded gt 192 168 1 105 00 20 44 80 C6 CC Wait for boot with new firmware CCT TTT Figure 27 Device Upgrade Wizard Step 5 of 5 Installing Pre Saved Configuration Files The same wizard can be used to install previously saved configuration settings Setup Records into the LES4XA This can be useful if you want to configure multiple LES4XAs with the same settings or if you must replace an LES4XA and want to load identical settings into the new unit To use the Upgrade Wizard to install configuration setting in an LES4XA you must first save the settings in the form of a Setup Record Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 41 Using Other Device Installer Features Saving Setup Records To save the Setup Records for a particular device LES4XA 55 Select the device in the Device List 56 On the File menu select Save Setup Records The Save Setup Records dialog box appears Save Setup Records M Setup Record 0 V Setup Record 2 M Setup Record 3 M Setup Record 4 Setup Record 5 M Setup Record 6 Al Setup Record 7 Save Cancel Figure 28 Save Setup Records Dialog Box 57 Select a Setup Record from the list and click Save The Save
8. Installer s w Modbus RTU Slaves e g PLC Figure 9 LES42A Connections Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 Hardware Overview Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 10 Getting Started Chapter 3 Getting Started QuickStart The following section is a quick step by step procedure that will assist you to get started configuring the LES4XA Additional details on how to use the Device Installer software to discover and connect to devices is included in the section following this one LES4XA configuration details are included in Chapter 4 1 Check the contents of your LES4XA package It should contain Q The LES41A or LES42A unit A printed version of this user manual a Q A printed version of the LES4XA Quick Start Guide a Software CD with Device Installer software this manual Quick Start guide 2 Set up the Hardware Q Connect the LES4XA to the network using an Ethernet cable Q Connect your PC to the network Q Connect a 12 VDC power supply not included to the LES4XA and apply power 10 to 30 VDC 3 6 Watts 3 Software Installation Q Insert the software CD a
9. Setting the Allow Modbus Broadcasts 1 Yes 2 No to No reassigns a Unit ID of 0 from a Modbus TCP master as a slave address 1 This ensures that a Unit ID is not interpreted as a broadcast message Use MB TCP 00BH 00AH Exception Responses In Modbus RTU when a master initiates a query it expects to receive a response If it does not receive one within an acceptable length of time it interprets the silence as an indication that a communications error has occurred Because delays in TCP IP networks are not predictable problems can occur To address this Modbus TCP defines two exception codes that can be enabled to be sent in the event of a communications failure 1 No If Use MB TCP OOBH OOAH Exception Responses 1 No 2 Yes is disabled 1 No the LES4XA operates like a Modbus RTU slave It answers timeouts un configured slave addresses and CRC errors with silence Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 30 Configuring the LES4XA 2 Yes If the Use MB TCP OOBH OOAH Exception Responses 1 No 2 Yes is enabled 2 Yes the LES4XA will return the following codes under any of the conditions described OA hex Path Unavailable e If it receives a query from a Modbus master in which the Unit ID specifies a Slave Address not listed in the Unit ID to IP Mapping Table
10. a series of broadcasts Total wait time is unicast wait plus broadcast wait OK Cancel I Apply Figure 31 Options Window Customization Tab 65 On the Customization tab select Activate logging during upgrading and Activate logging during searching Both must be selected to allow logging during search 66 In the Log File text box type the path and name of the log file or browse and create a file name in the folder of your choice 67 Click OK to accept the changes and close the Options dialog box 68 Click the Search icon to initiate a Search for devices on the network 69 When the search is complete select Log File on the View menu Notepad opens and displays the log file The log file contains the date and time for each entry Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 44 Using Other Device Installer Features P SearchLog log Notepad File Edit Format View Help 21 03 2006 21 03 2006 21 03 2006 searching for devices 192 168 1 104 00 20 4A4 8C C6 E5 Found Device 192 168 1 105 00 20 4A4 8C C6 CC Found Device 21 03 2006 Upgrading device s 21 03 2006 192 168 1 104 00 20 4A4 8C C6 E5 setup Record 2 Succeeded AA O SS SR gt 21 03 2006 192 168 1 104 00 20 4A4 8C C6 E5 Reset Devi
11. did not use them In some cases this can create problems for Modbus RTU devices connected to the network through interfaces If a request from a master is lost or contains an improper function code the slave does not respond The master may re initiate the request or there may be other requests in the pipeline Responses to later or other requests may become out of sync and the master may match Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 48 Modbus Basics the wrong response with a request The resulting symptoms could range from appearing to receive wrong data from a slave to slaves going off line to a gradually slowing down of response time Another aspect of Modbus TCP that must be considered relates to the Unit ID field Modbus RTU incorporates the slave address field but Modbus TCP replaces the slave address field with a Unit ID field TCP IP uses IP addresses to find specific nodes on the network By using the IP address to specify the node and the Unit ID to specify a Modbus RTU device attached to that node multiple slaves can be located at a single IP address Unfortunately some manufacturers of early Modbus TCP systems assumed only one slave per IP address and always used a Unit ID of 00 If this early equipment is used only one Modbus RTU slave can be connected to an
12. e If the TCP socket fails to open OB hex Target Device Failed to Respond e If the slave did not answer or the answer contained a CRC error e If a TCP socket is open but no response is received within the defined message timeout period e If a TCP socket is open but the remote Modbus TCP slave server returned exception OB hex Disable Modbus TCP Pipeline Typically a Modbus master issues a query and waits for a response before issuing another However when using Modbus TCP multiple queries can be issued and the LES4XA will buffer them in a pipeline The LES4XA can fetch each query one at a time and respond In some situations this is useful but in others the sequence of query response can get out of sync especially if any queries or responses are lost The Disable Modbus TCP Pipeline setting allows you to decide how you want the system to operate e Setting this field to 1 No configures the LES4XA to allow pipeline operation This is considered the safest default setting It is recommended that you choose this option unless you are experiencing problems e Setting this field to 2 Yes configures the LES4XA to always fetch the latest request from the TCP buffer discarding all older requests Character Timeout Although Modbus RTU specifies a 3 5 character time out period between characters the Character Timeout field allows you to set a custom value for this field Manual Documentation Number LES4xA 1207m P
13. rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 Getting Started Lantronix Devicelnstaller 4 1 0 3 Search Assign IP Bey Larios Devices 1 device s 1 Pride Hardware Address States fa Menos Bridge 192 TERT TOT Pet one 1921681105 WIMA Onine Indicates an MES1A or MES1B is present on the network Figure 10 The Device Installer Main Window Getting Device Details The Device Installer provides a variety of information about the LES4XA under the Device Details tab To access the Device Details tab 1 Expand the Device Tree by clicking the symbol next to XPort Keep expanding until the IP Address of the LES4XA appears 2 Click the IP Address on the Device Tree The Device Details tab appears where the Device List was W Lantronix Devicelnstaller 4 1 0 3 Fis Ede Ver Device Tooke Map Sed Assign Upgrade Big Lentsona Devices 1 dencels F Hamo Budge 192 1681 101 O Pot lt a Pon IAP fme V2 30 Device Detal web Contgaston Tenet Corhgaahon Suppons Corpais Pins Supports mal Taggers Figure 11 Device Details Tab Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 15 Getting Started Note The Web Configuration tab i
14. selected When RS 422 485 four wire operation is selected the RS 422 485 switch on the LES42A must be in the left position When RS 485 two wire operation is selected e CPI configured in the next section under Modem Configurable Pin Settings must be enabled to ensure Send Data control is implemented e The RS 422 485 switch on the LES42A must be in the right position e The multidrop bus is connected to Terminals 3 DataB to TDB terminal and 4 DataA to TDA terminal e No jumpers are required to bridge transmit and receive lines on the terminal block Serial Parameters LES4XA Serial Parameters must be set up to match the parameters of the Modbus device connected to its serial interface LES4XA Serial Parameter options include e Data rates from 300 bps to 115200 bps e 7 or 8 data bits e No Even or Odd parity e or 2 stop bits To configure Serial Parameters Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 27 Configuring the LES4XA 31 Atthe Enter serial parameters 9600 8 N 1 prompt o To keep the current setting press Enter o To change the serial parameters type in new parameters in the format 9600 8 N 1 32 To accept changes press Enter 3 Modem Configurable Pin Settings There is only one configurable setting required in the Modem
15. strips for RS 422 485 connection LES42A e Device Installer user interface software included e DIN rail mountable Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 Hardware Overview Chapter 2 Hardware Overview Package Checklist LES4XA Modbus ASCII RTU to Modbus TCP Converters are shipped with the following items included Y the LES41A or LES42A module v a printed version of this user manual v a printed version of the LES4XA Quick Start Guide Y a CD ROM disc with o Device Installer software o this manual in pdf format o a Quick Start guide in pdf format Indicators Switches and Connectors Power LED The Power LED illuminates red immediately on power up indicating that 10 VDC to 30 VDC power is present on the Power Supply terminals Typically 12 VDC is used Link LED Activity LED Power LED Modbus Serial Figure 2 LED Indicators on the LES41A Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 Hardware Overview Link LED When the Link LED located on the Ethernet jack is illuminated it indicates that a connection link integrity has been established between the converter and the network It
16. 0 Fax 724 746 0746 Hardware Overview Connecting the Hardware The LES41A is connected to its Modbus device via a DB 9M connector and an RS 232 cable The LES41A is configured as a DTE If the connected Modbus device is configured as a DCE use a straight through cable If the connected Modbus device is configured as a DTE use a null modem cable Always check the interface specifications of the Modbus device to determine whether it is a DTE or DCE before connecting The LES42A is connected to its Modbus device via the RS 422 485 terminal block In RS 422 485 four wire mode a cable containing two pairs and a ground shield is used In RS 485 two wire mode a cable containing one pair and a ground shield is used Power is supplied to the converter via the power supply terminal block Typically the LES4XA is connected to the network via a hub switch or router using standard straight through CAT 5 cable If you are connecting the LES4XA directly to a PC s network interface a crossover Ethernet cable is required Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 Hardware Overview Modbus TCP PC with Master Device Installer s w e g HMI 12 VDC Modbus RTU Power Slave Supply e g PLC Figure 8 LES41A Connections Modbus TCP Master e g HMI PC with Device
17. 20 44 9C CE L5 Peset Device Succeeded P 192 168 1 104 00 20 44 9C C6 5 Wat ter Boot with new ferrmvare CO O Cra sed He Figure 30 Device Upgrade Wizard Step 5 of 5 Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 43 Using Other Device Installer Features Configuration settings stored in the Setup file will now appear in the Telnet Configuration Menu Logging Search and Upgrade Data Device Installer provides a logging feature that can be used to record and store information on the process of searching for devices or upgrading the LES4XA 64 To enable logging select Options on the Tools menu The Options dialog box opens Network Customization Log File IV Activate logging during upgrading IV Activate logging during searching Log File C Program Files Lantronix DeviceInstaller SearchLog log Max File Size 1 Viewing Program C WINDOWS system32 NotePad exe Display a warning when devices are not found when importing from a file IV Use the device version as part of the device category name Enable reset commands and allow them to be shown as menu items Device reboot wait time Unicast 15 seconds Note When waiting for a reboot DI will first try a series of unicasts Device reboot walt time Broadcast EE and then
18. 28 To accept changes press Enter Serial Interface Serial Interface parameters include the type of interface and the data rate format of the data The LES4XA must use the same type of interface and serial parameters as that of the Modbus device it is connected to LES4IA Serial Interface Since the LES41A is designed with an RS 232 interface its default Interface Type is RS 232 Although RS 422 485 four wire and RS 485 two wire options are given in the configuration menu reconfiguring the LES41A for anything other than RS 232 will prevent the device from operating correctly LES42A Serial Interface The LES42A is designed with an RS 422 485 interface and can be configured for four wire operation or two wire operation Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 26 Configuring the LES4XA Although RS 232 option is provided in the configuration menu reconfiguring the LES42A for RS 232 will prevent the device from operating correctly To configure Interface Type parameters 29 At the Interface Type 1 RS232 2 RS422 RS485 4 wire 3 RS485 2 wire 3 prompt o To keep the current setting press Enter o To select RS 422 RS 485 four wire type 2 o To select RS 485 two wire type 3 30 To accept changes press Enter When RS 422 485 four wire operation is
19. 85 two wire mode Ethernet Port Connector The Ethernet Port connector is a standard RJ 45 receptacle that allows the converter to be connected to an Ethernet network Two indicator LEDs described above are built into the RJ 45 connector DB 9M Serial Port Connector LES41A only The Serial Port Connector on the LES41A is a DB 9 male connector configured as a DTE supporting RS 232 serial communications including TD Pin 3 RD Pin 2 and GND Pin 5 signal lines If the Modbus device you are connecting to the LES41A is configured as a DCE you will use a straight through serial cable If the Modbus device is configured as a DTE use a null modem cable Refer to Appendix D for connection pin outs RS 422 485 Connector LES42A only The RS 422 485 connector on the LES42A is a five position removable terminal block with screw downs The connector provides screw connections for e Terminal 1 RDB e Terminal 2 RDA e Terminal 3 TDB e Terminal 4 TDA e Terminal 5 Ground Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 Hardware Overview Figure 4 LES42A Serial Connector RS 422 485 Four Wire Mode When the LES42A is configured to operate in RS 422 485 four wire mode RS 422 485 switch in the left position its receive terminals are connec
20. ABLE SETTINGS ee ees se ee ee se se ee ee se ee ee ee ee ee 32 Close Idle TCP Sockets After cisc ccsscsssecsecvessscessdpetsestnstisessdoviensaesassesnevedvestestions 33 Redundant Entry Retries After esse se se Se Ge Se SA Ge ee Ge ee ee ee ee ee ee 33 Add Delete Exit Select Function ee ees ee ee ee ee ee ee 33 Modbus Address Fron TO iese see ese ees ee ee ee ER Re ee ee RA rra ee ee ee nr ee ee ed ee 34 Slave IP Address oooooooconoccconnnaccnonnnnccnonnnncnnnn nn non Ee AR nn nro nn nc ER nn nr naar nn ee iei eE 34 CHAPTER 5 USING OTHER DEVICE INSTALLER FEATUREG 35 MANAGING DEVICE LISTS unitat 35 Creating a New Device Listei iese se ee see se ee ee ee ee cnn cone cone GR Se Ged Gee ee 35 SAVING DEVICE IE KT OE EE OE N EE Id 36 Opening Device List RE ME RE RE ME AS 36 Device List Display Options ees se ee Se Se SR RA GR ee Ge ee ee ee ee Se ee 36 Adding a Device Manually iii esse ee ee Se Se cono RA SR Ge ee ee ee ee ee 37 ASSIGNING AN IP ADDRESS USING DEVICE INSTALLER esse esse ee esse se ee ee se ee ee ee se ee 38 Using Device Installer to Assign an IP Address osooso 38 USING THE DEVICES DETAILS TAB 5 0233 esbssssssseseescesesshasesussdatssessasseovdbuscecvesbocoauteade 39 Manual Documentation Number MES1A MES1B 2106m PN7138 rev001 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 UPGRADING FIRMW
21. ARE 0000secevevssesvvevsvevevevesvsvevvsseevsevesesvvevssesesevssessvessressssssverens 40 INSTALLING PRE SAVED CONFIGURATION FILES ees ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee 41 Saving Setup Records nic ad 42 Installing Setup Records iese esse esse er EE Be cono one AE Se non ron cor ee ee ee 42 LOGGING SEARCH AND UPGRADE DATA ee ese ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee 44 USING PING EE ti A da Atado 45 WSINGHELPE ES GES BERE titi 45 CHAPTER 6 MODBUS BASICS esse esse se sees se se ee se ee ee ee ee ee Ge ee ee Ge ae 47 MODBUS ASCIURTU ccccccccccecceesescceseseseseseseseseseseseseseseseseseseseseseseseseseseseseseseeees 47 MODBUSATEP ERNS orks at ste eh esha ents eat ocak ss o eae ts ea ee ites 48 HINTS AND Seal ano De DE ee Ge ee De ee posa 49 APPENDIX A DEFAULT CONFIGURATION SETTINGS cscssscsesseeeees 51 APPENDIX B PRODUCT SPECIFICATIONS ssscccssssscesssscccssssccsssssseceses 53 APPENDIX C DIMENSIONAL DIAGRAMS sees esse sees se ee es ss se ee es se ee ee Ge ee 55 APPENDIX D SERIAL CONNECTIONS ccssssccsssssccsssssecesssscccssssccscsssseceses 58 APPENDIX E NETWORK CONNECTIONS ccsssssscssssscesssscccsssccscssceseeses 60 Manual Documentation Number LES4xA 2106m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746
22. As dialog box appears 58 Create a filename and click Save Installing Setup Records To install a Setup Record in the LES4XA 59 On the Device menu select Upgrade or click the Upgrade icon The Device Upgrade Wizard Step 1 of 5 dialog box appears Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 42 Using Other Device Installer Features Create a custom metalation by specitying mdvdual les Typical Ure a specie ntalaon He L9 previously saved by veer cance Mee Figure 29 Device Upgrade Wizard Step 1 60 Select Create a custom installation by specifying individual files Typical and then click Next 61 In the Device Upgrade Wizard Step 2 of 5 dialog box click Next 62 In the Device Upgrade Wizard Step 3 of 5 dialog box select Install setup records from a file then browse and select the previously saved Setup file 63 In the Device Upgrade Wizard Step 4 of 5 dialog box click Next The Device Upgrade Wizard Step 5 of 5 dialog box appears and displays a bar graph indicating progress Succeeded appears next to a listing of each step as it is accomplished Device Upgrade Wizard Step 5 of 5 ee Pinasa sand nde the devien is ula 2Succaaded D 132 168 1 104 00 20 44 8C 05 E5 Servo Record 2 Succeeded D 92 181 104 00
23. Configurable Pin Settings section of the Configuration Menu When configuring an LES42A for RS 485 two wire operation the CP1 parameter must be set for RS485 Enable to ensure Send Data Control is implemented No configuration is required in this section for LES41A converters To configure RS485 Enable in the Modem Configurable Pin Settings section 33 Type 3 at the Select Command or parameter set 1 4 to change prompt The CP1 Function prompt appears 34 Type 4 to select RS485 Enable 35 To accept the change press Enter 36 Press Enter three more times to exit the Modem Configurable Pin Settings section of the Configuration Menu 4 Advanced Modbus Protocol Settings In the Advanced Modbus Protocol Settings section of the Configuration Menu you can configure e whether the Slave Address is fixed or used as received e whether to Allow Modbus Broadcasts e whether to Use MB TCP 00BH 00AH Exception Responses e whether to Disable Modbus TCP Pipeline e Character Timeout values e Message Timeout values Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 28 Configuring the LES4XA e Serial TX delay after RX values e whether to Swap 4x 0H to get 3x 1x register conversions 4 Advanced Modbus Protocol settings Slave Addr Unit Id Source Modbus TCP header Modbus Seri
24. Configuration Managing Device Lists This section included information on how to e Create a New Device List e Save a Device List e Open a Device List e Configure Device List Display Options Creating a New Device List To create a new Device List on the File menu select New The Device Installer software will create a new list but will not initiate a search to discover devices on the network To initiate a search select Search On the Device menu click the Search Icon or press F5 Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 35 Using Other Device Installer Features Saving Device Lists After a list of LES4XA devices has been discovered on the network you can save the list including details such as the Device Name Group Comments and IP Address To save a Device List On the File menu select Save or Save As type in a file name of your choice and click Save Note The configuration of the LES4XA is NOT saved using this method To store the configuration in the LES4XA on the Telnet Configuration Menu set up the configuration then type S at the Default settings Save Quit without Save prompt To store the configuration in a Setup Record file see the procedure later in this chapter Opening Device Lists To open an existing Device List
25. Device Modbus devices operate as either Masters polling Slaves or Slaves responding to polls from Masters An example of a Modbus master is a computer running HMI human machine interface software Examples of Modbus slaves are controllers remote terminal units RTU or programmable logic controllers PLC To configure the type of Attached Device 25 Atthe Attached Device 1 Slave 2 Master 1 prompt o To keep the current setting press Enter o To select Slave type 1 o To select Master type 2 Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 25 Configuring the LES4XA 26 To accept changes press Enter Note When Master mode is selected a fifth item Unit ID gt IP Address Table is added to the Configuration Menu Serial Protocol Modbus devices communicate in either of two Serial Protocols ASCII or RTU Modbus ASCI protocol is slower and uses two ASCII characters to represent each 8 bit data byte Modbus RTU uses 8 bit binary data characters The LES4XA must be configured to use the same protocol used by the attached Modbus device To configure the type of Serial Protocol 27 At the Serial Protocol 1 Modbus RTU 2 Modbus ASCII 1 prompt o To keep the current setting press Enter o To select Modbus RTU type 1 o To select Modbus ASCIL type 2
26. ES4XA to convert holding register 4x data to input register 3x data and convert coil Ox data to contact 1x data This is useful when connecting to Modicon I O scanners 5 Unit ID to IP Address Lookup Table Settings The Configuring Unit ID to IP Address Table Settings section of the Configuration Menu becomes available if the LES4XA has been configured as a Modbus Master in Configuration Menu section 2 From Configuration Menu section 5 you can configure e whether to Close Idle TCP Sockets after a specified number of seconds e whether to enable Redundant entry retries after a specified number of seconds Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 32 Configuring the LES4XA e the Unit ID to IP Address Lookup Table 5 Unit 1D gt IP Address Table Close Idle SoOCkeLtSs ao 10sec Redundant Entry Retry Feature Disabled Figure 19 Unit ID gt IP Address Table Settings Menu Close Idle TCP Sockets After The Close Idle TCP Sockets After field allows you to configure whether a socket is held open or the number of seconds to hold the last socket open e If you configure this field for O it hold a single socket open to the last remote Modbus TCP slave accessed e If you configure this field for any value between 3 and 60 seconds it will close the las
27. LES4XA select Assign a specific IP address and click Next The IP Settings page of the wizard appears Type the desired IP address into the appropriate text box If required type the Subnet Mask and Default Gateway addresses into the appropriate text boxes Click Next The Assignment page of the wizard appears Click Assign A Progress of task bar graph appears When the process is Completed successfully click Finish The new IP address appears in the Devices Tree Device Details tab and Telnet Configuration tab Using the Devices Details Tab The Device Details tab provides useful information about the LES4XA currently selected in the Device List S Lantronix Devicelnstaller 4 1 0 3 File Edit View Device Tools Help Pee Search Assign IP Upgrade El Lantronix Devices 1 device s Device Details Web Configuration Telnet Configuration a sa Network Bridge 192 168 1 101 XPor E 32 XPortlAP firmware v2 30 EE Property Name Group Comments Device Family Port Type Port IAP ID XA Hardware Address 00 20 44 8C C6 E5 Firmware Version 2 30 Online Status Telnet Enabled Telnet Port Web Enabled Web Port Maximum Baud Rate Supported Firmware Upgradable True IP Address 192 168 1 104 Number of COB partitions supo 6 Supports Dynamic IP True DHCP True BOOTP True RARP False Auto IP True Subnet Mask 255 0 0 0 Gateway 0 0 0 0 Number of Ports 1 TCP Keepalive 45 Supports C
28. Mode Settings and Modem Configurable Pin Settings 1 Network IP Settings In the Network IP Settings section of the Configuration Menu you can configure e IP Address of the LES4XA e Default Gateway e Netmask e Telnet Configuration Password IP Address Every device connected to a TCP IP network must have a unique IP Address This includes every LES4XA However there is more than one way to set up an IP address for the LES4XA DHCP The LES4XA is shipped with a default IP address of 0 0 0 0 This configures the converter to obtain an IP address via DHCP Dynamic Host Configuration Protocol from a DHCP server on the network when the LES4XA boots up If a DHCP server is available to respond to the DHCP request the LES4XA will receive an IP address gateway address and subnet mask from the server A DHCP generated IP address will appear in the Device Tree Device List and at the top of the Telnet Configuration tab but it will not be displayed in the IP Address field of the Network IP Settings section of the Configuration Menu Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 22 Configuring the LES4XA Modbus TCP to RTU Bridge Setup 1 Network IP Settings IP Addresa ee Es eo aae 0 0 0 0 DHCP BOOTP AutoIP Default GACEVAY cele ees os not set N
29. Models LES41A LES42A Modbus TCP to Modbus ASCII RTU Converters Manual Documentation Number LES4xA 2106m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 Manual Documentation Number MES1A MES1B 2106m PN7138 rev001 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 ii Table of Contents CHAPTER 1 INTRODUCTION 0 sssccssssscccssssccesssscccssssccesscccssssccccssseccecsssescees 1 ABOUT THIS MANUAL a td 1 SUPPORT bc ead RE SE ET N 1 ABOUT YOUR LES4XA CONVERTER iese ees es se se ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee Re ee ee ee 1 FEATURES EE EE OE EE RE N EE EE E 2 CHAPTER 2 HARDWARE OVERVIEW csssscsssssscsssscccssssccsesssscessssccesssssceess 3 PACKAGE CHECKLIST SR ias 3 INDICATORS SWITCHES AND CONNECTORS ss sccccceceesssssceeececeesssnececececeesenssaeeeeeees 3 SA ARE RE NN 3 TIRED OR ER ORAL ER EE EA ER EG 4 ACV LED ol EA BERE ERA AE KG 4 RS 422 485 Switch LES42A only ese esse ees se ee se ee ee Se ee ee Ge cone Re ee Re 4 Ethernet Port CONMECCtOL cccccccccccecsesescecececssssnsscecececeessussaeseeecessunsaeeeeeceesenssaeaeeeees 5 DB 9M Serial Port Connector LES41A only iese sesse esse ee se ee ss se ee ee ee ee nana ee 5 RS 422 485 Connector LES42A only e
30. N7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 31 Configuring the LES4XA e If you set this field to 0 the LES4XA will automatically calculate a minimum timeout based on the baud rate being used e Although you can set this field to any value between 1 milliseconds and 6959 milliseconds a recommended safe value for general use is about 50 milliseconds which is the default value Message Timeout The Message Timeout field allows you to set the timeout period for responses from a connected slave to any value between 200 milliseconds and 65000 milliseconds The default value is 5000 milliseconds Serial TX Delay after RX When the LES4XA receives a request from a master it relays the request to the Modbus slave connected to the LES4XA s serial connection When the slave responds a timer is triggered and after the delay time configured in the Serial TX Delay after TX field the next master request is allowed to pass through the serial connection to the slave When using 2 wire RS 485 connections this delay value can be set to ensure that RS 485 devices have time to disable their drivers and enable their receivers to receive the next request Typically this is not a concern and the default value is 0 The delay can be set to a maximum of 1275 milliseconds Swap 4x 0H to Get 3x 1x This field allows you to configure the L
31. XA ee ese esse esse esse ss ee sees sees sees se ees se ee se 19 NAVIGATING THE CONFIGURATION MENU ese ese see se ee ee ee ee ee ee ee ee ee se ee se ee ee ee ee 20 1 NETWORK IP SETTINGS ees esse ee ee se se ee ee ee ee ee GR Re ee Ge ee ee GR Re ee ER Re ee GR RA ee ee Re ee ee ee 22 IP GOEIE EE N EE OE NN 22 ENE N NE N OE RE OON EE ds 23 NGEINGS SE OE EE EE RE EE OO Me 24 Telnet Configuration Password iese sees see se se ee ee ee ee Ge cono SR Se Se Gee ee 24 2 SERIAL AND MODE SETTINGS iese se sees ee se ee ee ee ee ee ee ee ee ee ee Ge ee ee Re ee Ge ee ee Ge Re ee ee RA 25 Ur AE RE EE EN OE EE 25 MAA GE ER EE N OE N OE NS 26 3 MODEM CONFIGURABLE PIN SETTINGS eise ee ee se se ee ee ee ee ee ee ee ee ee ee ee ee ee Re ee ee ee 28 4 ADVANCED MODBUS PROTOCOL SETTINGS sees ese ee ee ee ee ee ee ee ee ee ee Re ee Ge ee ee 28 Slave Address Unit ID Source ese se ee ee ee ee ee Ge ee ee Ge ee ee Ge Re ee 29 Allow Modbus Broadcasts iese ee RR ee GR Re ee Ge Re ee ee ee ee ee 30 Use MB TCP OOBH OOAH Exception Responses nosses 30 Disable Modbus TCP Pipelin iese se Se Se Se GR Ge ee Ge ee ee ee ee ee ee 31 Character TimeOUt ees se ee SR Re RR GR ee ER Re ee ee ER Re ee Ge ee ee Re ee ee ee Re 31 Message LimeOUf Ese Pe ERG EE RE ee GE ESE Rek Ed DE dede dabas 32 Serial TX Delay aftef RX ocioteca dose SERE SG Se Eg EP eg 32 Swap 4x 0H ENE KEER NE OR OE ER N 32 5 UNIT ID TO IP ADDRESS LOOKUP T
32. al Broadcasts Disabled Id 0 auto mapped to 1 MB TCP Exception Codes Yes return OOAH and OOBH Char Message Timeout 000S50msec O5000msec Figure 18 Advanced Modbus Protocol Settings Menu Slave Address Unit ID Source All devices connected to a TCP IP network require a unique IP address Each LES4XA Converter has a unique IP address on the network allowing messages to be directed to it However when multiple Modbus RTU devices are connected to the RS 485 bus of an LES42A there must be a way to address them individually Standard Modbus RTU fields are encapsulated inside Modbus TCP messages Modbus RTU s Slave Address field is called the Unit ID in Modbus TCP The Unit ID is used to specify a particular Modbus RTU device on the serial side of the LES4XA When the LES4XA receives a message sent to its IP address it looks at the Unit ID field of the message and passes the message to the specified slave 0 for Auto Setting the Slave Address field to 0 allows the LES4XA to use the Unit ID received from a Modbus master to direct messages to a specific slave address The LES4XA receives the Unit ID number on the Modbus TCP side and passes it along as the Slave Address on the serial side of the converter 1 255 Unfortunately some early Modbus TCP products assumed that each IP address would have only one slave These products always set their Unit ID to O relying on the IP address only to address the slave The
33. ark Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 23 Configuring the LES4XA e If you DO NOT require remote communication type N or just press Enter at the Set Gateway IP Address N prompt e If you DO require remote communication through a router or gateway type Y The Gateway IP Address 000 prompt appears Enter the IP address of the default gateway within your local network by typing each address octet followed by pressing Enter After the new settings have been accepted they will appear in the Configuration Menu After the Configuration has been saved to the LES4XA the new settings will appear in the Device Details tab Netmask Typically you will type N or just press Enter to cause the LES4XA to automatically use the standard Netmask appropriate for the IP address being used The default value for this parameter is not set To change the Netmask setting 20 Press Enter to keep the current setting 21 Press Y to change the setting 22 At the prompt type in four octets representing the new Netmask After the new settings have been accepted they will appear in the Configuration Menu After the Configuration has been saved to the LES4XA the new settings will appear in the Device Details tab For more information or direction on the netmask you may require consult your network administrator Telnet Configuration Password You can set up a T
34. atew 0 0 0 0 DHCP BOOTP AutoIP Netmask 2 Serial Mode Settings Parasol ra EE Hodbks RTU Slave s attached Serial Interface 9600 4 N 1 R5485 3 Modem Configurable Pin Settings CI RS485 Output Enable EED peoos Not Used CE Not Used 4 Advanced Modbus Protocol settings Slave Addr Unit Id Source Modbus TEP header Modbus Serial Broadcasts Disabled Id 0 auto mapped to 1 MB TCP Exception Codes Yes retuFn OOAH and OOBH Char Message Timeout 00050msec 05000msec D efault settings S ave Q uit without save Select Command or parameter set 1 4 to chage IP Address 000 amp IP Address 1 Figure 15 Setting the IP Address Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 20 Configuring the LES4XA 12 To change the parameter type in a new value then press Enter If you wish to leave the parameter as it was simply press Enter A prompt for the next parameter will appear 13 When all parameters in the currently selected section are complete you will again be prompted to select a menu item Select another section and continue the configuration process Saving Configuration Settings When all categories have been configured you must save your configuration to the LES4XA To Save the co
35. ce Succeeded 21 03 2006 192 168 1 104 00 20 4A 8C C6 E5 wait for boot with new firmware A A AAA A A mento Figure 32 Log File in Notepad Using Ping Device Installer provides the convenience of implementing the Ping network utility from within the Device Installer window Ping provides the option of checking to see whether messages can be sent to and received from a device on the network at a specified IP address It also provides information on the time required for responses from the device To open the Ping Device window select Ping on the Tools menu or press F4 Type the IP address of the network device you want to ping then press Enter or click the Ping button Click the Clear Status button to clear the Status area F Ping Device IP Address 192 168 1 104 Clear Status Status Reply from 192 168 1 104 0 bytes 60 time 16ms TTL 64 Reply from 192 168 1 104 0 bytes 60 time 0ms TTL 64 Reply from 192 168 1 104 0 bytes 60 time Oms TTL 64 Reply from 192 168 1 104 0 bytes 60 time 0ms TTL 64 A ates N AA A A Figure 33 Ping Device Window Using Help You can access Device Installer Help files by selecting Contents on the Help menu Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 45 Using Other Device Installer Features 1 Devicelnstaller
36. ch Q Your Modbus device should now be operational on the network Note The LES4XA can be reset rebootea by pressing the Reset switch for one second Reset switch is accessed through a small hole in the top of the enclosure Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 Getting Started Using the Device Installer Software This section provides more detailed information on how to install and use the Device Installer software Device Installer is used to set up and configure the LES4XA on a network It detects all LES4XAs on the network and allows you to configure the network and serial port settings It also allows you to monitor the LES4XA and verify its status System Requirements e Windows XP Windows 2000 Windows NT4 0 with service pack 6 0a or later Windows ME or Windows 98 e Internet Explorer 5 01 or later e 30 MB hard drive space e 64MB RAM Installing the Device Installer Note Device Installer requires Microsoft NET software to operate To install the Device Installer software 1 Insert the CD included with your LES4XA into the CD ROM drive of your PC The installation should launch automatically If not a Click Start on the Task Bar and select Run b Type in CD drive letter Launch exe When the Device Installer Setup Wizard d
37. e applications web pages and other configmi n settings Create a custom instalation by apecitying indvidual fles Typical O Use a spocie instalation Ne L9 previously saved by user To continue cich Newt Crs cance Hep Figure 26 Device Upgrade Wizard Step 1 50 If an Installation File lxi has already been created select Use a specific installation file LXI previously saved by user Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 40 Using Other Device Installer Features 51 If an Installation File has not been created select Create a custom installation by specifying individual files Typical and then click Next 52 In the Device Upgrade Wizard Step 2 of 5 dialog box browse to find the Firmware ROM SYS amp SPB File then click Next 53 In the Device Upgrade Wizard Step 3 of 5 dialog box select No other files to install typical then browse and select the previously saved Setup file 54 In the Device Upgrade Wizard Step 4 of 5 dialog box click Next The Device Upgrade Wizard Step 5 of 5 dialog box appears and displays a bar graph indicating progress Succeeded appears next to a listing of each step as it is accomplished B Device Upgrade Wizard Step 5 of 5 Please wait while the device is updated 1 Succeeded
38. elnet Configuration Password to control unauthorized access to the Telnet Configuration interface 23 Type Y The Enter New Password prompt appears 24 Type in a password The words Telnet config password set appears in the 1 section of the configuration menu The default value for this parameter is N for Not Set Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 24 Configuring the LES4XA Warning Do not forget your password if used There is no easy way to get into the unit for configuration once you forget your password 2 Serial and Mode Settings In the Serial and Mode Settings section of the Configuration Menu you can configure e the serial Protocol to be used with your Modbus device e the Serial Interface type and communications parameters 2 Serial amp Mode Settings PEO OCLs ase ees ole se Modbus RTU Slave s attached AS A OO 9600 8 N 1 R5232 Figure 17 Serial amp Mode Settings Menu To configure Serial and Mode Settings type 2 at the Select Command or parameter set 1 4 to change prompt The Attached Device prompt appears Protocol Protocol parameters must be set to match the type of Modbus device master or slave connected to the serial side of the LES4XA device and the type of Modbus protocol ASCII or RTU that will be used Attached
39. etmask se sssae sees sesseeses NOt Set Figure 16 Network lP Settings Menu Auto IP If a DHCP server is NOT available on the network the LES4XA will revert to Auto IP and generate its own IP address in the 169 254 xxx xxx range Static IP Address The IP address of the LES4XA can be changed via the Telnet Configuration Menu interface To determine an appropriate static IP address consult your network administrator The Device Installer Help feature also provides some useful information related to IP addressing 17 At the Select Command or parameter set 1 4 to change prompt type 1 18 At the IP Address 000 prompt o To keep the current setting press Enter o To change the IP address type the first octet Press Enter to accept the change Repeat for all octets 19 Press Enter to accept the new IP address After the new settings have been accepted they will appear in the Configuration Menu After the Configuration has been saved to the LES4XA the new settings will appear in the Device Details tab The IP Address can also be changed from the Device Installer menu See Chapter 5 for details Default Gateway A Default Gateway address is only required if your LES4XA must communicate with devices on remote TCP IP networks through a router or gateway The default value for this parameter is not set Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 P
40. ialog box appears click Next to open the Select Installation Folder dialog box Accept the suggested installation folder or click Browse to select a different installation folder Click Next to open the Confirm Installation dialog box Manual Documentation Number LES4xA 1207m PN7925 rev000 13 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 Getting Started 6 Click Next to begin the installation When finished the Installation Complete dialog box appears Starting the Device Installer Run the Device Installer from the Start Programs Lantronix Devicelnstaller menu Discovering Devices When Device Installer opens it automatically scans the network for LES4XA devices Any of the following steps will initiate a manual search for devices e Click the Search icon e On the Device menu click Search e Press the F5 function key When discovered for the first time any LES4XA devices present are listed in the Devices Tree pane and Device List pane as XPort and XPort IAP respectively XPort is the name of the internal module of the LES4XA The Devices Tree shows a hierarchy including any network bridges under which the LES4XA is found The Device List pane is a table showing e Device Type e Device Name e Group e IP Address e Hardware MAC Address e Status Manual Documentation Number LES4xA 1207m PN7925
41. ice Details tab for the device appears Assigning an IP Address using Device Installer The LES4XA can obtain its IP address in several ways e Via DHCP when it is first connected to the network See Chapter 4 e By changing the IP address from the Telnet Configuration Menu See Chapter 4 e Using the Assign IP feature of the Device Installer software Using Device Installer to Assign an IP Address To use Device Installer to Assign an IP address 42 Click the Assign IP icon press F7 or on the Device menu select Assign IP Address The Assign IP Address wizard appears If a specific LES4XA device is not selected in the Devices Tree the first page of the wizard will ask for the Hardware MAC Address of the device to be configured You will find the Hardware Address of your particular LES4XA on a sticker attached to the device Type the Hardware Address into the wizard and click next 43 Since the LES4XA is pre configured to use DHCP its IP address is pre configured for 0 0 0 0 which causes it to use DHCP Therefore do not use the Obtain an IP address automatically option in the wizard Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 38 Using Other Device Installer Features 44 45 46 47 48 49 If you wish to assign a different IP address to the
42. irmware v2 30 S 00 20 44 8C C6 E5 00 20 44 8C C6 CC AO amann an enn canta T N EEN EIEN Figure 21 Device Node Hardware Address View Display the Device Name e On the View menu select Device Node Text then select Name File Edit View Device Tools Help e Search Assign IP E EN Lantronix Devices 2 devicels a sa Network Bridge 192 168 1 101 2 6 XPort S XPort IAP firmware v2 30 Se MESIA Se MES1B XPort IAP Figure 22 Device Node Name View Adding a Device Manually Although you will typically discover LES4XA devices on the network using the Search tool you can also add a device to the network manually To do so you must know the IP address of the device 2 Add Device Enter the IP Address or DNS name 192 168 1 104 Cancel Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 37 Using Other Device Installer Features Figure 23 Add Device Dialog Box To manually add a device to the Device List 39 On the Device menu select Add Device 40 In the Add Device dialog box type the IP address of the device 41 Click OK e If a device with that IP address is not found on the network a dialog box will appear indicating Device at IP address was not found e If a device is found it will be listed in the Device Tree and the Dev
43. lack of an appropriate Unit ID presents a problem for the LES42A It must include a Slave Address in its messages to Modbus RTU slaves To overcome this problem the LES4XA Slave Address field can be set to the address of one Modbus RTU slave any number in the range of 1 to 255 Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 Configuring the LES4XA This limits the number of slaves that can be connected to the LES4XA to one but ensures that when any message for the LES4XA s IP address is received regardless of its Unit ID it is passed along to the slave To configure the Slave Address field e If Modbus TCP masters on your system use appropriate Unit ID addresses select 0 You will be able to connect multiple Modbus RTU slaves with RS 485 interfaces to an LES42A e If any Modbus TCP masters on your system use 0 for all Unit ID fields select a slave address that matches the Modbus RTU slave attached to your LES4XA You will not be able to connect multiple slaves to the RS 485 multidrop bus Allow Modbus Broadcasts If you configured the Slave Address for any number between 1 and 255 the Allow Modbus Broadcasts does not appear in the menu When a Modbus RTU slave receives a slave address of 0 it interprets this as a broadcast message All slaves accept the message
44. ll applications and additional ones that may be implemented in specific cases Common function codes include Read Coil Status 01 Read Input Status 02 Read Holding Registers 03 and Read Input Registers 04 When a master sends a message to a slave it expects to receive a valid response within certain length of time If the slave does not receive the message or if the slave receives the message but an error is detected it does not respond If the slave cannot respond appropriately for some other reason e g it does not recognize the function code it will return a message containing an exception response Modbus TCP Modbus TCP is a much more recent development created to allow Modbus ASCI RTU protocol to be carried over TCP IP based networks Modbus TCP embeds Modbus messages inside TCP IP frames Although the implementation is fairly simple characteristics associated with networking add some challenges For example because Modbus masters expect and require responses to their polls within a certain time frame the non deterministic and other aspects of TCP IP networks have to be considered Modbus TCP sets up connections between nodes on the network sending requests via TCP in a half duplex fashion TCP allows multiple requests to be pipelined or queued in a buffer waiting to be serviced Modbus TCP has the capability to use transaction identifiers sequence numbers but some early manufacturers of Modbus TCP equipment
45. nd it should auto start into the installation wizard Q Follow the on screen installation wizard to install the Device Installer software Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 11 Getting Started 4 Discover the LES4XA on the Network Q Open the Device Installer software It should detect the LES4XA and display XPort in the third level of the Devices Tree Q Expand the Devices Tree and click the device IP Address Q Select the Telnet Configuration tab then click Connect Q When the Modbus TCP to RTU Bridge MAC address and Software version information appears Press Enter to go into Setup Mode 5 Configure the LES4XA a To change the IP Address Default Gateway or Netmask type 1 To configure Master Slave and serial Interface settings type 2 Do not change any configuration settings in section 3 To configure Modbus TCP settings type 4 To configure Modbus Master settings type 5 Oo vo U O To save your settings to the LES4XA type S 6 Modbus Device Installation O Connect the Modbus device to the serial interface on the LES4XA using the correct cabling a LES41A is a DTE Use a straight through serial cable if the Modbus device is a DCE null modem if device is DTE Q LES42A Four wire for RS 422 Two wire for RS 485 Set RS 422 485 swit
46. nfiguration settings to the LES4XA at the Select Command or parameter set 1 4 to change prompt type S Quitting Without Saving To Quit the configuration session without saving type Q The background color will change to gray and the LES4XA will re start without updating the configuration settings Reconfiguring to Factory Settings The LES41A and LES42A come from the factory preconfigured for correct operation with their respective interfaces The following procedure describes how you can return the LES41A and LES42A to their original factory settings To Reconfigure the LES41A to Factory Settings Type D at the Select Command or parameter set 1 4 to change prompt The Configuration Menu is updated with the new settings displayed To Reconfigure the LES42A to Factory Settings 14 Type D at the Select Command or parameter set 1 4 to change prompt Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 21 Configuring the LES4XA 15 Type 2 to enter the Serial amp Mode Settings section and set the Serial Mode for RS 485 Two Wire see the next section for details 16 Type 3 to enter the Modem Configurable Pin Settings section and set CP1 to RS 485 Enable Wire see the next section for details See the following sections for details on how to set Serial amp
47. ode is the most common implementation using binary coding and CRC error checking Modbus ASCII messages though somewhat more readable because they use ASCII characters is less efficient and uses less effective LRC error checking ASCII mode uses ASCII characters to begin and end messages whereas RTU uses time gaps 3 5 character times of silence for framing The two modes are incompatible so a device configured for ASCII mode cannot communicate with one using RTU All Modbus communications are initiated by Modbus masters using a polling query response format The master can send broadcast messages Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 Modbus Basics using a slave address of 0 which all slaves accept but do not reply to More commonly the master polls individual slaves sequentially In each poll it sends a message containing a device address followed by a function code any data that maybe required and an error 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 a
48. on 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 16 Getting Started Sa Lantronix Devicelnstaller 4 1 0 3 Flo Edt View Device Tools Help Pee Seardh Assign IP Upgrade 3 Fa Larsona Devices 1 device s Device Delais Web Corigaahan Telnet Confusion 5 gie Netrod Budge 192 1681 101 s O Pon IP Address 192 168 1 104 SS Pon AP gt terme v2 30 Se 132 1681 104 Modbus TCP to RTU Bridge MAC address OOZ04A0CC6ES Software version 02 3 050420 XPTEX Press Enter to go into Setup Mode Model Device Server Plus Firmware Code XA Modbus TCP to RTU Bridge Setup 1 Network IP Settings IP Address 0 0 0 0 DHCP BOOTP AutoIP Default Gateway 3 not set Netmask DOL Set erial Mode 3 Protocol Nodbus RTU Siave s attached Serial Interface 9600 8 N 1 R5232 3 Rodem Configurable Pin Settings CP1 Not Used cre Not Used CP3 Not Used 4 Advanced Modbus Protocol settings Slave Addr Unit Id Source Modbus TCP header Modbus Serial Broadcasts Disabled Id 0 auto mapped to 1 m0 TCP Exception Codes Yes return OOAH and OOD Char Message Timeout 00050msec 05000mec D efaulr settings 3 ave Q uit without save Select Command or parameter set 1 4 to change Figure 13 Telnet Configuration Tab with Settings Refer to Chapter 4 for configuration details Manual Documentation Number LES4xA
49. on the File menu select Open In the Open dialog box that appears select or type in a file name and click Open The LES4XA will search for all devices listed in the Device List file and display them in the Devices Tree Devices not listed in the Device List file will not be shown To discover other devices not already on the list you must initiate a search Device List Display Options Device Installer provides several options for displaying devices in the Device Tree and List Display Devices Using Icons e On the View menu select Device List then select Icons File Edit View Device Tools Help e Search Assign IP a Sry Lantronix Devices 2 device s E ee Network Bridge 192 168 1 101 EI Port E dis Port IAP firmware v2 30 Se 192 168 1 104 Se 192 168 1 105 Port IAP 5 To TEE de eye a ARA on on a rs EE Smell EEN Figure 20 Device List Icon View Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 36 Using Other Device Installer Features Display the Hardware MAC Address e On the View menu select Device Node Text then select Hardware Address File Edit View Device Tools Help ee Search Assign IP a En Lantronix Devices 2 device s gfh Network Bridge 192 168 1 101 AS ASA AAA XPot Port LAP 3 XPort IAP f
50. onfigurable Pins True Supports Email Triggers True Figure 24 Device Details Tab Manual Documentation Number LES4xA 1207m PN7925 rev000 39 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 Using Other Device Installer Features Although most fields in are fixed the Name Group and Comments fields are user configurable allowing you to add information specific to your application To change any of these fields double click the field then type your text into the text box that appears Ely Lantronix Devices 2 devicels Device Details Web Configuration Telnet Configuration 3 E gg Network Bridge 192 168 1 101 EER 3 XPot E e XPort IAP firmware v2 30 Se 192168 1 104 ee TO DANEK lame ouble cick to add a Device Name here 2 192 1681 105 Double click to add a Gr h 1 PEER Figure 25 Adding Info to the Device Details Tab Upgrading Firmware From time to time updated firmware versions for the LES4XA may become available Device Installer provides a Device Upgrade Wizard which can be used to install updated firmware into the LES4XA To install firmware in the LES4XA On the Device menu select Upgrade or click the Upgrade icon The Device Upgrade Wizard Step 1 of 5 dialog box appears Be Device Upgrade Wizard Step 1 of 5 This szad helps instal fama
51. r Activity Indicator Green Orange LED on Ethernet connector Power Indicator Red LED Reset Switch Recessed momentary switch press for 1 second to reboot hardware reset Ethernet Connector Single RJ 45 female with built in LED indicators Ethernet Standards Supported IEEE 802 3 10 100 Mbps auto detecting 10BaseT 100BaseTX Protocols Supported TCP UDP DHCP SNMP TELNET ICMP ARP TFTP Modbus ASCII Modbus RTU Modbus TCP Serial Protection 12V TVS for LES41A 5 V TVS for LES42A Serial Connector LES41A 9 pin D type male DB 9M LES42A removable screw terminal 5 block with screw down Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 53 Product Specifications Interface Lines Supported Serial Data Rates Parity Data Bits Stop Bits Flow control Configuration Modes Device Management IP Address Assignment Accessories LES41A RS 232 TD RD GND LES42A RS 422 485 TDA TDB RDA RDB GND 300 600 1200 2400 3600 4800 9600 19200 38400 57600 115200 bps None Even Odd 7or8 1 2 None Telnet XPort Device Installer with integrated Telnet SNMP RFC 1213 1215 1316 131 Static IP or DHCP IP is set to 0 0 0 0 DIN Panel mount bracket Manual Documentation Numbe
52. r LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 54 Dimensional Diagrams Appendix C Dimensional Diagrams YT V E E BP F Be E E a di l e bi Ed m g m bom ATAR hy Figure 35 Dimensional Diagram of the LES41A Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 55 Dimensional Diagrams PTE es TA AH da T i Ms z p z R A La d E x MEES AF E A Li JE aa ha PET ER Figure 36 Dimensional Diagram of the LES42A Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 56 57 Dimensional Diagrams Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 RS 232 Connections Appendix D Serial Connections DB 9 Male outside 12345 Lil to i 789 DB 9M Signal RS 232 DTE Pin 2 Receive Data RXD In 3 Transmit Data TXD Out 5 Signal Ground GND
53. s Enter the Modbus Address To prompt appears 38 Type in an slave address number that reflects the range of slaves that will be found at the IP address that will be entered in the next step When you press Enter the Slave IP address prompt appears Slave IP Address Type in the four octets of the IP address of the slaves being addressed e If you configure the last octet as 000 the LES4XA will use the Slave Address Unit ID of the slave as part of the IP address This allows a Modbus RTU master connected through the LES4XA to access up to 255 remote Modbus TCP slaves e If you configure the last octet for a number between 1 and 254 all slave polls in this group will be sent to the same IP address Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 34 Using Other Device Installer Features Chapter 5 Using Other Device Installer Features In addition to the capabilities already mentioned the Device Installer software provides other important and useful features This section provides a brief overview of those features For more information access the Help files from the main menu Device Installer features which are not used or supported by the LES4XA include e Console Mode via Serial port configuration e Recover Firmware Tools menu Advanced selection e Web
54. s color is green if connected to a 100BaseT network orange if connected to a 10BaseT network It turns orange briefly during the power up process Activity LED When the Activity LED located on the Ethernet jack is flashing green it indicates data is being sent across the network This LED turns orange briefly during the power up process LED Color Status Function Power Red Power applied Orange Bootup 10BaseT Link Green 100BaseT Green Blinking Data on the network Activity Orange Bootup Figure 3 LED Status Table Reset Switch The Reset switch is accessible on the top edge of the LES4XA same edge as the power supply connector through a small hole in the LES4XA enclosure It allows you to reset the LES4XA by inserting a small tool through the hole and pressing the momentary switch for about 1 second The LES4XA restarts with its last saved configuration settings Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 Hardware Overview RS 422 485 Switch LES42A only The RS 422 485 switch allows you to set the LES42A Converter for RS 422 485 four wire or RS 485 two wire operation e When the switch is in the left position the LES42A operates in RS 422 485 four wire mode e When the switch is in the right position the LES42A operates in the RS 4
55. s not used with the LES4XA Connecting to the LES4XA Before configuration can occur you must set up a telnet connection with the LES4XA to access the Configuration Menu You can access the Configuration Menu using a standard telnet window or use the telnet implementation within the Device Installer software The Device Installer option provides an all in one user interface for working with the LES4XA To connect 3 Select the Telnet Configuration tab The tab shows the IP Address of the LES4XA and the Port Number used to communicate with it via telnet The rest of the window is blank 4 Click Connect to connect to the LES4XA When a connection is established the following window appears which contains information on the MAC address and Software version of the LES4XA Device Details Web Configuration Telnet Configuration IP Address 192 168 1 105 Port 9999 Disconnect Modbus TCP to RTU Bridge MAC address O00204A8CC6CC Software version 02 3 050420 XPTEX 30 Press Enter to go into Setup Mode Figure 12 Press Enter to go into Setup Mode The background color of the window remains white for five seconds then changes to gray when it times out 5 Press the Enter key within five seconds to go into Setup Mode or it will time out and you will have to click Clear and repeat the process The LES4XA Configuration Menu appears Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporati
56. sse esse see es se ee ee ee ee Re ee ee Re ee ee ee ee 5 AE IS OO ER N N EN EE EO OE N N 7 CONNECTING THE HARDWARE iese esse se ee ee se ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee Re ee ee RA 8 CHAPTER 3 GETTING STARTED ee sesse esse esse sesse es se sees see be gee ee se Ge ee eg 11 QUICKS TART as sies RE a ees 11 1 Check the contents of your LES4XA package It should contain 11 2 Setup the AAA EE EE EE 11 3 Software Installation acomode 11 4 Discover the LESAXA on the Network esse ss se se ee ee se ee ee ee ee Ee Re Re ee ee 12 3 Configure the LES4XA 6 sesse sesse noticas Se Rek Ses ee ERAS EE eke dentada 12 6 Modbus Device Installation eie se ee ee se ee RR Re Re ee ER Re Re ee ee ee 12 USING THE DEVICE INSTALLER SOFTWARE ees esse ee ee se se ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee 13 System RE EO OE RE OE EE EE 13 Installing the Device Installer sees ee SA Ge ee ee ee ee ee ee ee 13 Starting the Device Installer resinae e ee ee ee ee ee ee ee 14 Discovering DEVICES iese EED DER ee Aa ERGE Ke ee Dee desaaee Gede ees Se sap 14 Manual Documentation Number LES4xA 2106m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 iii Getting Device Details cion tdi dad 15 Connecting tothe LESAXA iii ii KERE ER N 16 CHAPTER 4 CONFIGURING THE LES4
57. t socket after the configured length of idle time Redundant Entry Retries After The Redundant Entry Retries After field allows you to disable redundant retries or set a maximum length of time for retries e If you configure this field for O is disables the feature e If you configure this field for any value between 15 seconds and 60 seconds it will set the retry period to the configure time Add Delete Exit Select Function The Add Delete Exit Select Function field is the starting point for managing entries in the IP Address Table e Type A to add an entry The Modbus addr from prompt appears e Type D to delete an entry The Delete entry number prompt appears e Type E to exit Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 33 Configuring the LES4XA Modbus Address From To Configuring these fields sets up the range of Modbus slave addresses that will be forwarded to the IP address that you will configure in the next step The prompt Modbus addr from 1 indicates that no slave addresses have been added to the list so far If other slave addresses have already been configured the number will reflect the first available slave address number 37 Press Enter to accept 1 as the first slave address number or type in the number you prefer After you pres
58. ted to the transmit terminals of the Modbus device it is communicating with Its transmit terminals are connected to the receive terminals of the Modbus device it is communicating with Figure 5 RS 422 485 Four Wire Connection RS 485 Two Wire Mode When the LES42A is configured to operate in RS 485 two wire mode RS 422 485 switch in the right position the two wire RS 485 two wire communications cable pair is connected to Terminals Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 Hardware Overview TDB and TDA The communications cable ground shield is connected to GND e Eae Peir rat EA Et Web Seok Berk Figure 6 RS 485 Two Wire Connection No jumpers are required to bridge the transmit and receive lines in two wire mode Power Connector The Power Connector is a removable two position screw terminal block with screw down The LES4XA requires between 10 VDC and 30 VDC 3 6 Watts Typically a 12 VDC power adapter is connected to the terminal block via bare wires The terminal block can be unplugged to remove the converter from service Figure 7 LES4XA Power Connector Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 550
59. urce Modbus TCP header Modbus Serial Broadcasts Disabled Id 0 auto mapped to MB TCP Exception Codes return OOAH and OOBH Char Message Timeout O00SOmsec O5000msec D efault settings Sjave O uit without save Select Command or parameter set 1 4 to change Figure 14 Telnet Configuration Tab Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 19 Configuring the LES4XA Navigating the Configuration Menu On initial power up there are four sections in the LES4XA configuration menu A fifth menu item appears if you are configuring a Modbus Master device The menu items are 6 Network IP Settings 7 Serial amp Mode Settings 8 Modem Configurable Pin Settings 9 Advanced Modbus Protocol Settings The following menu item 5 appears if the LES4XA is configured as a Modbus Master in section 2 Serial Protocol 10 Unit ID to IP Address Table Each section of the configuration menu includes several parameters 11 Begin the configuration by typing the menu section number at the Select Command or parameter set 1 4 to change prompt The first configuration parameter of the section will appear at the bottom of the pane The current setting is shown in brackets Example Modbus TCP to RTU Bridge Setup 1 Network IP Settings IP Address Default G
60. uto maps to 1 Character Timeout 50 milliseconds Message Timeout 5000 milliseconds Serial TX delay after RX 0 milliseconds Swap 4x 0H to get 3x 1x No Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 51 Default Configuration Settings Manual Documentation Number LES4xA 1207m PN7925 rev000 Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 www blackbox com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 52 Product Specifications Appendix B Product Specifications Models LES41A LES42A Manual Paper copy of this manual PDF available CD ROM disc XPort Device Installer software PDF of LES41A LES42A User Manual PDF of Quick Start guide Operating Systems supported Windows 98 ME 2000 XP NT 4 0 Dimensions LES41A LES42A 1 25 x 4 5 x 4 75 in 3 2 x 11 3 x 12 2 cm Power Supply Requirements 10 VDC to 30VDC 3 6 Watts Power Supply Not included Power Connector Removable screw terminal 2 block with screw down Power Consumption 3 6 Watts 12VDC 300 mA Operating Temperature 20 to 80 C 4 to 176 F Storage Temperature 40 to 85 C 40 to 185 F Humidity 10 to 90 R H non condensing Approvals CE FCC Class B Link Integrity Indicator Green Orange LED on Ethernet connecto
61. x com Tech Support and Ordering 724 746 5500 Fax 724 746 0746 Introduction Figure 1 LES41A and LES42A Converters LES41A Converters allow new and legacy Modbus ASCII RTU slave devices with RS 232 serial ports to operate on a TCP IP network as full Modbus TCP slaves All Modbus TCP devices on the network can share access to the Modbus ASCII RTU device LES42A Converters allow Modbus RTU slave devices with RS 422 485 interfaces to operate on a TCP IP network as full Modbus TCP slaves All Modbus devices on an RS 485 bus can be connected to the TCP IP network via the LES42A allowing them all to be accessed by Modbus TCP IP devices on the network Traditional Modbus ASCH RTU master devices also can be connected to TCP IP networks using the LES4XA making the device appear to be a full Modbus TCP master on the network It can directly access Modbus TCP slave devices It also can access other Modbus ASCII RTU slaves that are connected to the network via other LES4XA Converters as if it is talking directly to a Modbus ASCII RTU slave Features e Converts Modus ASCII RTU to Modbus TCP e Small economical and configurable e LES41A supports TD RD and GND RS 232 lines e LES42A supports TDA TDB RDA RDB RS 422 485 lines e LEDs on network connection indicate link integrity and data transfer activity e 10 100 Mbps auto detecting operation e Removable screw terminal strips for power supply e Removable screw terminal

Download Pdf Manuals

image

Related Search

Related Contents

Manual de Leica IMS500 HD  ICD200 シリーズ 【取扱説明書】  Manual do utilizador DEH-1320MP DEH-1300MP  

Copyright © All rights reserved.
Failed to retrieve file