Power Engineering 
K-JIANG
NameDescriptionContent
Current Location:

Eaton MTL838B-MBF Analogue Multiplexer Receiver

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

  • SCHNEIDER M522220000 SA SM_DO16R 16 DIGITAL OUTPUTS MODULE
  • LENZ EPL10200-W EPZ-10203 CANPT010W3E Power-supply Module
  • Kollmorgen AKM43G-ANCNAB00 + Danaher S3060 1-NA Servostar 346 Amplifier + Cable
  • Kollmorgen AKM43G-ANCNAB00 + Danaher S3060 1-NA Servostar 346 Amplifier + Cable
  • Kollmorgen CR06550 Servostar CD Servo Drive
  • Kollmorgen KC1-M00606-NBCN-0070-GE HW REV-B SERVO DRIVE
  • Kollmorgen / CP320260 / SERVO STAR SP, Servo Drive
  • Servo Motor Kollmorgen DBL5N01050-03S-VV0-S40 MB=10.5NM 3000RPM
  • Kollmorgen S70301-NANANA-024 SERVO DRIVE + SERVOMOTOR + CABLES / 3PH 208/480V 2K
  • Kollmorgen S20360-VTS S200 Series Servo Drive
  • Kollmorgen RBE-03011-A00 Brushless Frameless Servo Motor
  • KOLLMORGEN AKD-T00306-NBAN-0000 INPUT SERVO DRIVE
  • Kollmorgen S700 Servo Controller S70302-NANANA Servo Drive 3A HW 02.10 Software 5.67
  • Kollmorgen AKD-P00607-NBEC-0000 400/480VAC 4.40KVA Servo Drive
  • KOLLMORGEN / S70102-NANANA / SERVO DRIVE
  • Kollmorgen / 18442-51B / Handheld Manual Control Device MCD8 HS / 18442
  • KOLLMORGEN AKM21E-ANSNEH02 PM SERVOMOTOR& PRD-AMPE25EB-00
  • KollMorgen SC1R06260 Servo Drive 1.4/2.2 KVA
  • Kollmorgen B-204-A-99-056 Goldline Brushless PM Servo Motor
  • Kollmorgen AKD-P00306-NBAN-0000 Servo Drive 1.2 KVA 120/240V
  • Kollmorgen TTB2-2042-3052-A DC Motor Industrial Drive 5.5A
  • KOLLMORGEN SERVOSTAR 610-AS SERVO AMPLIFIER_SERVOSTAR610AS_S61001
  • Kollmorgen Giddings & Lewis M.1300.7372 Input Module 24V DC 16pt M13007372
  • Kollmorgen Servotronix PRD-0016400I-10 + PRD-0016700B-00 EXCELLENT CONDITION
  • Kollmorgen Seidel 01S-M200/13.5-1QP0 Card
  • KOLLMORGEN Seidel 60WKS-CE240/26PB 26A Servo Drive Module Control 60WKS-M240/26
  • KOLLMORGEN / PRD-0016400P-10, PRD-0016600D-30 / TURBO RMM RES, POWER RMM
  • KOLLMORGEN Seidel DBL5N01700-03S-000-S40 Servo Motor
  • Kollmorgen BDS5A-106-0101003011A2-030 servo drive
  • Kollmorgen Servo Drive BJRL-20004-110001
  • KOLLMORGEN SERVOSTAR 606 S60600 Servo Drive
  • KOLLMORGEN DANAHER SERVOSTAR 603 S60300 3X 230-480V 2kVA
  • Kollmorgen Servotronix TRMM 15A / 45A PRD-0036100H-11 PRD-00016700C-00
  • Kollmorgen AKM42H-BKMN2-00 Servo Motor
  • KOLLMORGEN S20330-VTS Servo Drive
  • Kollmorgen MMC-SD-2.0-230 Servo Drive 100-240VAC 2KW 10A Output 3PH 100-240VAC
  • Kollmorgen Giddings & Lewis M.1300.6042 Output Module M13006042 R1
  • Kollmorgen Servo drive CR10550
  • Kollmorgen S406BA-CA Servostar
  • Kollmorgen AKD-P01207-NACN-0054 Servo Driver
  • Kollmorgen S406M-CA-036 Servostar
  • KOLLMORGEN AKD-B02407-NAAN-0000 SERVO DRIVE
  • Kollmorgen SEIDEL 01S-M200/13,5-1QP0
  • Kollmorgen S406AM-CA Servostar 446M-C
  • KOLLMORGEN SERVOSTAR 603-AS SERVO AMPLIFIER_SERVOSTAR603AS_S60301
  • Kollmorgen S700 Servo Controller S70602-NANANA-NA Hw 02.10 Sw 5.04 Drive
  • Kollmorgen MPK411 controller
  • Kollmorgen MMC-SD-1.3-460-D Smart Drive
  • KOLLMORGEN AKM21C-CKB2AA-00 / AKM21CCKB2AA00 Servomotor BRAND
  • Beckhoff Programmable Controller CEDIO 16/16-0.5
  • Mitsubishi Electric MR-J4-700A4 AC motion servo drive
  • MITSUBISHI MR-J4W3-444B Digital AC-Servo Amplifier
  • MITSUBISHI ELECTRIC MR-J5-G SERIES
  • Mitsubishi R60ADH3FR PLC Module
  • Mitsubishi Fx5u Series Plc FX5U-32MR/ES IQ-F SERIES
  • Mitsubishi F1-20ER-ES Programmable Controller Extension Unit
  • OLIVER-252RP SAKURAI 52X36 + MITSUBISHI MELSEC PM-120M + F1-20-MR PLC
  • Mitsubishi AY51-UL Mitsubishi (Melsec-A Output Module)
  • Mitsubishi AY51 MELSEC Programmable Controller
  • MITSUBISHI AX71 INPUT MODULE, 116461
  • MITSUBISHI 80173-109-01 PLC MODULE GU-G08
  • Mitsubishi Q12PHCPU Q-Series Process CPU, PLC unit-I/O points 4096
  • MITSUBISHI A171SCPU PLC SERVO CPU
  • Mitsubishi Programmable Controller BD626A250G55, A2NCPU, 132660
  • Mitsubishi NF800-SEW 3P breaker 400-800A adjustable
  • Mitsubishi Circuit breaker NF630-SEW 4P 300-630A adjustable
  • Mitsubishi LE-40MTA-E for Tension Controller Fast delivery
  • Mitsubishi MELSEC Positioning Module QD70D4
  • Mitsubishi R16CPU Module
  • GT1685M-STBA GT1685MSTBA MITSUBISHI HMI GOT1000
  • Mitsubishi A6BR10 PLC Inverter Module
  • B&R X20cBB80 X20 Base module
  • B&R X20cBC00E3 Bus controller
  • 3BSE006503R1 PFSA 140, Roll Supply Unit
  • ABB PFSC230 cable set 25m for DTU
  • SAACKE F-GDSA 143303 Controller SHIPS UPS
  • GE ENERGY HYDRAN H201Ci-1 One-Channel Controller
  • B&R X20cBC0087 Bus controller
  • B&R X20cBC0083 Bus controller
  • B&R X20cBC0043-10 Bus controller
  • B&R X20cBM32 X20 bus module, coated, for double-width modules
  • B&R X20cBM31 X20 bus module, coated, for double-width modules
  • B&R X20cBM12 X20 bus module, coated, 240 VAC keyed
  • B&R X20cBM11 Bus module, 24 VDC keyed
  • B&R X20cBM01 Power supply bus module
  • B&R X20EM1613 compact yet powerful controller
  • Prosoft PS-QS-1211-F Universal QuickServer Gateway
  • Prosoft PS-QS-1011-F Universal QuickServer Gateway
  • Prosoft PS-QS-2110-F Universal QuickServer Gateway
  • Prosoft PS-QS-2210-F Universal QuickServer Gateway
  • Prosoft PS-QS-2010-F Universal QuickServer Gateway
  • Prosoft PS-QS-3210-F Universal QuickServer Gateway
  • Prosoft PS-QS-3110-F Universal QuickServer Gateway
  • Prosoft PS-QS-3010-F Universal QuickServer Gateway
  • Mitsubishi AJ71C21-A MELSEC PLC Programmable Controller
  • Mitsubishi Q80BD-J71BR11 PLC Interface Board PCB Card
  • MITSUBISHI QJ71GP21S-SX COMMUNICATION NETWORKING PLC MODULE
  • A2ACPU21 MITSUBISHI PLC A2ACPU21
  • A3ACPU MITSUBISHI MELSEC
  • Eaton / Cutler-Hammer: AE16KNS0AB BiMatallic Man/Auto Reset
  • EATON MOELLER MFD-CP8-ME Power Supply
  • EATON 9PX1500IRTM 9PX marine UPS
  • Eaton EASY819-AC-RC easy programmable relay
  • Eaton, Touchscreen, XV-102-B4-35TQRF-10-PLC, 3,5 Inch
  • EATON 101073735-001 LEG MODULE BOARD, PENT w/ 100A
  • Eaton Cutler Hammer OEM Contact Kit 6-26-2 3 Pole
  • EATON CORPORATION E84BAN / E84BAN Series
  • Eaton, Touchscreen, XV-102-B6-35MQR-10-PLC, 3,5 Inch
  • Eaton Easy touch display XV-102-A0-35TQRB-1E4
  • EATON PXQ-ST2-1A1 Quality Analysis System Kit, 700/1200 VAC
  • EATON PXQ-ST1-1A1 Quality Analysis System Kit, 700/1200 VAC
  • TMEIC KPAD-3122A A3XAP02 LCD Display With Key Pad
  • Nidec Drives S100-02463 General Purpose Micro AC Drive
  • Nidec Drives S100-02463 General Purpose Micro AC Drive
  • Nidec Drives S100-01D13 General Purpose Micro AC Drive
  • Nidec Drives S100-01D73 General Purpose Micro AC Drive
  • ABB 3BUS208720-001 POWER SIGNAL INTERCONNECT
  • METSO A413345 Industrial Control Module
  • METSO A413177 Industrial Control Module
  • METSO A413222 Address Module Count Verification
  • METSO D100532 Control Module
  • METSO ADC5483-D200136L Power Supply Module
  • METSO A413313 Industrial Control Module
  • METSO A413310 Industrial Control Module
  • METSO A413659 Industrial Control Module
  • METSO D100314 Industrial Reliability Enhancement Component
  • METSO A413665 Industrial Control Module
  • METSO A413325 IPU Power Unit Module