KROHNE UFC 400 Operating Manual

Supplementary instructions
Supplementary instructions
UFC 400
UFC 400
UFC 400UFC 400
Supplementary instructionsSupplementary instructions
Signal converter for ultrasonic flowmeters
Description of PROFIBUS interface
Description of PROFIBUS interface
Description of PROFIBUS interfaceDescription of PROFIBUS interface
PROFIBUS PA:
PROFIBUS PA:
PROFIBUS PA:PROFIBUS PA: PROFIBUS device with MBP Physical Interface and PA Profile 3.02 (V2.2.3_ / 140430) PROFIBUS DP:
PROFIBUS DP:
PROFIBUS DP:PROFIBUS DP: PROFIBUS device with RS485 Physical Interface and PA Profile 3.02 (V2.2.3_ / 140430)
The documentation is only complete when used in combination with the relevant documentation for the flow sensor.
© KROHNE 05/2014 - 4003118502 - AD UFC 400 PROFIBUS R02 en
CONTENTS
UFC 400
1 Safety instructions 4
1.1 Scope of the document..................................................................................................... 4
1.2 Scope of delivery............................................................................................................... 4
1.3 Special notes .................................................................................................................... 4
2 PROFIBUS DP 5
2.1 Software history ............................................................................................................... 5
2.2 System configuration of PROFIBUS DP network............................................................. 5
2.3 Electrical connection for DP signal converter................................................................. 6
2.4 Technical data................................................................................................................... 8
2.5 PROFIBUS PA Profile implementation ............................................................................ 9
2.6 GSD files ........................................................................................................................... 9
2.7 Ident. Number selector .................................................................................................. 10
2.8 Summary ........................................................................................................................ 13
2.9 Baud rate ........................................................................................................................ 14
3 PROFIBUS PA 15
3.1 Software history ............................................................................................................. 15
3.2 System configuration of PROFIBUS PA network ........................................................... 16
3.3 Electrical connection for PA signal converter ............................................................... 17
3.4 Technical data................................................................................................................. 18
3.5 PROFIBUS PA Profile implementation .......................................................................... 19
3.6 GSD files ......................................................................................................................... 19
3.7 Ident. Number selector .................................................................................................. 20
3.8 Summary ........................................................................................................................ 23
4 Commissioning / Operation 24
4.1 Configuration of cyclic data transfer.............................................................................. 24
4.2 Cyclic data....................................................................................................................... 24
4.2.1 Input data .............................................................................................................................. 24
4.2.2 Output data............................................................................................................................ 30
4.3 Diagnosis ........................................................................................................................ 31
4.3.1 Mapping of DIAGNOSIS_EXTENSION bits into DIAGNOSIS bits if "Condensed Status and Di-
agnosis" handling selected ............................................................................................................ 37
4.3.2 Mapping of DIAGNOSIS_EXTENSION bits into DIAGNOSIS bits if "Classic Status and Diagno-
sis" handling selected .................................................................................................................... 40
4.3.3 Variable "Event groups"........................................................................................................ 42
4.3.4 Filtering of "Single events"................................................................................................... 44
2
www.krohne.com 05/2014 - 4003118502 - AD UFC 400 PROFIBUS R02 en
UFC 400
CONTENTS
5 Profibus settings 45
5.1 Menu A, Quick Setup ...................................................................................................... 45
5.2 Menu B, Test................................................................................................................... 45
5.3 Menu C, Setup................................................................................................................. 46
5.4 Menu D, Service.............................................................................................................. 50
5.5 Status messages and diagnostic information................................................................ 51
6 Notes 53
www.krohne.com05/2014 - 4003118502 - AD UFC 400 PROFIBUS R02 en
3
1 SAFETY INSTRUCTIONS
1.1 Scope of the document
These instructions are supplementary to the signal converter Handbook. For all other data, use the relevant chapters of the Handbook. If you do not have this document, please contact the nearest office or download them from the manufacturer's internet site.
INFORMATION!
The information in this chapter only contains the data applicable to PROFIBUS communication. The technical data in the Handbook shall be valid in its current version, provided that it is not rendered invalid or replaced by this supplement.
1.2 Scope of delivery
The information in this chapter only contains the data applicable to PROFIBUS communication. The technical data in the Handbook shall be valid in its current version, provided that it is not rendered invalid or replaced by this supplement.
A device for PROFIBUS communication is supplied with:
UFC 400
Supplementary instructions for PROFIBUS communication
PROFIBUS device data files (GSD) which can be also downloaded from the manufacturer's
internet site
1.3 Special notes
Don't switch off (power off) the signal converter immediately after manual change of parameter values:
Please wait approx. 10 seconds before you switch off the signal converter after you have done both a parameter download via PROFIBUS or a manual change of a parameter value via the local display.
CAUTION!
Please wait approx. 15 seconds before you switch off the signal converter after you have carried out a "Factory Reset" (PROFIBUS "Coldstart") via PROFIBUS or local display.
"Deactivation of the Service Parameter Lock" of the signal converter via PROFIBUS:
After writing down the service password (via PROFIBUS) the "Deactivation of the Service Parameter Lock" will last at least 20 minutes if the internal password timer of the signal converter won't be retriggered by writing this password again. The "Deactivation of the Service Parameter Lock" will be terminated at once by a PROFIBUS Coldstart / Warmstart or if the internal password timer of the signal converter elapsed.
4
www.krohne.com 05/2014 - 4003118502 - AD UFC 400 PROFIBUS R02 en
UFC 400
2.1 Software history
Issued Signal converter Application program System integration
PROFIBUS DP 2
Mth./
Hardware Firmware Hardware Software Driver Version Model name
year
04/14 Signal
converter with RS485 interface + PA Profile
3.02
V2.2.3_ / 140430
Simatic PCS7
other SPS of other manufact.
Laptop / PC PDM
HW Config
other Software of other SPS manufact.
( 6.1)
Pactware DTM U3P* DTM 1.0.2
GSD manuf. specific
GSD profile specific
DD UFC400
The PROFIBUS DP device has a RS485 interface to connect the device to a PROFIBUS DP network.
The software supports the PROFIBUS PA Profile 3.02. Both, cyclic services towards a control system (e.g. PLC) as well as acyclic services for operating with engineering tools (e.g. DD/DTM based tools) are supported.
The PROFIBUS station address can be set via PROFIBUS services or via the device display.
2.2 System configuration of PROFIBUS DP network
KR014520.GSD UFC400
(RS485) Rev.1
PA039741.GSD Flow
2AI, 1TOT (Phy RS-485)
­PROFIBUS DD 0101 PDM 6.x-8.x
­FDT 1.2
The following diagram shows a typical network configuration with PROFIBUS devices with RS485 interface in a non-hazardous environment. The PROFIBUS devices with RS485 interface do not need any segment coupler. They are connected directly to the PROFIBUS DP network.
Figure 2-1: PROFIBUS DP network
1 SPS 2 PROFIBUS DP network with max. 12 Mbit/s 3 Signal converter 4 Other devices with PROFIBUS RS485 interface
www.krohne.com05/2014 - 4003118502 - AD UFC 400 PROFIBUS R02 en
5
2 PROFIBUS DP
2.3 Electrical connection for DP signal converter
INFORMATION!
For a detailed description of the electrical connections please refer to the standard signal converter handbook.
Signal converter terminals B B- C C- D D-
PROFIBUS designation T +B -A -T +B -A
1 2 3 4 5 6
1 Termination positive 2 TxD+/RxD+ second connection 3 TxD-/RxD- second connection 4 Termination negative 5 TxD+/RxD+ first connection 6 TxD-/RxD- first connection
UFC 400
External connection with spur
CAUTION!
Spurs are not allowed at high data rates!
I = 110 nH R1 = 390 Ω R2 = 220 Ω
6
www.krohne.com 05/2014 - 4003118502 - AD UFC 400 PROFIBUS R02 en
UFC 400
PROFIBUS DP 2
External connection at last device with active internal bus termination
I = 110 nH R1 = 390 Ω R2 = 220 Ω
External connection to a trunk
1 e.g. incoming data lines 2 e.g. outgoing data lines
I = 110 nH R1 = 390 Ω R2 = 220 Ω
www.krohne.com05/2014 - 4003118502 - AD UFC 400 PROFIBUS R02 en
7
2 PROFIBUS DP
2.4 Technical data
Hardware
Type PROFIBUS RS485 interface according to IEC 61158-2
Connection Dependent of polarity; please note at electrical connection!
Software
GSD GSD file on CD-ROM or from internet site
Device profile PROFIBUS PA Profile 3.02; conformance class B, compact
Address range 0126 (default 126)
Local control Local display and operator interface at device
SAPs 2 x MS1 SAPs – acyclic interface to PLC
Function blocks 1 x TB = Transducer Block
UFC 400
Supported GSD:
KR014520.GSD
PA039741.GSD
0125 via PROFIBUS service set_slave_add
0126 via local display
126 via factory_reset = 2712
3 x MS2 SAPs – the number of MS2 Service Access Points is typically equal to the maximum number of master class 2 tools
1 x PB = Physical Block
6 x AI = Analog Input Blocks
3 x TOT = Totalizer Function Blocks
8
www.krohne.com 05/2014 - 4003118502 - AD UFC 400 PROFIBUS R02 en
UFC 400
2.5 PROFIBUS PA Profile implementation
The PROFIBUS PA Profile 3.02 defines standardized parameters and functions for PROFIBUS devices used for process control. It describes a PROFIBUS device as a function block application, i.e. parameters and functions are grouped into different blocks. In the UFC 400 PROFIBUS device the following blocks are implemented:
Block Usage
1 Physical Block (PB) contains identification and diagnosis parameters of the device
1 Flow Transducer Block (TB)
6 Analog Input Function Block (AI-FB)
3 Totalizer Function Blocks (TOT-FB)
The Analog Input Function Blocks and the Totalizer Function Blocks provide the data interface towards a process control system (e.g. a PLC); i.e. their input/output data can be read/written by the control system. In a PROFIBUS network this is done via cyclic communication services.
contains parameters and functions to control the flow measurement
contains parameters and functions to control the measuring output; provides the measuring value(s)
contains parameters and functions to control/provide the counter value(s)
PROFIBUS DP 2
From the PROFIBUS point of view the UFC 400 device is designed as a compact device with 9 slots. While the Analog Input function blocks are assigned to slot 1, 2, 6, 7, 8 and 9 the Totalizer Function Blocks are assigned to slot 3, 4 and 5. This assignment is fixed and cannot be modified by the user. Nevertheless during network configuration the user can choose which function block data shall be transferred between the PROFIBUS master and the PROFIBUS device.
2.6 GSD files
The GSD file contains information that will be needed for configuration of the PROFIBUS DP communication network. Supplementary files (e.g. ___.bmp and ___.dib) contain icons which will represent the PROFIBUS devices in the view of the bus configuration system/master system. The files must be loaded into the configuration program before. Follow the instructions in the manual of the host supplier when installing GSD file and supplementary files.
A PROFIBUS GSD ZIP file including both all GSD files of all KROHNE devices with PROFIBUS PA interface and all additional data files mentioned above are available at the KROHNE download page.
INFORMATION!
If it is supported by the host configuration tool the device entry for the UFC400 PROFIBUS device will be located within the slave family "PROFIBUS PA".
www.krohne.com05/2014 - 4003118502 - AD UFC 400 PROFIBUS R02 en
9
2 PROFIBUS DP
2.7 Ident. Number selector
Within a PROFIBUS network the type of a PROFIBUS slave is identified by its Ident. Number which is unique for this slave type. The PROFIBUS DP device supports two different Ident. Numbers. Therefore it can be installed for different use cases. When the Ident. Number is changed the behaviour of the device concerning the cyclic data transfer is changed; i.e. the maximum number of transferred measuring values and/or the length and content of the diagnosis information will be different. The user can select the required Ident. Number by an engineering tool (e.g. DD/DTM - parameter IDENT_NUMBER_SELECTOR slot 0; index 40) or via the UFC 400 device display menu (menu item "Identification No.", C5.8.6).
The following settings are supported:
Automatic adaptation mode (factory setting)
Manufacturer specific Ident. Number (UFC400)
Profile specific Ident. Number (Profile)
Automatic adaptation mode (factory setting)
If the parameter IDENT_NUMBER_SELECTOR is set to this mode the device will select its operation mode during start-up of the cyclic data transfer according to the used GSD file. The active Ident. Number is set to one of the settings described below. If the IDENT_NUMBER_SELECTOR is changed to this mode the current Ident. Number is not changed until the cyclic data transfer is (re-)started.
UFC 400
INFORMATION!
Depending on the components in the PROFIBUS network the automatic adaptation might fail. In this case the active Ident. Number has to be selected by the user via an engineering tool or via the device display menu. The parameter IDENT_NUMBER_SELECTOR has to be set to a fixed Ident. Number.
10
www.krohne.com 05/2014 - 4003118502 - AD UFC 400 PROFIBUS R02 en
UFC 400
PROFIBUS DP 2
Manufacturer specific Ident. Number (4520 hex)
This setting provides complete functionality of the PROFIBUS DP device. All Function Blocks are available for cyclic data transfer. Device specific diagnosis information is transferred in addition to the Profile diagnosis.
Cyclic layout:
Slot Description Function Block types Default unit
1 Volume Flow AI-FB
2 Velocity of Sound AI-FB m/s
3 Volume total Totaliser-FB
4 Volume total Totaliser-FB
5 Mass total Totaliser-FB kg
6 Mass Flow AI-FB kg/s
7 Flow speed AI-FB m/s
8 Gain AI-FB dB
9 SNR AI-FB dB
m3/h
3
m
3
m
AI: Analog Input Function Block
FB: Function Block
There are separate settings to select the units for local display and PROFIBUS. Modifications of the units of the display will have no effect on the data transferred via PROFIBUS. A master class 2 tool is required to modify the units for PROFIBUS transfer.
Valid GSD Modules:
AI-FB Empty Module
Totaliser-FB Empty Module
AI: Out
TOT (Id.F.): Total TOT (Id.F.): SetTot + Total TOT (Id.F.): ModeTot + Total TOT (Id.F.): SetTot+ModeTot+Total TOT (Id.F.): SetTot TOT (Id.F.): ModeTot TOT (Id.F.): SetTot + ModeTot
GSD File required:
GSD file KR014520.GSD the PROFIBUS DP device. All function blocks are available for cyclic data transfer.
KR014520.GSD is required in this mode. This GSD file provides complete functionality of
KR014520.GSDKR014520.GSD
INFORMATION!
If another GSD file is used in the PROFIBUS master system the cyclic data transfer cannot be established in this setting.
www.krohne.com05/2014 - 4003118502 - AD UFC 400 PROFIBUS R02 en
11
2 PROFIBUS DP
INFORMATION!
During network configuration the user has to define which function block outputs of the signal converter should be transferred cyclically to the master. This is performed by a bus configuration tool (e.g. "HW- Config" for PC-S7 from Siemens). This tool offers specific functions as follows:
1. It is possible to configure an "Empty" block (the code of an "Empty" block is defined as 0x00) on each block number. This implies: no data is transmitted in the cyclic data telegram for this block.
2. There is NO "Totaliser (TOT)" function block allowed on block position 1, 2, 6, 7, 8 and 9! On these positions, only an "Analog Input (AI)" function block or an "Empty" block is allowed! (Note: All codes supported by "Analog Input (AI)" - and "Totaliser (TOT)" be found in the corresponding GSD files.)
3. There is NO "Analog Input (AI)" function block allowed on block position 3, 4 and 5! On these positions, only a "Totaliser (TOT)" function block or an "Empty" block is allowed!
4. There is a choice of 7 different totaliser functions, which can be allocated to the blocks 3, 4 and/or 5.
UFC 400
function blocks will
12
www.krohne.com 05/2014 - 4003118502 - AD UFC 400 PROFIBUS R02 en
UFC 400
PROFIBUS DP 2
Profile specific Ident. Number (9741 hex)
Functionality is reduced to the requirements which are mandatory in the PA Profile; e.g. 2 x AI­FB and 1 x TOT-FB are available for cyclic data transfer only. Device specific diagnosis information is not available via cyclic PROFIBUS services. Nevertheless this behaviour will improve interchangeability between devices of different vendors because only functions are available which are provided by all PROFIBUS PA ultrasonic flowmeters. Exchange is possible without modifying the configuration of the control system.
Cyclic layout:
Slot Description Function Block type Default unit
1 Volume Flow AI-FB
2 Velocity of Sound AI-FB m/s
3 Totaliser Totaliser-FB
Valid GSD Modules:
AI-FB EMPTY_MODULE
Totaliser-FB EMPTY_MODULE
GSD File required:
GSD file PA039741.GSD Take care that "Condensed Status and Diagnosis" is not supported by this file.
INFORMATION!
If another GSD file is used in the PROFIBUS master system the cyclic data transfer cannot be established in this setting.
2.8 Summary
m3/h
3
m
AI
TOTAL SETTOT_TOTAL SETTOT_MODETOT_TOTAL
PA039741.GSD is required in this mode. This file is provided by PROFIBUS International.
PA039741.GSDPA039741.GSD
The following table shows a summary of the supported combinations of the PROFIBUS device with RS485 Physical Interface and PA Profile 3.02:
Ident. Number Selector Ident.
Number
Automatic adaptation mode 4520 KR014520.GSD Classic / Condensed
9741 PA039741.GSD 1 Classic
Manufacturer specific Ident. Number
Profile specific Ident. Number 9741 PA039741.GSD 1 Classic
1 This file i s provided b y PROFIBUS I nternation al (www.profi bus.com). T ake care tha t "Condense d Status and Diagnosis"
is not supported by this file.
4520 KR014520.GSD Classic / Condensed
www.krohne.com05/2014 - 4003118502 - AD UFC 400 PROFIBUS R02 en
GSD File Status
13
2 PROFIBUS DP
2.9 Baud rate
Supported baud rates are listed in the GSD file. After power-on or PROFIBUS timeout a baud rate search is active to detect the current transfer speed on the bus. It is not necessary to set the baud rate manually.
If the data transmission rate is changed during operation the baud rate search will not be started by the device. A new power-up or a manual interruption of the PROFIBUS communication is required to activate the baud rate search in this case.
UFC 400
14
www.krohne.com 05/2014 - 4003118502 - AD UFC 400 PROFIBUS R02 en
UFC 400
3.1 Software history
Issued Signal converter Application program System integration
PROFIBUS PA 3
Mth./
Hardware Firmware Hardware Software Driver Version Model name
year
10/13 Signal
04/14 Signal
converter with MBP interface + PA Profile
3.02
converter with RS485 interface + PA Profile
3.02
V1.0.1_ / 131031
V2.2.3_ / 140430
Simatic PCS7
other SPS of other manufact.
Laptop / PC PDM
Simatic PCS7
other SPS of other manufact.
Laptop / PC PDM
HW Config
other Software of other SPS manufact.
( 6.1)
PACTware DTM U3P* DTM 1.0.2
HW Config
other Software of other SPS manufact.
( 6.1)
Pactware DTM U3P* DTM 1.0.2
GSD manuf. specific
GSD profile specific
DD UFC400
GSD manuf. specific
GSD profile specific
DD UFC400
KR014521.GSD UFC400 (MBP)
PA139741.GSD Flow,
PROFIBUS DD 0101 PDM 6.x-8.x
FDT 1.2
KR014521.GSD UFC400 (MBP)
PA139741.GSD Flow,
PROFIBUS DD 0101 PDM 6.x-8.x
FDT 1.2
Rev.1
2AI, 1TOT (Phy MBP)
-
-
Rev.1
2AI, 1TOT (Phy MBP)
-
-
www.krohne.com05/2014 - 4003118502 - AD UFC 400 PROFIBUS R02 en
15
3 PROFIBUS PA
3.2 System configuration of PROFIBUS PA network
The following diagram shows a typical instrumentation with PROFIBUS PA devices with MBP interface in hazardous and non-hazardous locations, including connections of conventional devices (e.g. with 4...20 mA signals) in a PROFIBUS network.
As a rule, the PROFIBUS PA segment is connected to a segment coupler which, among other things, carries out the conversion to the PROFIBUS DP bus line. It should be mentioned that the segment coupler is normally set to a fixed baud rate on the DP side.
UFC 400
Figure 3-1: PROFIBUS PA network
1 Control system (PLC); class 1 master 2 Engineering or operation control tool; class 2 master 3 PROFIBUS DP network with max. 12 Mbit/s 4 PROFIBUS PA segment coupler DP / PA 5 PROFIBUS PA network with 31.25 kbit/s
6 HART 7 More devices with 420 mA 8 Analogue I/O module
®
device
16
www.krohne.com 05/2014 - 4003118502 - AD UFC 400 PROFIBUS R02 en
UFC 400
3.3 Electrical connection for PA signal converter
INFORMATION!
The wiring between the device and the PROFIBUS PA bus is independant of polarity. The signal converter PROFIBUS PA interface will operate only if the additional power supply for the device is connected/available. For a detailed description of the electrical connections please refer to the standard signal converter handbook. Refer also to the PROFIBUS PA user and installation guideline (Version 2.2, February 2003 PNO order no. 2.092).
Connection to a spur
or
PROFIBUS PA 3
Connection to a trunk
1 e.g. incoming data lines 2 e.g. outgoing data lines
or
www.krohne.com05/2014 - 4003118502 - AD UFC 400 PROFIBUS R02 en
17
Loading...
+ 39 hidden pages