Fieldbus devices and serial communication (RS 232 / RS 485)
Feldbusgeräte und serielle Kommunikation (RS 232 / RS 485)
Appareils bus terrain et communication sérielle (RS 232 / RS 485)
Supplement to Operating Instructions
Ergänzung zur Bedienungsanleitung
Complément aux instructions de service
We reserve the right to make technical changes without notice.
Technische Änderungen vorbehalten!
Sous réserve de modifications techniques.
2. GENERAL INFORMATION ................................................................................................................................................................6
2.2. Information on the Internet ...............................................................................................................................................6
2.3. English terms ...........................................................................................................................................................................6
3. SERIAL COMMUNICATION .............................................................................................................................................................7
3.1. General Information..............................................................................................................................................................7
4.1. Address setting for BUS devices ...............................................................................................................................30
4.2. Technical Data ......................................................................................................................................................................31
4.5. Explanation of variables used in cyclic data traffic ..........................................................................................32
4.6. Acyclic data ............................................................................................................................................................................33
5.2. Configuration of Process Data ....................................................................................................................................35
5.3. Acyclic data ............................................................................................................................................................................35
6.1. CANopen general ................................................................................................................................................................36
6.3. CANopen – Service Data Transfer .............................................................................................................................43
6.4. CANopen – Process Data Transfer ...........................................................................................................................44
6.5. CANopen – Communication Object .........................................................................................................................50
6.6. Acyclic data ............................................................................................................................................................................50
7. ACYCLIC DATA TRANSFER WITH PROFIBUS, DEVICENET AND CANOPEN ...................................................51
7.7. Bürkert General Description Object .........................................................................................................................57
7.8. Bürkert MFC Family Object ...........................................................................................................................................57
8. STARTING UP THE MODBUS ....................................................................................................................................................66
8.1. General Information...........................................................................................................................................................66
8.2. Modbus in general ..............................................................................................................................................................66
8.3. Modbus register and communication objects ....................................................................................................70
9.1. Description of bit fields ...................................................................................................................................................79
9.2. Table of units .........................................................................................................................................................................83
4
english
MFC Family
Supplementary Operating Instructions
1. SUPPLEMENTARY OPERATING
INSTRUCTIONS
The Supplementary Operating Instructions describe communication with MFC family devices.
Safety Information!
Safety instructions and information for using the device may be found in the corresponding operating instructions.
• The operating instructions must be read and understood.
1.1. Symbols
DANGER!
Warns of an immediate danger!
• Failure to observe the warning may result in a fatal or serious injury.
WARNING!
Warns of a potentially dangerous situation!
• Failure to observe the warning may result in serious injuries or death.
CAUTION!
Warns of a possible danger!
• Failure to observe this warning may result in a moderate or minor injury.
NOTE!
Warns of damage to property!
• Failure to observe the warning may result in damage to the device or the equipment.
Indicates important additional information, tips, and recommendations which are important for your safety
and the flawless functioning of the device.
Refers to information in these operating instructions or in other documentation.
→ Designates a procedure that must be carried out.
english
5
2. GENERAL INFORMATION
2.1. Contact Addresses
Germany
Contact address:
Bürkert Fluid Control System
Sales Center
Chr.-Bürkert-Str. 13-17
D-74653 Ingelfingen
Phone: 07940 - 10 91 111
Fax: 07940 - 10 91 448
E-mail: info@de.buerkert.com
MFC Family
General Information
International
Contact addresses can be found on the final pages of the printed operating instructions.
And also on the Internet at:
www.burkert.com
2.2. Information on the Internet
The operating instructions and data sheets for device types can be found on the Internet at:
www.burkert.com
Complete documentation is also available on CD and can be ordered under ID number 804625.
2.3. English terms
English technical terms and proper nouns appear just as they were in the original German version (i.e. in English).
The English variables and function names, etc. that were used in the German version are also unchanged in the
English version.
The following lines are used for the serial interface:
Wire-conducted communication
GNDGround
RxDReception line (as seen by MFC)
TxDTransmission line (as seen by MFC)
Data format
The layout of the serial interface protocol is as follows:
Transfer rateStandard 9600 Bd (differs from HART)
Data bits8
ParityNone (differs from HART)
Stop bits1
Hardware handshakeNo
7
english
MFC Family
Serial Communication
Telegram
General Information
The layout of the transmission telegram is based on the HART protocol. HART is a master slave protocol, i.e. each
transmission is started by a master device (PC or manual operating unit). The slave device (field device, MFC / MFM)
responds only to a master telegram if the device was addressed by the telegram.
Exception: Burst message
Additional information about the HART protocol may be found under:
http://www.hartcomm.org/
http://www.romilly.co.uk/
A distinction is drawn between short frame and long frame telegrams. They consist of the following characters:
(for meaning see “3.3. Error messages”)
Data0 – 255 bytes
Checksum1 byte
8
english
MFC Family
Serial Communication
Preamble
The preamble consists of 2 to 20 0xFF characters (differs from HART). It is used to synchronize the data transfer.
Delimiter
Telegrams are distinguished from each other mainly by the delimiter:
Message type Short frameLong frame
Master → Slave0x020x82
Slave → Master0x060x86
Burst message from slave0x010x81
Master:PC or manual operating unit
Slave:Field device, MFC/MFM
Address
The address field contains both the master address and the slave address of the message. One byte is used for this
purpose in a short frame, while 5 bytes are used in a long frame. Each device must respond to a long frame address
of 0 (= broadcast address), i.e. bit 0/1=X, bits 0 – 37=0.
The highest-order bit in both formats indicates which master is involved in communication.
(1: Primary master, continuously connected hosts;
0: Secondary master, manual operating units)
Short frame address (1 byte)
Bit 70 Secondary master
1 Primary master
Bit 60 Not in burst mode
1 In burst mode (not supported)
Bits 0 – 5Polling address (0 – 32), bit 5 = MSB, bit 0 = LSB
m b x x x x x x
x Polling address
b Burst info
m Master address
english
9
MFC Family
Serial Communication
Long frame address (5 bytes)
Bit 390: Secondary master
1: Primary master
Bit 380: Not in burst mode
1: In burst mode (not supported)
Bits 32 – 37Manufacturer's ID code (0x78 = Buerkert),
Bit 37 = MSB, bit 32 = LSB
Bits 24 – 31Device type code (0xEE = Mass flow controller/meter),
Bit 31 = MSB, bit 24 = LSB
Bits 0 – 23Device ID number,
Bit 23 = MSB, bit 0 = LSB
(matches the device serial number)
Each field unit must respond to address 0 (bits 0 – 23 = 0).
Bit 37Bit 23Bit 0
|||
mb x x x x x x xy y y y y y y yz z z z z z z z z z z z z z z z z z z z z z z z
zDevice ID number
yDevice type code
xManufacturer's
ID code
bBurst info
mMaster address
Command
Commands are divided into the following categories in conformity with HART:
Universal commands Commands 0 – 30
Standard commands Commands 32 – 126
Device-specific
Commands 128 – 253
command
(reserved: 31, 127, 254, 255)
Byte count
The byte count indicates how many more bytes come before the checksum, i.e. the number of status bytes +
number of data bytes. This results in a maximum total number of 255 status and data bytes.
Response code
Transferred only from the slave to the master in a response telegram. Consists of 2 bytes. The status bytes are
used to detect communication errors or for the operating status of the slave device.
Data
Data bytes, depending on the command. A maximum of 255 data bytes can be transferred.
• Float – IEEE 754 single precision (4 bytes) float
10
english
MFC Family
Serial Communication
Checksum
The checksum is an XOR (exclusive OR, anticoincidence) combination of all bytes from the starting byte (delimiter)
up to and including the last data byte.
An XOR combination is the logical combination function of two logical values ("0" and "1"). It yields a result of "1"
if one but not both of the two values is "1".
english
11
3.2. Commands
MFC Family
Serial Communication
Command number
Command name
0x00
ReadUniqueldentifier
Request
Command0x00
Byte count0
Data-
Response
Command0x00
Byte count14 (18)
Status2 bytes, device status
Data12 (16) bytes
0"254" (expansion)
1manufacturer identification code
2manufacturer‘s device type code
3number of preambles required
4universal command revision
5device-specific command revision
6software revision
7hardware revision
8device function flags
9 – 11device ID number
(12common-practice command revision)
(13common tables revision)
(14data link revision)
(15device family code)
1)
1)
2)
2)
2)
12
Description
HART-Universal Command 0.
1)
First byte transferred: MSB
2)
Reserved for later versions
english
MFC Family
Serial Communication
Command number
Command name
0x01
ReadPrimaryVariable
Request
Command0x01
Byte count0
Data-
Response
Command0x01
Byte count7
Status2 bytes, device status
Data5 bytes
0PV units code
1 – 4primary variable (float)
Description
HART-Universal Command 1.
PV Unit 0 x 39
%
1)
PV Actual flow X (±)
(see also “3.3.3. Codings and units”)
Example:
All data as hexadecimal numbers (prefix 0x) short frame
Primary master
Short address 0
0x30 0x39 for PV Unit = %
0x41C80000 = 25.0 IEEE 754 floating point
1)
First byte transferred: MSB
13
english
MFC Family
Serial Communication
Command number
Command name
0x03
ReadCurrentAndFourDynamicVariables
Request
Command0x03
Byte count0
Data-
Response
Command0x03
Byte count26
Status2 bytes, device status
Data24 bytes
0 – 3current (mA) (float)
4PV units code
5 – 8primary variable (float)
9SV units code
10 – 13secondary variable (float)
14TV units code
15 – 18third variable (float)
19FV units code
20 – 23fourth variable (float)
1)
1)
1)
1)
1)
14
Description
HART-Universal Command 3.
New variable assignment as of firmware version A.00.28.09:
current Actual flow scaled to 4 – 20 mA
PV Unit %
PV Actual flow X (±)
SV Unit %
SV Set-point value flow W
TV Unit %
TV Positioning set-point value y 2 (valve duty cycle)
FV Unit sec
FV Device sampling time,
since power-on or SyncTA command
1)
First byte transferred: MSB
english
MFC Family
Serial Communication
Command number
Command name
0x06
WritePollingAddress
Request
Command0x06
Byte count1
Data1 byte
0polling address
Response
Command0x06
Byte count3
Status2 bytes, device status
Data1 byte
0polling address
Description
HART-Universal Command 6:
Command for changing the HART polling address.
english
15
MFC Family
Serial Communication
Command number
Command name
0x27
EepromControl
Request
Command0x27
Byte count1
Data1 byte
0= Write to EEPROM
1= Copy content of EEPROM to RAM
Response
Command0x27
Byte count3
Status2 bytes, device status
Data1 byte
0= Write to EEPROM
1= Copy content of EEPROM to RAM
Description
HART-Universal Command 39.
Command to write/read parameters (for example the polling address) to/from EEPROM.
16
english
MFC Family
Serial Communication
Command number
Command name
0x80
ReadVersion
Request
Command0x80
Byte count0
Data-
Response
Command0x80
Byte count36
2) 3) 4) 5)
Status2 bytes, device status
Data34 bytes
0 – 1Device type (unsigned int), e.g. 8626
2Device number, z. B. 1
3 – 6Device ID number (unsigned long)
7 – 10Device serial number (unsigned long)
11 – 14Software ID number (unsigned long)
15Software version x (x.y.z.cc): A – Z
16Software version y (x.y.z.cc): 0 – 99
17Software version z (x.y.z.cc): 0 – 99
18Software version cc (x.y.z.cc): 0 – 99
19EEPROM layout version x (x.y): A – Z
20EEPROM layout version y (x.y): 0 – 99
21Table_x version (x.y): A – Z
22Table_y version (x.y): 0 – 99
23 – 26Bios ID number (unsigned long)
27Bios version x (x.y.z.cc): A – Z
28Bios version y (x.y.z.cc): 0 – 99
29Bios version z (x.y.z.cc): 0 – 99
30Bios version cc (x.y.z.cc): 0 – 99
31MFi software version x (x.y): A – Z
32MFi software version y (x.y): 0 – 99
33MFi software version x (x.y): A – Z
1)
1)
1)
2)
2)
3)
3)
4)
4)
4)
4)
4)
5)
5)
5)
Description
Command to read device information and the software version.
1)
First byte transferred: LSB
2)
Version-dependent – available with firmware version A.00.29.02 or later
3)
Version-dependent – available with firmware version A.00.63.00 or later
4)
Version-dependent – available with firmware version A.00.64.00 or later
5)
Version-dependent – available with firmware version A.00.83.03 or later
17
english
MFC Family
Serial Communication
Command number
Command name
0x92
ExtSetpoint
Request
Command0x92
Byte count5
Data1 byte
0Internal set-point value settings
1External set-point value settings
4 bytes
0 – 3Set-point value [%] (float)
Response
Command0x92
Byte count7
Status2 bytes, device status
Data1 byte
0Internal set-point value settings
1External set-point value settings
4 bytes
0 – 3Set-point value [%] (float)
1)
1)
18
Description
Available as of firmware version A.00.28.09.
Determines the set-point value settings and describes the external set-point value as a percentage:
Internal = analog - the set-point value settings is assigned by the analog set-point value signal that is
created
External = digital via serial interface
Do not use this command if you are using a bus device (PROFIBUS, DeviceNet, etc.). The digital set-point
value settings via the serial interface has a higher priority.
1)
First byte transferred: MSB
Example:
All data as hexadecimal numbers (prefix 0x) short frame
Primary master
Short address 0
• Switch set-point value settings to analog set-point value settings:
0xFF 0xFF 0x02 0x80 0x92 0x05 0x00 0x00 0x00 0x00 0x00 0x15
FF FF 06 80 92 07 00 00 00 .............
english
19
MFC Family
Serial Communication
Command number
Command name
0x93
GetAddDeviceInfo
Request
Command0x93
Byte count0
Data-
Response
Command0x93
Byte count10
Status2 bytes, device status
Data8 bytes
0 – 1Bit field ERRORS
2 – 3Bit field OTHERS
4 – 5Bit field LIMITS
6 – 7Reserved (bit field)
Description
Available as of firmware version A.00.28.09.
1)
1)
1)
1)
Command for reading additional device information such as error bits, operating states (AutoTune, Safepos, etc.),
states of threshold values and binary inputs/outputs.
1)
First byte transferred: LSB
20
english
MFC Family
Serial Communication
Command number
Command name
0x94
GetBusAddress
Request
Command0x94
Byte count0
Data-
Response
Command0x94
Byte count4
Status2 bytes, device status
Data2 bytes
0 – 1Bus address (unsigned int)
1)
Description
Available as of firmware version A.00.28.09.
Command for reading the bus address (PROFIBUS, DeviceNet, etc.). If the connected device is not a bus
device, the error "Access denied" is returned in the response.
1)
First byte transferred: LSB
english
21
MFC Family
Serial CommunicationSerial Communication
Command number
Command name
0x95
SetBusAddress
Request
Command0x95
Byte count2
Data2 bytes
0 – 1Bus address (unsigned int)
1)
Response
Command0x95
Byte count4
Status2 bytes, device status
Data2 bytes
0 – 1Bus address (unsigned int)
1)
Description
Available as of firmware version A.00.28.09.
Command for setting the bus address (PROFIBUS, DeviceNet, etc.). If the connected device is not a bus
device, the error "Access denied" is returned in the response.
1)
First byte transferred: LSB
22
english
MFC Family
Serial Communication
Command number
Command name
0x96
GetTotalizer
Request
Command0x96
Byte count1
Data1 byte
0Index of calibration gases
Response
Command 0x96
Byte count8
Status2 bytes, device status
Data1 byte
Index of calibration gases
0 Gas 1
1 Gas 2
5 bytes
1
Unit
2 – 5
Totalizer value (Float)
Description
Available as of firmware version A.00.28.09.
Reads the totalizer value for the gas with the selected index in the unit that was transferred (167 = Nl; in
reference to 1013 mbar, 273 K).
english
23
MFC Family
Serial Communication
Command number
Command name
0x97
ClearTotalizer
Request
Command0x97
Byte count1
Data1 byte
0 index of calibration gases
Feedback
Command0x97
Byte count3
Status2 bytes, device status
Data1 byte
Index of calibration gases
0 Gas 1
1 Gas 2
Description
Available as of firmware version A.00.28.09.
Deletes the totalizer value of the corresponding gas.
24
english
MFC Family
Serial Communication
Command number
Command name
Device types
0x98
ExtSetpointWithoutAnswer
0xEE
Request
Command0x92
Byte count5
Data1 byte
0Set-point value settings, internal
1Set-point value settings, external
4 bytes
1 – 4Set-point value [%] (float)
Response
CommandByte countStatus-
Data-
Description
1)
Available as of firmware version A.00.51.06.
Determines the set-point value settings and describes the external set-point value as a percentage:
Internal = analog - the set-point value settings is assigned by the analog
set-point value signal that is created
External = digital via serial interface
Do not use this command if you are using a bus device (PROFIBUS, DeviceNet, etc.). The digital set-point
value settings via the serial interface has a higher priority.
No response is sent for this command.
1)
First byte transferred: MSB
english
25
MFC Family
Serial Communication
3.3. Error messages
2 bytes, device status
Error messages are saved in the device status. If the device status is 0, no error occurred.
3.3.1. First status byte
Communication error
Error code
Error name
DescriptionUART error, receive buffer, overflow was detected.
Error code
Error name
DescriptionAn incorrect checksum was received.
Error code
Error name
DescriptionUART error, framing error was detected.
Error code
Error name
DescriptionUART error, overrun error was detected.
Error code
Error name
DescriptionUART error, parity error was detected.
0x82
overflow
0x88
checksum
0x90
framing
0xA0
overrun
0xC0
parity
26
english
MFC Family
Serial Communication
Command error
Error code
Error name
0x02
invalid_selection
DescriptionAn invalid data range was selected.
Error code
Error name
Description
Error code
Error name
Description
Error code
Error name
0x03
parameter_too_large
Transfer parameter too large. It may be a table or array index from the data range, i.e. an
incorrect value range.
0x04
parameter_too_small
Transfer parameter too small. It may be a table or array index from the data range, i.e. too low
for the value range.
0x05
too_few_data_bytes
DescriptionNot enough data bytes were received.
Error code
Error name
0x07
write_protected
DescriptionDevice is write-protected.
Error code
Error name
Description
Error code
Error name
Description
0x10
access_restricted
The command that was sent cannot be executed (currently). Access was denied. The cause
could be, for example, that the necessary access rights are lacking or the command is not
permitted in the current operating mode.
0x40
no_command
Invalid/incorrect command, i.e. the command that was received is not supported by the
device.
english
27
Device status
MFC Family
Serial Communication
Error code
Error name
0x20
device_busy
DescriptionDevice is busy.
Internal device-specific error messages
Error code
Error name
Description
Error code
Error name
Description
0x01
timeout
The time limit was exceeded, i.e. too much time passed between a valid received delimiter
and a complete command.
0x41
wrong_command
Incorrect command structure, i.e. the command is valid and exists, but the number of bytes
transferred does not match. Only 1 byte was transferred for a 2-byte variable.
28
english
MFC Family
Serial Communication
3.3.2. Second status byte
Second status byte
Bit 7Field device malfunction
Bit 6 reserved for future purposes
Bit 5 reserved for future purposes
Bit 4 reserved for future purposes
Bit 3reserved for future purposes
Bit 2 reserved for future purposes
Bit 1 reserved for future purposes
Bit 0 reserved for future purposes
UART errors take precedence in error detection.
Multiple UART errors cannot be detected simultaneously.
0xFA250not used
0x FB251none
0xFC252unknown
0xFD253special
Units (HART standard)
HexDecUnitDescription
0x3351secSeconds
0x3957%Percent
0xA7167NlNormalized liters (reference condition p = 1015 mbar
0xFA250-not used
0xFB251-none
0xFC252-unknown
0xFD253-special
abs
, T = 273,15 K
english
29
MFC Family
PROFIBUS DP Start-up
4. PROFIBUS DP START-UP
4.1. Address setting for BUS devices
4.1.1. Devices without rotary switch for address setting
The BUS address of devices can be set either with the Bürkert configuration tool MassFlowCommunicator in the
"Views" → "PROFIBUS/DeviceNet/CANopen" view or directly with the BUS master.
After an address is changed, it must be initialized on the slave and also on the master. Depending on the BUS, it
may be necessary to send an appropriate telegram.
To ensure the setting was made without problems, a device reset should be performed (turn the electrical
power off and back on).
4.1.2. Devices with rotary switch for address setting
When the device is turned on, the address set as the slave address on the rotary switches is applied. Valid
addresses are:
• PROFIBUS 0 … 126
• DeviceNet 0 … 63
• CANopen 1 … 127
If the address has been set outside the permissible range, the address setting has the validity as described in
section “4.1.1”.
If you want to make an address setting with the BUS master and there are rotary switches available, set
the address to a value outside the valid range.
english
Loading...
+ 224 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.