B&B Electronics MES1B Allow Modbus Broadcasts, Use MB/TCP 00BH/00AH Exception Responses, = No

Page 40

Configuring the MES1A/B

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 MES1A/B. 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. 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 00BH/00AH Exception Responses (1=No 2=Yes)is disabled (1=No), the MES1A/B operates like a Modbus/RTU slave. It answers timeouts, un-configured slave addresses and CRC errors with silence.

2 = Yes

If the Use MB/TCP 00BH/00AH Exception Responses (1=No

2=Yes)is enabled (2 = Yes), the MES1A/B will return the following codes under any of the conditions described:

0A (hex) - Path Unavailable

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

If the TCP socket fails to open.

Manual Documentation Number: MES1A/MES1B-2106m

PN7138-rev001

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104www.bb-elec.comB&B Electronics Ltd – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph +353 91-792444 – Fax +353 91-792445www.bb-europe.com

30

Image 40
Contents Modbus TCP Modbus Ascii / RTU Converters Models MES1A, MES1BManual Documentation Number MES1A/MES1B-2106m International Headquarters Page Manual Documentation Number MES1A/MES1B-2106m PN7138-rev001 Page Table of Contents Configuring the MES1A/B Modbus Basics Manual Documentation Number MES1A/MES1B-2106m About this Manual IntroductionSupport About Your MES1A/B Converter Features Package Checklist Indicators, Switches and ConnectorsPower LED Hardware OverviewLink LED Reset SwitchActivity LED RS-422/485 Switch MES1B only Ethernet Port ConnectorDB-9M Serial Port Connector MES1A only RS-422/485 Connector MES1B onlyRS-422/485 Four-Wire Mode RS-485 Two-Wire ModeConnecting the Hardware Power ConnectorMES1A Connections MES1B Connections Hardware Overview Getting Started QuickStartDiscover the MES1A/B on the Network Installing the Device Installer Using the Device Installer SoftwareSystem Requirements Starting the Device Installer Discovering DevicesDevice Installer Main Window Getting Device DetailsConnecting to the MES1A/B Press Enter to go into Setup ModeTelnet Configuration Tab with Settings Getting Started Configuring the MES1A/B Telnet Configuration TabNavigating the Configuration Menu Unit ID to IP Address TableSaving Configuration Settings Reconfiguring to Factory SettingsTo Reconfigure the MES1A to Factory Settings To Reconfigure the MES1B, to Factory SettingsNetwork/IP Settings IP AddressAuto-IP Default GatewayStatic IP Address Telnet Configuration Password Serial and Mode SettingsNetmask Attached Device ProtocolSerial Protocol MES1A Serial Interface Serial InterfaceMES1B Serial Interface Modem/Configurable Pin Settings Serial ParametersAdvanced Modbus Protocol Settings Advanced Modbus Protocol Settings MenuFor Auto Slave Address / Unit ID Source…255 Allow Modbus Broadcasts Use MB/TCP 00BH/00AH Exception Responses= No = YesCharacter Timeout Disable Modbus/TCP PipelineMessage Timeout Unit ID to IP Address Lookup Table Settings Serial TX Delay after RXSwap 4x/0H to Get 3x/1x Close Idle TCP Sockets AfterAdd, Delete, Exit Select Function Redundant Entry Retries AfterModbus Address From/To Slave IP Address Managing Device Lists Using Other Device Installer FeaturesCreating a New Device List Display Devices Using Icons Saving Device ListsOpening Device Lists Device List Display OptionsDisplay the Hardware MAC Address Adding a Device ManuallyDisplay the Device Name Assigning an IP Address using Device Installer Using Device Installer to Assign an IP AddressUsing the Devices Details Tab Upgrading Firmware Adding Info to the Device Details TabInstalling Pre-Saved Configuration Files Saving Setup RecordsInstalling Setup Records Save Setup Records Dialog BoxLogging Search and Upgrade Data Options Window, Customization Tab Using Ping Using HelpUsing Other Device Installer Features Modbus Basics Modbus ASCII/RTUModbus/TCP Hints and Tips Modbus Basics Appendix a Default Configuration Settings Swap 4x/0H to get 3x/1xDefault Configuration Settings Appendix B Product Specifications Manual CD-ROM discProduct Specifications Appendix C Dimensional Diagrams Dimensional Diagram of the MES1ADimensional Diagram of the MES1B Appendix D Serial Connections DTEMES1B Terminal Block Pin-out for RS-485 Two-Wire Operation RJ-45 Pin Signal Wire Color Appendix E Network ConnectionsNetwork Connections Declaration of Conformity