Meaf 66499 1 en 0701

Download as pdf or txt
Download as pdf or txt
You are on page 1of 99

Bühler AG

CH-9240 Uzwil, Switzerland


Phone +41 71 955 11 11
Fax +41 71 955 33 79
www.buhlergroup.com

Operating instructions

Profibus-DP Protocol

MEAF-66499-1-en-0701
2 Table of contents Profibus-DP Protocol

Copyright
Bühler reserves all rights to this document and the device described therein.
Without the prior written permission of Bühler, this document must not, either in
whole or in part, be reproduced, copied or, in any form, in whole or in part, made
accessible to a third party, or be used for any purpose other than that for which it
was made available to the recipient.

Contents
These operating instructions contain basic information on the structure, function,
assembly, start-up, operation and maintenance of the serial device interfaces.
All appendices are integral parts of the operating instructions.

Safety
These devices are built in compliance with the recognized safety engineering
principles. In spite of this, inexpert use may result in damage to persons or
property.

Warranty
Non-compliance with the operating instructions will result in the lapse of the
warranty; this also applies to alterations or repairs to the control unit without the
prior written permission of Bühler. Similarly, Bühler cannot accept any liability for
damage or accidents caused by inexpert handling, overloading of the equipment or
circumstances beyond our control.

Liability
Bühler is only liable for direct damage to persons and property under the applicable
product liability law if the control unit is used within the area specified in these
operating instructions, or in a contractually agreed application.
Bühler is not liable for any damage not originating in the control unit itself
(loss of use, production and profit or other direct or indirect damage).

Note:
These operating instructions apply from program version
SCALEV38D
BAGDV13G
MYFC/MOZF27B
DevCTRL21A

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Table of contents 3

Table of contents

1 Safety................................................................................................................7
1.1 General ..............................................................................................................................7
1.1.1 Duty of instruction...............................................................................................7
1.1.2 Accident prevention ............................................................................................7
1.2 Notes on safety at work .....................................................................................................7
1.2.1 Start-up and installation......................................................................................7
1.2.2 Operation of the control unit ...............................................................................7
1.2.3 Electrical wiring...................................................................................................8
1.3 Safety concept for control units .........................................................................................8

2 Description.......................................................................................................9
2.1 Summary............................................................................................................................9
2.2 Order numbers for Profibus-DP option ..............................................................................9
2.3 Technical data..................................................................................................................10

3 Installation and configuration ......................................................................11


3.1 Installation of Profibus-DP option ....................................................................................11
3.2 Setting of MEAF parameters............................................................................................12
3.3 Device-specific operating instructions .............................................................................13

4 Protocol structure .........................................................................................14


4.1 Illustration of protocol structure........................................................................................14
4.2 Data records ....................................................................................................................15
4.3 Index of transmitted / received data record .....................................................................15

5 General data for all devices..........................................................................16


5.1 Overview of data records for all devices..........................................................................16
5.2 Control bits (transmitted data byte 3)...............................................................................17
5.3 Status bits (received data byte 3) ....................................................................................18
5.4 Received data record 127 (received data bytes 8…23) ..................................................19
5.5 Parameter output .............................................................................................................20
5.6 Date / Time.......................................................................................................................21

6 DMS transmitter (DMS-T) ..............................................................................22


6.1 Summary of standard data records 128/1 .......................................................................22
6.2 Control bits (transmitted data bytes 0…3) .......................................................................23
6.3 Status bits (received data bytes 0…3).............................................................................23
6.4 Transmitted data records (transmitted data bytes 8…23) ...............................................24
6.5 Received data records (received data bytes 8…23) .......................................................24

7 Dump scales (DUMP) ....................................................................................25


7.1 Summary of standard data records 128/1 .......................................................................25
7.2 Control bits (transmitted data bytes 0…3) .......................................................................26
7.3 Status bits (received data bytes 0…3).............................................................................27
7.4 Transmitted data records (transmitted data bytes 8…23) ...............................................28
7.5 Received data records (received data bytes 8…23) .......................................................29

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


4 Table of contents Profibus-DP Protocol

8 Differential dosing scales (DIFF, DIFFG, DIFFM)........................................ 30


8.1 Summary of standard data records 128/1....................................................................... 30
8.2 Control bits (transmitted data bytes 0…3) ...................................................................... 31
8.3 Status bits (received data bytes 0…3) ............................................................................ 32
8.4 Transmitted data records (transmitted data bytes 8…23) .............................................. 33
8.5 Received data records (received data bytes 8…23)....................................................... 34

9 Micro-dosing unit MZMN .............................................................................. 35


9.1 Summary of standard data records 128/1....................................................................... 35
9.2 Control bits (transmitted data bytes 0…3) ...................................................................... 36
9.3 Status bits (received data bytes 0…3) ............................................................................ 36
9.4 Transmitted data records (transmitted data bytes 8…23) .............................................. 37
9.5 Received data records (received data bytes 8…23)....................................................... 38

10 Automatic flow balancer and flowmeter MZAH (FBAL) ............................. 39


10.1 Summary of standard data records 128/1....................................................................... 39
10.2 Control bits (transmitted data bytes 0…3) ...................................................................... 40
10.3 Status bits (received data bytes 0…3) ............................................................................ 41
10.4 Transmitted data records (transmitted data bytes 8…23) .............................................. 42
10.5 Received data records (received data bytes 8…23)....................................................... 42

11 Check weigher (CHECK) .............................................................................. 43


11.1 Summary of standard data records 128/1....................................................................... 43
11.2 Control bits (transmitted data bytes 0…3) ...................................................................... 44
11.3 Status bits (received data bytes 0…3) ............................................................................ 45
11.4 Transmitted data records (transmitted data bytes 8…23) .............................................. 46
11.5 Received data records (received data bytes 8…23)....................................................... 47

12 Bagging scales (BAG) .................................................................................. 48


12.1 Summary of standard data records 128/1....................................................................... 48
12.2 Control bits (transmitted data bytes 0…3) ...................................................................... 49
12.3 Status bits (received data bytes 0…3) ............................................................................ 50
12.4 Transmitted data records (transmitted data bytes 8…23) .............................................. 51
12.5 Received data records (received data bytes 8…23)....................................................... 52

13 Differential bagging scales (BAGD1, BAGD2, BAGD3) ............................. 53


13.1 Summary of standard data records 128/1....................................................................... 53
13.2 Control bits (transmitted data bytes 0…3) ...................................................................... 54
13.3 Status bits (received data bytes 0…3) ............................................................................ 56
13.4 Transmitted data records (transmitted data bytes 8…23) .............................................. 57
13.5 Received data records (received data bytes 8…23)....................................................... 59

14 Metering slide gate MZDE ............................................................................ 60


14.1 Summary of standard data records 128/1....................................................................... 60
14.2 Control bits (transmitted data bytes 0…3) ...................................................................... 61
14.3 Status bits (received data bytes 0…3) ............................................................................ 61
14.4 Transmitted data records (transmitted data bytes 8…23) .............................................. 62
14.5 Received data records (received data bytes 8…23)....................................................... 62

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Table of contents 5

15 Automatic moisture control unit MYFC .......................................................63


15.1 Summary of standard data records 128/1 .......................................................................63
15.2 Control bits (transmitted data bytes 0…3) .......................................................................64
15.3 Status bits (received data bytes 0…3).............................................................................64
15.4 Transmitted data records (transmitted data bytes 8…23) ...............................................65
15.5 Received data records (received data bytes 8…23) .......................................................66

16 Liquids flow controller MOZF.......................................................................67


16.1 Summary of standard data records 128/1 .......................................................................67
16.2 Control bits (transmitted data bytes 0…3) .......................................................................68
16.3 Status bits (received data bytes 0…3).............................................................................68
16.4 Transmitted data records (transmitted data bytes 8…23) ...............................................68
16.5 Received data records (received data bytes 8…23) .......................................................69

17 Dosing control system (DCOS) ....................................................................70


17.1 Summary of standard data records 128/1 .......................................................................70
17.2 Control bits (transmitted data bytes 0…3) .......................................................................71
17.3 Status bits (received data bytes 0…3).............................................................................72
17.4 Transmitted data records (transmitted data bytes 8…23) ...............................................73
17.5 Received data records (received data bytes 8…23) .......................................................74

18 Device Control (DevCtrl) ...............................................................................75


18.1 General Particulars ..........................................................................................................75
18.2 Summary of standard data records 128/1 (applies to all devices)...................................76
18.3 Control bits (transmitted data bytes 0…3) .......................................................................77
18.4 Status bits (received data bytes 0…3).............................................................................78
18.5 Transmitted data records (transmitted data bytes 8…23) ...............................................78
18.6 Received data records (received data bytes 8…23) .......................................................79

19 Vertical grinder (PEARL)...............................................................................80


19.1 Summary of standard data records 128/1 .......................................................................80
19.2 Command bits (transmitted data bytes 0…3) ..................................................................81
19.3 Status bits (received data bytes 0…3).............................................................................81
19.4 Transmitted data records (transmitted data bytes 8…23) ...............................................82
19.5 Received data records (received data bytes 8…23) .......................................................82

20 Hammer mill (DFCO) .....................................................................................83


20.1 Summary of standard data records 128/1 .......................................................................83
20.2 Control bits (transmitted data bytes 0…3) .......................................................................85
20.3 Status bits (received data bytes 0…3).............................................................................86
20.4 Transmitted data records (transmitted data bytes 8…23) ...............................................87
20.5 Received data records (received data bytes 8…23) .......................................................88

21 Examples........................................................................................................91
21.1 Schematic structure of the data communication..............................................................91
21.1.1 Simple example: read actual value ..................................................................91
21.1.2 More complex example: transmit nominal values, control signals and query
actual values.....................................................................................................92
21.2 Example: S5 as Profibus master, MEAF as slave ...........................................................94

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


6 Table of contents Profibus-DP Protocol

21.2.1 Configuration of IM308C with COM PROFIBUS V5.1 ..................................... 94


21.2.2 Step 5: Communication with DP-slave by FB192............................................ 96
21.3 Example: S7 as Profibus master, MEAF as slave .......................................................... 97
21.3.1 Hardware configuration.................................................................................... 97
21.3.2 Step 7: Communication with DP-slaves using SFC14/15................................ 99

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Safety 7

1 Safety
1.1 General

Note:
These operating instructions must always be kept to hand near the control unit.

1.1.1 Duty of instruction


The user is responsible for the training and safety of the operating personnel. It is
therefore very important that the documentation is actually distributed to the
individuals concerned.
The user and operating personnel of the control unit are obliged to note and
observe the instructions in this manual.
All persons involved in the connection, operation or maintenance of the
control unit must have read and understood these operating instructions.
The control unit should only be operated by persons who have been
instructed and are aware of the dangers involved.
1.1.2 Accident prevention
The control unit is equipped ex factory with safety devices. Provided they are
operated in accordance with the intended purpose, these devices comply with the
currently applicable international safety standards and relevant accident prevention
regulations.
The accident prevention regulations are included in these operating instructions. All
relevant local safety instructions and accident prevention regulations also apply in
addition.

Note:
Safety devices, warning and instruction signs must be kept clean and should
never be removed or covered.
Damaged warning and instruction signs must be replaced immediately with
new ones.

1.2 Notes on safety at work


1.2.1 Start-up and installation
Start-up, trial run and adjustment operations should only be carried out by
instructed and (if necessary) authorized personnel.
Prior to the initial start-up of the machine, the operating personnel should
familiarize themselves with all instructions and regulations contained in this
manual.
The country-specific standards apply in all cases.
1.2.2 Operation of the control unit
The control unit may only be operated by instructed, qualified personnel who have
familiarized themselves with all display and operating elements.

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


8 Safety Profibus-DP Protocol

1.2.3 Electrical wiring


The electrical wiring must be carried out by authorized personnel. Electrical wiring
and appliances must be checked at regular intervals. Special attention must be
paid to the following:
• For all connection or repair work on the control unit, the power supply must be
interrupted by disconnecting all poles and the mains switch must be locked to
prevent reactivation.
• Defective wiring or devices must be repaired or replaced immediately.
• Do not lay loose cables on the floor.

1.3 Safety concept for control units


The control units supplied by Bühler are an integrated part of the safety concept for
preventing accidents involving our machines and plants. Bühler does not accept
any liability to the user for faults of the control unit or any damage resulting
therefrom.

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Description 9

2 Description
2.1 Summary
To complement the Bühler host protocol, an extension with Profibus-DP built to the
standard EN 50170 is offered which is suitable for all types of scales.
The sub-module in question is equipped with a Siemens SPC3 Profibus controller.
This removes the need for any additional wiring, as the connecting speed can be
selected so as to allow even critical control functions.
In the event of a failure of the MEAF control unit (deadlock), the corresponding
diagnostic flags are set in the protocol. These can then be evaluated by a master
unit so that suitable action can be taken. Conversely, in the event of a master
failure or connection problems the MEAF control unit can effect a control stop in
order to restore the plant to a safe condition.

2.2 Order numbers for Profibus-DP option

If ordered together with a complete MEAF control unit See special instructions
(chapter 3.3)
Subsequent orders, PCB as individual part EKP-84183-81

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


10 Description Profibus-DP Protocol

2.3 Technical data

Profibus controller Siemens SPC3


Protocol Profibus-DP built to EN 50 170
The protocol consists of 24 bytes of transmitted and received data respectively.
The DMS transmitter also includes a compact protocol (see operating instructions
of DMS transmitter).
Baud rate A baud rate of max. 12 Mbaud is possible. The Profibus extension card
automatically adapts to the configured baud rate, so that no settings need to be
made.
Bus connection If the device is at the end of the Profibus, use the plug with the integrated terminal
resistor. Using the wrong bus connection can render communication impossible on
the entire Profibus
Cable lengths The maximum cable lengths per bus segment are limited by the baud rate:
1.5 Mbaud: 200 m per segment
12 Mbaud: 100 m per segment
Repeaters should be used for longer cables.
Deadlock If the MEAF control unit switches to an invalid state / deadlock, the SPC3 Profibus
module detects this by means of a watchdog and stops the data transfer. The
relevant diagnostic data are set in the Profibus protocol and can be evaluated, e.g.
by the master.
Identification AEE0 (registered by Profibus user organization)
Configuration The configuration takes place by the GSD-file BUZ_AEE0.GSD, the file
BUZ_AEE0.DIB is used for the MEAF-symbol.
Connection check The connection check is only active if the parameter SYS.REM = REMP is set. If
(timeout) there are no more data received for longer than one second fault 14 is generated.
The device is stopped (exception BAG).
Note:
Timeout monitoring for BAGD takes place analogous to serial interface (RS-485).

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Installation and configuration 11

3 Installation and configuration


3.1 Installation of Profibus-DP option

a Basicprint RAM/BATTERY EPROM S2


RUN CAL
100…240 V AC

24 V DC

{ }
Option Profibus

1 2 3 4

A B

X49
X20 S4

X13 X14 X15 X16 X17 X18 X19


IO-Extension

F3
b } 1 2 3 4
A B

X42
A B

X41
X11
c X1 S3 X9
X2 X3 X4 X5 X6 X7 X8

Fig. 3.1

a) Mains supply (AC/DC converter)


b) Mains voltage connection 100…240 V AC to X11
see Appendix on mains supply for wiring details
c) In case of external +24 V DC power supply connection is made directly to X1

Mains supply Only in the 115/230 V AC version


IO extension Option; plugged in and screwed onto the basic print
Profibus-DP Option; plugged in and screwed onto the basic print or IO extension
EPROM Program module. To change the program the EPROM must be lifted carefully with
a screwdriver.

Caution! The notch must be on the left!

S2 Calibration switch. RUN = release weighing operation / CAL = calibration


S3, S4 Settings for RS-485 host interface. All switches are OFF in standard position. If the
device is the last one on the bus, the switch S3:3 or S4:3 must be set to ON.
Possibly the switches S3:1 and S3:2 at the last device must be set to ON (or S4:1
and S4:2). These are bias resistors which are normally available at the Host.
(For details see manual 66435)
X41, X42 Plug-in jumpers of the DMS input (sense lines)
Position A = 4-wire DMS (standard) / position B = 6-wire DMS
X49 Position A = analog input 0/4…20 mA at terminals AI+ / AI–
Position B = calibratable (AI used internally for temperature measurement)
(plug-in jumper only available from print version -02)
F3 Fine fuse 1.25 A slow-blow as 24 V input fuse

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


12 Installation and configuration Profibus-DP Protocol

3.2 Setting of MEAF parameters


The following parameters are directly connected to the Profibus-DP extension. See also device-
specific manuals.

SYS.TYP The structure of the transmitted and received data varies according to the
selected type of scales.
SYS.REM The transmitted data are only accepted by the device if the parameter is
set to REMP. The received data can be read with any setting.
HOST.ADR Profibus-DP and host address
HOST.WFOR 2) Weight format for Profibus and serial interface
FIX Fixed format
kg with DUMP, DIFFG, DIFF and DCOS
with BAG according to ADC.DIV
g with DIFFM via Profibus
DIV according to ADC.DIV
g with DIFFM via Profibus
P-DP 1) Profibus-DP diagnosis
0= Timeout / communication interrupted
1= Fault during initializing
2= No fault
3) Extended Profibus-DP diagnosis
It is possible to switch between the individual displays of the extended
Profibus diagnosis by simultaneously pressing the «F» key and the
«Plus» or «Minus» key. The displays B0 to B3 correspond to the received
control flags bytes 0 to 3. The displays WR1 to WR4 represent the data
records that were transmitted from a PLC to the MEAF. RD1 to RD4 on
the other hand represent the received data records of the PLC. A flashing
"ERR" together with a WR-display indicates that incorrect nominal values
were transmitted or that configuration of the MEAF is wrong. The exact
cause can be determined by analyzing the data record concerned.
The display can be updated by pressing the «Enter» key. In this case the
data received next will be recorded.
TCON.MPDP 1) Only with the DMS transmitter it is possible to choose between the
protocols «Standard», «Compact» or Compact consistent». For all other
types of scales, the standard protocol is automatically selected.
ADC.DIV Weight resolution
This is referred to simply as DIV in these operating instructions.

1) Only visible when a Profibus-DP extension card is plugged in.


2) This parameter is not visible for the scale types ICONV, FBAL, MZMN and CHECK as well as all
BAGD types.
3) With BAGD not available

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Installation and configuration 13

3.3 Device-specific operating instructions


For a more detailed description of the functions and parameters of the scales, see
the following operating instructions:
MEAF-66372-1 Scales control unit
– Dump scales (DUMP)
– Differential dosing scales (DIFF, DIFFG, DIFFM)
– Bagging scales (BAG)
MEAF-66476-1 Control unit for continuous
check weigher (CHECK)
MEAF-66482-1 Control unit for
differential bagging scales (BAGD1, BAGD2, BAGD3)
MEAF/DMS-T-66388-2 DMS transmitter
MZAH-66469-1 Automatic flow balancer and flowmeter MZAH (FBAL)
MZMN-66488-1 Control unit for micro-dosing unit MZMN
MYFC/MOZF-66542-1 Automatic moisture control unit MYFC
Liquids flow controller MOZF
MZDE-66548-1 Metering slide gate MZDE (SLIDE)
DCOS-66584-1 Dosing control system (DCOS)

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


