Burkert SE56 User Manual

Electromagnetic Flow Meter
PROFIBUS DP
DATA LINK DESCRIPTION
ProfibusDP_ emanual_BUR_04.doc
TECHNICAL MANUAL
PROFIBUS DP MODULE- DATA LINK
DESCRIPTION
Rev. Pagine
Filling By Checked By
03
Document Data Date Date
2/52
File name
ProfibusDP_emanual_Burkert_04.doc
19/03/08 19/03/08 19/03/08
INDEX
1.1 CHARACTERISTICS OF THE MODULES _______________________________________________ 3
1.2. PROFIBUS IDENT NUMBER ________________________________________________________ 4
1.3. SLAVE PARAMETERIZATION _______________________________________________________ 4
1.4. SLAVE CONFIGURATION __________________________________________________________ 5
1.5. SLAVE DIAGNOSTIC AND ALARMS_________________________________________________ 10
1.6. SETTING THE SLAVE ADDRESS ____________________________________________________ 12
1.7. BAUDRATES ____________________________________________________________________ 12
1.8. GSD FILE _______________________________________________________________________ 12
1.9. TERMINALS DESIGNATION AND CABLE CONNECTION _______________________________ 12
2. CYCLIC DATA EXCHANGE___________________________________________________________ 13
2.1. FIRST CONFIGURATION: 8 BYTE INPUT____________________________________________ 13
2.2. DATA TYPE _____________________________________________________________________ 14
2.3. SECOND CONFIGURATION: 16 BYTE INPUT_________________________________________ 14
2.4. DATA TYPE _____________________________________________________________________ 15
2.5. THIRD CONFIGURATION: 24 BYTE INPUT __________________________________________ 16
2.6. DATA TYPE _____________________________________________________________________ 17
2.7. FOURTH CONFIGURATION: 16 BYTE INPUT/OUTPUT ________________________________ 17
2.8. FIFTH CONFIGURATION: 24 BYTE INPUT/OUTPUT __________________________________ 28
3.1 DPV1 ACYCLIC DATA EXCHANGE___________________________________________________ 42
3.2 Acyclic Read Data from the Flow Meter _____________________________________________ 42
4.1 PROGRAMMING ALGORITHMS_____________________________________________________ 50
4.2 NUMERICAL CONVERSION OF THE DATA RECEIVED __________________________________ 50
4.3 DATE CONVERSION FROM TOTAL MINUTES TO DAY/MONTH/YEAR HOURS:MINUTES ____ 51
4.4 DATE CONVERSION FROM DAY/MONTH/YEAR HOURS:MINUTES TO TOTAL MINUTES ____ 52
2
TECHNICAL MANUAL
PROFIBUS DP MODULE- DATA LINK
DESCRIPTION
Rev. Pagine
Filling By Checked By
03
Document Data Date Date
3/52
File name
ProfibusDP_emanual_Burkert_04.doc
1.1 CHARACTERISTICS OF THE MODULES
ME 35 ( profibus DP for SE 56 converter )
ELECTRICAL CONNECTIONS
1
7
1
8
1
1
T
U
O
+
1
T
U
O
-
1
N
I
+
1
N
I
-
9
2
0
2
1
2
2
2
3
2
4
2
5
Black to 18 ( OUT )
Grey to ground
Cian to power supply " - "
White to 25 ( + IN )
Brown to power supply " + "
ME 100 ( profibus DP for SE 56 converter )
2
6
MAIN POWER
23415
3 52 1
-
+
1
4
1
5
1
6
Green "A" Profibus
TERMINAL "A"
TERMINAL "B"
21 22 23 24 25 26
27 28 29 30 31 32
19/03/08 19/03/08 19/03/08
PROFIBUS
4
Red "B" Profibus
LUMBERG Model 0976 pmc 151
P.S./IN/OUT Phoenix Model SACC-EC­M12FSB-5CON­M16/0,5
TERMINAL "A"
TERMINAL "B"
3
TECHNICAL MANUAL
PROFIBUS DP MODULE- DATA LINK
DESCRIPTION
Rev. Pagine
Filling By Checked By
03
Document Data Date Date
4/52
File name
ProfibusDP_emanual_Burkert_04.doc
19/03/08 19/03/08 19/03/08
The Profibus-DP module mounted in the Electromagnetic Flow Meter is used for to connect the converter of the Flow meter to the Profibus DP fieldbus in accordance with the DIN 19245 Standard as a passive instrument (slave).
When this option is installed it is possible to read the process data from the Flow meter.
The process data consists of Dynamic Data and Static Data. With the keyword Dynamic Data it is indicated measurement values which are continuously changing e.g.
Flow rate, Totalizers, etc..
With the keyword Static Data it is indicated parameters value of the Flow meter which do not change
during operation for example unit Flow rate, unit Totalizers etc. and other parameters that can be
individually written to using the Acyclic Service or an offset to INDEX Output (see Fourth Configuration with 16 byte Input/Output or Fifth Configuration with 24 byte Input/Output).
The software of the slave module implement the DP standard/DPV1 functionality for the communication of the slave with a Class 1 (parameterization Master) and a Class 2 Master.
With the data exchange with the Acyclic Service and with the Slot and Acyclic Index it is possible to
send and return configuration parameters of the Flow meter with a Class 1 or Class 2 Master.
For the communication with a Class C1 Master the Slot is ignored. Only Slot 0 is used for the service of acyclic data exchange for the communication with a Class 2 master.
The module support four type of configurations with is possible sets the better combination of type of information of the Flow meter.
It is possible select a configuration with only 8 byte or 16 or 24 byte Input and insert or return Static Data with the Acyclic Service and Class 1 or Class 2 Master. If the Master doesn't support Acyclic Service it is possible select the fourth configuration with 16 byte Input/Output or the fifth configuration with 24 byte Input/Output. With these last configuration and with two bytes, with the function of indexes, and the Output data, it is possible to insert or return Sta t ic Data in the Flow meter.
With the Acyclic Service and with the Slot and Acyclic Index it is possible to read the data stored in the
Internal Data Logger of the Fow Meter.
The Profibus address of the instrument can be set with the converter keypad in the menu Comunication. Baudrates range supported are from 9.6 kBaud up to 12 MBaud. The slave module support the Diagnostic and Process Alarms for monitoring Flow rate with four thresholds.
NOTE: After the power supply of the Flow meter is switch on, there is an interval time of 5 seconds during
that the slave module remain in a Reset Phase necessary for the initialization of the Flow meter. The reading of the data stored in the Internal Data Logger and the settings for the thresholds of the Flow
rate Control are possible only with the Acyclic Service and with the Slot and
Acyclic Index.
1.2. PROFIBUS IDENT NUMBER
The Profibus Identification Number is 0008hex ( 8dec ).
1.3. SLAVE PARAMETERIZATION
The parameters specified in this respect reach the slave via the parameterization message of the parameterization Master.
The parameterization data consists of the following:
- DP standard parameters with a length of 7 bytes according to EN 50170
- DPV1 status bytes with a length of 3 bytes according to extensions of EN 50170 which immediately follow the specified DP standard parameters
4
TECHNICAL MANUAL
PROFIBUS DP MODULE- DATA LINK
DESCRIPTION
Rev. Pagine
Filling By Checked By
03
Document Data Date Date
5/52
File name
ProfibusDP_emanual_Burkert_04.doc
19/03/08 19/03/08 19/03/08
- Optional user parameterization data that immediately follow the DPV1 status bytes ( not implemented for the this slave module ). Default Parameterization:
Default parameterization makes it possible for old DP standard masters to exchange data with the DPV1 slave despite missing DPV1 status bytes. The parameterization message is 7 bytes long and in this case, the slave will use a set of default values for the missing DPV1 status bytes.
SETTINGS OF THE STATION PARAMETER:
DP Interrupt Mode DPV0 DPV1 Interrupts: Update Interrupt (OB56) No Diagnostic Interrupt(OB82) No Hardware Interrupt(OB40 to OB 47) No General DP Parameters: Fail Safe Yes Startup when expected/actual config diff. No Device-Specific Parameters: DPV1 Mode Enabled Process Alarm Disabled Diagnostic Alarm Disabled Update Alarm Disabled Alarm Type Type mode (Slave is operated alarm type mode: only one alarm of the same type is to be active at the same time) Hex Parameter Assignment: DPV1_Status (0 to 2) E4,00,00
1.4. SLAVE CONFIGURATION
The Configuration possibilities are specified for the Slave module in the device description file (GSD). Only a single Configuration is available.
The module support four type of configurations with is possible sets the better combination of types of informations of the Flow meter.
The First type of Configuration consist of 8 byte Input
With this type of configuration is possible exchange with few byte ( only 8 ), the main data of the Flow meter.
With the setting of a control byte, in the configuration string of the file GSD,it is possible to set the Data Type of information returned by Input data. The control byte is the third byte of the Configuration string (see below). It is also possible to change the Data Type with a Class 1 and Class 2 Master and the relative Slot and Acyclic Index, during data exchange. For details Acyclic Service see the relative section in this document.
The reference to the Configuration string in the GSD file is:
-----------------------------------------------------------­Module = "8 Byte Input" 0x41,0x07,0x00 1 EndModule-----------------------------------------------------------­The settings in the GSD file for to use this configuration is:
5
TECHNICAL MANUAL
PROFIBUS DP MODULE- DATA LINK
DESCRIPTION
Rev. Pagine
Filling By Checked By
03
Document Data Date Date
6/52
File name
ProfibusDP_emanual_Burkert_04.doc
19/03/08 19/03/08 19/03/08
----------------------------------------­SlotDefinition
Slot(1) = "Process Data" 1
EndSlotDefinition
-----------------------------------------
The Configuration correspond to 8 bytes Input and the last byte indicate the Data Type selected .
Modifing the last byte in the GSD file it is possible to set the type of the Flow rate:
With the Configuration 0x41,0x0F,0x00 the Flow rate is in % ( 4 byte )
process flags ( 2 byte ) dynamic variations ( 1 byte ) Data Type = 0 ( 1 byte )
-----------------------------------------------------------
Number of Input byte exchanged ( 8 byte )
With the Configuration 0x41,0x0F,0x01 the Flow rate is in tecnical unit ( 4 byte )
process flags ( 2 byte ) dynamic variations ( 1 byte ) Data Type = 1 ( 1 byte )
-----------------------------------------------------------
Number of Input byte exchanged ( 8 byte )
With the Configuration 0x41,0x0F,0x02 totalizers positive ( 4 byte )
process flags ( 2 byte ) dynamic variations ( 1 byte ) Data Type = 1 ( 1 byte )
-----------------------------------------------------------
Number of Input byte exchanged ( 8 byte )
With the Configuration 0x41,0x0F,0x03 partial totalizers positive ( 4 byte )
process flags ( 2 byte ) dynamic variations ( 1 byte ) Data Type = 1 ( 1 byte )
-----------------------------------------------------------
Number of Input byte exchanged ( 8 byte )
With the Configuration 0x41,0x0F,0x04 totalizers negative ( 4 byte )
process flags ( 2 byte ) dynamic variations ( 1 byte ) Data Type = 1 ( 1 byte )
-----------------------------------------------------------
Number of Input byte exchanged ( 8 byte )
With the Configuration 0x41,0x0F,0x05 partial totalizers negative ( 4 byte )
process flags ( 2 byte ) dynamic variations ( 1 byte ) Data Type = 1 ( 1 byte )
-----------------------------------------------------------
Number of Input byte exchanged ( 8 byte )
6
TECHNICAL MANUAL
PROFIBUS DP MODULE- DATA LINK
DESCRIPTION
Rev. Pagine
Filling By Checked By
03
Document Data Date Date
7/52
File name
ProfibusDP_emanual_Burkert_04.doc
19/03/08 19/03/08 19/03/08
The Second type of Configuration consist of 16 byte Input
With this type of Configuration it is possible exchange with only 16 the same data of the precedent Configuration and in addition there are the values of the Totalizers positive or negative.
With the setting of a control byte, in the configuration string of the file GSD,it is possible to set the Data Type of information returned by Input data. The control byte is the third byte of the Configuration string (see below). It is also possible to change the Data Type with a Class 1 and Class 2 Master and the relative Acyclic Slot and Acyclic Index, during data exchange. For details Acyclic Service see the relative section in this document.
The reference to the Configuration string in the GSD file is:
-----------------------------------------------------------­Module = "16 Byte Input" 0x41,0x0F,0x00 2 EndModule
------------------------------------------------------------
The settings in the GSD file for to use this Configuration is:
----------------------------------------­SlotDefinition
Slot(1) = "Process Data" 2
EndSlotDefinition
-----------------------------------------
The Configuration correspond to 16 bytes Input and the last byte indicate the Data Type selected . Modifing the last byte in the GSD file it is possible to set the type of the Flow rate and the type of
Totalizers:
With the Configuration 0x41,0x0F,0x00 the Flow rate is in % ( 4 byte )
totalizers positive ( 4 byte ) partial totalizers positive ( 4 byte )
process flags ( 2 byte ) dynamic variations ( 1 byte ) the Data Type = 0 ( 1 byte )
-----------------------------------------------------------
Number of Input byte exchanged ( 16 byte )
With the Configuration 0x41,0x0F,0x01 the Flow rate is in % ( 4 byte )
totalizers negative ( 4 byte ) partial totalizers negative ( 4 byte )
process flags ( 2 byte ) dynamic variations ( 1 byte ) the Data Type = 1 ( 1 byte )
-----------------------------------------------------------
Number of Input byte exchanged ( 16 byte )
Whit the Configuration 0x41,0x0F,0x02 the Flow rate is in tecnical unit ( 4 byte ) totalizers positive ( 4 byte ) partial totalizers positive ( 4 byte )
process flags ( 2 byte ) dynamic variations ( 1 byte )
7
TECHNICAL MANUAL
PROFIBUS DP MODULE- DATA LINK
DESCRIPTION
Rev. Pagine
Filling By Checked By
03
Document Data Date Date
8/52
File name
ProfibusDP_emanual_Burkert_04.doc
19/03/08 19/03/08 19/03/08
the Data Type = 2 ( 1 byte )
-----------------------------------------------------------
Number of Input byte exchanged ( 16 byte )
Whit the Configuration 0x41,0x0F,0x03 the Flow rate is in tecnical unit ( 4 byte ) totalizers negative ( 4 byte ) partial totalizers negative ( 4 byte )
process flags ( 2 byte ) dynamic variations ( 1 byte ) the Data Type = 3 ( 1 byte )
-----------------------------------------------------------
Number of Input byte exchanged ( 16 byte )
Whit the Configuration 0x41,0x0F,0x04 the Flow rate is in % ( 4 byte ) totalizers positive ( 4 byte ) totalizers negative ( 4 byte )
process flags ( 2 byte ) dynamic variations ( 1 byte ) the Data Type = 3 ( 1 byte )
-----------------------------------------------------------
Number of Input byte exchanged ( 16 byte )
Whit the Configuration 0x41,0x0F,0x05 the Flow rate is in tecnical unit ( 4 byte ) totalizers positive ( 4 byte ) totalizers negative ( 4 byte )
process flags ( 2 byte ) dynamic variations ( 1 byte ) the Data Type = 3 ( 1 byte )
-----------------------------------------------------------
Number of Input byte exchanged ( 16 byte )
The third type of Configuration consist of 24 byte Input
This configuration is used when there is necessary to exchange the information about totalizers positive and negative at the same time. The difference with the precedent configurations is the presence of the totalizers positive and negative contemporary in the block of data exchanged
With the setting of a control byte, in the configuration string of the file GSD,it is possible to set the Data Type of information returned by Input data. The control byte is the third byte of the Configuration string (see below). It is also possible to change the Data Type with a Class 1 and Class 2 Master and the relative Acyclic Slot and Acyclic Index, during data exchange. For details Acyclic Service see the relative section in this document.
The reference to the Configuration string in the GSD file is:
-----------------------------------------------------------­Module = "24 Byte Input" 0x41,0x17,0x00 3 EndModule
-----------------------------------------------------------­The settings in the GSD file for to use this configuration is:
----------------------------------------­SlotDefinition
8
TECHNICAL MANUAL
PROFIBUS DP MODULE- DATA LINK
DESCRIPTION
Rev. Pagine
Filling By Checked By
03
Document Data Date Date
9/52
File name
ProfibusDP_emanual_Burkert_04.doc
19/03/08 19/03/08 19/03/08
Slot(1) = "Process Data" 3
EndSlotDefinition
-----------------------------------------
The Configuration correspond to 24 bytes Input and the last byte indicate the Data Type selected .
Changing the last byte in the GSD file it is possible to set the type of the Flow rate:
With the Configuration 0x41,0x0F,0x00 the Flow rate is in % ( 4 byte )
totalizers positive ( 4 byte ) partial totalizers positive ( 4 byte ) totalizers negative ( 4 byte ) partial totalizers negative ( 4 byte ) process flags ( 2 byte ) dynamic variations ( 1 byte ) the Data Type = 0 ( 1 byte )
-----------------------------------------------------------
Number of Input byte exchanged ( 24 byte )
With the Configuration 0x41,0x0F,0x01 the Flow rate is in technical unit ( 4 byte )
totalizers positive ( 4 byte ) partial totalizers positive ( 4 byte )
totalizers negative ( 4 byte ) partial totalizers negative ( 4 byte ) process flags ( 2 byte ) dynamic variations ( 1 byte ) the Data Type = 1 ( 1 byte )
-----------------------------------------------------------
Number of Input byte exchanged ( 24 byte )
The fourth type of configuration consist of 16 byte Input/Output
With this type of configuration is possible to insert or return data from the Flow meter with two indexes
exchanged with the 16 byte Output data. With the 16 byte Output data it is possible to insert other parameters of the Flow meter in the same way used with the Acyclic Service and Class 1 and Class 2 Master.
The reference to the Configuration string in the GSD file is:
-----------------------------------------------------------------------­Module = "16 Byte Input/Output" 0xC0,0x0F,0x0F 4 EndModule
-----------------------------------------------------------------------­The settings in the GSD file for to use this configuration is:
-------------------------------------­SlotDefinition
Slot(1) = "Process Data" 4
EndSlotDefinition
--------------------------------------
The Configuration correspond to 16 bytes Input/Output. For details about the type of the data see the Section 2 Cyclic Service below in this document.
The fifth type of configuration consist of 24 byte Input/Output
With this type of configuration is possible to insert or return data from the Flow meter with two indexes
9
TECHNICAL MANUAL
PROFIBUS DP MODULE- DATA LINK
DESCRIPTION
Rev. Pagine
Filling By Checked By
03
Document Data Date Date
10/52
File name
ProfibusDP_emanual_Burkert_04.doc
19/03/08 19/03/08 19/03/08
exchanged with the 24 byte Output data. With the 24 byte Output data it is possible to insert other parameters of the Flow meter in the same way used with the Acyclic Service and Class 1 and Class 2 Master.
The reference to the Configuration string in the GSD file is:
-----------------------------------------------------------------------­Module = "24 Byte Input/Output" 0xC0,0x17,0x17 5 EndModule
------------------------------------------------------------------------
The settings in the GSD file for to use this configuration is:
-------------------------------------­SlotDefinition
Slot(1) = "Process Data" 5
EndSlotDefinition
--------------------------------------
The Configuration correspond to 24 bytes Input/Output. For details about the type of the data see the Section 2 Cyclic Service below in this document.
NOTE: Any other configuration will not be accepted.
1.5. SLAVE DIAGNOSTIC AND ALARMS
The module support the Diagnostic and Process Alarms for monitoring Flow rate with four thresholds.
With the Acyclic Service and a Class 1 or Class 2 Master and the relative Acyclic Slot and Acyclic Index
it is possible insert four thresholds for monitoring the Flow rate.
The thresholds are:
Flow rate High Alarm Flow rate High Warning Flow rate Low Warning Flow rate Low Alarm
The control is implemented for the Flow rate in technical unit only.
After the insertion of the four thresholds of the Flow rate in technical unit, with the Acyclic Service and the relative Acyclic Slot and Acyclic Index, it is necessary to enable the control of the Flow rate.
With the Acyclic Service and the relative Acyclic Slot and Acyclic Index it is possible to enable the
control of the Flow rate and if the value of the Flow rate measured by the Flow meter, exceed one of the thresholds, a diagnostic message in sended to the master.
With the Acyclic Service and the realtive Acyclic Slot and Acyclic Index it is possible to enable the DPV1
Process Alarms for the masters that support this information. The Process Alarms are set when the value of the Flow rate measured by the Flow meter exceed one of the two thresholds High Alarm or Low Alarm. Diagnostic message in details:
The standard diagnostic consists of 6 bytes and in addition, the alarm mechanism with extensions is used.
10
TECHNICAL MANUAL
PROFIBUS DP MODULE- DATA LINK
DESCRIPTION
Rev. Pagine
Filling By Checked By
03
Document Data Date Date
11/52
File name
ProfibusDP_emanual_Burkert_04.doc
19/03/08 19/03/08 19/03/08
Structure of the Standard Diagnostic:
byte 0: station_status_1 byte 1: station_status_2 byte 2: station_status_3 byte 3: master_adress byte 4: pno_ident_number_high byte 5: pno_ident_number_low
The implemented diagnostic concept supports the Device-related diagnostic (primarily status messages)
According to the diagnostic message of the DPV1 slave consists of the following:
byte 6: sing_len byte 7: alarm_type byte 8: slot_number byte 9: specifier
byte 10: alarm_data
byte 11: 0x00
Details of the information in the byte alarm_data:
alarm_data = 0x00 --> Flow rate Normal alarm_data = 0x01 --> Flow rate High Alarm alarm_data = 0x02 --> Flow rate High Warning alarm_data = 0x03 --> Flow rate Low Warning alarm_data = 0x04 --> Flow rate Low Alarm
Max Flow Rate value ////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// //////////////// alarm_data = 0x01 //////////////// ////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
High Alarm Threshold value ////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// //////////////// alarm_data = 0x02 //////////////// ////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// High Warning Threshold value ////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// //////////////// alarm_data = 0x00 //////////////// ////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// Low Warning Threshold value ////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// //////////////// alarm_data = 0x03 //////////////// ////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// Low Alarm Threshold value //////////////////////////////////////////////////////////////////////
11
TECHNICAL MANUAL
PROFIBUS DP MODULE- DATA LINK
DESCRIPTION
Rev. Pagine
Filling By Checked By
03
Document Data Date Date
12/52
File name
ProfibusDP_emanual_Burkert_04.doc
19/03/08 19/03/08 19/03/08
////////////////////////////////////////////////////////////////////// //////////////// alarm_data = 0x04 //////////////// ////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// Min Flow Rate value
1.6. SETTING THE SLAVE ADDRESS
The Profibus address of the slave can be set with the converter keypad and the menu
7 - Communication --> Address
For the changing of address it’s not necessary to switch off the Flow meter by removing the power supply, because the module detect when the address is changed it set the function Autoreset. After the time of 5 seconds the slave module return in data exchange with the new address.
NOTE: For reasons of compatibility the menu Address of the Profibus is the same used for inserting the
address of the RS-485 communication channel of the Flow meter that can accept values in the range 000­255, but the valid range for the Profibus Address is only 001, 002…126.
NOTE: The menu Communication is visible in the screen of the Flow meter only if the parameter RS 485 is
set ON in the menu 11-Internal Data.
1.7. BAUDRATES
The Baudrates supported are:
9.6 kBaud
19.2 kBaud
31.25 kBaud
45.45 kBaud
93.75 kBaud
187.5 kBaud 500 kBaud
1.5 MBaud 3 MBaud 6 MBaud 12 MBaud
The baudrate is automatically recognized by the slave module.
1.8. GSD FILE
The name of the GSD file is ME10034.GSD is included on the shipment packaging .
1.9. TERMINALS DESIGNATION AND CABLE CONNECTION
For the connection of the Profibus cable to the Flow meter see the section 1.1 Characteristics of the module.
Cable specification:
All cables used must meet the following parameters according to the PROFIBUS specification for copper signal cable data wires.
12
TECHNICAL MANUAL
PROFIBUS DP MODULE- DATA LINK
DESCRIPTION
Rev. Pagine
Filling By Checked By
03
Document Data Date Date
13/52
File name
ProfibusDP_emanual_Burkert_04.doc
19/03/08 19/03/08 19/03/08
The connectors must allow these connections.
Parameter DP, Cable type A
Surge impedance in 135...165 for a frequency of 3...20 MHz Effective capacitance (pF/m) 30 Loop resistance ( /km) 110 Core design (solid) AWG 22/1 Core design (flexible) > 0,32 mm²
The table shows the cable parameters for PROFIBUS copper signal cables with RS-485 transmission standard.
2. CYCLIC DATA EXCHANGE
With the Cyclic Service of data exchange the slave return Dynamic Data that include measurement
values which are continuously changing e.g. Flow rate, totalizers, etc..
The module support five type of configurations with is possible sets the better combination of type of information of the Flow meter. The type of Configuration is set in the file GSD.
Below there are the description of the possible types of configuration with the realtive structure of data:
2.1. FIRST CONFIGURATION: 8 BYTE INPUT
Below there is a description of the contents of each byte:
bytes 0-3: (32 bit single precision IEEE floating point, MSB first) Flow rate in % or Flow rate in t.u. or (32 bit long integer, MSB first) totalizer for TOTAL or PARTIAL volume + or - or batch quantity (see section 2.2 Data Type)
bytes 4-5: (16 bit unsigned integer, MSB first) process flags:
bit 0 =1 if the excitation is too fast for the sensor connected bit 1 =1 if the maximum alarm is active bit 2 =1 if the minimum alarm is active bit 3 =1 if the Flow rate exceeds the scale range value (overflow) bit 4 =1 if one or more output impulses are saturated (too many impulses to emit) bit 5 =1 if the measurement signal is highly disturbed or if the sensor is disconnected bit 6 =1 if the measurement tube is empty bit 7 =1 if the circuit powering the coils is not working or the sensor is disconnected bit 8 =1 if the second measurement scale is active bit 9 =1 if the Flow rate is lower than the cut-off threshold bit10=1 if the Flow rate is negative bit11=1 if a new measurement value calculated for the display is available bit12=1 if the counter block signal is active bit13=1 if dosing is in progress bit14=1 if a calibration cycle is in progress bit15=1 if a Flow rate simulation is in progress
byte 6: (8 bits integer) measurement dynamic variation as a % byte 7: (8 bits integer) Data Type ( see section 2.2 Data Type )
NOTE: The values in the “32 bits single precision IEEE floating point” format are floating point numbers
which can be represented during writing by any decimal digits. To keep the same numerical format visible
13
TECHNICAL MANUAL
PROFIBUS DP MODULE- DATA LINK
DESCRIPTION
Rev. Pagine
Filling By Checked By
03
Document Data Date Date
14/52
File name
ProfibusDP_emanual_Burkert_04.doc
19/03/08 19/03/08 19/03/08
on the instrument display however, it is necessary to calculate the decimal figures with a rather complex algorithm which takes account of instrument precision, flow rate measurement unit, etc. For this purpose and to avoid useless calculations, the number of decimals to use to represent the flow rate values is supplied
separately. With the acyclic service it is possible to return the value ( see Acyclic Index Read = 20(dec)
Static Process Data of the Flow Meter byte position 13).
NOTE:The counters are expressed with a 32 bit integer. The «counter decimal figures» parameter, indicates the point position starting from the right: 0 = no decimal, 1=1 decimal figure, and so on. ( see Acyclic Index Read = 20(dec) Static Process Data of the Flow Meter byte position 12)
2.2. DATA TYPE
The firsts four byte of the Dynamic Data Block are the information about the Flow rate or Totalizers.
With the Control byte of the Configuration in the GSD file (see the Section Slave Configuration) it is
possible to set the type of the Flow rate returned by the slave or the type of the Totalizers.
The type of the Flow rate may be in % or in technical unit in base of the value of the Control byte inserted
in the Configuration string.
The byte 7 indicate the current type of Flow rate selected or the type of the totalizers:
byte 7 = 0 --> Flow rate in % byte 7 = 1 --> Flow rate in technical unit byte 7 = 2 --> totalizers positive or batch quantity ( batch quantity only for ML M3F ) byte 7 = 3 --> partial totalizers positive or batch counter ( batch counter only for ML M3F ) byte 7 = 4 --> totalizers negative or batch quantity ( data valid only for ML 210 ) byte 7 = 5 --> partial totalizers negative or batch counter ( data valid only for ML 210 )
There is a second way to set the type of the Flow rate using the Acyclic Service during data exchange (see section Acyclic Service).
2.3. SECOND CONFIGURATION: 16 BYTE INPUT
Below there is a description of the contents of each byte:
bytes 0-3: (32 bit single precision IEEE floating point, MSB first) Flow rate in % or Flow rate in t.u. (see
section 2.4 Data Type)
bytes 4-7: (32 bit long integer, MSB first) totalizer for TOTAL volume + or - or batch quantity (see section
2.4 Data Type)
bytes 8-11: (32 bit long integer, MSB first) totalizer for TOTAL or PARTIAL volume + or - or batch counter
(see section 2.4 Data Type) bytes 12-13: (16 bit unsigned integer, MSB first) process flags:
bit 0 =1 if the excitation is too fast for the sensor connected bit 1 =1 if the maximum alarm is active bit 2 =1 if the minimum alarm is active bit 3 =1 if the Flow rate exceeds the scale range value (overflow) bit 4 =1 if one or more output impulses are saturated (too many impulses to emit) bit 5 =1 if the measurement signal is highly disturbed or if the sensor is disconnected bit 6 =1 if the measurement tube is empty bit 7 =1 if the circuit powering the coils is not working or the sensor is disconnected bit 8 =1 if the second measurement scale is active bit 9 =1 if the Flow rate is lower than the cut-off threshold bit10=1 if the Flow rate is negative
14
TECHNICAL MANUAL
PROFIBUS DP MODULE- DATA LINK
DESCRIPTION
Rev. Pagine
Filling By Checked By
03
Document Data Date Date
15/52
File name
ProfibusDP_emanual_Burkert_04.doc
19/03/08 19/03/08 19/03/08
bit11=1 if a new measurement value calculated for the display is available bit12=1 if the counter block signal is active bit13=1 if dosing is in progress bit14=1 if a calibration cycle is in progress bit15=1 if a Flow rate simulation is in progress
byte 14: (8 bits integer) measurement dynamic variation as a % byte 15: (8 bits integer) Data Type ( see section 2.4 Data Type )
NOTE: The values in the “32 bits single precision IEEE floating point” format are floating point numbers
which can be represented during writing by any decimal digits. To keep the same numerical format visible on the instrument display however, it is necessary to calculate the decimal figures with a rather complex algorithm which takes account of instrument precision, flow rate measurement unit, etc. For this purpose and to avoid useless calculations, the number of decimals to use to represent the flow rate values is supplied
separately. With the acyclic service it is possible to return the value ( see Acyclic Index Read = 20(dec)
Static Process Data of the Flow Meter byte position 13).
NOTE:The counters are expressed with a 32 bit integer. The «counter decimal figures» parameter, indicates the point position starting from the right: 0 = no decimal, 1=1 decimal figure, and so on. ( see Acyclic Index Read = 20(dec) Static Process Data of the Flow Meter byte position 12)
2.4. DATA TYPE
The firsts four byte of the Dynamic Data Block are the information about the Flow rate.
After these bytes there are eight byte for the totalizers.
With the Control byte of the Configuration (see the Section Slave Configuration) it is possible to set the
type of the Flow rate returned by the slave and the type of totalizers.
There are six possible combination of type of data in base of the value inserted in the Control byte of the
Configuration string in the GSD file.
The byte 15 indicate the current type of data selected:
byte 15 = 0 --> Flow rate in % totalizers positive or batch quantity ( batch quantity only for ML M3F ) partial totalizers positive or batch counter ( batch counter only for ML M3F )
byte 15 = 1 --> Flow rate in % totalizers negative or batch quantity ( data valid only for ML 210 ) partial totalizers negative or batch counter ( data valid only for ML 210 )
byte 15 = 2 --> Flow rate in technical unit totalizers positive or batch quantity ( batch quantity only for ML M3F ) partial totalizers positive or batch counter ( batch counter only for ML M3F )
byte 15 = 3 --> Flow rate in technical unit totalizers negative or batch quantity ( data valid only for ML 210 ) partial totalizers negative or batch counter ( data valid only for ML 210 )
byte 15 = 4 --> Flow rate in % totalizers positive or batch quantity ( batch quantity only for ML M3F ) totalizers negative or batch quantity ( data valid only for ML 210 )
15
TECHNICAL MANUAL
PROFIBUS DP MODULE- DATA LINK
DESCRIPTION
Rev. Pagine
Filling By Checked By
03
Document Data Date Date
16/52
File name
ProfibusDP_emanual_Burkert_04.doc
19/03/08 19/03/08 19/03/08
byte 15 = 5 --> Flow rate in technical unit totalizers positive or batch quantity ( batch quantity only for ML M3F ) totalizers negative or batch quantity ( data valid only for ML 210 )
For details see the section Slave Configuration.
There is a second way to set the type of the Flow rate using the Acyclic Service during data exchange (see section Acyclic Service).
2.5. THIRD CONFIGURATION: 24 BYTE INPUT
Below there is a description of the contents of each byte:
bytes 0-3: (32 bit single precision IEEE floating point, MSB first) Flow rate in % or Flow rate in t.u. (see
section 2.6 Flow Rate Type) bytes 4-7: (32 bit long integer, MSB first) totalizer for TOTAL volume + or batch quantity ( batch quantity only for ML M3F ) bytes 8-11: (32 bit long integer, MSB first) totalizer for PARTIAL volume + or batch counter ( batch counter only for ML M3F ) bytes 12-15: (32 bit long integer, MSB first) totalizer for TOTAL volume - or batch quantity ( data valid only for ML 210 ) bytes 16-19: (32 bit long integer, MSB first) totalizer for PARTIAL volume - or batch counter ( data valid only for ML 210 ) bytes 20-21: (16 bit unsigned integer, MSB first) process flags:
bit 0 =1 if the excitation is too fast for the sensor connected bit 1 =1 if the maximum alarm is active bit 2 =1 if the minimum alarm is active bit 3 =1 if the Flow rate exceeds the scale range value (overflow) bit 4 =1 if one or more output impulses are saturated (too many impulses to emit) bit 5 =1 if the measurement signal is highly disturbed or if the sensor is disconnected bit 6 =1 if the measurement tube is empty bit 7 =1 if the circuit powering the coils is not working or the sensor is disconnected bit 8 =1 if the second measurement scale is active bit 9 =1 if the Flow rate is lower than the cut-off threshold bit10=1 if the Flow rate is negative bit11=1 if a new measurement value calculated for the display is available bit12=1 if the counter block signal is active bit13=1 if dosing is in progress bit14=1 if a calibration cycle is in progress bit15=1 if a Flow rate simulation is in progress
byte 22: (8 bits integer) measurement dynamic variation as a % byte 23: (8 bits integer) Data Type ( see section 2.6 Data Type )
NOTE: The values in the “32 bits single precision IEEE floating point” format are floating point numbers
which can be represented during writing by any decimal digits. To keep the same numerical format visible on the instrument display however, it is necessary to calculate the decimal figures with a rather complex algorithm which takes account of instrument precision, flow rate measurement unit, etc. For this purpose and to avoid useless calculations, the number of decimals to use to represent the flow rate values is supplied
separately. With the acyclic service it is possible to return the value ( see Acyclic Index Read = 20(dec) Static Process Data of the Flow Meter byte position 13).
16
Loading...
+ 36 hidden pages