Liquiline CM44x Modbus Guideline V1.0
Hauser
2
© Copyright Dez. 2011
Table of contents
1.
Introduction ............................................................................................................................................. 4
1.1.
Scope ................................................................................................................................................... 4
1.2.
Purpose ................................................................................................................................................ 4
1.3.
Who should use this document? ........................................................................................................... 4
1.4.
Abbreviations and definitions ................................................................................................................ 4
1.5.
References ............................................................................................................................................ 4
2.
Device identification ................................................................................................................................ 5
2.1.
Operation mode ................................................................................................................................... 5
2.1.1.
ASCII ............................................................................................................................................ 5
2.1.2.
RTU .............................................................................................................................................. 5
2.2.
Register Addressing .............................................................................................................................. 6
3.
Function description ................................................................................................................................ 7
3.1.
Communication module 485 ................................................................................................................ 7
3.2.
Modbus function codes ........................................................................................................................ 7
3.2.1.
FC03 Read Holding Register .......................................................................................................... 8
3.2.2.
FC04 Read Input Register .............................................................................................................. 8
3.2.3.
FC08 Diagnostics (nur seriell) ........................................................................................................ 8
3.2.4.
FC16 Write Multiple Register ........................................................................................................ 9
3.2.5.
FC23 Read/Write Multiple Register ............................................................................................. 10
3.3.
Modbus Exception Codes ................................................................................................................... 10
3.4.
Performance ....................................................................................................................................... 11
3.4.1.
Power up .................................................................................................................................... 11
3.4.2.
Non-volatile memory ................................................................................................................... 11
3.4.3.
Reaction delay ............................................................................................................................. 11
3.4.4.
Modbus Response time ................................................................................................................ 11
4.
Installation & Wiring .............................................................................................................................. 13
5.
Commissioning ...................................................................................................................................... 14
5.1.
Local configuration of the device ........................................................................................................ 14
5.2.
Configuration of the Modbus RS485 interface ..................................................................................... 14
5.2.1.
Settings ....................................................................................................................................... 14
5.2.2.
Selecting Bus address and Identnumber ....................................................................................... 14
5.3.
Communication control („Watchdog“) ............................................................................................... 15
5.4.
Configuration of the process data for Modbus ..................................................................................... 15
5.4.1.
AI Analog values (Device
Modbus) .......................................................................................... 16
5.4.2.
DI Digital values (Device
Modbus) .......................................................................................... 16
5.4.1.
AO Analog values (Modbus
Device) ........................................................................................ 17
5.4.2.
DO Digital values (Modbus
Device) ........................................................................................ 17
5.4.3.
Overview of possible setpoint parameter ...................................................................................... 17
5.5.
Process values .................................................................................................................................... 18
5.5.1.
Units ...................................................................................................................................... 18
5.5.2. Status ..................................................................................................................................... 18
6.
Diagnostics ............................................................................................................................................ 19
6.1.
Status signal ....................................................................................................................................... 19
6.2.
Diagnostic messages ........................................................................................................................... 20
6.2.1.
Device related diagnostic ............................................................................................................. 20
6.3.
Communication related errors ............................................................................................................ 21
6.3.1.
Termination ................................................................................................................................ 21
6.3.2.
Error counter ............................................................................................................................... 21
7.
Tables .................................................................................................................................................... 22
7.1.
Data types .......................................................................................................................................... 22
7.1.1.
Float (IEE-754) ............................................................................................................................ 22
7.1.2.
Integer ........................................................................................................................................ 22
7.1.3.
String .......................................................................................................................................... 22
7.1.4.
Date ............................................................................................................................................ 22
7.1.5.
Other data types .......................................................................................................................... 23
7.2.
Unit codes and data sources ................................................................................................................ 23