Power Engineering 
K-JIANG
NameDescriptionContent
Current Location:

Eaton MTL838B-MBF Analogue Multiplexer Receiver

From:Eaton | author:Mr.Chen | Time :2026-03-30 | 39 view: | 🔊 Click to read aloud ❚❚ | Share:

Modbus message framing

Modbus messages must be structured (or 'framed') so that the different Modbus

components can detect the start, content structure and end point of a message. It also

allows any errors to be detected.

The framing used depends on the transmission mode chosen - ASCII  or RTU.

ASCII message framing

In ASCII mode, messages start with a 'colon' (:), which in hex is '3A'. The message

end is shown by 'carriage return/line feed' (CRLF) or 'OD OA' in hex .

The allowable characters for all other fields are hexadecimal 0-9. A-F. Networked

components monitor the bus continuously for the 'colon' character and when one is

received, they decode the next field (the address field) to find out if the address is for

that slave. If the address is for another slave, then no action is taken, and the slave

returns to monitoring for the 'colon' character. If  the field following the colon is the

address of the slave in question, then the slave continues to read the message and to

act on it's contents.

Intervals of up to one second can elapse between characters within the message, but

if an interval is greater than this, then the device assumes that an error has occurred.

If the delay occurs in the 'query' to a slave, then the addressed slave will discard the

message received up to that point and wait till the next message (marked by the colon

start character) is received.

RTU message framing

In RTU mode, the message begins with a gap in transmission of at least 3.5 character

periods. Network components monitor the bus continuously and when a 'silent' period

of more than 3.5 character periods is detected, the first character following the

transmission gap is translated to determine if it corresponds to the device's own

address.

The end of the transmitted message is marked by a further interval of at least 3.5

character periods duration. An new message can only begin after this interval.

The entire message field must be transmitted as a continuous stream. If an interval of

more than 1.5 character periods is detected during transmission of the message, then

the message is assumed to be incomplete and the device returns to waiting for the

next device address. The action taken on receipt  of an incomplete message is as for

receipt of an incorrect message, and it is ignored.

If a new message begins within 3.5 characters periods of the end of the previous

frame, the device again ignores the message.

The message fields

The address field

Slave addresses may be in the range 1 to 247 with Modbus (1 to 255 with JBUS). A

slave is addressed by the master placing the relevant address in the address field of

the query message. When the slave sends its response, it places its own address in

the message field to indicate to the master that the correct slave is replying.

Address '0' is used for 'broadcast' messages. All suitable slaves read them, but do not

provide responses to such query messages.

The function field

Function codes may be in the range 1 - 255. though not all functions will be supported

by all devices. When a message is sent from a master to a slave, the function code

defines the action that is required from the addressed slave. Examples of action

requested by the various function codes include: read input status; read register

content; change a status within the slave; etc..

When the slave sends its response to the master, it will repeat the function code

received, to indicate that the slave has understood the query and acted accordingly. If

the query instruction could not be carried out by the slave, an 'exception response' is

generated and the function code and data fields are used to inform the master of the

reason for the exception.

The exception response is generated by returning the original function code from the

master, but with its most significant bit set to '1'. Further information regarding the

exception response is passed to the master via the data field of the response

message. This tells the master what kind of error occurred and allows it to take the

most appropriate action - either to repeat the original message, to try and diagnose

what has happened to the slave, to set alarms or to take whatever action is most

appropriate.

The data field

The data field transmits a number of hexadecimal values, each in the range 00 to FF.

In ASCII transmission mode this is made up of a pair of characters, in RTU it is a

single character.

A significant aspect of the communication between the master and it's slaves, that is

not defined by Modbus, is the encoding of numerical data. Modbus allows the

manufacturers of devices to determine which data encoding techniques are available

to users of the device. The encoding of data is discussed on page 13.

The data field is used to provide the slave with any additional information needed to

perform the function requested in the query. This would typically be a register address,

a register range or a value. With some functions, the data field is not required and will

not be included in the query.

If no errors occur, the data field of the response is used by the slave to pass data back

to the master.

If an error occurs, the data field is used to pass more information to the master relating

to the nature of the fault detected.

Byte count data

The responses to a number of queries require the slave to inform the master of the

number of data bytes that are being returned in the response, and this requires a

special implementation within the data field.

A typical example of this would be when the master has requested the slave to

communicate the status of a range of registers. The slave responds by repeating the

function code and it's own address, followed by the data field. The first byte of the data

field identifies the number of bytes that are being returned that contain the register

status information.

As was mentioned earlier, ASCII mode requires two 8-bit bytes to communicate a

single register content, compared to RTU which only requires a single 8-bit byte. This

difference is ignored when the byte count field is calculated, and the number of bytes

indicated is identical to the number of bytes communicated in RTU mode, but is half

the actual number of bytes communicated in ASCII mode.

The error check field

The error checking technique employed on the Modbus network depends on the

transmission mode selected. With ASCII the technique used is based on an LRC

(Longitudinal Redundancy Check) and with RTU a CRC (Cyclical Redundancy Check).

In both cases, the characters transmitted in the error check field are calculated by the

transmitting device and included in the resulting transmission. The receiving device

calculates what the error check field should contain, on receipt of the message, and

compares it with the error check field in the received message. If these two values do

not match exactly, then the receiving device knows that it has not received the

message correctly, and disregards it.

In both modes, parity checking can be optionally selected.

A fuller explanation of the error checking techniques used by Modbus is given in

Appendix A.

Data Encoding and Scaling

As has been mentioned earlier, an important area of the communication along the

network, that is not defined by the Modbus protocol, is the encoding of numerical data.

A related problem is the adoption of a scaling system for the data once it has been

encoded. (Note: this is an area which requires careful consideration by users of the

MTL838B-MBF.)

There is no problem here for manufacturers who are supplying complete systems,

based on the Modbus network, as they can select a data encoding and scaling system

appropriate to their needs. However, for manufacturers who are supplying products for

general use, there is no possibility that they will be able to determine which data

encoding system will be used by their customers, and they must allow the data

encoding technique to be user selectable.

Three data encoding techniques are the most popular - IEEE, 16-bit unsigned and 16

bit offset.

A further area of difficulty associated with the encoding of data is the way in which the

data is scaled - to provide a resolution of the measured value appropriate to the

requirements of  each application.

Users attempting to configure and scale analogue units via the Modbus master and

network may find considerable difficulty with this issue. If specifically designed

software is available for configuration and scaling of Modbus devices, this may be the

simplest and most convenient method of scaling and encoding data. An example

of this is the PCS83 software, which is available from Eaton's MTL product line for

configuring the MTL838B-MBF. This makes encoding and scaling decisions

transparent to the user.

The difficulties of implementing an encoding and scaling regime for the MTL838B-MBF

via the Modbus host are discussed in depth on page 37. Users are strongly

recommended to read this section before selecting the configuration method to be

