© 2018- Rotronic AG Modbus CRP5V1.0_03
Table of contents
1Modbus protocol ............................................................................................................................... 3
1.1 Structure of the Modbus protocol....................................................................................................... 3
1.1.1 Modbus RTU / TCP................................................................................................................... 3
1.2 Modbus Data Format......................................................................................................................... 4
1.2.1 16-bit Integer Value................................................................................................................... 4
1.2.2 32-bit Float corresponding to IEEE 754 .................................................................................... 4
1.2.3 32-bit Integer Value................................................................................................................... 4
1.2.4 Selectable Swap Modes for Rotronic Devices........................................................................... 5
2CRP5 Modbus Fields and Mapping.................................................................................................. 6
2.1 CRP5 Modbus Fields......................................................................................................................... 6
2.2 Device Specific Coils ......................................................................................................................... 6
2.2.1 Relays 1 to 6............................................................................................................................. 6
2.2.2 Valves A to D ............................................................................................................................ 7
2.2.3 Maintenance/Calibration ........................................................................................................... 7
2.2.4 Sensor Actions.......................................................................................................................... 9
2.2.5 Device Actions .........................................................................................................................10
2.2.6 Example: Read Single Coil.......................................................................................................11
2.2.7 Example: Write Single Coil.......................................................................................................12
2.2.8 Example: Write Multiple Coils...................................................................................................12
2.2.9 Example: Reset Device............................................................................................................13
2.3 Device Specific Discrete Inputs (read only) ......................................................................................14
2.3.1 Digital Inputs 1 and 2 ...............................................................................................................14
2.3.2 Example: Read Discrete Inputs................................................................................................14
2.4 Device Specific Input Registers (read only)......................................................................................15
2.4.1 Device Data..............................................................................................................................15
2.4.2 Current Values: Float Values ...................................................................................................16
2.4.3 Current Values: Integer Values................................................................................................17
2.4.4 FDA Data .................................................................................................................................18
2.4.5 Example: Read Input Register .................................................................................................19
2.5 Data only for internal use.............................................................Fehler! Textmarke nicht definiert.
2.5.1 Internal Data (for Rotronic-internal use only).......................Fehler! Textmarke nicht definiert.
2.5.2 DAC Data Settings (for Rotronic-internal use only).............Fehler! Textmarke nicht definiert.
2.6 Device Specific Holding Registers....................................................................................................19
2.6.1 Value Type...............................................................................................................................19
2.6.2 Value Unit.................................................................................................................................21
2.6.3 Integer Value Scaling...............................................................................................................22
2.6.4 Reference Value Settings ........................................................................................................22
2.6.5 Device Settings........................................................................................................................22
2.6.6 Device Descriptions .................................................................................................................24
2.6.7 Fix Value Settings....................................................................................................................26
2.6.8 Analog Output Settings ............................................................................................................27
2.6.9 Display Settings .......................................................................................................................29
2.6.10 Alarm Settings .....................................................................................................................30
2.6.11 Relay Settings......................................................................................................................32
2.6.12 Analog Input Settings...........................................................................................................34
2.6.13 Ethernet Settings.................................................................................................................36
2.6.14 Example: Read Holding Register.........................................................................................37
2.6.15 Example: Write Holding Register.........................................................................................38
3Document Releases ........................................................................................................................ 39