14 Protocol structure Profibus-DP Protocol

4 Protocol structure
The standard protocol consists of 12 words of consistently transmitted and
received data with a symmetrical structure. These include 4 bytes each of control
or status bits which are transmitted in all cases. 16 bytes contain variable data
(data records) which are defined by a number and an index (number/index of
transmitted and received data record; one byte each).
In these 16 bytes, 16 bit (WORD) or 32 bit (DWORD) data can also be transmitted.
The high-order byte is transmitted to the lowest address.
Only via special functions, the consistent data can be read / written
in the connected control units
(e.g.: SIMATIC S5 = FB192, SIMATIC S7 = SFC14/SFC15).

4.1 Illustration of protocol structure

Transmitted data Received data


(outputs at control unit, (inputs at control unit,
inputs at MEAF) Byte outputs at MEAF)
Byte 0…3 Control bits 2) 0 Byte 0…3 Status bits
(according to type of device) 1 (according to type of device)
2
3
Byte 4 No. of transmitted data record 4 Byte 4 No. of transmitted data record
0 = empty transmitted data record 1) (acknowledgement; see transmitted data)
128…255 = transmitted data records
Byte 5 Index of transmitted data record 5 Byte 5 Index of transmitted data record
0…255 = e.g. recipe No. (acknowledgement; see transmitted data)
Byte 6 No. of received data record 6 Byte 6 No. of received data record
0 = empty received data record 1) (acknowledgement; see transmitted data)
1…127 = received data records
128…255 = read back transmitted data records
Byte 7 Index of received data record 7 Byte 7 Index of received data record
0…255 = e.g. recipe No. (acknowledgement; see transmitted data)
Bytes 8…23 Transmitted data record 2) 8 Bytes 8…23 Received data record
(according to No. of transmitted data record and 9 (according to No. of received data record and
type of device) type of device)
10



21
22
23

1) Only valid control or status bit values are transmitted.


2) The control bits and data in the transmitted data record are only accepted if the parameter
SYS.REM = REMP is set.

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Protocol structure 15

4.2 Data records


The data records are defined by numbers and indices.
In the case of a master device, a transmitted and a received data record can be
selected simultaneously. The transmitted data record numbers and indices are
then returned by way of acknowledgement.

4.3 Index of transmitted / received data record


The index allows several variants to be managed under the same data record
(e.g. different recipes).
Most data records do not have an index. In this case, the value should be set to 0.
In the description of the data records, the index is only indicated where it is actually
used.

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


General data for all devices Profibus-DP Protocol 16

5 General data for all devices


5.1 Overview of data records for all devices

1)
of data record

BAGDn (1/2/3)
DIFFx (G/-/M)
Transmitted

Received

Meaning
Number

CHECK

DevCtrl
PEARL
DMS-T

MZMN
DUMP

DCOS
SLIDE
MYFC

MOZF

DFCO
FBAL
Index

BAG
0 – X X Empty data record 2) X X X X X X X X X X X X X X X
1 – X Default actual values X X X X X X X X X X X X X X X
2 – X Actual values part 2 X X X X X
3 - X Actual values part 3 X
11 0…255 X Parameter query X X X X X X X X X X X X X
12 0…255 X Parameter query X X X X X X X X X X X X X
126 – X X Date/Time X X X X X X X X X X X X
127 – X General informations X X X X X X X X X X X X X
128 – X X Default nominal values X X X X X X X X X X X X X X X
129 – X X Nominal values part 2 X
136 0…50 X X Recipe X X X X X X X X
137 0…50 X X Recipe part 2 X X

1) For the DMS-T, it is also possible to use the compact protocol, which is described in manual 66388-2.
2) Only valid control or status bit values are transmitted.

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol General data for all devices 17

5.2 Control bits (transmitted data byte 3)


Bytes 0…2 vary according to the device. Byte 3 is identical in all devices.

Byte Bit Name Description


0 0…7 See device data
1 0…7 See device data
2 0…7 See device data
3 0 Control signals 1 = Control signals contain valid values, and the control bits are
valid therefore accepted by the control unit. This does not apply to
control bits 6 and 7 of byte 3.
1…4 n.u.
5 Clear alarm 1 = Acknowledgement of erasable alarms
(according to alarm description)
6 Modification to 1) 1 = New transmitted data record or modified contents
transmitted data
record
7 Acknowledgement 2) 1 = Acknowledgement when status bit «Modification to received data
modification to record» = 1
received data record

n.u. = not used (bits ignored by MEAF)


1) see next page
2) see next page

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


18 General data for all devices Profibus-DP Protocol

5.3 Status bits (received data byte 3)


Bytes 0…2 vary according to the device. Byte 3 is identical in all devices.

Byte Bit Name Description


0 0…7 See device data
1 0…7 See device data
2 0…7 See device data
3 0…2 n.u.
3 Remote control via 1 = The MEAF device is working in the remote Profibus-DP mode
Profibus-DP (SYS.REM = REMP). The input field is disabled for nominal
values.
4 Incorrect nominal 1 = A nominal value in the transmitted data record is outside the valid
value range
5 Common alarm 1 = Serious alarm in device
6 Ackn. modification 1) 1 = Acknowledgement when control bit «Modification to transmitted
to transmitted data data record» = 1
record
7 Modification to 2) 1 = New received data record or modified contents
received data record

n.u. = not used (bits are set to 0 by MEAF)

1) «Handshake bits» when modifying the transmitted data:


These can be used where necessary. If the plant control system modifies the
transmitted data, it sets the control bit «Modification to transmitted data record»
at the end. After reading, the MEAF sets the status bit «Acknowledge
modification to transmitted data record». This enables the control system to
detect that the MEAF has read the data and to delete the control bit
«Modification to transmitted data record». The MEAF then also deletes the
status bit «Acknowledge modification to transmitted data record».
2) «Handshake bits» when modifying the received data:
These can be used where necessary. If the received data are modified, the
MEAF sets the status bit «Modification to received data record». After reading,
the plant control system sets the control bit «Acknowledge modification to
received data record». This enables the MEAF to detect that the control
system has read the data and to delete the status bit «Modification to received
data record». The control system then also deletes the control bit
«Acknowledge modification to received data record».

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol General data for all devices 19

5.4 Received data record 127 (received data bytes 8…23)

Received data record 127 (general device information)


Byte Name Range [unit] Description
8…11 Current scale 0…99‘999 [DIV] Current weight of scale content in the selected resolution
weight of the A/D converter (ADC.DIV)
12 Decimal places 0…3 Number of decimal places for weight values with division
DIV according to the setting ADC.DIV
13 Type of device 0…255 0 = not defined
1 = DMS-T (DMS transmitter)
2 = DUMP (dump scales)
3 = DIFFG (differential dosing scales with
metering slide gate)
4 = DIFF (differential dosing scales with
screw feeder)
5 = DIFFM (micro-differential dosing scales)
6 = MZMN (Micro-dosing unit; not scales)
7 = FBAL (Automatic flow balancer and flowmeter)
8 = CHECK (Check weigher)
9 = BAG (Bagging scales)
10 = BAGD1 (Differential bagging scales
single system)
11 = BAGD2 (Differential bagging scales
double system)
12 = BAGD3 (Differential bagging scales
triple system)
13 = MYFC (Automatic moisture control unit)
14 = MOZF (Liquids flow controller)
15 = SLIDE (Metering slide gate)
16 = DCOS (Dosing control system)
17 = PEARL (Load-dependent pressure control)
14 Program version 0…99 Number of program version, e.g. V33A
number
15 Program version 'A‘…‘Z‘ Letter of program version, e.g. V33A
letter The letter is transmitted in ASCII code
16 Address 0…255 Profibus-DP address of device (parameter HOST.ADR)
17…19 n.u.
20…23 Identification 0… Counter for definite identification of weights etc.
counter (DUMP: total number; DMS-T: weight (value);
DCOS: component counter). The counter is increased by
one (unit) for each weight acceptance.

n.u. = not used (data set to 0 by MEAF)

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


20 General data for all devices Profibus-DP Protocol

5.5 Parameter output

Received data record 11 (parameter name)


Byte Name Range [unit] Description
7 Index 0…255 In this data record the index has the special function of
Received data controlling the query.
record
The parameter output is started or restarted with the
value 253.
The next parameter is selected with the value 254. For
this purpose, however, the parameter value of the actual
parameter must have been called beforehand with the
received data record 12.
No acknowledgement of the indexes is given in the usual
form. Instead a counter is returned which, beginning from
one, is incremented by one with every parameter
returned.
Once all the parameters have been queried, 255 is
returned.
8…16 Parameter group ASCII Parameter group of the currently selected parameter.
set of characters
16…24 Parameter name ASCII Name of the currently selected parameter.
set of characters

Received data record 12 (parameter value)


Byte Name Range [unit] Description
7 Index 0…255 No acknowledgement of the indexes is given in the usual
Received data form. Instead. a counter is returned which, beginning
record from one, is incremented by one with every parameter
returned.
255 is returned once all the parameters have been
queried.
8…24 Parameter value ASCII Value of the currently selected parameter.
set of characters

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol General data for all devices 21

5.6 Date / Time


The clock can be written to with the transmitted data record 126, permitting a
synchronization of the time.

Transmitted data record 126 (Date/Time)


Byte Name Range [unit] Description
8 Seconds 0…59 Set seconds
9 Minutes 0…59 Set minutes
10 Hours 0…23 Set hours
11 Day 1…31 Set day
12 Month 1…12 Set month
13 Year 0…99 Set year
14 Adopt time 0…1 0 = Do not adopt time
1 = Adopt time (byte 8…13; single with positive edge
even if it is already 1, when changeover is made to
transmitted data record 126)
15…23 n.u.

n.u. = not used

The clock can be read with the received data record, permitting a sychronization of
the time.

Received data record 126 (Date/Time)


Byte Name Range [unit] Description
8 Seconds 0…59 Read seconds
9 Minutes 0…59 Read minutes
10 Hours 0…23 Read hours
11 Day 1…31 Read day
12 Month 1…12 Read month
13 Year 0…99 Read year
14 reserved 0 Reserved but not used
15…23 n.u.

n.u. = not used (data set to 0 by MEAF)

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


22 DMS transmitter (DMS-T) Profibus-DP Protocol

6 DMS transmitter (DMS-T)


In the case of the DMS-T, the compact protocol described in the manual 66388-2
can also be used instead of the one described here.
(1 byte transmitted data / 4 bytes received data)

6.1 Summary of standard data records 128/1


See following pages for a detailed description and other data records.
Transmitted data Byte Received data
Bit 0: Zeroing 0 Bit 0: Operation
Bit 1: Zeroing (± 3 %) Bit 1: Weight sign
Bit 2: Balancing Bit 2: Scales standstill
Bit 3: Gross value Bit 3: Data ready
Bit 4: Net value Bit 4: n.u.
Bit 5: DMS calibration Bit 5: n.u.
Bit 6: Print Bit 6: Print started
Bit 7: Acknowledge «New values ready» 1) Bit 7: New values ready 1)
Bit 0…7: n.u. 1 Bit 0…7: n.u.
Bit 0…7: n.u. 2 Bit 0…7: n.u.
Bit 0: Control signals valid 3 Bit 0: n.u.
Bit 1: n.u. Bit 1: n.u.
Bit 2: n.u. Bit 2: n.u.
Bit 3: n.u. Bit 3: Remote control via Profibus-DP 1)
Bit 4: n.u. Bit 4: Incorrect nominal value 1)
Bit 5: Clear alarm Bit 5: Common alarm
Bit 6: Modification to transmit. data record Bit 6: Acknowledge «Modification to
Bit 7: Acknowledge «Modification to transmitted data record»
received data record» Bit 7: Modification to received data record
No. of transmitted data record = 128 4 No. of transmitted data record = 128
Index of transmitted data record = X 5 Index of transmitted data record = X
No. of received data record = 1 6 No. of received data record = 1
Index of received data record = X 7 Index of received data record = X
n.u. 8 Current scale weight (gross) according to
setting of TCON.DDIV
n.u. 9 (0…999'999 see status bit for sign)
n.u. 10 or
n.u. 11 Consecutive number (0…999’999)
n.u. 12 Current scale weight in DIV (gross)
n.u. 13 (–99‘999…99'999)
n.u. 14
n.u. 15
n.u. 16 Current scale weight in DIV (net)
n.u. 17 (–99‘999…99'999)
n.u. 18
n.u. 19
n.u. 20 Number of decimal places (0…3)
n.u. 21 n.u.
n.u. 22 Step No. (0…1)
n.u. 23 Alarm No. (0…16)
n.u. = not used
1) Reserved but not used

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol DMS transmitter (DMS-T) 23

6.2 Control bits (transmitted data bytes 0…3)

Byte Bit Name Description


0 0 Zeroing 1 = Gross and net weight are set to 0
1 Zeroing (± 3 %) 1 = Gross and net weight are set to 0 if current scale weight is
< 3 % of max. scale weight TCON.MAXW.
2 Balancing 1 = Net weight is set to 0 and remote display switches to net weight
3 Gross value 1 = Remote display switches to gross weight
4 Net value 1 = Remote display switches to net weight
5 Calibration of force 1 = Internal calibration of force transducer and sensor input
transducer
6 Print 1 = Starts print job for net and gross weight
(leave applied until the status bit «print started» = 1)
7 Acknowledge «New Reserved for future applications
values ready»
1 0…7 n.u.
2 0…7 n.u.
3 0…7 See «Data for all
devices»

n.u. = not used (bits are ignored by MEAF)

6.3 Status bits (received data bytes 0…3)

Byte Bit Name Description


0 0 Operation 1 = Operation
0 = Alarm or calibration mode (calibration switch = CAL)
1 Weight sign 1 = Positive weight
0 = Negative weight
2 Scales standstill 1 = Scales at standstill
0 = No standstill
3 Data ready 1 = Weight valid
0 = Weight invalid
4 n.u.
5 n.u.
6 Print started 1 = The control bit «Print» is applied and the printer has accepted the
data without fault. Is set to 0 when the control bit «Print» = 0
7 New values ready Reserved for future applications
1 0…7 n.u.
2 0…7 n.u.
3 0…7 See «Data for all
devices»

n.u. = not used (bits are set to 0 by MEAF)

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


24 DMS transmitter (DMS-T) Profibus-DP Protocol

6.4 Transmitted data records (transmitted data bytes 8…23)

Transmitted data record 128 (default nominal values)


Byte Name Range [unit] Description
8…23 n.u. Empty data record as DMS-T has no default nominal
values.

n.u. = not used (data are ignored by MEAF)

6.5 Received data records (received data bytes 8…23)

Received data record 1 (default actual values)


Byte Name Range [unit] Description
8…11 Current gross 0…999‘999 [DDIV] Current scale weight without sign, with resolution
scale weight according to parameter TCON.DDIV.
The sign is a status bit.
or (is transferred when PRN.NPOS line = 0)

consecutive 0…999’999 Consecutive number incremented by 1 with every


number printout.
(is transferred when PRN.NPOS line > 0)
12…15 Current gross –99‘999…99'999 Current gross scale weight with sign, with resolution DIV.
scale weight [DIV] Corresponds to parameter BRWT.
16…19 Current net scale –99‘999…99'999 Current net scales weight with sign, with resolution DIV.
weight [DIV] Corresponds to parameter NEWT.
20 Decimal places 0…3 Number of decimal places DIV on the Profibus interface
according to the setting ADC.DIV.
21 n.u.
22 Step No. 0 Calibration
1 Operation
23 Alarm No. 0…16 According to manual 66388-2

n.u. = not used (data set to 0 by MEAF)

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Dump scales (DUMP) 25

7 Dump scales (DUMP)


7.1 Summary of standard data records 128/1
See following pages for a detailed description and other data records.
Transmitted data Byte Received data
Bit 0: Start / stop 0 Bit 0: Operation
Bit 1: Clear total Bit 1: Total reached
Bit 2: Discharge rest Bit 2: Discharge rest completed
Bit 3: Rest feeding Bit 3: Cut-off point reached
Bit 4: Discharge release Bit 4: Total ready
Bit 5: n.u. Bit 5: Conveying release
Bit 6: n.u. Bit 6: Weight pulse
Bit 7: Acknowledge «New values ready» Bit 7: New values ready
Bit 0…7: n.u. 1 Bit 0: Outside rate tolerance
Bit 1…7: n.u.
Bit 0…7: n.u. 2 Bit 0…7: n.u.
Bit 0: Control signals valid 3 Bit 0: n.u.
Bit 1: n.u. Bit 1: n.u.
Bit 2: n.u. Bit 2: n.u.
Bit 3: n.u. Bit 3: Remote control via Profibus-DP
Bit 4: n.u. Bit 4: Incorrect nominal value
Bit 5: Clear alarm Bit 5: Common alarm
Bit 6: Modification to transmit. data record Bit 6: Acknowledge «Modification to
Bit 7: Acknowledge «Modification to transmitted data record»
received data record» Bit 7: Modification to received data record
No. of transmitted data record = 128 4 No. of transmitted data record = 128
Index of transmitted data record = X 5 Index of transmitted data record = X
No. of received data record = 1 6 No. of received data record = 1
Index of received data record = X 7 Index of received data record = X
Nominal rate in kg/h (0…4’000‘000) 8 Actual rate in kg/h (0…4’000'000)
9
10
11
Nominal total weight in kg / DIV 12 Total weight in kg / DIV (0…999'999'999)
(0…99'999‘999) 13
14
15
Cut-off weight in kg (0…9‘999) 16 Non-erasable total weight in kg / DIV
17 (0…999'999'999)
n.u. 18
n.u. 19
n.u. 20 Number of decimal places (0…3)
n.u. 21 n.u.
n.u. 22 Step No. (0…8)
n.u. 23 Alarm No. (0…33)
n.u. = not used

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


26 Dump scales (DUMP) Profibus-DP Protocol

7.2 Control bits (transmitted data bytes 0…3)

Byte Bit Name Description


0 0 Start / Stop 1 = Release weighing cycle
0 = Stop weighing cycle after next discharge
1 Clear total 1 = Delete erasable total weight if status bit «Total ready» = 1.
2 Discharge rest 1 = Discharges a rest amount from the scales (from step 1 or 2)
Afterwards, the status bit «Discharge rest completed» is set.
0 = Status bit «Discharge rest completed» is deleted.
In the operating mode «Feed from full» (TCON.IMOD=FULLR),
«Discharge rest» causes the surge hopper to be emptied in addition
before the scales themselves.
3 Rest feeding 1 = Operating mode with nominal total weight: feeding continues after
the nominal total weight is reached (emptying of feed).
Operating mode without nominal total weight: probe in surge
hopper is bypassed if «Feed from full» is selected.
4 Discharge release This bit is only taken into account if the parameter TCON.DIPB = ON_P
or if TCON.DIPB = ON and a probe is used additionally.
1 = Discharge of scales enabled
– must normally be 1, also in the case of discharge rest
0 = Stop weighing cycle before discharge (scales blocked in step 4)
5 n.u.
6 n.u.
7 Acknowledge «New 1 = Delete status bit «New values ready»
values ready» (leave until «New values ready» = 0)
1 0…7 n.u.
2 0…7 n.u.
3 0…7 See «Data for all
devices»

n.u. = not used (bits are ignored by MEAF)

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Dump scales (DUMP) 27

7.3 Status bits (received data bytes 0…3)

Byte Bit Name Description


0 0 Operation 1 = Scales started
0 = Scales stopped
1 Total reached Only where nominal total weight > 0
1 = Total weight >= nominal total weight
0 = Where control bit «Clear total» = 1
or (total weight < nominal total weight)
2 Discharge rest 1 = Discharge rest has been successfully completed
completed
0 = Control bit «Discharge rest» = 0
3 Cut-off point Only where nominal total weight > 0
reached
1 = Total weight >= (nominal total weight-cut-off weight)
4 Total ready 1 = The total can be deleted with the control bit «Clear total»
5 Conveying release 1 = The scales have been started and no alarms are pending
(can be used to switch on feed elements)
6 Weight pulse Pulses according to SYS.WIMP
7 New values ready 1 = New values available (total weights, actual rate)
0 = Control bit «Acknowledge new values ready» = 1
1 0 Outside rate Only where rate tolerance limits are preselected
tolerance
1 = The actual rate is outside the preselected tolerance
1…7 n.u.
2 0…7 n.u.
3 0…7 See «Data for all
devices»

n.u. = not used (bits are set to 0 by MEAF)

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


28 Dump scales (DUMP) Profibus-DP Protocol

7.4 Transmitted data records (transmitted data bytes 8…23)

Transmitted data record 128 (default nominal values)


Byte Name Range [unit] Description
8…11 Nominal rate 0…FMAX [kg/h] Only when rate setting is at maximum (TCON.FMAX>0).
(max. 4'000’000) The nominal rate is displayed in the parameter FLOS.
12…15 Nominal total 0 When the nominal total weight = 0, feeding takes place
weight MINT… 1) continuously. When the total weight reaches the nominal
99‘999'999 [kg] 2) total weight, feeding stops.
This value is only adopted in step 1.
16…17 Cut-off weight 0…9999 [kg] Only active where nominal total weight > 0.
The status bit «Cut-off weight reached» is set when the
total weight >= (nominal total weight – cut-off weight)
18…23 n.u.

n.u. = not used (data are ignored by MEAF)


1) Minimum feed volume according to parameter TCON.MINT
2) Decimal places according to setting DIV / HOST.WFOR (standard no decimal places / fixed format)

Transmitted data record 129 (nominal values part 2)


Byte Name Range [unit] Description
8…11 Nominal dump MINW…MAXW [kg] Nominal weight of a dumped volume between a
(max. 99'999) minimum (TCON.MINW) and maximum (TCON.MAXW).
This value is only adopted in step 1.
12…15 Upper rate 0…999'999 [kg/h] If the actual rate is > the upper rate tolerance, the status
tolerance bit «outside rate tolerance» = 1.
Only active when the value is > 0.
16…19 Lower rate 0…999'999 [kg/h] If the actual rate < the lower rate tolerance, the status bit
tolerance «outside rate tolerance» = 1.
Only active when the value is > 0.
20…23 n.u.

n.u. = not used (data are ignored by MEAF)

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Dump scales (DUMP) 29

7.5 Received data records (received data bytes 8…23)

Received data record 1 (default actual values)


Byte Name Range [unit] Description
8…11 Actual rate 0…4’000’000 [kg/h] Current actual rate
12…15 Total weight 0…999‘999'999 [kg] Set to 0 with the control bit «Clear total». When the value
(erasable) 2) reaches maximum, counting starts again from 0.
16…19 Non-erasable 0…999‘999'999 [kg] When the value reaches maximum, counting starts again
Total weight 2) from 0.
20 Decimal places 0…3 Number of decimal places DIV on the Profibus interface
according to the setting HOST.WFOR and ADC.DIV.
21 n.u.
22 Step No. 0…8 According to manual 66372-1
23 Alarm No. 0…33 According to manual 66372-1

n.u. = not used (data set to 0 by MEAF)


2) Decimal places according to setting DIV / HOST.WFOR (standard no decimal places / fixed format)

