Instruments USM II family of transmitters, which presently includes MAG 6000 and MASS 6000. The Modbus RTU module is effectively a gateway through which a Modbus RTU master device can have controlled access to a number of Siemens Flow Instruments USM II signal converter parameters.
Modbus RTU RS-485 Technical data 2.1 General Modbus RTU The module complies with the Modbus serial line protocol [Reference 1]. Among other things this implies a master-slave protocol at level 2 of the OSI model. One node (the master) issues explicit commands to one of the „slave“-nodes and processes responses. Slave nodes will not transmit data without a request from the master node, and do not communicate with other slaves.
Modbus RTU RS-485 Installation Installation The installation procedure for an add-on module to a Siemens Flow Instruments USM II transmitter is as follows: 3.1 Add-on module 1. Unpack the add-on module and 19” rack mounted versions IP 67 compact versions insert it in the bottom of the signal converter as shown.
Modbus RTU RS-485 Installation General electrical On the electrical termination boards for USM II transmitters, additional input/output terminals have information been reserved for add-on module functions. The numbering range of these terminals is as follows, but how many are actually used depends on the type of add-on module. Please refer to the relevant handbook for other electrical connection information.
Modbus RTU RS-485 Commissioning Before communicating with the master, baudrate, node ID and update rate must be selected. This Commissioning can be done from the display. Please look in to the transmitter manual to locate the Modbus RTU menu. 4.1 Effect of changing Changing baudrate or framing has effect on the communication as follows: Modbus communica- •...
Modbus RTU RS-485 Commissioning 4.2 Modbus RTU display menu To change (or view) the Modbus RTU settings from the keypad display. Press [Top key] for two seconds. (Note: For “View” mode only, skip steps 2 & 3). Type in password (1000) by pressing [Change key] two times, and then press [Lock key] and hold for two seconds...
Modbus RTU RS-485 Modbus addressing model Modbus addressing The module allows R/W access to the following standard Modbus data register blocks: model • Coils (ref. 0x address range) • Holding registers (ref. 4x address range) I.e. the module will not support the other standard data register blocks: •...
Page 12
Modbus RTU RS-485 Modbus addressing model Function code 16 (Write multiple registers) General exceptions: • Writing less than 1 or more than 120 registers => Exception 3 (Illegal data value) • If ByteCount is not exactly 2 times NoOfRegisters => Exception 3 (Illegal data value) •...
Modbus RTU RS-485 Modbus holding registers Modbus holding In the following the holding registers for the USM II Modbus RTU module are described. registers Figure: Holding registers memory map Comm. settings Info/status 2000 Application settings 3300 10000 Min. values 20000 Max.
Modbus coils Modbus RTU RS-485 Modbus coils In the following the coils for the USM II Modbus RTU module are described. Figure: Control/status Memory map for coils 655535 7.1 Communication Modbus Modbus Data Read/ Description settings register address type write Restart Modbus communication: 0:00001 Coil...
Modbus RTU RS-485 APPENDIX A & B APPENDIX A SITRANS F M MAGFLO Volume flow: /sec. SI-units used in USM II Totalisers: products SITRANS F C MASSFLO Mass flow: kg/sec. Volume flow: /sec.
Modbus RTU RS-485 APPENDIX C APPENDIX C 01 (0x01) Read coil status Query Response Modbus communication Slave address 1 byte Slave address 1 byte examples Function 1 byte Function 1 byte Byte Count 1 byte Starting Address Hi 1 byte Starting Address Lo 1 byte Data Coil...
Page 29
Modbus RTU RS-485 APPENDIX C 05 (0x05) Force single coil Query Response Slave address 1 byte Slave address 1 byte Function 1 byte Function 1 byte Coil Address Hi 1 byte Coil Address Hi 1 byte Coil Address Lo 1 byte Coil Address Lo 1 byte Force Data Hi...
APPENDIX D Modbus RTU RS-485 APPENDIX D The Cyclical Redundancy Checking (CRC) field is two bytes, containing a 16-bit binary value. The CRC value is first generated by the transmitting device, which appends the CRC to the CRC calculation message. The device that receives recalculates a CRC during receipt of the message, and compares the calculated value to the actual value it received in the CRC field.
Modbus RTU RS-485 APPENDIX E & F APPENDIX E The Modbus module uses the following Modbus exception codes, when responding to a master module: Exception codes Exception code (Dec) Exception name Illegal function Illegal data address Illegal data value Slave device failure Device busy If an exception code 04 is received, further requests have to be done to narrow down the exact problem.
Modbus RTU RS-485 APPENDIX H APPENDIX H Stuffing of multi-byte numbers into multiple Modbus RTU registers differs among Modbus devises. Float Definition „Big Endian“ and „Little Endian“ describe the order or sequence in which multi-byte data is stored in memory. This device uses (as IEEE and Honeywell) a ‘Big-Endian’ representation for addresses and data items.