B&B Electronics MESR9xx manual Modbus Help, Modbus ASCII/RTU Basics

Page 42

8. Modbus Help

Vlinx MESR9xx Modbus Gateway

8. Modbus Help

Modbus ASCII/RTU Basics

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 mode 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 (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 all 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.

Page 38

Manual Documentation Number MESR9xx-4508m

 

www.bb-elec.com/

 

www.bb-europe.com/

Image 42
Contents Vlinx MESR9xx Modbus Gateways Vlinx MESR9xx Table of Contents Upgrading the Modbus Gateway Firmware Introduction About MESR9xx Modbus GatewaysMESR9xx Modbus Gateway Model Numbering Model Number Features List of MESR9xx Modbus Gateway ModelsMESR9xx Modbus Gateway Features MESR901-SCVlinx Manager Configuration Software Package Checklist MESR9xx Modbus Gateway HardwareMESR9xx Modbus Gateway Enclosures and Mounting Ready LED LED IndicatorsE1/E2 Ethernet Link LED Serial Port LEDsMode Switch Ethernet ConnectorFiberoptic Connectors Serial Port ConnectorsPower Connector Mounting HardwareHardware Vlinx MESR9xx Modbus Gateway Modbus Gateway Setup and Connections Connecting the Power SupplyConnecting MESR9xx Modbus Gateways to Modbus networks Connecting the MESR9x1-x Connecting the MESR9x2T-x Connecting the MESR9x2D-xNetwork Connection 10BaseT/100BaseTX Connecting MESR9xx Modbus Gateways to a NetworkMESR9xx Modbus Gateway Configuration Connections Fiberoptic ConnectionTo open Vlinx Manager Vlinx Manager Login Screen Using MESR9xx Modbus Gateways in Direct IP Mode MESR9xx Modbus Gateway Operational ConnectionsInitiating a Hardware Reset on the Modbus Gateway Direct IP ConnectionReloading Factory Defaults Description, Modbus Gateway Properties Character TimeoutConfiguration Files AttachedDefault Gateway Data/Parity/StopID Routing Firmware VersionHardware Version IP AddressModbus Priority Link StatusMAC Address Modbus Serial RetriesModbus Message Buffering Modbus Message TimeoutModbus Ascii Modbus RTU MessageModel Network ModeModbus TCP Message Network ProtocolsPassword Port# ID RemapSerial Interface Modes Modbus Gateway Name Gateway Serial Port NumberSubnet Mask TCP Transmission Control Protocol Firmware Upgrade Dialog Box Upgrading the Modbus Gateway FirmwareDownloading Firmware Files Uploading the Firmware to the Modbus GatewayWhen the upgrade process is complete, click Close Diagnostics Testing a Modbus Gateway ConnectionDiagnostics Vlinx MESR9xx Modbus Gateway From Serial Master to Modbus Gateway, Slave IDs Configurable Application ExamplesFrom Serial Masters To Ethernet Master, Slave IDs Fixed Keep Serial Master, Add Ethernet MastersModbus RTU, ASCII, and TCP Integration Time Critical Control, Direct and Remotely MonitoredModbus Help Modbus ASCII/RTU BasicsHints and Tips Appendices Password Password field is blank from factory Appendix a Default Gateway SettingsSetting Default Value Gateway Name EnabledAppendix B Product Specifications General Specifications Indicators Controls, Indicators and Connector SpecificationsSwitches ConnectorsSerial Interface Specifications Network Specifications Appendix C Dimensional Diagrams Appendices Vlinx MESR9xx Modbus Gateway Appendices Vlinx MESR9xx Modbus Gateway Appendices Vlinx MESR9xx Modbus Gateway Appendix D Connector Pinouts MESR901-x Serial Port PinoutsDB-9M Pin Terminal MESR902D-x Serial Port Pinouts MESR902T-x Serial Port Pinouts Standard Ethernet Cable RJ-45 Pin-out RJ-45 PinGlossary Term DefinitionPDU

MESR9xx specifications

B&B Electronics MESR9xx is a series of cutting-edge communication solutions designed to enhance connectivity in various industrial applications. These devices are particularly well-suited for remote monitoring and control of equipment, making them invaluable in sectors such as manufacturing, utilities, and smart infrastructures.

One of the standout features of the MESR9xx series is its robust wireless communication capabilities. They support multiple cellular standards, including 4G LTE, ensuring reliable and fast data transmission even in challenging environments. This versatility allows users to maintain seamless connectivity across wide geographic areas, effectively covering remote locations where traditional networking solutions may fall short.

In addition to cellular connectivity, the MESR9xx devices offer support for various protocols and interfaces, including Ethernet, serial, and digital I/O. This flexibility allows for easy integration with existing systems and devices, thus facilitating smooth communication across different platforms. The devices are also equipped with advanced security features, ensuring that data integrity and privacy are protected during transmission.

The MESR9xx series is designed for ease of use and rapid deployment. With built-in diagnostic tools, users can quickly identify and troubleshoot connectivity issues, significantly minimizing downtime in critical applications. The user-friendly web interface allows for straightforward configuration and monitoring, empowering users to manage their devices efficiently.

Another key characteristic of the MESR9xx series is its rugged design. Built to withstand harsh industrial environments, these devices feature an IP67-rated enclosure, making them dust-tight and resistant to water immersion. This level of durability guarantees that the MESR9xx can operate reliably in demanding conditions, such as extreme temperatures, humidity, and vibration.

Power options for the MESR9xx are flexible, with support for both AC and DC inputs, enhancing its versatility in different installation scenarios. Additionally, the devices are designed to optimize power consumption, which is especially critical for remote installations powered by renewable energy sources or battery systems.

Overall, B&B Electronics MESR9xx embodies a perfect blend of advanced technology, robust design, and user-centric features. Its ability to provide reliable, secure, and flexible communication solutions makes it an ideal choice for businesses looking to enhance their operational efficiency in an increasingly connected world. The MESR9xx stands out as a reliable tool for ensuring seamless data flow in various industrial applications, paving the way for smarter, more efficient operations.