Received data record 128 (default nominal values)


For data contents, see transmitted data record 128

Received data record 129 (nominal values part 2)


For data contents, see transmitted data record 129

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


30 Differential dosing scales (DIFF, DIFFG, DIFFM) Profibus-DP Protocol

8 Differential dosing scales (DIFF, DIFFG, DIFFM)


8.1 Summary of standard data records 128/1
See following pages for a detailed description and other data records.
Transmitted data Byte Received data
Bit 0: Start / stop 0 Bit 0: Operation
Bit 1: Clear total Bit 1: Total reached
Bit 2: Discharge Bit 2: Discharge completed
Bit 3: Fill Bit 3: Ready for feeding
Bit 4: n.u. Bit 4: Total ready
Bit 5: No alarm when empty Bit 5: Surge hopper empty
Bit 6: n.u. Bit 6: Weight impulse
Bit 7: Acknowledge «New values ready» Bit 7: New values ready
Bit 0…7: n.u. 1 Bit 0: Scales empty
Bit 1: Feeding time exceeded
Bit 2: Level
Bit 3: Product feed
Bit 4…7: n.u.
Bit 0…7: n.u. 2 Bit 0…7: n.u.
Bit 0: Control signals valid 3 Bit 0: n.u.
Bit 1: n.u. Bit 1: n.u.
Bit 2: n.u. Bit 2: n.u.
Bit 3: n.u. Bit 3: Remote control via Profibus-DP
Bit 4: n.u. Bit 4: Incorrect nominal value
Bit 5: Clear alarm Bit 5: Common alarm
Bit 6: Modification to transmit. data record Bit 6: Acknowledge «Modification to
Bit 7: Acknowledge «Modification to transmitted data record»
received data record» Bit 7: Modification to received data record
No. of transmitted data record = 128 4 No. of transmitted data record = 128
Index of transmitted data record = X 5 Index of transmitted data record = X
No. of received data record = 1 6 No. of received data record = 1
Index of received data record = X 7 Index of received data record = X
Nominal rate in kg/h (0…999‘999) 8 Actual rate in kg/h (0…999'999)
9
10
11
Nominal total weight in kg / DIV 12 Total weight in kg / DIV (0…999'999'999)
(0…99'999‘999) 13
14
15
n.u. 16 Non-erasable total weight in kg / DIV
n.u. 17 (0…999'999'999)
n.u. 18
n.u. 19
n.u. 20 Number of decimal places (0…3)
Recipe No. (load recipe) (0…50) 21 Recipe No. (current recipe) (0…50)
n.u. 22 Step No. (0…9)
n.u. 23 Alarm No. (0…34)
n.u. = not used

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Differential dosing scales (DIFF, DIFFG, DIFFM) 31

8.2 Control bits (transmitted data bytes 0…3)

Byte Bit Name Description


0 0 Start / Stop 1 = Release weighing cycle (start feeding)
0 = Stop weighing cycle (stop feeding immediately)
1 Clear total 1 = Delete erasable total weight when status bit «Total ready» = 1
2 Discharge 1 = Discharge scale hopper (step 7). Only possible from step 1; the
start signal must not be active. After the discharge process, the
status bit «Discharge completed» is set. If the scales cannot be
emptied, the status bit «Feeding time exceeded» is set.
0 = Stop discharge.
The status bit «Discharge rest completed» is deleted.
3 Fill 1 = Fill scales to upper switching point (step 8). When the scales are
full, the status bit «Ready for feeding» is set. If the scales cannot
be filled, the status bit «Surge hopper empty» is set.
4 n.u.
5 No alarm when 1 = If the scales become empty, the status bit «Common alarm» is not
empty set. This means that no alarm is generated when the scales are
emptied during normal operation (status bit «Scales empty» = 1)
6 n.u.
7 Acknowledge «New 1 = Delete status bit «New values ready»
values ready» (leave until «New values ready» = 0)
1 0…7 n.u.
2 0…7 n.u.
3 0…7 See «Data for all
devices»

n.u. = not used (bits are ignored by MEAF)

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


32 Differential dosing scales (DIFF, DIFFG, DIFFM) Profibus-DP Protocol

8.3 Status bits (received data bytes 0…3)

Byte Bit Name Description


0 0 Operation 1 = Scales are started
0 = Scales are stopped
1 Total reached Only where nominal total weight > 0
1 = Total weight >= nominal total weight
0 = Where control bit «Clear total» = 1
or (total weight < nominal total weight)
2 Discharge 1 = The discharge has been successfully completed
completed 0 = Where control bit «Discharge» = 0
3 Ready for feeding 1 = The scales are full (weight > upper switching point)
4 Total ready 1 = The total can be deleted with the control bit «Clear total»
5 Surge hopper empty 1 = The scales were unable to be filled within the max. refill time
(TCON.TFIL) (not on common alarm; warning NOPRO)
0 = If the scales are stopped with control bit «Start» = 0 in normal
operation or if the control bit «Fill» = 0 after filling
6 Weight pulse Pulses according to SYS.WIMP
7 New values ready 1 = New values are available (total weights, actual rate)
0 = Control bit «Acknowledge new values ready» = 1
1 0 Scales empty 1 = The scales are completely empty (in normal operation only)
Also influences the status bit «Common alarm» except for control
bit «No alarm when empty» = 1. Alarm EMPTY
0 = If the scales are stopped with control bit «Start» = 0.
1 Feeding time 1 = The max. feeding time was exceeded during the discharge
exceeded process or in the operating mode «Small batch feeding».
(not on common alarm; warning PTIME)
0 = If the scales are stopped with control bit «Start» = 0 in normal
operation or small batch feeding or
if the control bit «Discharge» = 0 after discharging
2 Level 1 = Current scales weight >= level weight (TCON.NLEV)
0 = Current scales weight < level weight
Allows early detection of empty scale hopper.
3 Product feed 1 = Product requested by scales (refilling);
this bit can be used to activate refilling elements (refill screw).
4…7 n.u.
2 0…7 n.u.
3 0…7 See «Data for all
devices»

n.u. = not used (bits are set to 0 by MEAF)

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Differential dosing scales (DIFF, DIFFG, DIFFM) 33

8.4 Transmitted data records (transmitted data bytes 8…23)

Transmitted data record 128 (default nominal values)


Byte Name Range [unit] Description
8…11 Nominal rate 0…FMAX [kg/h] The nominal rate is displayed in the parameter FLOS.
(max. 999'999) The value must be between 0 and maximum
DIFFM in [10 g/h] (TCON.FMAX).
In the case of nominal rates < minimum (TCON.FMIN),
the value 0 is adopted.
In admixture mode with DIFF or DIFFM in 0.0001 % as
admixture percentage.
12…15 Nominal total 0…99‘999'999 [kg] 2) If the total weight reaches the nominal total weight,
weight DIFFM only in [g] feeding stops. If the nominal total weight = 0, feeding
takes place continuously. This value is only adopted in
step 1.
16…20 n.u.
21 Recipe No. 0…50 1…50 = Load recipe into working recipe 0
0 = Do not load recipe
22…23 n.u.

n.u. = not used (data are ignored by MEAF)


2) Decimal places according to setting DIV / HOST.WFOR (standard no decimal places / fixed format).

Transmitted data record 136 (recipe) Index: 0…50 as recipe No. (0 = working recipe)
Byte Name Range [unit] Description
8…9 Relative density 10…300 [0.01 kg/l] Relative density of product (REC.DENS)
(0.10…3.00)
10…11 Gain factor 100…2000 [0.1] Gain factor feeding rate (REC.FACT)
(10.0…200.0)
12…13 Cut-off weight 0…9999 [DIV] Cut-off weight for small batch feeding (REC.CWT)
14…22 n.u.
23 Autom. gain 0…1 Automatic correction of gain factor (REC.CFAC)
factor correction (0 = OFF / 1 = ON)

n.u. = not used (data are ignored by MEAF)

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


34 Differential dosing scales (DIFF, DIFFG, DIFFM) Profibus-DP Protocol

8.5 Received data records (received data bytes 8…23)

Received data record 1 (default actual values)


Byte Name Range [unit] Description
8…11 Actual rate 0…999‘999 [kg/h] Current actual rate
DIFFM in [10 g/h]
12…15 Total weight 0…999‘999'999 [kg] Set to 0 with the control bit «Clear total». When the value
(erasable) 2) reaches maximum, counting starts again from 0.
DIFFM only in [g]
16…19 Non-erasable 0…999‘999'999 [kg] When the value reaches maximum, counting starts again
total weight 2) from 0.
DIFFM only in [g]
20 Decimal places 0…3 Number of decimal places DIV on the Profibus interface
according to the setting HOST.WFOR and ADC.DIV.
21 Recipe No. 0…50 Currently loaded recipe
22 Step No. 0…9 According to manual 66372-1
23 Alarm No. 0…34 According to manual 66372-1

n.u. = not used (data set to 0 by MEAF)


2) Decimal places according to setting DIV / HOST.WFOR (standard no decimal places / fixed format).

Received data record 128 (default nominal values)


For data contents, see transmitted data record 128

Received data record 136 (recipe) Index: 0…50 as recipe No. (0 = working recipe)
For data contents, see transmitted data record 136

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Micro-dosing unit MZMN 35

9 Micro-dosing unit MZMN


9.1 Summary of standard data records 128/1
See following pages for a detailed description and other data records.
Transmitted data Byte Received data
Bit 0: Start / Stop 0 Bit 0: Operation
Bit 1…7: n.u. Bit 1…7: n.u.
Bit 0: n.u. 1 Bit 0: n.u.
Bit 1: Selection recipe 1 / MZMN 1 1) Bit 1: MZMN 1 / recipe 1 active 1)
Bit 2: Selection recipe 2 / MZMN 2 1) Bit 2: MZMN 2 / recipe 2 active 1)
Bit 3: Selection recipe 3 / MZMN 3 1) Bit 3: MZMN 3 / recipe 3 active 1)
Bit 4: Selection recipe 4 / MZMN 4 1) Bit 4: MZMN 4 / recipe 4 active 1)
Bit 5: Selection recipe 5 / MZMN 5 1) Bit 5: MZMN 5 / recipe 5 active 1)
Bit 6: Selection recipe 6 / MZMN 6 1) Bit 6: MZMN 6 / recipe 6 active 1)
Bit 7: n.u. Bit 7: n.u.
Bit 0…7: n.u. 2 Bit 0…7: n.u.
Bit 0: Control signals valid 3 Bit 0: n.u.
Bit 1: n.u. Bit 1: n.u.
Bit 2: n.u. Bit 2: n.u.
Bit 3: n.u. Bit 3: Remote control via Profibus-DP
Bit 4: n.u. Bit 4: Incorrect nominal value
Bit 5: Clear alarm Bit 5: Common alarm
Bit 6: Modification to transmit. data record Bit 6: Acknowledge «Modification to
Bit 7: Acknowledge «Modification to transmitted data record»
received data record» Bit 7: Modification to received data record
No. of transmitted data record = 128 4 No. of transmitted data record = 128
Index of transmitted data record = X 5 Index of transmitted data record = X
No. of received data record = 1 6 No. of received data record = 1
Index of received data record = X 7 Index of received data record = X
Nominal rate in 0.1 % (0…1‘000) 8 Actual rate in 10 g/h (0…999'999)
9
n.u. 10
n.u. 11
n.u. 12 n.u.
n.u. 13 n.u.
n.u. 14 n.u.
n.u. 15 n.u.
n.u. 16 n.u.
n.u. 17 n.u.
n.u. 18 n.u.
n.u. 19 n.u.
n.u. 20 n.u.
Recipe No. (load recipe) (0…50) 21 Recipe No. (current recipe) (0…50)
n.u. 22 Step No. (0…2)
n.u. 23 Alarm No. (0…25)
n.u. = not used
1) depending on operation mode (TCON.MODE)

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


36 Micro-dosing unit MZMN Profibus-DP Protocol

9.2 Control bits (transmitted data bytes 0…3)

Byte Bit Name Description


0 0 Start / Stop 1 = Start feeding
0 = Stop feeding (instant feed stop)
1…7 n.u.
1 0 n.u.
1…6 Selection recipe Operating mode TCON.MODE = SINGLE
1…6 / MZMN 1…6 A recipe (1…6) can be loaded by setting the appropriate bit, i.e. a
positive edge on bit 1 loads recipe 1 into the working recipe, a positive
edge on bit 2 loads recipe 2, etc.
Operating mode TCON.MODE = MULTI
As in SINGLE mode, a positive edge loads a recipe (1-6) into the
working recipe, but this time feeding is started directly after loading
(automatic release). The unit then continues feeding for as long as the
signal is active.
Attention: During the changeover to the next MZMN, the selection is
not adopted until the motor reaches a standstill (after the braking time
has elapsed). This may result in a delay before the MZMN is selected.
7 n.u.
2 0…7 n.u.
3 0…7 See «Data for all
devices»

n.u. = not used (bits are ignored by MEAF)

9.3 Status bits (received data bytes 0…3)

Byte Bit Name Description


0 0 Operation 1 = Feeding started
0 = Feeding stopped
1…7 n.u.
1 0 n.u.
1…6 MZMN 1-6 / Depending on the application, the signals can be used to evaluate the
Recipe 1-6 active current working recipe (1-6) or, in connection with a MZMN relay
cabinet, to switch between the individual micro-dosing units. In the
latter case, the recipe concerned is filed in the relevant storage
location. i.e. recipe 1 for micro-dosing unit 1, recipe 2 for micro-dosing
unit 2, etc.
7 n.u.
2 0…7 n.u.
3 0…7 See «Data for all
devices»
n.u. = not used (bits are set to 0 by MEAF)

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Micro-dosing unit MZMN 37

9.4 Transmitted data records (transmitted data bytes 8…23)

Transmitted data record 128 (default nominal values)


Byte Name Range [unit] Description
8…9 Nominal rate 0/20…1‘000 [0.1 %] The nominal rate is displayed in the parameter FLOS.
(0/2.0…100.0 %) For nominal rates < 2 %, the value 0 is adopted.
10…20 n.u.
21 Recipe No. 0…50 1…50 = Load recipe into working recipe 0
0 = Do not load recipe
22…23 n.u.

n.u. = not used (data are ignored by MEAF)

Transmitted data record 136 (recipe) Index: 0…50 as recipe No. (0 = working recipe)
Byte Name Range [unit] Description
8…9 Relative density 10…300 [0.01 kg/l] Relative density of product (REC.DENS)
(0.10…3.00)
10…11 Correction factor 500…2000 [0.1] Correction factor for adapting actual rate (REC.FACT)
(50.0…200.0)
12…13 n.u.
14…15 Nominal rate 0…1‘000 [0.1 %] For nominal rates < 2%, the value 0 is adopted.
(0.0…100.0 %) (REC.FLOS)
16…17 Mixer frequency 1‘000…7‘000 Frequency of mixer (REC.MIX)
[0.01 Hz]
(10.00…70.00 Hz)
18…19 Type rate 0…9999 [l/h] Volumetric type rate (REC.FTYP)
20…21 n.u.
22 Agitator cutout 0…90 [%] The agitator cuts out the relevant percentage or the
mode speed is accordingly reduced (REC.IOFF)
23 n.u.

n.u. = not used (data are ignored by MEAF)

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


38 Micro-dosing unit MZMN Profibus-DP Protocol

9.5 Received data records (received data bytes 8…23)

Received data record 1 (default actual values)


Byte Name Range [unit] Description
8…11 Actual rate 0…999‘999 [10g/h] Current actual rate
12…20 n.u.
21 Recipe No. 0…50 Currently loaded recipe
22 Step No. 0…2 According to manual 66488-1
23 Alarm No. 0…54 According to manual 66488-1

n.u. = not used (data set to 0 by MEAF)

Received data record 128 (default nominal values)


For data contents, see transmitted data record 128

Received data record 136 (recipe) Index: 0…50 as recipe No. (0 = working recipe)
For data contents, see transmitted data record 136

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Automatic flow balancer and flowmeter MZAH (FBAL) 39

10 Automatic flow balancer and flowmeter MZAH (FBAL)


10.1 Summary of standard data records 128/1
See following pages for a detailed description and other data records.
Transmitted data Byte Received data
Bit 0: Start / Stop 0 Bit 0: Operation
Bit 1: Clear total Bit 1: Total reached
Bit 2: n.u. Bit 2: n.u.
Bit 3: n.u. Bit 3: n.u.
Bit 4: n.u. Bit 4: Total ready
Bit 5: No alarm when «Silo empty» Bit 5: Silo empty
Bit 6: n.u. Bit 6: Weight impulse
Bit 7: Acknowledge «New values ready» Bit 7: New values ready
Bit 0…7: n.u. 1 Bit 0…7: n.u.
Bit 0…7: n.u. 2 Bit 0…7: n.u.
Bit 0: Control signals valid 3 Bit 0: n.u.
Bit 1: n.u. Bit 1: n.u.
Bit 2: n.u. Bit 2: n.u.
Bit 3: n.u. Bit 3: Remote control via Profibus-DP
Bit 4: n.u. Bit 4: Incorrect nominal value
Bit 5: Clear alarm Bit 5: Common alarm
Bit 6: Modification to transmit. data record Bit 6: Acknowledge «Modification to
Bit 7: Acknowledge «Modification to transmitted data record»
received data record» Bit 7: Modification to received data record
No. of transmitted data record = 128 4 No. of transmitted data record = 128
Index of transmitted data record = X 5 Index of transmitted data record = X
No. of received data record = 1 6 No. of received data record = 1
Index of received data record = X 7 Index of received data record = X
Nominal rate in kg/h (0…999‘999) 8 Actual rate in kg/h (0…999'999)
9
10
11
Nominal total weight in kg (0…999‘999). 12 Total weight in kg (0…999'999'999)
13
14
15
n.u. 16 Non-erasable total weight in kg
n.u. 17 (0…999'999'999)
n.u. 18
n.u. 19
n.u. 20 n.u.
Recipe No. (load recipe) (0…50) 21 Recipe No. (current recipe) (0…50)
n.u. 22 Step No. (0…9)
n.u. 23 Alarm No. (0…39)
n.u. = not used

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


40 Automatic flow balancer and flowmeter MZAH (FBAL) Profibus-DP Protocol

10.2 Control bits (transmitted data bytes 0…3)

Byte Bit Name Description


0 0 Start / Stop 1 = Release feeding cycle (feed start)
0 = Stop feeding cycle (instant feed stop)
1 Clear total 1 = Delete erasable total weight when status bit «Total ready» = 1
2 n.u.
3 n.u.
4 n.u.
5 No alarm when silo 1 = In case of a «Silo empty» alarm, the status bit «Common alarm» is
empty not set. This means that no alarm is generated when the flow
balancer becomes empty in normal operation
(status bit «Silo empty» = 1)
6 n.u.
7 Acknowledge «New 1 = Delete status bit «New values ready»
values ready» (leave until «New values ready» = 0)
1 0…7 n.u.
2 0…7 n.u.
3 0…7 See «Data for all
devices»

n.u. = not used (bits are ignored by MEAF)

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Automatic flow balancer and flowmeter MZAH (FBAL) 41

10.3 Status bits (received data bytes 0…3)

Byte Bit Name Description


0 0 Operation 1 = Flow balancer started
0 = Flow balancer stopped
1 Total reached Only where nominal total weight > 0
1 = Total weight >= nominal total weight
0 = Where control bit «Clear total» = 1
or (total weight < nominal total weight)
2 n.u.
3 n.u.
4 Total ready 1 =The total can be deleted with the control bit «Clear total»
5 Silo empty 1 = The silo is empty (EMPTY alarm)
0 = When the scales are stopped, control bit «Start» = 0
See also alarm description in manual 66469-1
6 Weight pulse Pulses according to SYS.WIMP
7 New values ready 1 = New values are available (total weights, actual rate)
0 = Control bit «Acknowledge new values ready» = 1
1 0…7 n.u.
2 0…7 n.u.
3 0…7 See «Data for all
devices»

n.u. = not used (bits are set to 0 by MEAF)

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


42 Automatic flow balancer and flowmeter MZAH (FBAL) Profibus-DP Protocol

10.4 Transmitted data records (transmitted data bytes 8…23)

Transmitted data record 128 (default nominal values)


Byte Name Range [unit] Description
8…11 Nominal rate 0…FMAX [kg/h] The nominal rate is displayed in the parameter FLOS.
(max. 999'999) For nominal rates < FMIN, the value 0 is adopted.
12…15 Nominal total 0…99'999 [kg] If the total weight reaches the nominal total weight,
weight feeding is stopped. If the nominal total weight = 0,
feeding takes place continuously. This value is only
adopted in step 1.
16…20 n.u.
21 Recipe No. 0…50 1…50 = Load recipe into the working recipe 0
0 = Do not load recipe
22…23 n.u.

n.u. = not used (data are ignored by MEAF)

10.5 Received data records (received data bytes 8…23)

Received data record 1 (default actual values)


Byte Name Range [unit] Description
8…11 Actual rate 0…999‘999 [kg/h] Current actual rate
12…15 Total weight 0…999‘999'999 [kg] Set to 0 with the control bit «Clear total». When the value
(erasable) reaches maximum, counting starts again from 0.
16…19 Non-erasable 0…999‘999'999 [kg] When the value reaches maximum, counting starts again
total weight from 0.
20 n.u.
21 Recipe No. 0…50 Currently loaded recipe
22 Step No. 0…9 According to manual 66469-1
23 Alarm No. 0…39 According to manual 66469-1

n.u. = not used (data set to 0 by MEAF)

Received data record 128 (default nominal values)


For data contents, see transmitted data record 128

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Check weigher (CHECK) 43

11 Check weigher (CHECK)


11.1 Summary of standard data records 128/1
See following pages for a detailed description and other data records.
Transmitted data Byte Received data
Bit 0: Release (start / stop) 0 Bit 0: Operation
Bit 1: Bag counter/clear total Bit 1: n.u.
Bit 2: Start weight check Bit 2: Weight checked
Bit 3: n.u. Bit 3: Underweight
Bit 4: n.u. Bit 4: Overweight
Bit 5: n.u. Bit 5: Weight within tolerance
Bit 6: n.u. Bit 6: Weight outside tolerance
Bit 7: Acknowledge «New values ready» Bit 7: New values ready
Bit 0…7: n.u. 1 Bit 0…7: n.u.
Bit 0…7: n.u. 2 Bit 0…7: n.u.
Bit 0: Control signals valid 3 Bit 0: n.u.
Bit 1: n.u. Bit 1: n.u.
Bit 2: n.u. Bit 2: n.u.
Bit 3: n.u. Bit 3: Remote control via Profibus-DP
Bit 4: n.u. Bit 4: Incorrect nominal value
Bit 5: Clear alarm Bit 5: Common alarm
Bit 6: Modification transmit. data record Bit 6: Acknowledge «Modification to
Bit 7: Acknowledge «Modification to transmitted data record»
received data record» Bit 7: Modification to received data record
No. of transmitted data record = 128 4 No. of transmitted data record = 128
Index of transmitted data record = X 5 Index of transmitted data record = X
No. of received data record = 1 6 No. of received data record = 1
Index of received data record = X 7 Index of received data record = X
n.u. 8 Nominal bag weight in DIV (0…50'000)
n.u. 9
n.u. 10 Actual bag weight in DIV (0…65‘535)
n.u. 11
n.u. 12 Total weight of bags within tolerance in DIV
n.u. 13 (0…999'999'999)
n.u. 14
n.u. 15
n.u. 16 Bag counter bags within tolerance
n.u. 17 (0…65'000)
n.u. 18 n.u.
n.u. 19 n.u.
n.u. 20 Number of decimal places (0…3)
Recipe No. (0…50) 21 Recipe No. (current recipe) (0…50)
n.u. 22 Step No. (0…4)
n.u. 23 Alarm No. (0…53)
n.u. = not used

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


44 Check weigher (CHECK) Profibus-DP Protocol

11.2 Control bits (transmitted data bytes 0…3)

Byte Bit Name Description


0 0 Release 1 = General release (roller conveyor in operation)
(start / stop) Release of weight check and automatic zeroing
1 Bag counter / clear 1 = Bag counter is reset and the total weight deleted
total
2 Start weight check 1 = Ready for start (bag-detecting light barrier covered)
Edge 1 -> 0 = detection of end of bag when light barrier is no longer
covered. Starting of timeout TCON.TSTD after which weight is
adopted.
3 n.u.
4 n.u.
5 n.u.
6 n.u.
7 Acknowledge «New 1 = Delete status bit «New values ready»
values ready» (leave until «New values ready» = 0)
1 0…7 n.u.
2 0…7 n.u.
3 0…7 See «Data for all
devices»

n.u. = not used (bits are ignored by MEAF)

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Check weigher (CHECK) 45

11.3 Status bits (received data bytes 0…3)

Byte Bit Name Description


0 0 Operation 1 = Weight check is enabled (control bit «Release» = 1)
1 n.u.
2 Weight checked 1 = Bag has been checked. The signal remains active for the period
TCON.TDO or, in case of an alarm, until the alarm is deleted.
3 Underweight 1 = Bag is underweight outside the tolerance REC.T1– or REC.T2–.
The signal remains active for the period TCON.TDO or, in case of
an alarm, until the alarm is deleted.
4 Overweight 1 = Bag is overweight outside the tolerance REC.T1+ or REC.T2+.
The signal remains active for the period TCON.TDO or, in case of
an alarm, until the alarm is deleted.
5 Weight within 1 = Bag is within the tolerances REC.T1 and REC.T2. The signal
tolerance remains active for the period TCON.TDO or, in case of an alarm,
until the alarm is deleted.
6 Weight outside 1 = Bag is outside the tolerances REC.T1 and REC.T2. The signal
tolerance remains active for the period TCON.TDO or, in case of an alarm,
until the alarm is deleted.
7 New values ready 1 = New values are available (bag weight, counter)
0 = Control bit «Acknowledge new values ready» = 1
1 0…7 n.u.
2 0…7 n.u.
3 0…7 See «Data for all
devices»

n.u. = not used (bits are set to 0 by MEAF)

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


46 Check weigher (CHECK) Profibus-DP Protocol

11.4 Transmitted data records (transmitted data bytes 8…23)

Transmitted data record 128 (default nominal values)


Byte Name Range [unit] Description
8…20 n.u.
21 Recipe No. 0…50 1…50 = Load relevant recipe into working recipe 0
0 = Do not load recipe
22…23 n.u.

n.u. = not used (data are ignored by MEAF)

Transmitted data record 136 (recipe) Index: 0…50 as recipe No. (0 = working recipe)
Byte Name Range [unit] Description
8…9 Nominal bag MINB…MAXB [DIV] Nominal bag weight (net weight) (REC.SIZE)
weight The nominal bag weight must be between the minimum
(TCON.MINB) and maximum (TCON.MAXB) nominal
bag weights.
10…11 Empty bag 0…MAXB [DIV] Weight of empty bag (tare weight) (REC.EBAG)
weight
12…13 Tolerance 1 0…999 [DIV] Bag overweight or outside tolerance if bag weight >
positive nominal bag weight + tolerance 1 positive (REC.T1+).
0 = no monitoring
14…15 Tolerance 1 0…999 [DIV] Bag underweight or outside tolerance if bag weight <
negative nominal bag weight – tolerance 1 negative (REC.T1–).
0 = no monitoring
16…17 Tolerance 2 0…SIZE [DIV] Bag overweight or outside tolerance if bag weight >
positive nominal bag weight + tolerance 2 positive (REC.T2+).
0 = no monitoring (common alarm)
18…19 Tolerance 2 0…SIZE [DIV] Bag underweight or outside tolerance if bag weight <
negative nominal bag weight – tolerance 2 negative (REC.T2–).
0 = no monitoring (common alarm)
20 Additional time 0…10 [0.1 s] Time delay in addition to TCON.TSTD until weight is
delay for weight (0.0…1.0 s) adopted (REC.TSD+)
check
21…23 n.u.

n.u. = not used (data are ignored by MEAF)

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Check weigher (CHECK) 47

11.5 Received data records (received data bytes 8…23)

Received data record 1 (default actual values)


Byte Name Range [unit] Description
8…9 Nominal bag 0…50‘000 [DIV] Current nominal bag weight
weight
10…11 Actual bag 0…65‘535 [DIV] Current actual bag weight
weight
12…15 Total weight 0…999‘999'999 Total weight of bags within tolerance
[DIV]
16…17 Bag counter 0…65‘000 Bag count of bags within tolerance
18…19 n.u.
20 Decimal places 0…3 Number of decimal places DIV on the Profibus interface
according to the setting ADC.DIV.
21 Recipe No. 0…50 Currently loaded recipe
22 Step No. 0…4 According to manual 66476-1
23 Alarm No. 0…53 According to manual 66476-1

n.u. = not used (data set to 0 by MEAF)

Received data record 2 (actual values part 2)


Byte Name Range [unit] Description
8…9 Standard 0…999 [DIV] Standard deviation of bags within tolerance
deviation
10…11 Average actual 0…65‘535 [DIV] Average of actual bag weights based on number of bags
bag weight within tolerance

12…15 Total weight 0…999‘999'999 Total weight of all bags


[DIV]
16…17 Bag counter 0…65‘000 Count of all bags
18…23 n.u.

n.u. = not used (data set to 0 by MEAF)

Received data record 128 (default nominal values)


For data contents, see transmitted data record 128

Received data record 136 (recipe) Index: 0…50 as recipe No. (0 = working recipe)
For data contents, see transmitted data record 136

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


48 Bagging scales (BAG) Profibus-DP Protocol

12 Bagging scales (BAG)


12.1 Summary of standard data records 128/1
See following pages for a detailed description and other data records.
Transmitted data Byte Received data
Bit 0: Start / stop 0 Bit 0: Operation
Bit 1: Bag counter / clear total Bit 1: No. of bags reached
Bit 2: Abort Bit 2: Weighing completed
Bit 3: FC alarm Bit 3: Feeding completed
Bit 4: Discharge release Bit 4: Bagging release
Bit 5: Continue feeding Bit 5: Dump pulse
Bit 6: Acknowledge «Tolerance alarms» Bit 6: Tolerance alarm
Bit 7: Acknowledge «New values ready» Bit 7: New values ready
Bit 0: Surge hopper empty 1 Bit 0: Dribble flow
Bit 1: n.u. Bit 1: Fast flow
Bit 2: n.u. Bit 2: Discharge
Bit 3: n.u. Bit 3: Weight of checked bag
Bit 4: Release adj. to nominal value MWSK Bit 4: Gate opens MWSK
Bit 5: Release closing MWSK Bit 5: Gate closes MWSK
Bit 6: n.u. Bit 6: Gate in position MWSK
Bit 7: n.u. Bit 7: Gate closed MWSK
Bit 0…7: n.u. 2 Bit 0: Discharge delayed
Bit 1: Filter cleaning
Bit 2…7: n.u.
Bit 0: Control signals valid 3 Bit 0…2: n.u.
Bit 1…4: n.u. Bit 3: Remote control via Profibus-DP
Bit 5: Clear alarm Bit 4: Incorrect nominal value
Bit 6: Modification to transmit. data record Bit 5: Common alarm
Bit 7: Acknowledge «Modification to Bit 6: Acknowledge «Modification to
received data record» transmitted data record»
Bit 7: Modification to received data record
No. of transmitted data record = 128 4 No. of transmitted data record = 128
Index of transmitted data record = X 5 Index of transmitted data record = X
No. of received data record = 1 6 No. of received data record = 1
Index of received data record = X 7 Index of received data record = X
n.u. 8 Nominal bag weight in DIV (0…50'000)
n.u. 9
n.u. 10 Actual bag weight in DIV (0…65‘535)
n.u. 11
n.u. 12 Total weight in DIV (0…999'999'999)
n.u. 13
n.u. 14
n.u. 15
Nominal bag counter (0…99'999) 16 Bag counter (incremental)
17 (0…99'999)
18
19
n.u. 20 Number of decimal places (0…3)
Recipe No. (0…50) 21 Recipe No. (current recipe) (0…50)
n.u. 22 Step No. (0…9)
n.u. 23 Alarm No. (0…34)

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Bagging scales (BAG) 49

12.2 Control bits (transmitted data bytes 0…3)

Byte Bit Name Description


0 0 Start / stop 1 = Start feeding (filling of scales). Allow signal to remain until status
bit «Dribble flow» = 1
1 Bag counter / clear 1 = Bag counter is reset and total weight is deleted (only possible in
total step 1 or 9 and with TCON.CCLR=ON)
2 Abort 1 = Switch to step 1
3 FC alarm 1 = Fault in frequency converter when TCON.FINV=ON
(generates alarm FINV)
4 Discharge release 1 = Discharge of scales released. Allow signal to remain until status bit
«Discharge» = 1
5 Continue feeding 1 = Continue feeding without zeroing. This signal must be activated
together with «Start», and allows a bag already started on
(e.g. big-bag) to be completed after an interruption.
6 Acknowledge 1 = Acknowledgement of tolerance alarms. Allow signal to remain until
«Tolerance alarm» status bit «Tolerance alarm» = 0
7 Acknowledge «New 1 = Delete status bit «New values ready»
values ready» (allow signal to remain until «New values ready» = 0)
1 0 Surge hopper empty 1 = Probe in surge hopper is uncovered. Each bag weight is checked
and corrected (always check cycle)
1…3 n.u.
4 Release adjustment 1 = The bed depth adjustment of the MWSK belt feed to the nominal
to nominal value value is enabled
5 Release closing 1 = Closing of the bed depth adjustment of the MWSK belt feed is
enabled
6…7 n.u.
2 0…7 n.u.
3 0…7 See «Data for all
devices»

n.u. = not used (bits are ignored by MEAF)

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


50 Bagging scales (BAG) Profibus-DP Protocol

12.3 Status bits (received data bytes 0…3)

Byte Bit Name Description


0 0 Operation 1 = During feeding up to discharge
1 No. of bags reached Only with bag preselection
1 = Preselected number of bags is reached
2 Weighing completed 1 = Weighing is fully completed (step 5)
0 = When switching to step 8
3 Feeding completed 1 = Feeding is fully completed (step 4)
0 = When switching to step 8
4 Bagging release 1 = Without bag preselection, or if the preselected nominal value has
not yet been reached
0 = Preselected number of bags is reached
5 Dump pulse 1 = Pulse from start of discharge (length 1 s)
6 Tolerance alarm 1 = The bag weight is outside the set tolerance limits REC.TOL+,
REC.TOL–
7 New values ready 1 = New values are available (total weights, actual rate)
0 = Control bit «Acknowledge new values ready» = 1
1 0 Dribble flow 1 = Filling of scales in dribble flow mode
(also release of frequency converter)
Also activated during fast flow
1 Fast flow 1 = Filling of scales in fast flow mode
2 Discharge 1 = Discharge of scales
3 Weight of checked 1 = Current bag has been checked (check cycle)
bag
4 Gate opens 1 = The gate of the bed depth adjustment of the MWSK belt feed
opens
5 Gate closes 1 = The gate of the bed depth adjustment of the MWSK belt feed
closes
6 Gate in position 1 = The gate of the bed depth adjustment of the MWSK belt feed is in
the nominal position (open)
7 Gate closed 1 = The gate of the bed depth adjustment of the MWSK belt feed is
closed
2 0 Discharge delayed 1 = Off-delay signal «Emptying» according to REC.FDEL
1 Filter cleaning 1 = 200 ms pulse of every n-th bag for cleaning a filter according to
TCON.CLN
2…7 n.u.
3 0…7 See «Data for all
devices»

n.u. = not used (bits are set to 0 by MEAF)

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Bagging scales (BAG) 51

12.4 Transmitted data records (transmitted data bytes 8…23)

Transmitted data record 128 (default nominal values)


Byte Name Range [unit] Description
8…15 n.u.
16…19 Nominal bag 0…99‘999 0 = Operation without bag preselection
counter
20 n.u.
21 Recipe No. 0…50 1…50 = Load relevant recipe into working recipe 0
0 = Do not load recipe
22…23 n.u.
n.u. = not used (data are ignored by MEAF)

Transmitted data record 136 (recipe) Index: 0…50 as recipe No. (0 = working recipe)
Byte Name Range [unit] Description
8…9 Nominal bag MINB…MAXB [DIV] Nominal bag weight (Net weight) (REC.SIZE)
weight The nominal bag weight must be between the minimum
(TCON.MINB) and maximum (TCON.MAXB) nominal
bag weight
10…11 Empty weight 10…9999 [DIV] Start closure of discharge gate when weight falls below
this threshold (REC.EWT)
12…13 Tolerance 0…999 [DIV] Tolerance alarm when bag weight > nominal bag weight
positive + tolerance positive (REC.TOL+)
0 = no monitoring
14…15 Tolerance 0…999 [DIV] Tolerance alarm when bag weight < nominal bag weight
negative – tolerance negative (REC.TOL–)
0 = no monitoring
16…17 Fast flow trigger 0…9999 [DIV or Fast flow cut-off point or time according to REC.DOSW.
value 0.01 s] (REC.STRT)
0 = No fast flow
18…19 Dribble flow cut- 0…2000 [DIV] Dribble flow cut-off weight for switching off dribble flow
off weight (REC.CUTW)
20…23 n.u.
n.u. = not used (data are ignored by MEAF)

Transmitted data record 137 (recipe part 2) Index: 0…50 as recipe No. (0 = working recipe)
Byte Name Range [unit] Description
8 Check cycle 1…50 Check weight of every nth bag only (REC.CCYC)
1 = Check every bag
9 Fast feeding by 0…1 1 = Fast feeding by weight (REC.DOSW)
weight 0 = Fast feeding by time
10 Dribble flow 10…200 [0.1 s] Dribble flow nominal time for control system (REC.TDRI)
nominal time (1.0…20.0 s)
11 Fast feed rate 3…99 [%] Fast feed rate (REC.FFLO)
12 Dribble feed rate 3…99 [%] Dribble feed rate (REC.DFLO)
13…23 n.u.
n.u. = not used (data are ignored by MEAF)

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


52 Bagging scales (BAG) Profibus-DP Protocol

12.5 Received data records (received data bytes 8…23)

Received data record 1 (default actual values)


Byte Name Range [unit] Description
8…9 Nominal bag 0…50‘000 [DIV] Current nominal weight
weight
10…11 Actual bag 0…65‘535 [DIV] Current actual bag weight of checked bags. If bags are
weight not checked, the nominal weight is adopted.
12…15 Total weight 0…999‘999'999 Corresponds to bag counter
[DIV]
16…19 Bag counter 0…99‘999 Erasable bag counter (incremental)
20 Decimal places 0…3 Number of decimal places DIV on the Profibus interface
according to the setting ADC.DIV.
21 Recipe No. 0…50 Currently loaded recipe
22 Step No. 0…9 According to manual 66372-1
23 Alarm No. 0…31 According to manual 66372-1

n.u. = not used (data set to 0 by MEAF)

Received data record 2 (actual values part 2)


Byte Name Range [unit] Description
8…11 Bag counter not 0…99'999‘999 Non-erasable bag counter
erasable
12…23 n.u.

n.u. = not used (data set to 0 by MEAF)

Received data record 128 (default nominal values)


For data contents, see transmitted data record 128

Received data record 136 (recipe) Index: 0…50 as recipe No. (0 = working recipe)
For data contents, see transmitted data record 136

Received data record 137 (recipe part 2) Index: 0…50 as recipe No. (0 = working recipe)
For data contents, see transmitted data record 137

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Differential bagging scales (BAGD1, BAGD2, BAGD3) 53

13 Differential bagging scales (BAGD1, BAGD2, BAGD3)


13.1 Summary of standard data records 128/1
See following pages for a detailed description and other data records.
Transmitted data Byte Received data
Bit 0: Start 0 Bit 0:Operation
Bit 1: Bag counter / clear total Bit 1:No. of bags reached
Bit 2: Abort Bit 2:Weighing completed 1)
Bit 3: FC alarm 1 Bit 3:Feeding completed 1
Bit 4: Refill release Bit 4:Bagging release
Bit 5: Empty scale(s) Bit 5:Scale(s) empty
Bit 6: Acknowledge «Tolerance alarms» Bit 6:Tolerance alarm
Bit 7: Acknowledge «New values ready» Bit 7:New values ready
Bit 0: Empty system 1 Bit 0:Feeding 1
Bit 1: Cleaning operation Bit 1:Refilling 1
Bit 2: Continuous operation Bit 2:Filling time alarm
Bit 3: Release AO2 1) Bit 3:Weight of checked bag
Bit 4: FC alarm 2/3 2) Bit 4:Recipe output A
Bit 5: Bag attached 2/3 2) Bit 5:Recipe output B
Bit 6: n.u. Bit 6:Alarm 2 2)
Bit 7: n.u. Bit 7:Operation 2 2)
Bit 0: Refilling active 1 2 Bit 0:Feeding completed 2 2)
Bit 1: Refilling active 2 2) Bit 1:Refilling 2 2)
Bit 2: Refilling active 3 3) Bit 2:Feeding 2 2)
Bit 3: Manual emptying 1 Bit 3:Alarm 3 3)
Bit 4: Manual emptying 2 2) Bit 4:Operation 3 3)
Bit 5: Manual emptying 3 3) Bit 5:Feeding completed 3 3)
Bit 6: n.u. Bit 6:Refilling 3 3)
Bit 7: n.u. Bit 7:Feeding 3 3)
Bit 0: Control signals valid 3 Bit 0:n.u.
Bit 1: n.u. Bit 1:n.u.
Bit 2: n.u. Bit 2:n.u.
Bit 3: n.u. Bit 3:Local
Bit 4: n.u. Bit 4:Incorrect nominal value
Bit 5: Clear alarm Bit 5:Common alarm (alarm 1)
Bit 6: Modification to transmit. data record Bit 6:Acknowledge «Modification to
Bit 7: Acknowledge «Modification to transmitted data record»
received data record» Bit 7: Modification to received data record
No. of transmitted data record = 128 4 No. of transmitted data record = 128
Index of transmitted data record = 0 5 Index of transmitted data record = 0
No. of received data record = 1 6 No. of received data record = 1
Index of received data record = 0 7 Index of received data record = 0
Nominal rate in % (5…99) 4) 8…9 Nominal bag weight in DIV (0…50'000)
n.u. 10…11 Actual bag weight in DIV (0…65‘535)
Nom. total weight in kg (0…99'999'999) 4) 12…15 Total weight in kg (0…999'999'999)
Nominal bag counter (0…99'999) 16…19 Bag counter (in ascending order)
(0…99'999)
n.u. 20 Number of decimal places (0…3)
Recipe No. (0…50) 21 Recipe No. (current recipe) (0…50)
n.u. 22 Step No. (0…9)
n.u. 23 Alarm No. (0…45)
n.u. = not used
1) BAGD1 only 2) BAGD2/BAGD3 only 3) BAGD3 only 4) Continuous mode only

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


54 Differential bagging scales (BAGD1, BAGD2, BAGD3) Profibus-DP Protocol

13.2 Control bits (transmitted data bytes 0…3)

Byte Bit Name Description


0 0 Start 1 = Start feeding. Allow signal to remain until one of the status bits
«Feeding completed» is = 0.
After each feeding the signal has to be set to zero before restarting
is possible. (Continuous operation: scale feeds with signal=1)
1 Bag counter / clear 1 = Bag counter is reset and the total weight is deleted
total (only possible in step 1 or 9. Only if bag counter mode CCLR=ON
or with continuous operation)
2 Abort 1 = Switch to step 1
3 FC alarm 1 1 = Fault in frequency converter of scale 1 (generates alarm FINV)
4 Refill release 1 = Refilling of all scales enabled
5 Empty scale(s) 1 = Refilling and feeding time alarm is suppressed. When all scales
are empty, the status bit «Scale(s) empty» is set.
6 Acknowledge 1 = Acknowledgement of tolerance alarms. Allow signal to remain until
«Tolerance alarm» status bit «Tolerance alarm» = 0
7 Acknowledge «New 1 = Delete status bit «New values ready»
values ready» (leave until «New values ready» = 0)
1 0 Empty system 1 = Empty product feed and scales. Normal refilling continues until
product feed is empty (suppression of filling time alarm). Then
refilling and the feeding time alarm are suppressed. When all
scales are empty, the status bit «Scale(s) empty» is set.
1 Cleaning operation 1 = Single filling of empty scales with cleaning quantity. Then refilling
and the feeding time alarm are suppressed. When all scales are
empty, the status bit «Scale(s) empty» is set.
2 Continuous 1 = Continuous mode
operation 0 = Normal bagging mode
(this setting can only be adjusted at the starting point, step 1)
3 Release AO2 1) 1 = The recipe-specific actuating signal is generated at AO2
4 FC alarm 2/3 2) 1 = Fault in frequency converter of scales 2 and 3
(generates alarm FINV)
5 Bag 2) 1 = A bag is attached to the bag spout of the fast feed. Release of fast
attached 2/3 feed for this cycle (signal must be active at start).
6…7 n.u.

n.u. = not used (bits are ignored by MEAF)


1) BAGD1 only
2) BAGD2/BAGD3 only

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Differential bagging scales (BAGD1, BAGD2, BAGD3) 55

Byte Bit Name Description (Continuation)


2 0 Refilling active 1 1 = Refilling of scale 1 is active, weight adoption / start is disabled.
Must be set when refilling 1 is present and must be deleted with a
delay.
(If the signal is not used [continuous 0], then weight adoption / start
fix is delayed by 1.8s.)
1 Refilling active 2 2) According to byte 2/0
2 Refilling active 3 3) According to byte 2/0
3 Man. emptying 1 1 = Manual emptying of scale 1
The 24 V output «dosing 1» is set as long as the signal is at 1
4 Man. emptying 2 2) 1 = Manual emptying of scale 2
The 24 V output «dosing 2» is set as long as the signal is at 1
5 Man. emptying 3 3) 1 = Manual emptying of scale 3
The 24 V output «dosing 3» is set as long as the signal is at 1
6…7 n.u.
3 0…7 See «Data for all
devices»

n.u. = not used (bits are ignored by MEAF)


2) BAGD2/BAGD3 only
3) BAGD3 only

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


56 Differential bagging scales (BAGD1, BAGD2, BAGD3) Profibus-DP Protocol

13.3 Status bits (received data bytes 0…3)

Byte Bit Name Description


0 0 Operation 1 = Scales started (not in step 1 or 0)
1 No. of bags reached Only with bag preselection
1 = Preselected No. of bags is reached
2 Weighing 1) 1 = Weighing is fully completed (step 5)
completed 0 = On switching to step 8
3 Feeding completed 1 = Feeding of scale 1 is fully completed
1 0 = During feeding of scale 1
4 Bagging release 1 = Without bag preselection, if the preselected nominal value has not
yet been reached
0 = The preselected No. of bags is reached
5 Scale(s) empty 1 = All scales are empty. In the case of «Empty scale(s)», «Empty
system» and «Cleaning operation», the signal switches to 0 at the
start of the function and to 1 when the scales are fully empty.
6 Tolerance alarm 1 = The bag weight is outside the set tolerance limits REC.TOL+,
REC.TOL–
7 New values ready 1 = New values are available (new bag weight, count)
0 = Control bit «Acknowledge new values ready» = 1
1 0 Feeding 1 1 = Feeding scales 1 (also release of frequency converter)
1 Filling 1 1 = Filing scales 1
2 Filling time alarm 1 = Filling time alarm for scales 1, 2 or 3. The scales were unable to
be refilled within the time TFIL. Reset with the control bits «Clear
alarm» or «Empty scale(s)».
3 Weight of checked 1 = Current bag has been checked (check cycle)
bag (always 1 for BAGD2/3)
4 Recipe output A 1 = When REC.RDOA = ON
5 Recipe output B 1 = When REC.RDOB = ON
6 Alarm 2 2) 1 = Alarm scale 2
7 Operation 2 2) 1 = Scale 2 is in operation and can be used for feeding
0 = In emergency operation with scale 3
2 0 Feeding 2) 1 = Feeding of scale 2 is fully completed
completed 2 0 = During feeding of scale 2
1 Filling 2 2) 1 = Filling of scale 2
2 Feeding 2 2) 1 = Feeding of scale 2 (also release of frequency converter)
3 Alarm 3 3) 1 = Alarm scale 3
4 Operation 3 3) 1 = Scale 3 is in operation and can be used for feeding
0 = In emergency operation with scale 2
5 Feeding 3) 1 = Feeding of scale 3 is fully completed
completed 3 0 = During feeding of scale 3
6 Refilling 3 3) 1 = Filling of scale 3
7 Feeding 3 3) 1 = Feeding of scale 3 (also release of frequency converter)
3 0…7 See «Data for all
devices»
n.u. = not used (bits are set to 0 by MEAF)
1) BAGD1 only 2) BAGD2/BAGD3 only 3) BAGD3 only

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Differential bagging scales (BAGD1, BAGD2, BAGD3) 57

13.4 Transmitted data records (transmitted data bytes 8…23)

Transmitted data record 128 (default nominal values)


Byte Name Range [unit] Description
8…9 Nominal rate 5…99 [%] Nominal rate of screw feeder scale 2
(in continuous operation only)
10…11 n.u.
12…15 Nominal total 0…99'999'999 [kg] Nominal total weight (in continuous operation only)
weight
16…19 Nominal bag 0…99‘999 0 = Operation without bag preselection
counter
20 n.u.
21 Recipe No. 0…50 1…50 = Load relevant recipe into working recipe 0
0 = Do not load recipe
22…23 n.u.

n.u. = not used (data are ignored by MEAF)

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


58 Differential bagging scales (BAGD1, BAGD2, BAGD3) Profibus-DP Protocol

Transmitted data record 136 (recipe) Index: 0…50 as recipe No. (0 = working recipe)
Byte Name Range [unit] Description
8…9 Nominal bag MINB…MAXB [DIV] Nominal bag weight (REC.SIZE)
weight
10…11 n.u.
12…13 Tolerance 0…999 [DIV] Tolerance alarm when bag weight > nominal bag weight
positive + tolerance positive (REC.TOL+)
0 = no monitoring
14…15 Tolerance 0…999 [DIV] Tolerance alarm when bag weight < nominal bag weight
negative – tolerance negative (REC.TOL–)
0 = no monitoring
16…17 Fast flow trigger 0…9999 Fast feeding cut-off point or time according to
value [DIV or 0.01 s] REC.DOSW. (REC.STRT)
0 = no fast feeding
(In the case of fast feeding according to weight
[REC.DOSW=1] the value has to smaller than the
nominal bag weight [REC.SIZE])
18…19 Dribble flow cut- 0…2000 [DIV] Dribble flow cut-off weight for switching off dribble feed
off weight (REC.CUTW)
20…21 Relative density 10…300 [0.01 kg/l] Relative density of product (REC.DENS)
(0.10…3.00 kg/l)
22…23 n.u.

n.u. = not used (data are ignored by MEAF)

Transmitted data record 137 (recipe part 2) Index: 0…50 as recipe No. (0 = working recipe)
Byte Name Range [unit] Description
8 Check cycle 1…50 Check weight of every nth bag only (REC.CCYC)
1 = Check every bag (BAGD1 only)
9 Fast feeding by 0…1 1 = Fast feeding by weight (REC.DOSW)
weight 0 = Fast feeding by time
10 Nominal dribble 10…200 [0.1 s] Nominal dribble feeding time for control system
feeding time (1.0…20.0 s) (REC.TDRI)
11 Fast feeding rate 3…99 [%] Fast feeding rate (REC.FFLO)
12 Dribble feeding 3…99 [%] Dribble feeding rate (REC.DFLO)
rate
13 Recipe output A 0…1 1 = Status bit «Recipe output A» = 1 (REC.RDOA)
14 Recipe output B 0…1 1 = Status bit «Recipe output B» = 1 (REC.RDOB)
15 Actuating signal 0…99 [%] Actuating signal at analog output 2 (REC.RAO2)
at AO2 (BAGD1 only)
16…23 n.u.

n.u. = not used (data are ignored by MEAF)

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Differential bagging scales (BAGD1, BAGD2, BAGD3) 59

13.5 Received data records (received data bytes 8…23)