used with the MTL838B-MBF.

  • 4000094-310 | Triconex | External Output Cable Aassembly
  • TRICONEX AO3482 | Analog Output Safety Module
  • TRICONEX AT-2701FX 843-000844-00 REVD Ethernet Fiber Optic Network Interface Card
  • TRICONEX D28799-005 Power Interface Module
  • Triconex DI3361 Digital Input Module Brand
  • Triconex AI2361 7400210-020 Analog Input Card Module
  • Triconex AI3351 Analog Input Card Module
  • Triconex 4351A TCM Communication Module
  • TRICONEX RO3451 Digital Input Module Brand
  • TRICONEX 4000093-320 communication module
  • TRICONEX 2071H 7400313-100 Data Acquisition Module
  • TRICONEX T8800C PD8800 PCB130100 RISC Processor
  • TRICONEX 4000093-316 communication module
  • TRICONEX 4000094-313 communication module
  • TRICONEX 4000093-306 communication module
  • TRICONEX 4000103-513 communication module
  • TRICONEX 4000093-145 communication module
  • Triconex 4000066-025 9000011-000 I/O Communication Bus Cable
  • Triconex 4000056-025 I/O Communication Bus Cable
  • TRICONEX 4000093-110N Main Processor Module
  • Triconex 4352AN Tricon Communication Module
  • Triconex T8830 Control Module
  • Triconex 3008N Control Module
  • TRICONEX TCM 4355X Control Module
  • Triconex MP3009X/TCM 4355X Industrial Control Module
  • TRICONEX PLM 3900N Safety Redundant I/O Module
  • TRICONEX DI 3506X Digital Input Interface Board
  • TRICONEX IMSS 4701X I/O bus interface module
  • TRICONEX 7400212-100 Safety I/O Module
  • TRICONEX 2000418 Three-Channel Redundancy Module
  • TRICONEX 2000417 Three-Channel Redundancy Module
  • TRICONEX 3625C1 | Digital Output Module
  • TRICONEX TM11-5L-88 Industrial Control Module
  • TRICONEX 09031647921 | TMR Digital Output Module
  • TRICONEX JWA600-24 Digital Input Module
  • TRICONEX 9753-1 Redundant I/O Module
  • TRICONEX FTA-554 Process Control Module
  • TRICONEX 9853-610 Analog Output Module
  • 9662-1 TRICONEX terminal block
  • TRICONEX 2290614 Analog module
  • 3625A | Triconex | Digital 24VDC Output Module
  • T8850C | ICS Triplex Expander Interface Module
  • TRICONEX 8311N Power Module
  • TRICONEX 3708EN High-Precision Redundant Analog Input Module
  • TRICONEX 8609-396-7113755 Triple Modular Redundancy
  • TRICONEX 0905-148-6921 16-Channel Digital I/O Module
  • TRICONEX 0903-164-7921 16-Channel Digital I/O Module
  • TRICONEX 0923-141-6957 Triple Modular Redundancy
  • Triconex 8110 High Density Main Chassis
  • TRICONEX PM6301A analog output module
  • GE Converteam P111-6052 Advanced Micro Controller
  • AI6700 - Triconex Analog Input Module
  • TRICONEX ICM6211 Industrial Control Module
  • DI6503 TRICONEX Digital Input Module
  • TRICONEX 1600071-001 Terminal Board
  • 9662-910 | TRICONEX | Digital Input Terminal Panel
  • 9661-610 | TRICONEX | Digital Input Terminal Panel
  • Triconex 7400206-100 CM2201 Communication Module
  • Triconex 4000056-002 I/O Communication Bus Cable
  • TRICONEX 7400213-100 Digital signal Hardware execution unit
  • TRICONEX | HCU3700/3703E | Isolated Analog Input suppliers
  • Triconex 7400209-010 AO2481 Analog Output Module
  • TRICONEX 3005 Pulse Input Terminal Board
  • TRICONEX 3002 Pulse Input Terminal Board
  • QY68A - I-O Units (Mitsubishi Electric) - Mitsubishi Electric
  • QH42P | Mitsubishi Electric | I/O Combined Module
  • Mitsubishi Q Series Cc-Link Ie Qj71gp21s-Sx PLC Controller
  • Mitsubishi Electric QJ61BT11 Sequencer (MELSEC-Q) CC-Link system master local unit
  • Q68DAIN - Mitsubishi Analog Input Module
  • QJ71C24N-R2 | Mitsubishi Electric | Interface Module
  • Digital Input Module Mitsubishi RX10-TS
  • Mitsubishi PLC CPU Module Q Series Q13UDEHCPU
  • Mitsubishi Q12HCPU Series CPU Module
  • Mitsubishi Electric Q02HCPU Q Series High Speed Q CPU Module
  • Mitsubishi NP1S-22 POWER SUPPLY MODULE
  • Q61P-A1 Power Supply Systems by MITSUBISHI
  • Q63P Mitsubishi Electric | Mitsubishi Electric Q63 Series PLC Power Supply
  • Q64P Power Supply Systems by MITSUBISH
  • Q61P-A2 MITSUBISHI Power Supply PLC
  • Melsec-q Series Mitsubishi Q61P Power Supply PLC
  • Q38B - Mitsubishi Base Rack at Rs 12000
  • Q63B MITSUBISHI Extension base unit
  • MITSUBISHI MELSEC-Q Q35B BASE UNIT MODULE
  • Mitsubishi Melsec A Series PLC AY11A Relay Output Module Card Unit Programmable Logic Controller
  • Mitsubishi FX1S-20MT-D | David E. Spence, Inc., DBA PLC Products Group
  • Mitsubishi PLC Module FX1S-14MR-D/FX1S-14MT-D
  • Mitsubishi Melsec Fx1N-40Mt-001 Programmable Logic Controller Module Plc
  • Mitsubishi FX1N-24MR Programmable Controller
  • MITSUBISHI Electric Corporation QM100HY-H Transistor Module
  • MITSUBISHI Electric Corporation QM100DY-H Transistor Module
  • Mitsubishi BN624A96IG52A Intelligent Function Module
  • Mitsubishi BN624A960H03B Intelligent Function Module
  • MITSUBISHI ELECTRIC 60DAH4 High-speed Analog output Modules
  • MITSUBISHI ELECTRIC 60ADH4 High-speed Analog input Modules
  • MITSUBISHI ELECTRIC RY41PT2H High-speed Digital I/O Modules
  • MITSUBISHI ELECTRIC RY41NT2H High-speed Digital I/O Modules
  • MITSUBISHI ELECTRIC RX61C6HS High-speed Digital I/O Modules
  • MITSUBISHI ELECTRIC RX41C6HS High-speed Digital I/O Modules
  • MITSUBISHI ELECTRIC RX40NC6H High-speed Digital I/O Modules
  • MITSUBISHI ELECTRIC RX40PC6H High-speed Digital I/O Modules
  • Eaton MTL 8711-CA-NS | Analog Signal Isolator
  • MTL 8715-CA-BI Bus Interface Module (BIM)
  • Eaton MTL 831B IS Analogue Multiplexer Transmitter
  • Eaton MTL 8724-CA-PS – Intrinsically Safe Barrier
  • Eaton MTL 8502-BI-DP PROFIBUS DP Interface Module
  • Eaton MTL838B-MBF Analogue Multiplexer Receiver
  • Eaton MTL MTL5053 Safety Barrier
  • Eaton MTL 8939-HN | Fiber Optic Extender Module Supplier
  • Eaton MTL 8937-HN Fiber Optic Extender Module
  • Eaton MTL4073 Temperature Converter, Safety Barrier Module
  • Eaton MTL MTL5541 - Repeater Power Supply
  • MTL MTL2213 3-Channel Switch/Proximity Detector Relay
  • MVME2604 Motorola VME64 Processor Module
  • MOTOROLA 01-W3960B/61C MOTOROLA 01-W3960B/61C
  • Motorola 01-W3914B Control Module
  • MVME162-513A Motorola Embedded Controller
  • Motorola MPC2004 Application Expansion Module
  • Motorola MVME162PA-344E Embedded Controller
  • Motorola RSG2PMC-RSG2PMCF-NK2 communication module
  • MOTOROLA 0188679 0190530 MVME Control Module
  • MOTOROLA DB1-1 DB1-Falcon Control Module
  • MOTOROLA L0115012 L0115032 Industrial Control Module
  • MOTOROLA 188987-008R 188987-008R001 analog module
  • Motorola AET-3047 Embedded Controller Module
  • DEIF DU-2MKIII Generator Protection and Parallel Unit Display Module
  • DEIF 1000315910 LSU-112DG Load Sharing Unit
  • Parker 6K2-Nk Compumotor 2-Axis Servo
  • Parker 6K4 Power Controller by COMPUMOTOR