B&B Electronics MES1A, MES1B manual Attached Device, Serial Protocol

Page 35

Configuring the MES1A/B

the Serial Interface type and communications parameters

Figure 17. Serial & 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 MES1A/B device, and the type of Modbus protocol (ASCII or RTU) that will be used.

Attached 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.At the 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

26.To accept changes, press Enter

Note: When Master mode is selected a fifth item (Unit ID -> IP Address Table is added to the Configuration Menu.

Serial Protocol

Modbus devices communicate in either of two Serial Protocols: ASCII or RTU. Modbus/ASCII protocol is slower and uses two ASCII characters to represent each 8 bit data byte. Modbus/RTU uses 8 bit binary data characters.

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

25

Image 35
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 Hardware Overview Package ChecklistIndicators, Switches and Connectors Power LEDActivity LED Reset SwitchLink LED RS-422/485 Connector MES1B only RS-422/485 Switch MES1B onlyEthernet Port Connector DB-9M Serial Port Connector MES1A 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 MenuTo Reconfigure the MES1B, to Factory Settings Saving Configuration SettingsReconfiguring to Factory Settings To Reconfigure the MES1A 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 = Yes Allow Modbus BroadcastsUse MB/TCP 00BH/00AH Exception Responses = NoMessage Timeout Disable Modbus/TCP PipelineCharacter Timeout Close Idle TCP Sockets After Unit ID to IP Address Lookup Table SettingsSerial TX Delay after RX Swap 4x/0H to Get 3x/1xModbus 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 Device List Display Options Display Devices Using IconsSaving Device Lists Opening Device ListsDisplay 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