Received data record 1 (default actual values)


Byte Name Range [unit] Description
8…9 Nominal bag 0…50‘000 [DIV] Current nominal weight
weight
10…11 Actual bag 0…65‘535 [DIV] Current actual bag weight of checked bags. If bags are
weight not checked, the nominal value is adopted.
12…15 Total weight 0…999‘999'999 [kg] Corresponds to the bag counter
16…19 Bag counter 0…99‘999 Erasable bag counter (incremental)
20 Decimal places 0…3 Number of decimal places DIV on the Profibus interface
according to the setting ADC.DIV.
21 Recipe No. 0…50 Currently loaded recipe
22 Step No. 0…9 According to manual 66482-1
23 Alarm No. 0…45 According to manual 66482-1

n.u. = not used (data set to 0 by MEAF)

Received data record 2 (actual values part 2)


Byte Name Range [unit] Description
8…11 Bag counter not 0…99'999‘999 Non-erasable bag counter
erasable
12…15 Actual rate 0…999'999 [t/h] Actual rate (in continuous operation only)
16…23 n.u.

n.u. = not used (data set to 0 by MEAF)

Received data record 128 (default nominal values)


For data contents, see transmitted data record 128

Received data record 136 (recipe) Index: 0…50 as recipe No. (0 = working recipe)
For data contents, see transmitted data record 136

Received data record 137 (recipe part 2) Index: 0…50 as recipe No. (0 = working recipe)
For data contents, see transmitted data record 137

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


60 Metering slide gate MZDE Profibus-DP Protocol

14 Metering slide gate MZDE


14.1 Summary of standard data records 128/1
See following pages for a detailed description and other data records.
Transmitted data Byte Received data
Bit 0: Start / stop 0 Bit 0: Operation
Bit 1: n.u. Bit 1: Slide gate in position
Bit 2: n.u. Bit 2: n.u.
Bit 3: n.u. Bit 3: n.u.
Bit 4: n.u. Bit 4: n.u.
Bit 5: n.u. Bit 5: n.u.
Bit 6: n.u. Bit 6: n.u.
Bit 7: Acknowledge «New values ready» Bit 7: New values ready
Bit 0…7: n.u. 1 Bit 0…7: n.u.
Bit 0…7: n.u. 2 Bit 0…7: n.u.
Bit 0: Control signals valid 3 Bit 0: n.u.
Bit 1: n.u. Bit 1: n.u.
Bit 2: n.u. Bit 2: n.u.
Bit 3: n.u. Bit 3: Remote control via Profibus-DP
Bit 4: n.u. Bit 4: Incorrect nominal value
Bit 5: Clear alarm Bit 5: Common alarm
Bit 6: Modification to transmit. data record Bit 6: Acknowledge «Modification to
Bit 7: Acknowledge «Modification to transmitted data record»
received data record» Bit 7: Modification to received data record
No. of transmitted data record = 128 4 No. of transmitted data record = 128
Index of transmitted data record = X 5 Index of transmitted data record = X
No. of received data record = 1 6 No. of received data record = 1
Index of received data record = X 7 Index of received data record = X
Nominal position in ‰ (0…2000) 8 Actual position in ‰ (0…2000)
9
n.u. 10 Maximum nominal position in ‰
(300…2000)
n.u. 11
n.u. 12 Minimum nominal position in ‰ (10…100)
n.u. 13
n.u. 14 n.u.
n.u. 15 n.u.
n.u. 16 n.u.
n.u. 17 n.u.
n.u. 18 n.u.
n.u. 19 n.u.
n.u. 20 n.u.
n.u. 21 n.u.
n.u. 22 Step No. (0…9)
n.u. 23 Alarm No. (0…39)
n.u. = not used

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Metering slide gate MZDE 61

14.2 Control bits (transmitted data bytes 0…3)

Byte Bit Name Description


0 0 Start / stop 1 = Release metering cycle (start metering operation)
0 = Stop metering cycle (immediate stop of metering operation)
1 n.u.
2 n.u.
3 n.u.
4 n.u.
5 n.u.
6 n.u.
7 Acknowledge 1 = Delete status bit «New values ready»
«New values ready» (leave until «New values ready» = 0)
1 0…7 n.u.
2 0…7 n.u.
3 0…7 See «Data for all
devices»

n.u. = not used (bits are ignored by MEAF)

14.3 Status bits (received data bytes 0…3)

Byte Bit Name Description


0 0 Operation 1 = The metering slide gate has been started (opening ≥ PMIN)
0 = The metering slide gate has been stopped (opening < PMIN)
1 Slide gate in 1 = The metering slide gate is at target position
position
2 n.u.
3 n.u.
4 n.u.
5 n.u.
6 n.u.
7 New values ready 1 = New values are available (total weights, actual capacity)
0 = Control bit «Acknowledge new values ready» = 1
1 0…7 n.u.
2 0…7 n.u.
3 0…7 See «Data for all
devices»

n.u. = not used (bits are set to 0 by MEAF)

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


62 Metering slide gate MZDE Profibus-DP Protocol

14.4 Transmitted data records (transmitted data bytes 8…23)

Transmitted data record 128 (default nominal values)


Byte Name Range [unit] Description
8…9 Nominal position 0…PMAX [‰] The nominal position is displayed in parameter POS.
(max. 2000) For nominal position < PMIN the value 0 is adopted.
10…23 n.u.

n.u. = not used (data are ignored by MEAF)

14.5 Received data records (received data bytes 8…23)

Received data record 1 (default actual values)


Byte Name Range [unit] Description
8…9 Actual position 0…2000 [‰] Current actual position
10…11 Maximum 300…2000 [‰] Limitation maximum nominal position
nominal position
12…13 Minimum 10…100 [‰] Limitation minimum nominal position
nominal position
14…21 n.u.
22 Step No. 0…9 According to manual 66548
23 Alarm No. 0…39 According to manual 66548

n.u. = not used (data set to 0 by MEAF)

Received data record 128 (default nominal values)


For data contents, see transmitted data record 128

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Automatic moisture control unit MYFC 63

15 Automatic moisture control unit MYFC


15.1 Summary of standard data records 128/1
See following pages for a detailed description and other data records.
Transmitted data Byte Received data
Bit 0: n.u. 0 Bit 0: 24 V release
Bit 1: n.u. Bit 1: Water dosed
Bit 2: Discharge rest Bit 2: Remote / local (1=Remote)
Bit 3: n.u. Bit 3: Manual mode (switch to manual)
Bit 4: n.u. Bit 4: Probe dampener (1=covered)
Bit 5: n.u. Bit 5: Ready (active)
Bit 6: n.u. Bit 6: n.u.
Bit 7: n.u. Bit 7: n.u.
Bit 0…7: n.u. 1 Bit 0…7: n.u.
Bit 0…7: n.u. 2 Bit 0…7: n.u.
Bit 0: Control signals valid 3 Bit 0: n.u.
Bit 1: n.u. Bit 1: n.u.
Bit 2: n.u. Bit 2: n.u.
Bit 3: n.u. Bit 3: Remote control via Profibus-DP
Bit 4: n.u. Bit 4: Incorrect nominal value
Bit 5: Clear alarm Bit 5: Common alarm 1)
Bit 6: Modification to transmit. data record Bit 6: Acknowledge «Modification to
Bit 7: Acknowledge «Modification to transmitted data record»
received data record» Bit 7: Modification to received data record
No. of transmitted data record = 128 4 No. of transmitted data record = 128
Index of transmitted data record = X 5 Index of transmitted data record = X
No. of received data record = 1 6 No. of received data record = 1
Index of received data record = X 7 Index of received data record = X
Nominal dampening MOZF or nominal 8 Average moisture in 0.1 %
moisture in 0.1 %
9 n.u.
n.u. 10 Water dosing capacity MOZF in 0.1 l/h
n.u. 11
n.u. 12 Product throughput in kg/h
n.u. 13
n.u. 14
n.u. 15
n.u. 16 Non-erasable totalizer for water in 0.1l
n.u. 17
n.u. 18
n.u. 19
n.u. 20 n.u.
Recipe No. (load recipe) (0…20) 21 Recipe No. (current recipe) (0…20)
n.u. 22 Alarm No. MYFC (incl. warnings)
n.u. 23 Alarm No. MOZF (incl. warnings)
n.u. = not used
1) Is not generated for warnings

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


64 Automatic moisture control unit MYFC Profibus-DP Protocol

15.2 Control bits (transmitted data bytes 0…3)

Byte Bit Name Description


0 0…7 n.u.
1 0…7 n.u.
2 0…7 n.u.
3 0…7 See «Data for all
devices»
n.u. = not used (bits are ignored by MEAF)

15.3 Status bits (received data bytes 0…3)

Byte Bit Name Description


0 0 24 V release 1 = Release signal available
1 Water dosed 1 = Dosed
2 Remote / local 1 = Remote
3 Manual mode 1 = Switch at MOZF on manual
4 Probe dampener 1 = Probe covered
5 Ready (active) 1 = S2 on position RUN
6 n.u.
7 n.u.
1 0…7 n.u.
2 0…7 n.u.
3 0…7 See «Data for all
devices»
n.u. = not used (bits are set to 0 by MEAF)

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Automatic moisture control unit MYFC 65

15.4 Transmitted data records (transmitted data bytes 8…23)

Transmitted data record 128 (default nominal values)


Byte Name Range [unit] Description
8…9 Nominal value 0…25.0 [%] (With recipe number >0 (byte 21) no nominal value is
assumed, since the nominal value is contained in the
recipe as well.)
With function mode «Percent dampening»:
Nominal dampening MOZE/F in 0.1 % of the product
throughput
With function mode «Control»:
Nominal moisture in 0.1 %
10…20 n.u.
21 Recipe No. 0…20 1…20 = Load recipe into the working recipe 0
0 = Do not load recipe
22…23 n.u.

n.u. = not used (data are ignored by MEAF)

Transmitted data record 136 (recipe) Index: 0…20 as recipe number (0 = Working recipe)
Byte Name Range [unit] Description
8…9 Nominal value 0…25.0 [%] With function mode «Percent dampening»:
Nominal dampening MOZE/F in 0.1 % of the product
throughput
With function mode «Control»:
Nominal moisture in 0.1 %
10…11 n.u.
12…13 Moisture offset –99.99…99.99 [%] Moisture offset MYFC in 0.01 %
(for adaptation to the laboratory)
14…15 Maximum dosing 0…6500,0 [l/h] Maximum dosing capacity MOZE/F in 0.1 l/h
capacity
16 Product group 0…9 Product group MYFC
17…23 n.u.

n.u. = not used (data are ignored by MEAF)

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


66 Automatic moisture control unit MYFC Profibus-DP Protocol

15.5 Received data records (received data bytes 8…23)

Received data record 1 (default actual values)


Byte Name Range [unit] Description
8 Moisture 0…25.0 [%] Actual value average moisture in 0.1 %
(0 is returned in the case of invalid moisture value)
9 n.u.
10…11 Water dosing 0…6’500.0 [l/h] Current water dosing capacity in 0.1 l/h of the MOZE/F
capacity [QMIN…DMAX]
12…15 Product 0…999‘999 [kg/h] Current product throughput measured by the flow
throughput balancer
16…19 N. l. totalizer 0…99‘999‘999.9 [l] Non-erasable totalizer for water MOZE/F (sum 4)
water (MOZE operates in the range 0…999‘999,9 l.)
20 n.u.
21 Recipe No. 0…20 Currently loaded recipe
22 Alarm No. MYFC 0…99 Current MYFC alarm number (incl. warnings)
(see operating instructions 66542)
23 Alarm No. MOZF 0…99 Current MOZF Alarm No. (incl. warnings)
(see operating instructions 66542)

n.u. = not used (data set to 0 by MEAF)

Received data record 2 (actual values section 2)


Byte Name Range [unit] Description
8…11 N. l. totalizer 0…999’999’999 [kg] Non-erasable totalizer for product MYFC (sum 2)
product
12…23 n.u.

n.u. = not used (data set to 0 by MEAF)

Received data record 128 (default nominal values)


For data contents, see transmitted data record 128

Received data record 136 (recipe) Index: 0…20 as recipe number (0 = Working recipe)
For data contents, see transmitted data record 136

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Liquids flow controller MOZF 67

16 Liquids flow controller MOZF


16.1 Summary of standard data records 128/1
See following pages for a detailed description and other data records.
Transmitted data Byte Received data
Bit 0: n.u. 0 Bit 0: 24 V release
Bit 1: n.u. Bit 1: Water dosed
Bit 2: n.u. Bit 2: Remote / local (1=Remote)
Bit 3: n.u. Bit 3: Manual mode (switch to manual)
Bit 4: n.u. Bit 4: Probe dampener (1=covered)
Bit 5: n.u. Bit 5: Ready (active)
Bit 6: n.u. Bit 6: n.u.
Bit 7: n.u. Bit 7: n.u.
Bit 0…7: n.u. 1 Bit 0…7: n.u.
Bit 0…7: n.u. 2 Bit 0…7: n.u.
Bit 0: Control signals valid 3 Bit 0: n.u.
Bit 1: n.u. Bit 1: n.u.
Bit 2: n.u. Bit 2: n.u.
Bit 3: n.u. Bit 3: Remote control via Profibus-DP
Bit 4: n.u. Bit 4: Incorrect nominal value
Bit 5: Clear alarm Bit 5: Common alarm 1)
Bit 6: Modification to transmit. data record Bit 6: Acknowledge «Modification to
Bit 7: Acknowledge «Modification to transmitted data record»
received data record» Bit 7: Modification to received data record
No. of transmitted data record = 128 4 No. of transmitted data record = 128
Index of transmitted data record = X 5 Index of transmitted data record = X
No. of received data record = 1 6 No. of received data record = 1
Index of received data record = X 7 Index of received data record = X
Nominal capacity in 0.1 l/h or nominal 8 n.u.
dampening in 0.1 % 9 n.u.
n.u. 10 Actual capacity in 0.1 l/h
n.u. 11
n.u. 12 n.u.
n.u. 13 n.u.
n.u. 14 n.u.
n.u. 15 n.u.
n.u. 16 Non-erasable totalizer for water in 0.1 l/h
n.u. 17
n.u. 18
n.u. 19
n.u. 20 n.u.
n.u. 21 n.u.
n.u. 22 n.u.
n.u. 23 Alarm No. MOZF (incl. warnings)
n.u. = not used
1) Is not generated for warnings

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


68 Liquids flow controller MOZF Profibus-DP Protocol

16.2 Control bits (transmitted data bytes 0…3)

Byte Bit Name Description


0 0…7 n.u.
1 0…7 n.u.
2 0…7 n.u.
3 0…7 See «Data for all
devices»
n.u. = not used (bits are ignored by MEAF)

16.3 Status bits (received data bytes 0…3)

Byte Bit Name Description


0 0 24 V release 1 = Release signal available
1 Water dosed 1 = Dosed
2 Remote / local 1 = Remote
3 Manual mode 1 = Switch at MOZF on manual
4 Probe dampener 1 = Probe covered
5 Ready (active) 1 = S2 on position RUN
6 n.u.
7 n.u.
1 0…7 n.u.
2 0…7 n.u.
3 0…7 See «Data for all
devices»
n.u. = not used (bits are set to 0 by MEAF)

16.4 Transmitted data records (transmitted data bytes 8…23)

Transmitted data record 128 (default nominal values)


Byte Name Range [unit] Description
8…9 Nominal capacity 0 / QMIN…QMAX With function mode «Litre dosing» (normal case):
0…25.0 [%] Nominal capacity in 0.1 l/h
With function mode «Percent dampening»:
Nominal dampening in 0.1 %
10…23 n.u.

n.u. = not used (data are ignored by MEAF)

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Liquids flow controller MOZF 69

16.5 Received data records (received data bytes 8…23)

Received data record 1 (default actual values)


Byte Name Range [unit] Description
8…9 n.u.
10…11 Actual capacity 0…6’500.0 [l/h] Actual capacity of the water dosing in 0.1 l/h
12…15 n.u.
16…19 N. l. totalizer 0…99’999’999.9 [l] Non-erasable totalizer for water (sum 4)
water
20…22 n.u.
23 Alarm No. 0…99 Current MOZF alarm number (incl. warnings)
MOZF

n.u. = not used (data set to 0 by MEAF)

Received data record 128 (default nominal values)


For data contents, see transmitted data record 128

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


70 Dosing control system (DCOS) Profibus-DP Protocol

17 Dosing control system (DCOS)


