B&B Electronics MES1A, MES1B manual Disable Modbus/TCP Pipeline, Character Timeout, Message Timeout

Page 41

Configuring the MES1A/B

0B (hex) - Target Device Failed to Respond

If the slave did not answer, or the answer contained a CRC error

If a TCP socket is open, but no response is received within the defined message timeout period

If a TCP socket is open, but the remote Modbus TCP slave/server returned exception 0B (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 MES1A/B will buffer them in a “pipeline”. The MES1A/B 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.

Setting this field to 1 = No configures the MES1A/B to allow pipeline operation. This is considered the safest default setting. It is recommended that you choose this option unless you are experiencing problems.

Setting this field to 2 = Yes configures the MES1A/B 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.

If you set this field to 0, the MES1A/B will automatically calculate a minimum timeout based on the baud rate being used.

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.

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.com

B&B Electronics Ltd – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph +353 91-792444 – Fax +353 91-792445www.bb-europe.com

31

Image 41
Contents Models MES1A, MES1B Modbus TCP Modbus Ascii / RTU ConvertersManual 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 Support About Your MES1A/B Converter IntroductionAbout this Manual Features Indicators, Switches and Connectors Package ChecklistPower LED Hardware OverviewActivity LED Reset SwitchLink LED Ethernet Port Connector RS-422/485 Switch MES1B onlyDB-9M Serial Port Connector MES1A only RS-422/485 Connector MES1B onlyRS-485 Two-Wire Mode RS-422/485 Four-Wire ModePower Connector Connecting the HardwareMES1A Connections MES1B Connections Hardware Overview QuickStart Getting StartedDiscover the MES1A/B on the Network System Requirements Using the Device Installer SoftwareInstalling the Device Installer Discovering Devices Starting the Device InstallerGetting Device Details Device Installer Main WindowPress Enter to go into Setup Mode Connecting to the MES1A/BTelnet Configuration Tab with Settings Getting Started Telnet Configuration Tab Configuring the MES1A/BUnit ID to IP Address Table Navigating the Configuration MenuReconfiguring to Factory Settings Saving Configuration SettingsTo Reconfigure the MES1A to Factory Settings To Reconfigure the MES1B, to Factory SettingsIP Address Network/IP SettingsStatic IP Address Default GatewayAuto-IP Netmask Serial and Mode SettingsTelnet Configuration Password Serial Protocol ProtocolAttached Device MES1B Serial Interface Serial InterfaceMES1A Serial Interface Serial Parameters Modem/Configurable Pin SettingsAdvanced Modbus Protocol Settings Menu Advanced Modbus Protocol Settings…255 Slave Address / Unit ID SourceFor Auto Use MB/TCP 00BH/00AH Exception Responses Allow Modbus Broadcasts= No = YesMessage Timeout Disable Modbus/TCP PipelineCharacter Timeout Serial TX Delay after RX Unit ID to IP Address Lookup Table SettingsSwap 4x/0H to Get 3x/1x Close Idle TCP Sockets AfterModbus Address From/To Redundant Entry Retries AfterAdd, Delete, Exit Select Function Slave IP Address Creating a New Device List Using Other Device Installer FeaturesManaging Device Lists Saving Device Lists Display Devices Using IconsOpening Device Lists Device List Display OptionsDisplay the Device Name Adding a Device ManuallyDisplay the Hardware MAC Address Using Device Installer to Assign an IP Address Assigning an IP Address using Device InstallerUsing the Devices Details Tab Adding Info to the Device Details Tab Upgrading FirmwareSaving Setup Records Installing Pre-Saved Configuration FilesSave Setup Records Dialog Box Installing Setup RecordsLogging Search and Upgrade Data Options Window, Customization Tab Using Help Using PingUsing Other Device Installer Features Modbus ASCII/RTU Modbus BasicsModbus/TCP Hints and Tips Modbus Basics Swap 4x/0H to get 3x/1x Appendix a Default Configuration SettingsDefault Configuration Settings Manual CD-ROM disc Appendix B Product SpecificationsProduct Specifications Dimensional Diagram of the MES1A Appendix C Dimensional DiagramsDimensional Diagram of the MES1B DTE Appendix D Serial ConnectionsMES1B Terminal Block Pin-out for RS-485 Two-Wire Operation Appendix E Network Connections RJ-45 Pin Signal Wire ColorNetwork Connections Declaration of Conformity