Power Engineering 
K-JIANG
NameDescriptionContent
Current Location:

Eaton MTL838B-MBF Analogue Multiplexer Receiver

From:Eaton | author:Mr.Chen | Time :2026-03-30 | 334 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.

  • Basler Electric BE1-67 / BE167 DIRECTIONAL OVERCURRENT RELAY
  • Basler Electric BE1-25/79TR Reclosing Relay BE1 25 79TR
  • Basler Electric Contact Expansion Module CEM-2020
  • Basler Electric MVC-300 MANUAL VOLTAGE CONTROL UNIT 9121000106
  • Basler Electric KR2FF Voltage Regulator 9 1163 00 109
  • Basler Electric BE1-81O/UT3EE1YA9S0F / BE181OUT3EE1YA9S0F
  • Basler Electric BE1-87G-G1E-A1K-A0N0F / BE187GG1EA1KA0N0F
  • Basler Electric BE1-47NE3EA1PA0N2F / BE147NE3EA1PA0N2F
  • Basler Electric BE1-81-T1E-E1C-B0N1F / BE181T1EE1CB0N1F
  • Basler Electric BE1-25 SYNC-CHECK RELAY M1E A7P A5N3F
  • Basler Electric BE1-40Q Solid State Protective Relay/ Loss Of Excitation Relay
  • Basler Electric OVERCURRENT RELAY, BE1-50/51M-104
  • Basler Electric MVC 232 MANUAL VOLTAGE CONTROL 9037000103
  • Basler Electric SSE-N 250-9 KW Shunt Static Exciter-Regulator
  • Basler Electric, Solid State Protective Relay, BE1-60
  • Basler Electric SR4A-2B15B3A Static Voltage Regulator 120vac Includes U6250MKG1L
  • Basler Electric BE1-50BF Breaker Failure Relay
  • Basler Electric BE1A1HF1JD1S2F / BE1A1HF1JD1S2F
  • Basler Electric BE1-81O/UT3EE1JA7N2F / BE181OUT3EE1JA7N2F
  • Basler Electric EXCITER DIODE MONITOR EDM-200
  • Basler Electric DECS125-15-B2C5 DIGITAL EXCITATION CONTROL SYSTEM
  • Basler Electric OVER CURRENT RELAY 9252000107
  • Eaton Sag Ride-Through power conditioner
  • Eaton Sag Ride-Through power conditioner
  • Eaton Power-Sure 800
  • Eaton Power-Sure 700
  • Eaton Power-Suppress 600
  • Eaton T100H-2500-5HC PWR SUPPRESS T100 HW 2.5KVA, 50 HZ, 55DEG C MAX
  • Eaton T100H-1800 PWR SUPPRESS T100 HW 1.8KVA
  • Eaton 9468-ET IS Ethernet Isolator
  • Eaton 9466-ETA IS Ethernet Managed Switch
  • Eaton 9466-ET IS Ethernet Managed Switch
  • Eaton 9465-ETA-S-SC IS Media Converter Single-mode
  • Eaton 9465-ET-M-ST IS Media Converter Multimode
  • Eaton 9465-ET-S-SC IS Media Converter Single-mode
  • Eaton 9465-ET-M-SC IS Media Converter Multimode
  • Eaton 9461-ET IS Serial to Ethernet Gateway
  • Beckwith Electric M-0067E Tapchanger Control
  • Beckwith Electric M-2001D Digital Tapchanger Control
  • Beckwith Electric M-2001C Digital Tapchanger Control
  • Beckwith Electric B-1500 Battery Backup Power
  • Beckwith Electric B-2083 SmartBank Three Phase Junction Box
  • Beckwith Electric M-2017 Capacitor Bank Discharge Tool
  • Beckwith Electric M-2980A Weatherproof Capacitor Control Cabinet
  • Beckwith Electric M-6283A Three Phase Digital Capacitor Bank Control
  • Beckwith Electric M-6280A Digital Capacitor Bank Control
  • Beckwith Electric M-4272 Digital Motor Bus Transfer System
  • Beckwith Electric M-3420 Generator Protection Relay
  • Beckwith Electric M‑0193B Syncrocloser® Unit
  • Beckwith Electric M-3520 Intertie Protection Relay
  • Basler Electric BE1-25 Sync-check Protective Relay
  • Basler Electric RDP-110 REMOTE DISPLAY PANEL
  • Basler Electric SSR 125-12 VOLTAGE REGULATOR 9185900102 WITH MODULE 9261500101
  • Basler Electric BE1-851 OVERCURRENT PROTECTION RELAY MECHANISM G3A1S1N
  • Basler Electric 149D930G02 / 149D930G02
  • Basler Electric BE1-81O/UT3EE1LB7S1F / BE181OUT3EE1LB7S1F Digital Frequency Relay
  • Basler Electric BE1-51/27CA1EZ10A0N0F / BE15127CA1EZ10A0N0F Time Overcurrent Relay
  • Basler Electric 149D956G02 / 149D956G02
  • Basler Electric BE1-51A / BE151A Overcurrent Relay
  • Basler Electric BE1-40Q-F3E-E10-A0N0F / BE140QF3EE10A0N0F
  • Basler Electric RDP-110-S1 Generator Annuciator
  • Basler Electric DECS-300 DIGITAL EXCITATION CONTROL SYSTEM
  • Basler Electric - DECS-200-1C - Digital Excitation Control System
  • Basler Electric DECS125-15 Digital Excitation Control System with Power Module
  • Basler Electric BE1-87G Variable Percentage Differential Relay
  • Basler Electric BE1-11 Protection System I5A3M2P2N0EA00
  • Basler Electric / Kohler BE1-11g Generator Protection Relay G5A3M2J2N0E000
  • Basler Electric BE1-81O/UT3ED1JA7N2F / BE181OUT3ED1JA7N2F
  • Basler Electric BE1-81O/UT3EE1YB7N1F / BE181OUT3EE1YB7N1F
  • Basler Electric DECS-200 -1L DIGITAL EXCITATION CONTROL SYSTEM
  • Basler Electric DECS 125-15-B2C1 V.2.0.9 DIGITAL EXCITATION CONTROL SYSTEM
  • Basler Electric 9507900205 SSR Retrofit Static Voltage Regulator
  • Basler Electric BE2000E Digital Volatge Regulator
  • BASLER DECS-250-CN1CN1N DIGITAL EXCITATION CONTROL SYSTEM
  • Basler Electric DGC-2020 Digital Genset Generator Controller Panel Enclosure
  • Basler Electric BE1-81O/UT3ED1LA7N0F / BE181OUT3ED1LA7N0F
  • Basler Electric BE1-81O/UT3EE1YA9S0F / BE181OUT3EE1YA9S0F
  • Basler Electric BE1-81O/UT3EE1YA6N1F / BE181OUT3EE1YA6N1F
  • Basler Electric DECS125-15 DIGITAL EXCITATION CONTROL SYSTEM
  • Basler Electric BE1-951 OverCurrent Protect System
  • Basler Electric BE1-700V Digital Protective Relay N3N2X1N
  • APR63-5 Basler Electric Automatic Voltage Regulator
  • Basler BE1-851 overcurrent relay
  • Basler Electric BE1-87T Transformer Differential Relay Module
  • Basler Electric DECS-200-1L Digital Excitation Control System
  • Basler Electric 9310300100 DECS-300 Digital Excitation Control System
  • Basler Electric SSE-N 125-4.5KW SHUNT EXCITER REGULATOR
  • Basler Electric DGC-2020HD-5NS1DNSBA Digital Genset Controller
  • Basler Electric BE1-81-O/UT3EE1JB7N1F / BE181OUT3EE1JB7N1F
  • Basler Electric BE1-81T1EE1WA0N1F / BE181T1EE1WA0N1F
  • Basler Electric BE1-25M1EA6PN5R1F / BE125M1EA6PN5R1F
  • Basler Electric BE1-GPS Generator Protection System
  • Basler Electric DECS-250-LN1SN1N DIGITAL EXCITATION CONTROL SYSTEM
  • Basler Electric DECS-250 - CN2CN 1N Digital Excitation Control System Unit
  • Basler Electric Relay BE1-50/51B-207 Overcurrent Relay
  • Basler Electric DECS-300-C0N0 DIGITAL EXCITATION CONTROL SYSTEM
  • DECS-200-1C Digital Excitation Control System
  • Basler Electric DECS-200N-C1 Negative Forcing Digital Excitation Control System
  • Basler Electric DECS-200 Digital Excitation Control System
  • Basler Electric DECS-250 DIGITAL EXCITATION CONTROL SYSTEM DECS-250-LN1CN1N
  • Basler Electric DECS-250 LN2SA1D Digital Excitation Control System Unit
  • Basler Electric BE1-87T-A1E-A1J-D0S1F / BE187TA1EA1JD0S1F
  • Basler Electric BE1-11-G6D1M0J2P0E000 / BE111G6D1M0J2P0E000
  • Basler Electric BE1-GPS100-E4N1H1N / BE1GPS100E4N1H1N
  • Eaton Omnex T300-000272 T300 Series Remote Controller
  • EATON ELPRO 450U-E Wireless Ethernet Modem Model: 450U-E-L-440-W
  • Eaton JD3225 Series C complete molded case circuit breaker
  • Eaton HMP-HM64 Crouse-Hinds series MTL HART backplane
  • EATON VICKERS EEA-PAM-523-A-32 02-326001 POWER AMPLIFIER
  • Eaton HTP-SC16M / MTL Hart Multiplexor Connection Unit
  • Eaton XV-152-D6-10TVR-10 150609 Touch Panel
  • Eaton S801+ soft starter S801+N66N3S-MA
  • Eaton Series C complete molded case circuit breaker EHD3015L
  • Eaton V200M4CJC NEMA starter, Space SVG reversing starter
  • EATON CORPORATION CAN-16DI/P / CAN16DIP
  • Eaton Soft Starter S801+N66N3S
  • Eaton Soft Starter S801+N66N3S
  • Eaton XV-303-70-B00-A00-1B Base HMI XV300 Single Ethernet
  • EATON XV-303-70-B00-A00S07 / XV-303-70-B00-A00S07
  • EATON CUTLER-HAMMER MP-3010 SAFETY RELAY 66D2205G01 MP-3000
  • EATON CUTLER HAMMER 92-02123-00 7600C OPERATOR INTERFACE PANELMATE BLIND NODE EP
  • EATON CORPORATION HMCP150T4CBP10 CIRCUIT BREAKER
  • Eaton 142531 XV-102-D6-57TVR-10 Touch Panel
  • EATON ELECTRIC CAN-16DO/0.5A-PK 140254 CanOpen digital output 0.5A
  • EATON XV-102-B5-35TQR-10-PLC 140021 XV102B535TQR10PLC
  • EATON MP-3000 66D2032GX1 NSNP
  • Eaton HFD3150 3P 150A 600VAC Circuit Breaker
  • Eaton Cutler-Hammer HFD3030 6639C86G87 3 Pole 30A 600V Circuit Breaker