17.1 Summary of standard data records 128/1
See following pages for detailed description and other data records.
Transmitted data Byte Received data
Bit 0: Start / Stop 0 Bit 0: Operation
Bit 1: Abort Bit 1:
Bit 2: Operation via Profibus-DP Bit 2: Ready for feeding
Bit 3: n.u. Bit 3: Fast flow
Bit 4: n.u. Bit 4: Dribble flow
Bit 5: n.u. Bit 5: Discharge active
Bit 6: Discharge / stop batch Bit 6: Discharge completed
Bit 7: Acknowledge «New values ready / Bit 7: New values ready / final value
final value reached» reached
Bit 0: Acknowledge Start / Stop Signal 1 Bit 0: Start / stop signal
Bit 1: Acknowledge abort signal Bit 1: Abort signal
Bit 2…7: n.u. Bit 2…7: n.u.
Bit 0…7: n.u. 2 Bit 0…7: n.u.
Bit 0: Control signals valid 3 Bit 0: n.u.
Bit 1: n.u. Bit 1: n.u.
Bit 2: n.u. Bit 2: n.u.
Bit 3: n.u. Bit 3: Remote control via Profibus-DP
Bit 4: n.u. Bit 4: Incorrect nominal value
Bit 5: Clear alarm Bit 5: Common alarm
Bit 6: Modification to transmit. data record Bit 6: Acknowledge «Modification to
Bit 7: Acknowledge «Modification to transmitted data record»
received data record» Bit 7: Modification to received data record
No. of transmitted data record = 128 4 No. of transmitted data record = 128
Index of transmitted data record = X 5 Index of transmitted data record = X
No. of received data record = 1 6 No. of received data record = 1
Index of received data record = X 7 Index received data record = X
Nominal value in kg / DIV (0…150‘000) 8 Component weight in kg / DIV (0…999'999)
9
10
11
n.u. 12 Scale weight in kg / DIV (0…999'999)
n.u. 13
n.u. 14
n.u. 15
n.u. 16 n.u.
n.u. 17 n.u.
n.u. 18 n.u.
n.u. 19 n.u.
n.u. 20 Number of decimal places (0…3)
Recipe No. (load recipe) (0…8) 21 Recipe No. (current recipe) (1…8)
n.u. 22 Step No. (0…8)
n.u. 23 Alarm No. (0…99)
n.u. = not used

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Dosing control system (DCOS) 71

17.2 Control bits (transmitted data bytes 0…3)

Byte Bit Name Description


0 0 Start / stop 1 = Release (start feeding)
0 = Stop (immediate stop / interruption of feeding)
1 Abort 1 = Current weighing is aborted.
2 Operation via 1 = The start / stop and the abort signals are transmitted by the
Profibus-DP Profibus.
0 = The start / stop and the abort keys are locally active.
The start / stop and the abort signals are also switched to the 24 V
inputs if the flag «Control signals valid», byte 3 bit 0, is not present.
3…5 n.u. n.u.
6 Discharge / end 1 = Discharge is active. If this bit changes to zero the status bit
batch «Discharge completed» is set.
Changing to starting point, current component weighing is stopped
(TCON.MODE = POS / POS2).
0 = Stop of discharge.
7 Acknowledge 1 = Clear status bit «New values ready / final value reached»
«New values ready / (to be applied until «New values ready» = 0)
final value reached»
1 0 Acknowledge 1 = Status bits start / stop signal is cleared
start / stop signal
1 Acknowledge 1 = Status bits abort signal is cleared
abort signal
2…7 n.u.
2 0…7 n.u.
3 0…7 See «Data for all
devices»

n.u. = not used (bits are ignored by MEAF)

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


72 Dosing control system (DCOS) Profibus-DP Protocol

17.3 Status bits (received data bytes 0…3)

Byte Bit Name Description


0 0 Operation 1 = The scale is started
0 = The scale is stopped
1 n.u. n.u.
2 Ready for feeding 1 = All feeding conditions are available
3 Fast flow 1 = Fast flow element is active
4 Dribble flow 1 = Dribble flow element is active
5 Discharge active 1 = Discharge is active, is set via the control flag «Discharge» or the
24 V input
6 Discharge 1 = Discharge could be carried out and is completed
completed 0 = If the control bit «Discharge» or after feeding start
7 New values ready / 1 = New values are ready (component weight)
final values reached 0 = Control bit
«Acknowledge new values ready / final values reached» = 1
1 0 Start / stop signal 1 = Local start / stop key was actuated. Is applied until it is cleared by
the corresponding control flag.
1 Abort signal 1 = Local abort key was actuated. Is applied until it is cleared by the
corresponding control flag.
2…7 n.u.
2 0…7 n.u.
3 0…7 See «Data for all
devices»

n.u. = not used (bits are set to 0 by MEAF)

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Dosing control system (DCOS) 73

17.4 Transmitted data records (transmitted data bytes 8…23)

Transmitted data record 128 (default nominal values)


Byte Name Range [unit] Description
8…11 Nominal value 0 / TCON.MINW… Nominal value for the component weight. If the value is
TCON.MAXW [kg] 0 it will not be accepted. This can be used for instance,
2) 3) if the recipe must be loaded with the nominal weight.
12…20 n.u.
21 Recipe No. 0…8 3) 1…8 = Load recipe / silo
0 = Do not load recipe / silo
22…23 n.u.

n.u. = not used (data are ignored by MEAF)


2) Decimal places according to setting DIV / HOST.WFOR (standard no decimal places / fixed format).
3) Nominal value is only accepted in step 1 or 8

Transmitted data record 136 (recipe) Index: 0…8 as recipe No. (0 = Working recipe)
Byte Name Range [unit] Description
8…9 Free silo number 1) 3) Free silo number, which appears among other things on
the printout (REC.BIN)
10…13 Nominal weight 1) 2) 3) Nominal weight (REC.WTS)
in kg
14…15 Weight tolerance 1) 2) 3) Weight tolerance positive in kg (REC.TOL+)
positive
16…17 Weight tolerance 1) 2) 3) Weight tolerance negative in kg (REC.TOL–)
negative
18…19 Fast flow trigger 1) 2) 3) Fast flow trigger value
value Change-over weight in kg (REC.STRT)
Change-over
Value = 1: no fast flow
weight
20…21 Dribble flow 1) 2) 3) Dribble flow cut-off weight in kg (REC.CUTW)
cut-off weight
22 Fast feed rate 1) 3) Fast feed rate in % (REC.FFLO)
23 Dribble feed rate 1) 3) Dribble feed rate in % (REC.DFLO)

Contrary to most Bühler scales with Profibus connection the recipe loaded last is edited in the case of DCOS
with index 0. However, if another index is selected then this recipe is loaded.
n.u. = not used (data are ignored by MEAF)
1) = 0: value is not accepted
2) Decimal places according to setting DIV / HOST.WFOR (standard no decimal places / fixed format)
3) Nominal value is only accepted in step 1 or 8

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


74 Dosing control system (DCOS) Profibus-DP Protocol

17.5 Received data records (received data bytes 8…23)

Received data record 1 (default actual values)


Byte Name Range [unit] Description
8…11 Component 0…999’999 [kg] 2) Current component weight.
weight
12…15 Scale weight 0…999'999 [kg] 2) Current scale weight
16…19 n.u. n.u. n.u.
20 Decimal places 0…3 Number of decimal places DIV on the Profibus interface
according to the setting HOST.WFOR and ADC.DIV
21 Recipe No. 0…50 Current loaded recipe
22 Step No. 0…9 According to manual 66372-1
23 Alarm No. 0…34 According to manual 66372-1

n.u. = not used (data set to 0 by MEAF)


2) Decimal places according to setting DIV / HOST.WFOR (standard no decimal places / fixed format)

Received data record 128 (default nominal values)


For data contents, see transmitted data record 128

Received data record 136 (recipe) Index: 0…8 as recipe No. (0 = Working recipe)
For data contents, see transmitted data record 136

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Device Control (DevCtrl) 75

18 Device Control (DevCtrl)


18.1 General Particulars
The following standard data records are applicable to the following devices of the
DevCtrl:

• Wheat heater MBHA


• Steamer MBDA
• Steamer DSDC
• Kiln Granotherm DNCB
• Fluid-bed heat exchanger OTW

Note the Operating Instructions 66604-1 for the description of the devices.

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


76 Device Control (DevCtrl) Profibus-DP Protocol

18.2 Summary of standard data records 128/1 (applies to all devices)


Transmitted data Byte Received data
Bit 0: Release (Start / Stop) 0 Bit 0: Operation
Bit 1: Automat / Manual Bit 1: n.u.
Bit 2: Restart with start value and start time Bit 2: Restart was carried out
Bit 3: Activate start value Bit 3: n.u.
Bit 4: n.u. Bit 4: n.u.
Bit 5: n.u. Bit 5: n.u.
Bit 6: n.u. Bit 6: n.u.
Bit 7: Acknowledge «new values ready» Bit 7: New values ready
Bit 0…7: n.u. 1 Bit 0: Steam valve activated
Bit 1 Limit switch 1 closed
Bit 2 Limit switch 2 closed
Bit 3…7 n.u.
Bit 0…7: n.u. 2 Bit 0…7: n.u.
Bit 0: Control signals valid 3 Bit 0: n.u.
Bit 1: n.u. Bit 1: n.u.
Bit 2: n.u. Bit 2: n.u.
Bit 3: n.u. Bit 3: Remote control via Profibus-DP
Bit 4: n.u. Bit 4: Incorrect nominal value
Bit 5: Clear alarm Bit 5: Common alarm
Bit 6: Modification to transmit. data record Bit 6: Acknowledge «Modification to
Bit 7: Acknowledge transmitted data record»
«Modification toreceived data record» Bit 7: Modification to received data record
No. of transmitted data record = 128 4 No. of transmitted data record = 128
Index of transmitted data record = X 5 Index of transmitted data record = X
No. of received data record = 1 6 No. of received data record = 1
Index of received data record = X 7 Index of received data record = X
Nominal temperature in 0.1 °C 8 Temperature 1 in 0.1°C
9
Nominal value Steam control in 0.1 % 10 Temperature 2 in 0.1°C
for manual operation 11
n.u. 12 Temperature 3 in 0.1°C
n.u. 13
Actual product throughput kg/h 14 Actual steam throughput in 0.1%
(if present) 15
16
17
Start value for Steam control in 0.1 % 18 Start value for Steam control in 0.1%
(see parameter CTRL.START) (see parameter CTRL.START)
0 = local setting applies 19
Max. dosing value TCON.QMAX in 0.1 % 20 n.u.
0 = local setting applies 21 n.u.
Min. dosing value TCON.QMIN in 0.1 % 22 n.u.
0 = local setting applies 23 Alarm No.
n.u. = not used

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Device Control (DevCtrl) 77

18.3 Control bits (transmitted data bytes 0…3)

Byte Bit Name Description


0 0 Release 1 = Release (start dosing)
(Start / Stop) 0 = Stop (immediate stop / dosing interruption)
1 Automat / Manual 1 = Automat (control is active)
0 = Manual (control is inactive)
2 Restart with start 1 = The controller is deactivated and restart takes place with the start
value and start time value and start time. After the start time has expired, the controller
is activated automatically. Can be set to 0 again as soon as
BIT2 = 1 (Restart was carried out)
0 = The device operates in the normal mode
3 Activate start value 1 = The start value is output and the controller is deactivated.
However, as soon as the control tolerance is reached, the
controller is activated.
0 = The device operates in the normal mode
4…6 n.u. n.u.
7 Acknowledge 1 = Clear status bit «New values ready / final value reached»
«New values ready / (leave applied until «New values ready» = 0)
final value reached»
1 Acknowledge 1 = Status bits abort signal is cleared
abort signal
2…7 n.u.
1 0…7 n.u.
2 0…7 n.u.
3 0…7 See «Data for all
devices»

n.u. = not used (bits are ignored by DevCtrl)

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


78 Device Control (DevCtrl) Profibus-DP Protocol

18.4 Status bits (received data bytes 0…3)

Byte Bit Name Description


0 0 Operation 1 = The dosing/control is started
0 = The dosing/control is stopped
1 n.u. n.u.
2 Restart was carried out 1 = Acknowledge Bit2 Restart.
Bit2 has to be deleted again.
3…7 n.u.
7 New values ready 1 = New values are ready
0 = Command bit «Acknowledge new values» = 1
1 0 Steam valve activated 1 = The steam valve is activated
1 Limit switch 1 closed 1 = Limit switch 1 is closed
2 Limit switch 2 closed 1 = Limit switch 2 is closed
3…7 n.u.
2 0…7 n.u.
3 0…7 See «Data for all devices»

n.u. = not used (bits set to 0 by DevCtrl)

18.5 Transmitted data records (transmitted data bytes 8…23)

Transmitted data record 128 (default nominal values)


Byte Name Range [unit] Description
8…9 Nominal temperature [0.1 °C] Nominal temperature to which the control takes
place
10…11 Nominal value [0.1 %] Nominal value for the steam valve when operation is
Steam control 0…100.0 % in the manual mode
12…13 n.u.
14…17 Product throughput [kg/h] Actual product throughput (if present)
This value is shown on the display
18…19 Start value [0.1 %] Start value for the steam control
(see parameter CTRL.START)
20…21 Max. dosing value [0.1 %] Maximum dosing value TCON.QMAX
(0 = the local presetting is adopted)
22…23 Min. dosing value [0.1 %] Minimum dosing valueTCON.QMIN
(0 = the local presetting is adopted)

n.u. = not used (data are ignored by DevCtrl)

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Device Control (DevCtrl) 79

18.6 Received data records (received data bytes 8…23)

Received data record 1 (default actual values)


Byte Name Range [unit] Description
8…9 Temperature 1 [0.1 °C] Temperature 1
10…11 Temperature 2 [0.1 °C] Temperature 2 (if present)
12…13 Temperature 3 [0.1 °C] Temperature 3 (if present)
14…17 Actual [0.1 %] Current position of control valve
steam throughput
18…19 Start value [0.1 %] Start value parameter CTRL.START
20…22 n.u.
23 Alarm No. Alarm No.

n.u. = not used (data set to 0 by MEAF)

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


80 Vertical grinder (PEARL) Profibus-DP Protocol

19 Vertical grinder (PEARL)


19.1 Summary of standard data records 128/1
See following pages for detailed description and other data records.
Transmitted data Byte Received data
Bit 0: Start/Stop 0 Bit 0: Operation
Bit 1: Bit 1: 0 = start sequence concluded
Bit 2: Bit 2: Current warning A greater than HLC
Bit 3: Bit 3: Accumulation plate in position
Bit 4: Bit 4: Product probe
Bit 5: Bit 5:
Bit 6: Bit 6:
Bit 7: Bit 7:
1
2
Bit 0: 3 Bit 0:
Bit 1: Bit 1:
Bit 2: Bit 2:
Bit 3: Bit 3: Remote control via Profibus
Bit 4: Bit 4: Incorrect nominal value
Bit 5: Clear alarm Bit 5: Common alarm
Bit 6: Modification to transmitted data record Bit 6: Acknowledge «Modification to
Bit 7: Acknowledge transmitted data record»
«Modification to received data record» Bit 7: Modification to received data record
No. of transmitted data record = 128 4 No. of transmitted data record = 128
Index of transmitted data record = x 5 Index of transmitted data record = x
No. of received data record = 1 6 No. of received data record = 1
Index of received data record = x 7 Index of received data record = x
Nominal current in A (20.0…TCON.MOTI) 8 Nominal current in A (20.0…TCON.MOTI)
9
10 Actual current in A (0.0…TCON.CONV)
11
12 Actual pressure in 0.1 %
13
14 Minimum pressure 0.1 %
15
n.u. 16 Max. motor current in A (20.0…TCON.MOTI)
n.u. 17
n.u. 18 n.u.
n.u. 19 n.u.
n.u. 20 n.u.
Recipe No. 21 Recipe No.
n.u. 22 Step No.
n.u. 23 Alarm No.
n.u. = not used

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Vertical grinder (PEARL) 81

19.2 Command bits (transmitted data bytes 0…3)

Byte Bit Name Description


0 0 Start / Stop 1 = Release grinding cycle (start vertical grinder)
0 = Stop grinding cycle (immediate stop vertical grinder)
1 n.u.
2 n.u.
3 n.u.
4…6 n.u. n.u.
7 Acknowledge 1 = Clear status bit «New values ready»
«New values ready» (leave applied until «New values ready» = 0)
1 0…7 n.u.
2 0…7 n.u.
3 0…7 See «General data
for all devices»

n.u. = not used (bits are ignored by MEAF)

19.3 Status bits (received data bytes 0…3)

Byte Bit Name Description


0 0 Operation 1 = The vertical grinder is started (accumulation plate = PMIN)
until product flows.
0 = The vertical grinder is stopped (accumulation plate = PMIN)
1 Start sequence 0 = The start sequence is concluded, i.e. ready for grinding process
concluded 1 = Initial position or product probe not covered
2 Warning «current» 1 = Warning: actual motor current exceeds set current value of
parameter REC.HLC in %
3 Accumulation plate 1 = actual accumulation plate position corresponds to target position
in position
4 Product probe 1 = product probe covered, «release» for accumulation plate pressure
5 n.u.
6 n.u.
7 New values ready 1 = New values are ready (total weights, actual value)
0 = Command bit «Acknowledge new values ready» = 1
1 0…7 n.u.
2 0…7 n.u.
3 0…7 See «General data
for all devices»

n.u. = not used (bits set to 0 by MEAF)

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


82 Vertical grinder (PEARL) Profibus-DP Protocol

19.4 Transmitted data records (transmitted data bytes 8…23)

Transmitted data record 128 (default nominal values)


Byte Name Range [unit] Description
8…9 Nominal current 20…MOTI [A] The nominal current is indicated in parameter CURS.
in [A] (max. 200 A) In case of nominal current < 20 A, 20 A is accepted.
16…20 n.u.
21 Recipe No. 0…50 1…50 = Load recipe into working recipe 0
0 = Do not load recipe
22…23 n.u.

n.u. = not used (data are ignored by MEAF)

19.5 Received data records (received data bytes 8…23)

Received data record 1 (default actual values)


Byte Name Range [unit] Description
8…9 Nominal current 20…MOTI [A] The nominal current is indicated in parameter CURS.
in [A] (max. 200 A) In case of nominal current < 20 A, 20 A is accepted.
10…11 Actual current 0…MOTI [A] The actual current is shown on the display.
in [A] (max. 200 A) In case of actual current < CMIN % and start, A flashes,
i.e. no release takes place
12…13 Actual PMIN…PMAX [%] Limitation min. pressure TCON.PMIN
pressure Limitation max. pressure TCON.PMAX
System-induced ranges of forces
14…15 Min. PMIN.5…PMAX [%] Limitation min. pressure TCON.PMIN
pressure Dependent on system stability
(accumulation plate aspiration)
16…17 Max. MOTI.20…200 [A] Nominal current of respective drive motor
motor current (max. 200 A)
18…20 n.u.
21 Recipe No. 0…50 Currently loaded recipe
22 Step No. 0…9 According to Manual 66469-1
23 Alarm No. 0…39 According to Manual 66469-1

n.u. = not used (data set to 0 by MEAF)

Received data record 128 (default nominal values)


For data contents, see transmitted data record 128

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Hammer mill (DFCO) 83

20 Hammer mill (DFCO)


20.1 Summary of standard data records 128/1

Transmitted data Byte Received data


Bit 0: n.b. 0 Bit 0: n.u.
Bit 1: Acknowledge start request Bit 1: Start request motors
Bit 2: Request motor reverse Bit 2: Mill 1 is loaded
Bit 3: Request motor forwards Bit 3: Mill 2 is loaded
Bit 4: Heavy fraction flap open Bit 4: n.u.
Bit 5: Request sieve change 1 Bit 5: Sieve change complete 1
Bit 6: Request sieve change 2 Bit 6: Sieve change complete 2
Bit 7: Acknowledge «New values ready» Bit 7: New values ready
Bit 0: Release (Start / Stop) Mill 1 1 Bit 0: O80 ALARM Mill 1
Bit 1: Speed fast Bit 1: O81 START_MOTOR
Bit 2: Mill activated Bit 2: O82 MOTOR_FAST
Bit 3: Brakes Bit 3: O83 MOTOR_REV
Bit 4: Release feeding Bit 4: O84 BRAKE
Bit 5: Acknowledge «Fan is running» Bit 5: O85 FAN_START
Bit 6: n.u. Bit 6: n.u.
Bit 7: n.u. Bit 7: n.u.
Bit 0: Release (Start / Stop) Mill 2 2 Bit 0: O90 ALARM_2 Mill 2
Bit 1: Speed fast Bit 1: O91 START_MOTOR_2
Bit 2: Mill activated Bit 2: O92 MOTOR_FAST_2
Bit 3: Brakes Bit 3: O93 MOTOR_REV_2
Bit 4: Release feeding Bit 4: O94 BRAKE_2
Bit 5: n.u. Bit 5: n.u.
Bit 6: n.u. Bit 6: n.u.
Bit 7: n.u. Bit 7: n.u.
Bit 0: Control signals valid 3 Bit 0: n.u.
Bit 1: n.u. Bit 1: n.u.
Bit 2: n.u. Bit 2: n.u.
Bit 3: n.u. Bit 3: Remote control via Profibus-DP
Bit 4: n.u. Bit 4: Incorrect nominal value
Bit 5: Clear alarm Bit 5: Common alarm
Bit 6: Modification Bit 6: Acknowledge «Modification to
to transmitted data record transmitted data record»
Bit 7: Acknowledge «Modification to Bit 7: Modification to received data record
received data record»
No. of transmitted data record = 128 4 No. of transmitted data record = 128
Index of transmitted data record = X Index of transmitted data record = X
Selection of mill Selection of mill
5
1 = Mill 1 1 = Mill 1
2 = Mill 2 2 = Mill 2
No. of received data record = 1 6 No. of received data record = 1
Index of received data record = X Index of received data record = X
Selection of mill Selection of mill
7
1 = Mill 1 1 = Mill 1
2 = Mill 2 2 = Mill 2

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


