Advertisement

Quick Links

Liquistation CSF22
®
Modbus
Guideline
Valid from:
Software version 1.04.00
Document: E+H Liquistation CSF22 Modbus Guideline, Revision 2
Initial release 15-Dec-2011
Current release 31-May-2013
SD01212C/07/EN/01.13
71224018
Author:
Endress+Hauser
Gesellschaft für Mess- und Regeltechnik mbH+Co. KG
Dieselstr. 24
70839 Gerlingen
Deutschland
® MODBUS ist a registered Trademark of Modbus Organization, Inc.
© Copyright Dez. 2011

Advertisement

Table of Contents
loading

Summary of Contents for Endress+Hauser Modbus Liquistation CSF22

  • Page 1 Document: E+H Liquistation CSF22 Modbus Guideline, Revision 2 Initial release 15-Dec-2011 Current release 31-May-2013 SD01212C/07/EN/01.13 71224018 Author: Endress+Hauser Gesellschaft für Mess- und Regeltechnik mbH+Co. KG Dieselstr. 24 70839 Gerlingen Deutschland ® MODBUS ist a registered Trademark of Modbus Organization, Inc.
  • Page 2: Table Of Contents

    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 Endress+Hauser © Copyright Dez. 2011...
  • Page 3 7.3.2. Configuration (Holding Register: FC 03, 16, 23) ................26 7.3.3. Process values (Input Register: FC 04) ..................26 7.3.4. Diagnose (Input Register: FC 04) ....................28 7.3.5. Identification (Input Register: FC 04) ................... 29 Endress+Hauser © Copyright Dez. 2011...
  • Page 4: Introduction

    1.1. Scope The Endress+Hauser liquid sampler CSF22 complies with the Modbus protocol. This document specifies all the device specific features and documents Modbus protocol implementation details. The functionality of this field device is described sufficiently to allow the proper application in a process and the complete support in Modbus capable host applications.
  • Page 5: Device Identification

    ® Liquistation CSF22 MODBUS -Guideline 2. Device identification Manufacturer name: Endress+Hauser Model name: Liquistation CSFxx Device revision: Physical layers supported: RS485 Physical device category: Transmitter, DC isolated bus device The nameplate is located on the right side of the housing and indicates the model name, order codes, serial number and software version.
  • Page 6: Register Addressing

    Modbus telegrams. Hint: In some Modbus application notes the register addresses are counted starting with 1. In this cases in the Modbus telegram is transferred the address -1. Endress+Hauser © Copyright Dez. 2011...
  • Page 7: Function Description

    Modbus transaction. Up to MULTIPLE REGISTERS 118 successional registers can be read and written. The write operation is executed before the read Hint: • Broadcast messages are possible only with function codes 06, 16 and 23. Endress+Hauser © Copyright Dez. 2011...
  • Page 8: Fc03 Read Holding Register

    Sending not supported sub-function codes cause an ILLEGAL DATA VALUE response. Function code 1 Byte 0x06 Sub-function 2 Bytes Data N x 2 Bytes Response Function code 1 Byte 1 Byte Sub-function 2 Bytes Data N x 2 Bytes Endress+Hauser © Copyright Dez. 2011...
  • Page 9: Fc16 Write Multiple Register

    0x10 Starting Address 2 Bytes 0x0000 to 0xFFFF Quantity of Registers 2 Bytes 0x0001 to 0x007B Byte Count 1 Byte (2 * Quantity of registers) Bytes Register Value (2 * Quantity of registers) Bytes value Endress+Hauser © Copyright Dez. 2011...
  • Page 10: Fc23 Read/Write Multiple Register

    Prüfsumme. Als Kennzeichnung, dass es sich um eine Fehlermeldung handelt, wird das Führungsbit des zurückgesendeten Funktionscodes gesetzt. Die Fehlerursache wird über den Fehlercode (Exception Code) an den Master übertragen. Exception Code Info ILLEGAL_FUNCTION Der vom Master gesendete Funktionscode wird vom Messgerät (Slave) nicht unterstützt. ILLEGAL_DATA_ADDRESS Endress+Hauser © Copyright Dez. 2011...
  • Page 11: Performance

    The device is limited to handle one Modbus transaction each 300 ms. Any first Modbus request is replied without delay. The reply to a follow-up request is delayed for 300 ms after the last reply. Endress+Hauser © Copyright Dez. 2011...
  • Page 12 If more than one Modbus client is present the performance of the Modbus network can be optimized by requesting information from different Modbus clients in an orderly schedule. The following diagram shows an example for a schedule consisting of one Modbus client and 4 Modbus servers. Endress+Hauser © Copyright Dez. 2011...
  • Page 13: Installation & Wiring

    Modbus M12 socket and pin assignment: P5V, 5 V power supply for external terminating resistor A (GN), signal RxD/TxD-N P0V, reference potential for P5V B (RD), signal RxD/TxD-P n.c., not connected Shield * = Thread Endress+Hauser © Copyright Dez. 2011...
  • Page 14: Commissioning

    Path: Menu/Setup/General settings/Extended setup /Modbus/Settings: 5.2.2. Selecting Bus address and Identnumber Liquistation CSF22 supports two options to set the Modbus Address: 1. by Menu Software-Addressing 2. by Modbus Software-Addressing Step 1 Step 2 Step 3 Step 4 Endress+Hauser © Copyright Dez. 2011...
  • Page 15: Communication Control („Watchdog")

    Digital Input digital value from the device Read limit switch Analog Output Analog value into the device Flow measured by external MID Digital Output digital value into the device Start sampling Endress+Hauser © Copyright Dez. 2011...
  • Page 16: Ai Analog Values (Device  Modbus)

    5.4.2. DI Digital values (Device  Modbus) Path: Menu/Setup/Outputs/Modbus/DI 1 (Digital Input) Function Option Description Data source Select data source Which data sources are in the list depends of the device • configuration. any of the list Default setting • none Endress+Hauser © Copyright Dez. 2011...
  • Page 17: Ao Analog Values (Modbus  Device)

    Modbus AO x Menu/Setup/Additional functions/Cleaning/Cleaning X/Start signal Modbus DO x Menu/Setup/General Settings/Hold Settings/External Hold Modbus DO x Menu/Setup/Logbooks/Data logbooks/Data source Modbus AO x / DO x Menu/Display/User definable screens/Data source Modbus AO x / DO x Endress+Hauser © Copyright Dez. 2011...
  • Page 18: Process Values

    HEX DEZ Quality Description Good The value is usable. Uncertain The value is possibly not accurate. The value is not usable. Not assigend To the Modbus variable is no measurement value assigned. Endress+Hauser © Copyright Dez. 2011...
  • Page 19: Diagnostics

    Status signal M (Maintenance required) Status signal S (Out of specification) The diagnostic category F, C, S, M can be edited for every diagnostic message. Path for device related diagnostic messages: Menu/Setup/General Settings/Extended Settings/Diagnostic settings/Diagnostic behavior Endress+Hauser © Copyright Dez. 2011...
  • Page 20: Diagnostic Messages

    Last fallen diagnostic message (the reason for the message is not given any more, therefor the diagnostic message is withdrawn) Parameter Input Datentyp Info Register DEVICE_LAST_DIAG_MODUL UNSIGNED8 See above DEVICE_LAST_DIAG_PORT UNSIGNED8 DEVICE_LAST_DIAG_NE107_STATUS UNSIGNED8 DEVICE_LAST_DIAG_CODE UNSIGNED16 DEVICE_LAST_DIAG_TIMESTAMP UNSIGNED32 Endress+Hauser © Copyright Dez. 2011...
  • Page 21: Communication Related Errors

    6.3.2. Error counter The device supervises the communication and has error counters. They are shown at the display or can be read via Modbus. Path: Menu/Expert/Diagnostics/System information/Modbus The counter can be read via Modbus (Cap 7.3.4). Endress+Hauser © Copyright Dez. 2011...
  • Page 22: Tables

    Liquiline CM44x Modbus Guideline V1.0 7. Tables 7.1. Data types The Modbus specification does not specify data types. The following data types are commonly used and also supported by other Endress+Hauser devices. 7.1.1. Float (IEE-754) Byte 3 Byte 2 Byte 1...
  • Page 23: Other Data Types

    MODBUS_AI_2_STATUS UNSIGNED8 read only None STATUS:  5.5.2 MODBUS_AI_2_UNIT UNSIGNED8 read only None UNIT: 7.2 MODBUS_AI_3_VALUE FLOAT read only None MODBUS_AI_3_STATUS UNSIGNED8 read only None MODBUS_AI_3_UNIT UNSIGNED8 read only None MODBUS_AI_4_VALUE FLOAT read only None Endress+Hauser © Copyright Dez. 2011...
  • Page 24 VALUE: 0 = off, 1 = on MODBUS_DI_1_STATUS UNSIGNED8 read only None MODBUS_DI_2_VALUE UNSIGNED8 read only None STATUS:  5.5.2 MODBUS_DI_2_STATUS UNSIGNED8 read only None MODBUS_DI_3_VALUE UNSIGNED8 read only None MODBUS_DI_3_STATUS UNSIGNED8 read only None MODBUS_DI_4_VALUE UNSIGNED8 read only None Endress+Hauser © Copyright Dez. 2011...
  • Page 25 MODBUS_AO_02_STATUS UNSIGNED8 read/write None MODBUS_AO_02_UNIT UNSIGNED8 read/write None MODBUS_AO_03_VALUE FLOAT read/write None MODBUS_AO_03_STATUS UNSIGNED8 read/write None MODBUS_AO_03_UNIT UNSIGNED8 read/write None MODBUS_AO_04_VALUE FLOAT read/write None MODBUS_AO_04_STATUS UNSIGNED8 read/write None MODBUS_AO_04_UNIT UNSIGNED8 read/write None Endress+Hauser © Copyright Dez. 2011...
  • Page 26: Configuration (Holding Register: Fc 03, 16, 23)

    MODBUS_AI_3_STATUS UNSIGNED8 read only None MODBUS_AI_3_UNIT UNSIGNED8 read only None MODBUS_AI_4_VALUE FLOAT read only None MODBUS_AI_4_STATUS UNSIGNED8 read only None MODBUS_AI_4_UNIT UNSIGNED8 read only None MODBUS_AI_5_VALUE FLOAT read only None MODBUS_AI_5_STATUS UNSIGNED8 read only None Endress+Hauser © Copyright Dez. 2011...
  • Page 27 MODBUS_DI_3_VALUE UNSIGNED8 read only None MODBUS_DI_3_STATUS UNSIGNED8 read only None MODBUS_DI_4_VALUE UNSIGNED8 read only None MODBUS_DI_4_STATUS UNSIGNED8 read only None MODBUS_DI_5_VALUE UNSIGNED8 read only None MODBUS_DI_5_STATUS UNSIGNED8 read only None MODBUS_DI_6_VALUE UNSIGNED8 read only None Endress+Hauser © Copyright Dez. 2011...
  • Page 28: Diagnose (Input Register: Fc 04)

    Serial number of the FMSY1_MODUL_SER_NUM OCTETSTRING32 read only None sampling module Name of the running RUNNING_PROGRAM_NAME OCTETSTRING16 read only None sampling program Name of the active PROGRAM_NAME OCTETSTRING16 read only None sampling program Endress+Hauser © Copyright Dez. 2011...
  • Page 29: Identification (Input Register: Fc 04)

    None 1..247 Device tag for Identification of the device. The tag is shown in the status line at the display. 9001 DEVICE_TAG OCTETSTRING32 read only None The tag can changed via Holding register 1151 Endress+Hauser © Copyright Dez. 2011...
  • Page 30 Liquiline CM44x Modbus Guideline V1.0 www.addresses.endress.com Endress+Hauser © Copyright Dez. 2011...

Table of Contents