KROHNE IFC-010 User Manual

System Technology
HARTÆ Communications Protocol
Transmitter-Specific Command Specification
Communication Instructions for IFC 010
Revision #1
INITIAL RELEASE: May, 29, 1997
CURRENT RELEASE: May, 29, 1997
HARTÆ Communications Protocol IFC010 Command Specification Rev: 1.0 Release Date: 29 May 1997
CONTENTS
CONTENTS 2
1. REFERENCED DOCUMENTS 5
2. EXPANDED DEVICE TYPE CODE 5
3. IFC010 CONFORMANCE AND COMMAND CLASS SUMMARY 5
4. ADDITIONAL RESPONSE CODE INFORMATION 6
4.1 Transmitter-Specific Command Error 6
4.2 Update Failure 7
4.3 Field Device Malfunction 7
4.4 Configuration Changed 7
4.5 Primary Variable Analog Output Fixed 7
4.6 Non-Primary Variable Out Of Limits 7
4.7 Primary Variable Out Of Limits 7
5. GENERAL TRANSMITTER INFORMATION 7
5.1 Inputs/Outputs And Dynamic/Transmitter Variables 7
5.2 Damping Implementation 8
5.3 Nonvolatile Memory Data Storage 8
5.4 Multidrop Mode 8
5.5 Burst Mode 8
6. ADDITIONAL UNIVERSAL COMMAND SPECIFICATIONS 8
6.1 Command #0 Read Unique Identifier 8
6.2 Command #14 Read Primary Variable Sensor Information 8
6.3 Command #15 Read Primary Variable Output Information 8
7. ADDITIONAL COMMON-PRACTICE COMMAND SPECIFICATIONS 9
7.1 Command #33 Read Transmitter Variables 9
7.2 Command #34 Write Primary Variable Damping Value 9
7.3 Command #35 Write Primary Variable Range Values 9
© 1997 KROHNE Metechnik D-47058 Duisburg
Page 2
HARTÆ Communications Protocol IFC010 Command Specification Rev: 1.0 Release Date: 29 May 1997
7.4 Command #40 Enter/Exit Fixed Primary Variable Current Mod e 9
7.5 Command #43 Set Primary Variable Zero 9
7.6 Command #44 Write Primary Variable Units 9
7.7 Command #45 Trim Primary Variable Current Dac Zero 10
7.8 Command #46 Trim Primary Variable Current Dac Gain 10
7.9 Command #48 Read Additional Transmitter Status 10
7.10 Command #50 Read Dynamic Variables Assignments 11
7.11 Command #51 Write Dynamic Variables Assignments 11
7.12 Command #53 Write Transmitter Variable Units 12
7.13 Command #62 Read Analog Outputs 12
7.14 Command #66 Enter/Exit Fixed Analog Output Mode 12
7.15 Command #67 Trim Analog Output Zero 12
7.16 Command #68 Trim Analog Output Gain 12
8. TRANSMITTER-SPECIFIC COMMANDS 13
8.1 Command #128 Read Hardware Information 13
8.2 Command #129 Read Device Implementation Code 13
8.3 Command #130 Read Meter Diameter 14
8.4 Command #131 Write Meter Diameter 14
8.5 Command #134 Read Low Flow Cutoff Control And Values 15
8.6 Command #135 Write Low Flow Cutoff Control And Values 15
8.7 Command #136 Stop/Resume Totalizers 16
8.8 Command #137 Reset Totalizers 17
8.9 Command #138 Read Analog Output Function 17
8.10 Command #139 Write Analog Output Function 18
8.11 Command #142 Read Pulse Output Parameters 18
8.12 Command #143 Write Pulse Output Parameters 19
8.13 Command #144 Read Indication Function And Tripping Point 20
8.14 Command #145 Write Indication Function And Tripping Point 21
8.15 Command #146 Read Primary Constant And Flow Direction 21
8.16 Command #147 Write Primary Constant And Flow Direction 22
© 1997 KROHNE Metechnik D-47058 Duisburg
Page 3
HARTÆ Communications Protocol IFC010 Command Specification Rev: 1.0 Release Date: 29 May 1997
8.17 Command #148 Read Language And User-Defined Unit 22
8.18 Command #149 Write Language And User-Defined Unit 23
8.19 Command #150 Enable/Disable Password Protection 25
8.20 Command #151 Control Zero Calibration 26
8.21 Command #152 Quit Errors 26
8.22 Command #154 Read RS485 Communication Parameters 27
8.23 Command #155 Write RS485 Communication Parameters 27
9. TRANSMITTER-SPECIFIC TABLES 28
9.1 Primary Variable Unit Codes 28
9.2 Totalizer Unit Codes 28
9.3 Meter Size Table 29
9.4 Factors For Volume 29
9.5 Factors For Time 29
© 1997 KROHNE Metechnik D-47058 Duisburg
Page 4
HARTÆ Communications Protocol IFC010 Command Specification Rev: 1.0 Release Date: 29 May 1997
1. Referenced Documents
HART Physical Layer Specification - Revision 7.0 D8900097 HART Data Link Layer Specification - Revision 7.0 D8900098 HART Command Summary Information - Revision 7.0 D9000048 HART Universal Command Specification - Revision 5.1 D8900038 HART Common-Practice Command Specification - Revision 7.0 D9000050 HART Common Tables - Revision 5.0 D9000051
2. Expanded Device Type Code
Manufacturer Identification Code = 69 (0x45) Manufacturer¥s Device Type Code = 246 (0xF6)
The merger of these two 8-bit codes forms the 16-bit Expanded Device Type Code.
Expanded Device Type Code = 17910
3. IFC010 Conformance And Command Class Summary
Command Description Number
CONFORMANCE CLASS #1
- UNIVERSAL 0 Read Unique Identifier 1 Read Primary Variable
CONFORMANCE CLASS #1A
- UNIVERSAL 0 Read Unique Identifier 2 Read Primary Variable Current and Percent of Range
CONFORMANCE CLASS #2
- UNIVERSAL 11 Read Unique Identifier Associated with Tag 12 Read Message 13 Read Tag, Descriptor, Date 14 Read Primary Variable Sensor Information 15 Read Primary Variable Output Information 16 Read Final Assembly Number
CONFORMANCE CLASS #3
- UNIVERSAL 3 Read Dynamic Variables and P.V. Current
- COMMON-PRACTICE 33 Read Transmitter Variables 48 Read Additional Transmitter Status 50 Read Dynamic Variable Assignments 60 Read Analog Output and Percent of Range 62 Read Analog Outputs
- TRANSMITTER-SPECIFIC 128 Read Hardware Information 129 Read Device Implementation Code 130 Read Meter Diameter
© 1997 KROHNE Metechnik D-47058 Duisburg
Page 5
HARTÆ Communications Protocol IFC010 Command Specification Rev: 1.0 Release Date: 29 May 1997
134 Read Low Flow Cutoff Control and Values 138 Read Analog Output Function 142 Read Pulse Output Parameters 144 Read Indication Function and Tripping Point 146 Read Primary Constant and Flow Direction 148 Read Language and User -Defined Unit 154 Read RS485 Communication Parameters
CONFORMANCE CLASS #4
- COMMON-PRACTICE 34 Write Primary Variable Damping Value 35 Write Primary Variable Range Values 36 Set Primary Variable Upper Range Value 38 Reset Configura t i on Changed Flag 40 Enter/Exit Fixed Primary Variable Current Mode 42 Perform Master Reset 66 Enter/Exit Fixed Analog Output Mode
- TRANSMITTER-SPECIFIC 136 Stop/Resume Totalizers 137 Reset Totalizers 150 Enable/Disable Password Protection 152 Quit Errors
CONFORMANCE CLASS #5
-UNIVERSAL 6 Write Polling Address 17 Write Message 18 Write Tag, Descriptor, Date 19 Write Final Assembly Number
- COMMON-PRACTICE 43 Set Primary Variable Zero 44 Write Primary Variable Units 45 Trim Primary Variable Current DAC Zero 46 Trim Primary Variable Current DAC Gain 51 Write Dynamic Variable Assignments 53 Write Transmitter Variable Units 59 Write Number of Response Preambles 67 Trim Analog Output Zero 68 Trim Analog Output Gain
- TRANSMITTER-SPECIFIC 131 Write Meter Diameter 135 Write Low Flow Cutoff Control and Values 139 Write Analog Output Function 143 Write Pulse Output Parameters 145 Write Indication Function and Tripping Point 147 Write Primary Constant and Flow Direction 149 Wri te Language and Us er-Defined Unit 151 Control Zero Calibration 155 Write RS485 Communication Parameters
4. Additional Response Code Information
FIRST BYTE
4.1 Transmitter-Specific Command Error
Response code value 6 for IFC010 is not implemented. The IFC010 will respond and execute all commands at any time.
© 1997 KROHNE Metechnik D-47058 Duisburg
Page 6
HARTÆ Communications Protocol IFC010 Command Specification Rev: 1.0 Release Date: 29 May 1997
4.2 Update Failure
This response code (8) is returned if an EEPROM-burning process, activated via bus request, failed on any stage.
SECOND BYTE
4.3 Field Device Malfunction
Bit #7
This bit is set if any module of the standard instrument configuration: reports ìFatal Errorî. Refer also to Command #48, Read Additional Transmitter Status.
ADC, I/O Standard
Display/Counter 1
and
4.4 Configuration Changed
Bit #6
This flag is set whenever any configuration parameter is changed either via bus request or by direct instrument control via keypad. Note, that the instrument can run simultaneously two external protocols: via HART-bus and RS485-bus.
4.5 Primary Variable Analog Output Fixed
Bit #3
This flag is set under following conditions: when the function of current output is switched ìOffî or when fixed current mode is entered (Commands #40, #66).
4.6 Non-Primary Variable Out Of Limits
Bit #1
This flag is not implemented. The only non-primary variable having limits, namely limited as Primary Variable ( a random ìOut-of-Limitsî process.
SmoothedFlow)
but is not damped. Therefore near the boundaries
RawFlow
(refer to section 5.1), is
RawFlow
might provide
-
4.7 Primary Variable Out Of Limits
Bit #0
This flag is set whenever the Primary Variable exceeds the Sensor Limits returned with Command #14, Read Primary Variable Sensor Information.
5. General Transmitter Information
5.1 Inputs/Outputs And Dynamic/Transmitter Variables
The IFC010 instrument has a fixed set of outputs: one current output, one frequency/pulse output and one binary status/indication output.
The IFC010 transmitter handles four measurement-related variables, hence Transmitter Variablesí set is composed from variables with indices:
RawFlow
0 -
SmoothedFlow
1 -
PositiveTotalizer
2 -
NegativeTotalizer.
3 -
© 1997 KROHNE Metechnik D-47058 Duisburg
(via damping)
Page 7
HARTÆ Communications Protocol IFC010 Command Specification Rev: 1.0 Release Date: 29 May 1997
SmoothedFlow
frequency/pulse output can deal with two possible assignments: and 1 are allowed as Secondary Variable code. Tertiary and Fourth Variables are mapped onto logical slots (no more outputs) and can therefore accept any allowed value (0..3).
is always mapped onto the current output, thus providing a fixed setting for Primary Variable. The
RawFlow
SmoothedFlow
or
. Therefore only values 0
5.2 Damping Implementation
The IFC010 transmitter implements damping on both the digital Primary Variable and its Analog Output. The Analog Output is calculated from the digital Primary Variable.
The rest Dynamic Variables have either the same Damping Value as Primary Variable, or no damping. It depends on the Secondary Variable Code (refer to Command #51, Write Dynamic Variable Assignments).
5.3 Nonvolatile Memory Data Storage
The Flags Byte of Command #0 will have Bit #1 (Command #39, EEPROM Control) set to 0, indicating that all data sent to the transmitter will be saved automatically in the device EEPROM upon receipt of the Write- or Command-type command, that require data storage. Command #39, EEPROM Control, is not implemented.
5.4 Multidrop Mode
This revision of the IFC010 supports Multidrop Mode.
5.5 Burst Mode
This revision of the IFC010 does not support Burst Mode.
6. Additional Universal Command Specifications
This section contains information pertaining to those commands that require clarification.
6.1 Command #0 Read Unique Identifier
Device Identification Number (Data bytes #9..#11 of response packet) is preserved in the instrument as a 4-bytes number. Hence only three (low significant) bytes of this number are ìvisibleî to HART-requester.
6.2 Command #14 Read Primary Variable Sensor Information
Sensor serial number is not stored within device and therefore is responded as Ñnot applicable to deviceì (zero value). Sensor parameters depend on the meter diameter and should be reread if the latter is changed.
6.3 Command #15 Read Primary Variable Output Information
Upper Range Value depends on the meter diameter. When the latter is changed, Upper Range Value will be automatically corrected if needed. In the last case bus master will be prompted about compulsory changes in correlated parameters via Warning-type Response Codes (refer to Command #131, Write Meter Diameter).
© 1997 KROHNE Metechnik D-47058 Duisburg
Page 8
HARTÆ Communications Protocol IFC010 Command Specification Rev: 1.0 Release Date: 29 May 1997
Write Protect Code variable (Data byte #15 of response packet) depends on the setting made for device variable Entry Code, Menu 3.4.
7. Additional Common-Practice Command Specifications
The IFC010 implements a subset of the Common-Practice Commands. This section contains information pertaining to those commands that require clarification.
7.1 Command #33 Read Transmitter Variables
Multiple transactions are supported: bus master can request from 1 to 4 Transmitter Variables (with codes 0..3) in arbitrary set.
7.2 Command #34 Write Primary Variable Damping Value
The IFC010 will accept any IEEE value in the range 0.2 to 99.9 seconds for the damping value.
7.3 Command #35 Write Primary Variable Range Values
Upper Range Value is rejected if it exceeds the Upper Sensor Limit or is below the Lower Sensor Limit (both Limits are available via Command #14). Rejection reason in these two cases is reported via predefined response codes, namely by code 11, Upper Range Value too High, or by code 12, Upper Range Value too Lo w. However, it might happe n that a correct Upper Range Value for a given sensor causes the necessity to update the that plays the role of Upper Range Value for Secondary Variable and is based on the value of Primary Variable Upper Range. To handle correctly this situation, the predefined set of response codes for Command #35 was augmented by the two multi-definable warnings:
112, Pulse Value Exceeded Max and Was Corrected
113, Pulse Value Surpassed Min and Was Corrected
For additional information refer to Transmitter-Specific Commands #142/#143, Read/Write Pulsetype, Pulsewidth and Pulse Value.
Lower Range Value is always assumed to be zero for IFC010. Therefore this parameter in request packet is ignored. Transmitter returns zero value in response telegram without prompting master via special response code.
PulseValue
variable of the instrument
7.4 Command #40 Enter/Exit Fixed Primary Variable Current Mode
The instrument will accept any IEEE value in the range 3.5 to 25.0 mA as a desirable fixed current level. As required, zero value exits fixed current mode.
7.5 Command #43 Set Primary Variable Zero
An instant value of applied process (snapshot zero) is used to process this command. An alternative approach to calibration, when it is treated as a process, is realized via Transmitter-Specific Command #151, Control Zero Calibration.
7.6 Command #44 Write Primary Variable Units
© 1997 KROHNE Metechnik D-47058 Duisburg
Page 9
Loading...
+ 21 hidden pages