84 Hammer mill (DFCO) Profibus-DP Protocol

Transmitted data Byte Received data


Nominal value Mill X 8 Actual value Mill X [%]
9
Screen size Mill X [0.0mm] 10 Actual value Mill X [0.1 A]
11
12 Metering slide gate opening Mill X [%]
13
14 Actual temperature Mill X
15
16 Status flap valve
17 Status main motor Mill X
18 Actual feed roll frequency [Hz]
19
Emptying time Mill 1 & 2 20 Emptying time Mill 1 & 2
0 = TCON.T1 is valid 21 (TCON.T1)
22
23 Alarm Mill X
n.u. = not used

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Hammer mill (DFCO) 85

20.2 Control bits (transmitted data bytes 0…3)

Byte Bit Name Description


0 Bit 0 n.u.
Bit 1 Acknowledge TRUE = The start request is acknowledged with the transition from
start request FALSE to TRUE
Bit 2 Request TRUE = The mill is forced to start in reverse.
motor reverse The working hour counter is ignored.
Bit 3 Request TRUE = The mill is forced to start forward.
motor forward The working hour counter is ignored
Bit 4 Heavy fraction flap TRUE = Heavy fraction flap is opened
open
Bit 5 Request At TRUE there is a wait until sieve change is completed. This is then
sieve change Mill 1 confirmed with «Sieve change complete ».
Bit 6 Request At TRUE there is a wait until sieve change is completed. This is then
sieve change Mill 2 confirmed with «Sieve change complete ».
Bit 7 Acknowledge
«new values ready»
1 Bit 0 Release (Start/Stop) TRUE = Mill 1 is started
Bit 1 Speed fast TRUE = Mill 1 is started at fast speed
Bit 2 Mill activated TRUE = Mill 1 is in use
If an automatic flap box is present, it is moved into the
required position.
Bit 3 Brakes TRUE = Mill 1 is braked
Bit 4 Release feeding TRUE = Feeding is released
Bit 5 Acknowledge TRUE = Fan contactor is pulled in, which causes the fan to run
«Fan is running»
Bit 6 n.u.
Bit 7 n.u.
2 Bit 0 Release (Start/Stop) TRUE = Mill 2 is started
Bit 1 Speed fast TRUE = Mill 2 is started at fast speed
Bit 2 Mill activated TRUE = Mill 2 is in use
If an automatic flap box is present, it is moved into the
required position.
Bit 3 Brakes TRUE = Mill 2 is braked
Bit 4 Release feeding TRUE = Feeding is released
Bit 5 n.u.
Bit 6 n.u.
Bit 7 n.u.
3 0…7 See
«Data for all devices»

n.u. = not used (bits are ignored by DFCO)

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


86 Hammer mill (DFCO) Profibus-DP Protocol

20.3 Status bits (received data bytes 0…3)

Byte Bit Name Description


0 Bit 0 n.u.
Bit 1 Start request - motors TRUE = There is a start request for a milling motor
(heavy starting). In order for the motor to be
started, the acknowledgement of the start
request must show a change from FALSE to
TRUE. The bit is deleted as soon as the motor
is completely started and the acknowledge-
ment of the start request shows FALSE.
Bit 2 Mill 1 is loaded The feeding is in dosing operation, or the emptying time
is active.
Bit 3 Mill 2 is loaded The feeding is in dosing operation, or the emptying time
is active.
Bit 4 n.u.
Bit 5 Mill 1 Is set when a sieve change is registered and the Bit
Sieve change completed «Request sieve change» was set
Bit 6 Mill 2 Is set when a sieve change is registered and the Bit
Sieve change completed «Request sieve change» was set
Bit 7 «new values ready»
1 Bit 0 O 8.0_Alarm FALSE = An alarm is present
Bit 1 O 8.1_Start_Motor TRUE = The motor is started slowly
Bit 2 O 8.2_Motor_Fast TRUE = The motor is started fast
Bit 3 O 8.3_Motor_Rev TRUE = The reversing of the direction is activated
Bit 4 O 8.4_Brake TRUE = The braking is activated
Bit 5 O 8.5_FanStart TRUE = The fan has been started
Bit 6 n.u.
Bit 7 n.u.
2 Bit 0 O 8.0_Alarm_2 FALSE = An alarm is present
Bit 1 O 8.1_Start_Motor_2 TRUE = The motor is started slowly
Bit 2 O 8.2_Motor_Fast_2 TRUE = The motor is started fast
Bit 3 O 8.3_Motor_Rev_2 TRUE = The reversing of the direction is activated
Bit 4 O 8.4_Brake_2 TRUE = The braking is activated
Bit 5 n.u.
Bit 6 n.u.
Bit 7 n.u.
3 0...7 See «Data for all devices»

n.u. = not used (bits set to 0 by DFCO)

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Hammer mill (DFCO) 87

20.4 Transmitted data records (transmitted data bytes 8…23)

Transmitted data record 128 (default nominal values)


Index X = 1 Mill 1 Index X = 2 Mill 2
Byte Name Range [unit] Description
8…9 Nominal value Mill X [%] Nominal value for the load regulation Mill X
10…11 Screen size Mill X [0.0 mm] A current screen size for Mill X is transmitted, which
can also be displayed at site.
20…21 Emptying time [0.1 s] 0 = inactiv
Mill 1 & 2 The value of Parameter TCON.T1 is taken.
The same value applies to both mills.

n.u. = not used (data are ignored by DFCO)

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


88 Hammer mill (DFCO) Profibus-DP Protocol

20.5 Received data records (received data bytes 8…23)

Received data record 1 (default actual values)


Index X = 1 Mill 1 Index X = 2 Mill 2
Byte Name Range [unit] Description
8…9 Actual value Mill X [0 %] Utilisation ratio of Mill X in percent
10…11 Actual value Mill X 0…1000.0 [0.1 A] Utilisation ratio of Mill X in amperes
12…13 Metering slide gate opening 0…100 [%]
Mill X
14…15 Actual temperature –10.0…150.0 [°C] Actual temperature of the hammer mill if the
Mill X temperature option is present.
16 Status flap valve 1 Flap is not in defined position
2 Flap in position Mill 1
3 Flap in center position
4 Flap in position Mill 2
17 Status main motor Mill X 1 Motor is stopping
2 Motor is braked
3 Motor is stopped
4 Motor is running, sense of direction
forward
5 Motor is running, sense of direction in
reverse
6 Motor is starting
7 An error is present
18 Actual feed roll frequency 0…100 [Hz] Actual frequency of frequency converter of the
feed roll
19 n.u.
20…21 Emptying time Mill 1 & 2 [0.1 s] Emptying time of the hammer mill
20 n.u.
23 Alarm No. 0…100 Alarm No.

n.u. = not used (data are set to 0 by DFCO)

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Hammer mill (DFCO) 89

Received data record 2 (24 V inputs WAGO)


Index X = 0
Byte Name Description
8…20 WAGO input bits Byte.Bit No. / I.WAGO No.
8.0 I 0.0_LOW_LEVEL_FEED_HOPPER
8.1 I 0.1_HIGH_LEVEL_DFAV
8.2 I 0.2_HEAVY_PARTICLE_FLAP_OPEN_CLOSE
8.3 I 0.3_MAGNET_DOOR_CLOSED
8.4 I 0.4_LIMIT_SWITCH_FLAP_BOX
8.7 I 0.7_24V_OK
10.0 I 2.0_BUTTON_CONE_OPEN_CLOSE
10.1 I 2.1_BUTTON_HEAVY_PARTICLE_FLAP_OPEN
10.2 I 2.2_KEY_SWITCH_AUTOMATIC
10.3 I 2.3_SWITCH_PANEL
10.4 I 2.4_STANDSTILL
10.5 I 2.5_EMERGENCY_STOP_DEVICE
10.6 I 2.6_EMERGENCY_STOP_BUTTON
10.7 I 2.7_HIGH_LEVEL_CONE
12.0 I 4.0_BUTTON_CONE_OPEN_CLOSE _2
12.1 I 4.1_BUTTON_HEAVY_PARTICLE_FLAP_OPEN_2
12.2 I 4.2_KEY_SWITCH_AUTOMATIC _2
12.3 I 4.3_SWITCH_PANEL _2
12.4 I 4.4_STANDSTILL_2
12.5 I 4.5_EMERGENCY_STOP_DEVICE _2
12.6 I 4.6_EMERGENCY_STOP_BUTTON _2
12.7 I 4.7_HIGH_LEVEL_CONE_2
14.0 I 6.0_VIBRATION_DETECTOR
14.1 I 6.1_VIBRATION_DETECTOR 2
16.0 I 8.0_RELEASE
16.1 I 8.1_START
16.2 I 8.2_ROTARY_SPEED
16.3 I 8.3_ACKNOWLEDGEMENT_FAN
17.0 I 9.0_RELEASE_2
17.1 I 9.1_START_2
17.2 I 9.2_ROTARY_SPEED _2
17.3 I 9.3_BREAK
21 MEAF inputs Bit No.
0 DI1
1 DI2
2 DI3
3 DI4
4 DI5 Metering slide gate Mill 1 is at the end position
5 DI6 Metering slide gate Mill 1 pulse signal
6 DI7 Metering slide gate Mill 2 is at the end position
7 DI8 Metering slide gate Mill 2 pulse signal

n.u. = not used (data are set to 0 by DFCO)

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


90 Hammer mill (DFCO) Profibus-DP Protocol

Empfangsdatensatz 3 (24 V outputs WAGO)


Index X = 0
Byte Name Description
8…20 WAGO output bits Byte.Bit No. / O.WAGO No.
8.0 O.0.0_HEAVY_PARTICLE_FLAP_CLOSE
8.1 O.0.1_HEAVY_PARTICLE_FLAP_OPEN
8.2 O.0.2_FLAP_BOX_CYLINDER EXTEND
8.3 O.0.3_FLAP_BOX_CYLINDER RETRACT
10.0 O.2.0_LAMP_ALARM
10.1 O.2.1_LAMP_CONE_OPEN_CLOSE
10.2 O.2.2_LAMP_HEAVY_PARTICLE_FLAP
12.0 O.4.0_LAMP_ALARM_2
12.1 O.4.1_LAMP_RELEASE_2
12.2 O.4.2_LAMP_FLAP_2
13.0 O.5.0_CONE_OPEN
13.1 O.5.1_CONE_CLOSE
14.0 O.6.0_CONE_OPEN_2
14.1 O.6.1_CONE_CLOSE_2
16.0 O.8.0_ALARM
16.1 O.8.1_START_MOTOR
16.2 O.8.2_MOTOR_FAST
16.3 O.8.3_MOTOR_REV
16.4 O.8.4_BRAKE
16.5 O.8.5_FAN_START
17.0 O.9.0_ALARM_2
17.1 O.9.1_START_MOTOR_2
17.2 O.9.2_MOTOR_FAST_2
17.3 O.9.3_MOTOR_REV_2
17.4 O.9.4_BRAKE_2

21 MEAF outputs Bit No.


0 DO1 Common alarm
1 DO2
2 DO3
3 DO4 Metering slide gate Mill 1 open
4 DO5 Metering slide gate Mill 1 close
5 DO6 Metering slide gate Mill 2 open
6 DO7 Metering slide gate Mill 2 close
7 DO8

n.u. = not used (data are set to 0 by DFCO)

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Examples 91

21 Examples
21.1 Schematic structure of the data communication
21.1.1 Simple example: read actual value
In the case of a dump scale (Dump) only the non-erasable total must be read.
Refer also to chapter 7 for this.

Query non-erasable total


Transmitted data (output at host device)

Byte 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23

Hex 0 – – 0 0 0 1 0 X X X –
xxxx xxx0
0

In order for the control bits (bytes 0…3) not to have any influence, bit 0 / byte 3
«Control signals valid» has to be set to 0. Byte 4 = 0 means that the transmitted
data (bytes 8…23) are not considered by the MEAF control unit. When setting byte
6 to 1 the received data record 1 is requested.

Received data
(input at host device)

Byte 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23

Hex X – – X 0 0 1 0 X X X X – X X
Non-e. total
0

The data record numbers, which were previously requested in the transmitted data,
are acknowledged by the bytes 4 and 6. The «non-erasable total» (32 bit value)
can be read at the bytes 16…19.

X) Indeterminate value
–) Not used

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


92 Examples Profibus-DP Protocol

21.1.2 More complex example: transmit nominal values, control signals and query actual values
A nominal rate of 10’000 kg/h must be specified for a flow balancer (FBAL) and the
actual rate must be read. First the flow balancer must be started and then stopped.
Refer also to chapter 10 for this.

Step 1, set nominal rate 10'000 kg/h and request actual rate
Transmitted data (output at host device)

Byte 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23

Hex 0 – – 0 80 0 1 0 2710 0 –

10‘000
128

In order to be able to transmit a nominal rate, the transmitted data record 128 must
be selected (byte 4).

Step 2, start flow balancer (actual rate remains requested)


Transmitted data (output at host device)

Byte 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23

Hex 1 – – 1 0 0 1 0 X X –
0000 0001

0000 0001
0

Byte 0 / bit 0 = 1: Starts dosing


Byte 3 / bit 0 = 1: Control signals valid (bytes 0…3)
Since there are no valid transmitted data (byte 8…23) available, byte 4 is set to 0
(there are no transmitted data accepted by the MEAF control unit)

Received data (input at host device)

Byte 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Hex X – – X 0 0 1 0 X X X – X X
Actual rate
0

The actual rate is read at the bytes 8…11 (32 bit value).

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Examples 93

Step 3: stop flow balancer (actual rate remains requested)


Transmitted data (output at host device)

Byte 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23

Hex 0 – – 1 0 0 1 0 X X –
0000 0000

0000 0001
0

Byte 0 / bit 0 = 0 : stop dosing

X) Indeterminate value
–) Not used

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


94 Examples Profibus-DP Protocol

21.2 Example: S5 as Profibus master, MEAF as slave


The MEAF cannot be reached by input or output (as is normal on Profibus-DP),
instead it is using the function «DP-window» = address F800 with FB192 (standard
FB for IM308C).
That means, on the configuration of the MEAF in COM PROFIBUS the I/O-
addresses are in a gray-shaded field were nothing can be written in, because it is
not necessary.
(Advantage: the MEAF does not occupy any input/output of the S5.)
Up to 244 bytes consistent data can be read/written (input/output) in each direction
by FB192.
The data is transferred into a datablock (DB, DX) of the S5, as configured on the
FB192
For updating the input and output to the MEAF the FB192 has to be called once for
each direction. Runtime (cycle time) for each call is between 3 and 5 ms
(estimated, because it depends on the number of bytes).
21.2.1 Configuration of IM308C with COM PROFIBUS V5.1
Select MEAF from DP slave family «General, Buhler»; view in COM PROFIBUS:

Slave properties/configuring Profibus address:

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Examples 95

Button «Configure»: select desired configuration (only the first time)


MEAF = 12WordIn, 12WordOut consistent
(DMS-transmitter = 4ByteIn, 1ByteOut)

View of I/O-configuration MEAF. The fields I address/O address are shaded in gray.
It is not possible and there is no need to configure an address:

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


96 Examples Profibus-DP Protocol

21.2.2 Step 5: Communication with DP-slave by FB192


To read/write consistent data from input/output on DP-slaves, FB192 has to be
used
Attention: There are different FB192 for each S5-CPU-type.
Reading input
SPA FB 192
NAME :IM308C
DPAD : KH F800 Default address IM308C
IMST : KY 0,5 IM-Nr.=0;DP-Adr-Slave=5
FCT : KC RI Function=RI (Read Input)
GCGR : KM 00000000 00000000 Not used
TYP : KY 0,100 DB/DX=0 (DB=0/DX=1),No=100
STAD : KF +10 StartAdress=10 (DW10)
LENG : KF -1 Length in byte = -1 (Joker)
ERR : DW 9 ErrCode L=CntByte R=Error

Write output
SPA FB 192
NAME :IM308C
DPAD : KH F800 default address IM308C
IMST : KY 0,5 IM-Nr.=0;DP-Adr-Slave=5
FCT : KC WO Function=WO (Write Output)
GCGR : KM 00000000 00000000 Not used
TYP : KY 0,100 DB/DX=0 (DB=0/DX=1),No=100
STAD : KF +50 StartAdress=10 (DW50)
LENG : KF -1 Length in byte = -1 (Joker)
ERR : DW 49 ErrCode L=CntByte R=Error

More about FB192 is described in following handbook:


ET200s, Distribute I/O- System chapter 7

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Examples 97

21.3 Example: S7 as Profibus master, MEAF as slave


21.3.1 Hardware configuration
Place in the hardware catalog in directory «PROFIBUS-DP».

Selection of the preset configuration (only if the MEAF is configured the first time)
MEAF = 12WordIn, 12WordOut consistent
(DMS-transmitter = 4ByteIn, 1ByteOut)

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701


98 Examples Profibus-DP Protocol

Connecting to subnet of the Master, configuring PROFIBUS address:

View of the hardware configuration for MEAF, I/O-addresses must be defined.


Here it is PIB256…279 and PQB256…279.

MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG


Profibus-DP Protocol Examples 99

21.3.2 Step 7: Communication with DP-slaves using SFC14/15


Reading consistent data of a DP-normslave with SFC 14 «DPRD_DAT»
CALL SFC 14
LADDR :=W#16#100 1.Inputadress of the Slave: 256
RET_VAL:=#tmpReturn int: 0=no error, otherwise errorcode
RECORD :=#DPDataR Struct 24 Byte in FB declaration *
* destination for data
Reading consistent data of a DP-normslave with SFC15 «DPWR_DAT»
CALL SFC 15
LADDR :=W#16#100 1.Outputadress of the Slave: 256
RECORD :=#DPDataW Struct 24 Byte in FB declaration *
RET_VAL:=#tmpReturn int: 0=no error, otherwise errorcode
* source of data

LADDR : Configured start address from the I area of the module from which the
data will be read.
RET_VAL: If an error occurs while the function is active, the return value contains
an error code.
(see STEP7-Help for SFC14/15)
RECORD: Destination / source area for the user data that were read/written.
This must be exactly as long as you configured for the selected
module with STEP 7. Only the data type BYTE is permitted
(e.g.: P#DB100.DBX10.0 BYTE 24).

© Copyright 2007 Bühler AG MEAF-66499-1-en-0701

You might also like