background image

 

3-2. Modbus Protocol 

 

3-2. Modbus Protocol 

 
Modbus communication is based on master/slave method, that can communicate with some slaves. Master 
sends a message to slaves, and slaves send back a response. 
 
  Message frame of Modbus-RTU mode   

Address

 

Function

 

Data

Error Check

 

8bit(0 –128)

 

8bit

 

N*8bit(Depends on the function)

16bit(CRC-16)

 
 Address 
  Setting address of slaves 
 
 Function 
  Setting function code you want to carry out 
 
  Error check (CRC-16) 

CRC -16 is binary of 16 bits, and sending side calculates and adds the calculated value to the message. 
Receiving side must confirm that the error check value is same as the calculated value. If it is not same, 
the received message becomes error. 

 

 

 CRC-16 Calculation Method 

It performs XOR of the register initialized by FFFF(Hex) and the byte data of the message. 

The result value is shifted 1 bit to the direction of the last figure.(Shift 1 bit to right) 

In case that the last figure is 1, performs XOR of register and A001(Hex). 

This is repeated 8 times(for 8bit) 

The value of this register becomes the CRC level when this calculation is performed for the byte data of the 
message. 

 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Summary of Contents for RM-5000 Series

Page 1: ...T1E 0740 Indicator Alarm Unit RM 5000 Series RS 485 Modbus RTU Manual for Communication Function...

Page 2: ...sure to read manuals of the equipment related to the network system Limitation of Liability We do not take the responsibility for the result which is caused by the program of the equipment which commu...

Page 3: ...000 Modbus Register Map 4 2 2 Operation List of Status Data Address40001 6 3 Communication Specification 7 3 1 RM 5000 series 7 3 2 Modbus Protocol 8 4 Appendix 9 4 1 Address Setting Method 9 4 2 Wire...

Page 4: ...owing Modbus function is available 0x03 Read Holding Register Exceptional response In the following cases RM 5000 responds exceptional response of Modbus 1 In a case that unavailable function is selec...

Page 5: ...valent 4000 40003 Gas Concentration Data 2 3 Signed integer Significant figures of gas concentration which is made to integer Actual Gas concentration is calculated by multiplying this integer by bit...

Page 6: ...1 of address 40028 40027 L side Digit Signed integer L side digit in double W range Significant figures of L side digit which is made to integer Actual L side digit is calculated by multiplying this i...

Page 7: ...oncentration becomes an integer which maintains the number of significant digits Examples If the gas concentration is 20 9 in full scale 25 0 209 If the gas concentration is 0 2 in full scale 50 0 2 I...

Page 8: ...Duplex Synchronization method Asynchronous Connection form N Maximum connectable number 127 ea against 1 x master unit Protocol Modbus RTU Available Function 03 Read Holdind Register Transmission spee...

Page 9: ...16 bits and sending side calculates and adds the calculated value to the message Receiving side must confirm that the error check value is same as the calculated value If it is not same the received...

Page 10: ...ey Display 1 1 ZERO Select display 1 8 M MODE by pressing key and press SET key Display M MODE Press and hold SET key again Display 2 0 GAS TEST Select display 2 6 SETTING2 by pressing key and press S...

Page 11: ......

Page 12: ......

Page 13: ......

Page 14: ......

Reviews: