background image

® MODBUS ist a registered Trademark of Modbus Organization, Inc. 

© Copyright Dez. 2011 

 

 

 

 

 

 

 

 

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: 

 

Hauser 

Gesellschaft für Mess- und Regeltechnik mbH+Co. KG 

Dieselstr. 24 

70839 Gerlingen 

Deutschland 

Содержание Modbus Liquistation CSF22

Страница 1: ...us 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 ...

Страница 2: ...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 ...

Страница 3: ... Dez 2011 3 7 3 Parameter 23 7 3 1 Process values Holding Register FC 03 16 23 23 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 ...

Страница 4: ...apable host application developers system integrators and knowledgeable end users It also provides functional specifications e g commands enumerations and performance requirements used during field device development maintenance and testing This document assumes the reader to be familiar with Modbus protocol requirements and terminology 1 4 Abbreviations and definitions n A Not applicable NaN Not ...

Страница 5: ...s RS485 RTU 2 1 1 ASCII The data are transmitted as ASCII characters They are readable for human Start Address Function Data LRC End 1 character 2 characters 2 characters N characters 2 characters 2 characters CRLF Field length Info Client Server Address 2 Byte Identification of target device Set by client Copied from request to response LRC 2 Bytes Modbus specification Set by client Set by server...

Страница 6: ...y be read from the device Holding Register 16 Bit Word Read write 4XXXX These data can be read from the device and changed by the application The register address is transferred as 16 bit word where the first register is addressed with the value 0 In this document the register addresses are given the same way as they are used in the Modbus telegrams Hint In some Modbus application notes the regist...

Страница 7: ...register can be read 1 register 2 bytes with one telegram Usage This function code is used to read register with read access 08 DIAGNOSTICS This function code is used to check the communication between Master and Slave The following sub function codes are supported Sub function 00 Return Query Data Loopback test Sub function 02 Return Diagnostics Register 16 WRITE MULTIPLE REGISTERS This function ...

Страница 8: ...eral input registers Up to 125 successional registers can be read Request Function code 1 Byte 0x04 Starting Address 2 Bytes 0x0000 to 0xFFFF Quantity of Registers 2 Bytes 1 to 125 0x7D Response Function code 1 Byte 0x04 Byte count 1 Bytes 2 Quantity of registers Input register value 2 Quantity of registers Bytes 2 to 250 Error Error code 1 Byte 0x84 Exception code 1 Bytes 01 or 02 or 03 or 04 3 2...

Страница 9: ...rviert 0 3 Reserviert 0 4 Reserviert 0 5 Reserviert 0 6 Reserviert 0 7 Reserviert 0 8 General device error is present description category see bits 12 15 9 11 Reserviert 0 12 Status signal F Failure 13 Status signal C Function check 14 Status signal M Maintenance required 15 Status signal S Out of specification Hint The definition of the status signal is according NAMUR NE107 Further information i...

Страница 10: ... to follow in the read data field Request Function code 1 Byte 0x17 Read starting address 2 Bytes 0x0000 to 0xFFFF Quantity to read 2 Bytes 0x0001 to 0x007D Write starting address 2 Bytes 0x0000 to 0xFFFF Quantity to write 2 Bytes 0x0001 to 0x0079 Write byte count 1 Byte 2 x Quantity to write Write register value 2 x Quantity to write Response Function code 1 Byte 1 Byte Sub function 2 Bytes Data ...

Страница 11: ...operation view appears on the display the Liquistation is ready to communicate via Modbus no matter if there are errors present or not 3 4 2 Non volatile memory The device s configuration parameters are saved into a flash memory It takes approximately 5 seconds after the execution of the write command that the data will be saved Data consistency is always ensured 3 4 3 Reaction delay The reaction ...

Страница 12: ...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 ...

Страница 13: ...fer to this product documentation BA473C Liquistation CSF22 Operating instructions Commissioning Modbus M12 socket and pin assignment 1 P5V 5 V power supply for external terminating resistor 2 A GN signal RxD TxD N 3 P0V reference potential for P5V 4 B RD signal RxD TxD P 5 n c not connected Shield Thread ...

Страница 14: ...ommissioning BA476C Liquistation CSF22 Operating instructions Operation settings 5 2 Configuration of the Modbus RS485 interface 5 2 1 Settings Settings Default settings selection Bus address 247 1 247 Transmission mode RTU RTU ASCII Baud rate bps 19200 1200 2400 4800 9600 19200 38400 57600 115200 Parity even 1 Stopbit even 1 Stopbit Uneven 1 Stopbit non 2 Stopbits Path Menu Setup General settings...

Страница 15: ...S969 will be set The time out can be set to values between 0 deactivated to 999 seconds Path Menu Setup General settings Extended setup Modbus Settings 5 4 Configuration of the process data for Modbus Via Modbus communication the device can send several device variables or receive Modbus variables The device variables may be analog or digital values from the device or send to the device The commis...

Страница 16: ...guring the device variable 0 Analog Input AI1 to the analog current input of the CSF22 Step 1 Step 2 Step 3 Step 4 Step 5 Step 6 Step 7 Step Description Example 1 Select the device variable Press AI 1 Analog Input 2 Select the source of data Press Source of data 3 Press e g Temperature S 1 4 Select the measured value of this source of data Press Measured value 5 Press e g Temperature 6 Verify the ...

Страница 17: ...alue of this Source of data Press Measured value 5 Press Modbus AO 01 6 Verify the assignment Check assignment of Controlled variable 5 4 2 DO Digital values Modbus Device Digital values transferred via Modbus to the device can be used as trigger for an action in the device For example a sampling cycle can be triggered with a DO device variable The configuration is similar to the use of the AO Ana...

Страница 18: ...Modbus DO x 5 5 Process values The process values start at register 40001 Holding Register 0 or 30001 Input Register 0 With the input register you can access read only process values A write request is only possible to Holding Register Each process value is transmitted with unit and status The status indicates the reliability of the process value 5 5 1 Units To each process value is a unit assigne...

Страница 19: ...rout or shorter live time of the material The reason is in the process environment of the measurement point M Maintenance required Measurement functionality is given and all values are reliable A maintenance work is required to avoid failure or break down The current status can be read with the Modbus diagnose function code 08 or directly as parameter Parameter Register Bit MB_FC08_DIAGNOSE 500 0 ...

Страница 20: ...CURRENT_DIAG_NE107_STATUS 506 UNSIGNED8 Bit 0 Failure F Bit 1 Function Check F Bit 2 Maintenance required M Bit 3 Out of specification S Bit 4 7 reserviert 0 DEVICE_CURRENT_DIAG_CODE 507 UNSIGNED16 Diagnostic code 0 999 DEVICE_CURRENT_DIAG_TIMESTAMP 508 UNSIGNED32 Timestamp seconds since 1 1 1970 DEVICE_NUMBER_ADDITIONAL_DIAG 510 UNSIGNED8 Number of further active diagnostic messages with lower pr...

Страница 21: ...e terminated at the ends with fieldbus resistors The integrated termination resistors of the CSF22 are switched off 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 ...

Страница 22: ...EEEEEE EMMMMMMM MMMMMMMM MMMMMMMM S sign E exponent M mantissa 7 1 2 Integer Byte 1 Byte 0 Most significant byte MSB Least significant LSB 7 1 3 String Byte N Byte N 1 Byte 1 Byte 0 Most significant byte MSB Least significant LSB Example Register Hex char 40001 0x4C69 L i 40002 0x7175 q u 40003 0x696C i l 40004 0x696E i n 40005 0x6500 e 0 7 1 4 Date Dates are encoded similar to EN61804 2 Byte 0 1 ...

Страница 23: ...automatically to the corresponding Modbus unit and transferred with the converted related process value 7 3 Parameter 7 3 1 Process values Holding Register FC 03 16 23 Register Name Parameter Data Type Bytes Access Unit Description 0 MODBUS_AI_1_VALUE FLOAT 4 read only None Up to 16 process values can be configured to modbus device variables The values are transferred with status and unit VALUE Fl...

Страница 24: ...OAT 4 read only None 42 MODBUS_AI_11_STATUS UNSIGNED8 1 read only None 43 MODBUS_AI_11_UNIT UNSIGNED8 1 read only None 44 MODBUS_AI_12_VALUE FLOAT 4 read only None 46 MODBUS_AI_12_STATUS UNSIGNED8 1 read only None 47 MODBUS_AI_12_UNIT UNSIGNED8 1 read only None 48 MODBUS_AI_13_VALUE FLOAT 4 read only None 50 MODBUS_AI_13_STATUS UNSIGNED8 1 read only None 51 MODBUS_AI_13_UNIT UNSIGNED8 1 read only ...

Страница 25: ...257 MODBUS_DO_04_STATUS UNSIGNED8 1 read write None 258 MODBUS_DO_05_VALUE UNSIGNED8 1 read write None 259 MODBUS_DO_05_STATUS UNSIGNED8 1 read write None 260 MODBUS_DO_06_VALUE UNSIGNED8 1 read write None 261 MODBUS_DO_06_STATUS UNSIGNED8 1 read write None 262 MODBUS_DO_07_VALUE UNSIGNED8 1 read write None 263 MODBUS_DO_07_STATUS UNSIGNED8 1 read write None 264 MODBUS_DO_08_VALUE UNSIGNED8 1 read...

Страница 26: ...RS485_ENABLE UNSIGNED8 1 read write None 0 RS485 interface is enabled 1 RS485 interface is disabled 1151 DEVICE_TAG OCTETSTRING32 32 read write None Device tag for Identification of the device The tag is shown in the status line at the display 7 3 3 Process values Input Register FC 04 Register Name Parameter Data Type Bytes Access Unit Description 0 MODBUS_AI_1_VALUE FLOAT 4 read only None Up to 1...

Страница 27: ...D8 1 read only None 47 MODBUS_AI_12_UNIT UNSIGNED8 1 read only None 48 MODBUS_AI_13_VALUE FLOAT 4 read only None 50 MODBUS_AI_13_STATUS UNSIGNED8 1 read only None 51 MODBUS_AI_13_UNIT UNSIGNED8 1 read only None 52 MODBUS_AI_14_VALUE FLOAT 4 read only None 54 MODBUS_AI_14_STATUS UNSIGNED8 1 read only None 55 MODBUS_AI_14_UNIT UNSIGNED8 1 read only None 56 MODBUS_AI_15_VALUE FLOAT 4 read only None 5...

Страница 28: ...ly None 518 MODBUS_VALID_FRAMES UNSIGNED32 4 read only None 520 MODBUS_INVALID_FRAMES UNSIGNED32 4 read only None 522 MODBUS_FRAMING_ERRORS UNSIGNED32 4 read only None 524 MODBUS_CRC_ERRORS UNSIGNED32 4 read only None 526 MODBUS_PARITY_ERRORS UNSIGNED32 4 read only None 528 MODBUS_01_EXCEPTIONS UNSIGNED32 4 read only None 530 MODBUS_02_EXCEPTIONS UNSIGNED32 4 read only None 532 MODBUS_03_EXCEPTION...

Страница 29: ... of next sampling seconds since 1 1 1970 938 FLOW_NEXT_SAMPLING FLOAT 4 read only CubicMeter For flow proportional sampling Volume when for next sampling 940 SAMPLING_MODE UNSIGNED8 1 read only None 941 RS485_TERMINATION_STATE UNSIGNED8 1 read only None Internal bus termination 0 aus 1 an 7 3 5 Identification Input Register FC 04 Register Name Parameter Data Type Bytes Access Unit Description 9000...

Страница 30: ...Liquiline CM44x Modbus Guideline V1 0 Endress Hauser 30 Copyright Dez 2011 www addresses endress com ...

Отзывы: