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 1.2 1.3 2 Description.......................................................................................................9 2.1 2.2 2.3 3 Overview of data records for all devices..........................................................................16 Control bits (transmitted data byte 3)...............................................................................17 Status bits (received data byte 3) ....................................................................................18 Received data record 127 (received data bytes 8…23) ..................................................19 Parameter output .............................................................................................................20 Date / Time.......................................................................................................................21 DMS transmitter (DMS-T) ..............................................................................22 6.1 6.2 6.3 6.4 6.5 7 Illustration of protocol structure........................................................................................14 Data records ....................................................................................................................15 Index of transmitted / received data record .....................................................................15 General data for all devices..........................................................................16 5.1 5.2 5.3 5.4 5.5 5.6 6 Installation of Profibus-DP option ....................................................................................11 Setting of MEAF parameters............................................................................................12 Device-specific operating instructions .............................................................................13 Protocol structure .........................................................................................14 4.1 4.2 4.3 5 Summary............................................................................................................................9 Order numbers for Profibus-DP option ..............................................................................9 Technical data..................................................................................................................10 Installation and configuration ......................................................................11 3.1 3.2 3.3 4 General ..............................................................................................................................7 1.1.1 Duty of instruction...............................................................................................7 1.1.2 Accident prevention ............................................................................................7 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 Safety concept for control units .........................................................................................8 Summary of standard data records 128/1 .......................................................................22 Control bits (transmitted data bytes 0…3) .......................................................................23 Status bits (received data bytes 0…3).............................................................................23 Transmitted data records (transmitted data bytes 8…23) ...............................................24 Received data records (received data bytes 8…23) .......................................................24 Dump scales (DUMP) ....................................................................................25 7.1 7.2 7.3 7.4 7.5 Summary of standard data records 128/1 .......................................................................25 Control bits (transmitted data bytes 0…3) .......................................................................26 Status bits (received data bytes 0…3).............................................................................27 Transmitted data records (transmitted data bytes 8…23) ...............................................28 Received data records (received data bytes 8…23) .......................................................29 © Copyright 2007 Bühler AG MEAF-66499-1-en-0701 4 Table of contents 8 Differential dosing scales (DIFF, DIFFG, DIFFM)........................................ 30 8.1 8.2 8.3 8.4 8.5 9 Summary of standard data records 128/1....................................................................... 48 Control bits (transmitted data bytes 0…3) ...................................................................... 49 Status bits (received data bytes 0…3) ............................................................................ 50 Transmitted data records (transmitted data bytes 8…23) .............................................. 51 Received data records (received data bytes 8…23)....................................................... 52 Differential bagging scales (BAGD1, BAGD2, BAGD3) ............................. 53 13.1 13.2 13.3 13.4 13.5 14 Summary of standard data records 128/1....................................................................... 43 Control bits (transmitted data bytes 0…3) ...................................................................... 44 Status bits (received data bytes 0…3) ............................................................................ 45 Transmitted data records (transmitted data bytes 8…23) .............................................. 46 Received data records (received data bytes 8…23)....................................................... 47 Bagging scales (BAG) .................................................................................. 48 12.1 12.2 12.3 12.4 12.5 13 Summary of standard data records 128/1....................................................................... 39 Control bits (transmitted data bytes 0…3) ...................................................................... 40 Status bits (received data bytes 0…3) ............................................................................ 41 Transmitted data records (transmitted data bytes 8…23) .............................................. 42 Received data records (received data bytes 8…23)....................................................... 42 Check weigher (CHECK) .............................................................................. 43 11.1 11.2 11.3 11.4 11.5 12 Summary of standard data records 128/1....................................................................... 35 Control bits (transmitted data bytes 0…3) ...................................................................... 36 Status bits (received data bytes 0…3) ............................................................................ 36 Transmitted data records (transmitted data bytes 8…23) .............................................. 37 Received data records (received data bytes 8…23)....................................................... 38 Automatic flow balancer and flowmeter MZAH (FBAL) ............................. 39 10.1 10.2 10.3 10.4 10.5 11 Summary of standard data records 128/1....................................................................... 30 Control bits (transmitted data bytes 0…3) ...................................................................... 31 Status bits (received data bytes 0…3) ............................................................................ 32 Transmitted data records (transmitted data bytes 8…23) .............................................. 33 Received data records (received data bytes 8…23)....................................................... 34 Micro-dosing unit MZMN .............................................................................. 35 9.1 9.2 9.3 9.4 9.5 10 Profibus-DP Protocol Summary of standard data records 128/1....................................................................... 53 Control bits (transmitted data bytes 0…3) ...................................................................... 54 Status bits (received data bytes 0…3) ............................................................................ 56 Transmitted data records (transmitted data bytes 8…23) .............................................. 57 Received data records (received data bytes 8…23)....................................................... 59 Metering slide gate MZDE ............................................................................ 60 14.1 14.2 14.3 14.4 14.5 Summary of standard data records 128/1....................................................................... 60 Control bits (transmitted data bytes 0…3) ...................................................................... 61 Status bits (received data bytes 0…3) ............................................................................ 61 Transmitted data records (transmitted data bytes 8…23) .............................................. 62 Received data records (received data bytes 8…23)....................................................... 62 MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG Profibus-DP Protocol 15 Summary of standard data records 128/1 .......................................................................80 Command bits (transmitted data bytes 0…3) ..................................................................81 Status bits (received data bytes 0…3).............................................................................81 Transmitted data records (transmitted data bytes 8…23) ...............................................82 Received data records (received data bytes 8…23) .......................................................82 Hammer mill (DFCO) .....................................................................................83 20.1 20.2 20.3 20.4 20.5 21 General Particulars ..........................................................................................................75 Summary of standard data records 128/1 (applies to all devices)...................................76 Control bits (transmitted data bytes 0…3) .......................................................................77 Status bits (received data bytes 0…3).............................................................................78 Transmitted data records (transmitted data bytes 8…23) ...............................................78 Received data records (received data bytes 8…23) .......................................................79 Vertical grinder (PEARL)...............................................................................80 19.1 19.2 19.3 19.4 19.5 20 Summary of standard data records 128/1 .......................................................................70 Control bits (transmitted data bytes 0…3) .......................................................................71 Status bits (received data bytes 0…3).............................................................................72 Transmitted data records (transmitted data bytes 8…23) ...............................................73 Received data records (received data bytes 8…23) .......................................................74 Device Control (DevCtrl) ...............................................................................75 18.1 18.2 18.3 18.4 18.5 18.6 19 Summary of standard data records 128/1 .......................................................................67 Control bits (transmitted data bytes 0…3) .......................................................................68 Status bits (received data bytes 0…3).............................................................................68 Transmitted data records (transmitted data bytes 8…23) ...............................................68 Received data records (received data bytes 8…23) .......................................................69 Dosing control system (DCOS) ....................................................................70 17.1 17.2 17.3 17.4 17.5 18 Summary of standard data records 128/1 .......................................................................63 Control bits (transmitted data bytes 0…3) .......................................................................64 Status bits (received data bytes 0…3).............................................................................64 Transmitted data records (transmitted data bytes 8…23) ...............................................65 Received data records (received data bytes 8…23) .......................................................66 Liquids flow controller MOZF.......................................................................67 16.1 16.2 16.3 16.4 16.5 17 5 Automatic moisture control unit MYFC .......................................................63 15.1 15.2 15.3 15.4 15.5 16 Table of contents Summary of standard data records 128/1 .......................................................................83 Control bits (transmitted data bytes 0…3) .......................................................................85 Status bits (received data bytes 0…3).............................................................................86 Transmitted data records (transmitted data bytes 8…23) ...............................................87 Received data records (received data bytes 8…23) .......................................................88 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 1 Safety 1.1 General Safety 7 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 1.2.3 Electrical wiring Profibus-DP Protocol 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 2 Description 2.1 Summary 9 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 (timeout) The connection check is only active if the parameter SYS.REM = REMP is set. If 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 3 Installation and configuration 3.1 Installation of Profibus-DP option Basicprint a RAM/BATTERY EPROM S2 24 V DC CAL } Option Profibus X13 X14 X15 S4 X16 X17 2 3 4 A B 1 X20 X18 X49 100…240 V AC RUN { 11 X19 IO-Extension F3 } b 1 X11 c 2 3 4 A B A B X42 X41 S3 X1 X2 X3 X4 X5 X9 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 IO extension Profibus-DP EPROM Only in the 115/230 V AC version Option; plugged in and screwed onto the basic print Option; plugged in and screwed onto the basic print or IO extension Program module. To change the program the EPROM must be lifted carefully with a screwdriver. Caution! The notch must be on the left! S2 S3, S4 X41, X42 X49 F3 Calibration switch. RUN = release weighing operation / CAL = calibration 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) Plug-in jumpers of the DMS input (sense lines) Position A = 4-wire DMS (standard) / position B = 6-wire DMS 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) Fine fuse 1.25 A slow-blow as 24 V input fuse © Copyright 2007 Bühler AG MEAF-66499-1-en-0701 12 3.2 Installation and configuration Profibus-DP Protocol Setting of MEAF parameters The following parameters are directly connected to the Profibus-DP extension. See also devicespecific 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 DIV P-DP 1) Fixed format kg with DUMP, DIFFG, DIFF and DCOS with BAG according to ADC.DIV g with DIFFM via Profibus according to ADC.DIV g with DIFFM via Profibus Profibus-DP diagnosis 0= 1= 2= 3) Timeout / communication interrupted Fault during initializing No fault 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 ADC.DIV 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. 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 3.3 Installation and configuration 13 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 (outputs at control unit, inputs at MEAF) Byte 0…3 Control bits Received data (inputs at control unit, outputs at MEAF) Byte 2) (according to type of device) 0 Byte 0…3 1 (according to type of device) Status bits 2 3 Byte 4 No. of transmitted data record 0 = empty transmitted data record 1) 128…255 = transmitted data records 4 Byte 4 No. of transmitted data record (acknowledgement; see transmitted data) Byte 5 Index of transmitted data record 0…255 = e.g. recipe No. 5 Byte 5 Index of transmitted data record (acknowledgement; see transmitted data) Byte 6 No. of received data record 0 = empty received data record 1) 1…127 = received data records 128…255 = read back transmitted data records 6 Byte 6 No. of received data record (acknowledgement; see transmitted data) Byte 7 Index of received data record 0…255 = e.g. recipe No. 7 Byte 7 Index of received data record (acknowledgement; see transmitted data) 8 Bytes 8…23 Received data record 9 (according to No. of received data record and type of device) Bytes 8…23 Transmitted data record 2) (according to No. of transmitted data record and type of device) 10 … … … 21 22 23 1) 2) Only valid control or status bit values are transmitted. 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 4.2 Protocol structure 15 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 General data for all devices 5.1 Overview of data records for all devices 1) 2) DMS-T DUMP DIFFx (G/-/M) MZMN FBAL CHECK BAG BAGDn (1/2/3) MYFC MOZF SLIDE DCOS PEARL DevCtrl DFCO 1 Meaning – Received Index 0 Transmitted Number of data record 1) 5 16 X X Empty data record 2) X X X X X X X X X X X X X X X – 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 3 - X Actual values part 3 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 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 136 0…50 X X Recipe X X X X X X X X 137 0…50 X X Recipe part 2 X X X X X X For the DMS-T, it is also possible to use the compact protocol, which is described in manual 66388-2. Only valid control or status bit values are transmitted. MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG Profibus-DP Protocol 5.2 General data for all devices 17 Control bits (transmitted data byte 3) Bytes 0…2 vary according to the device. Byte 3 is identical in all devices. Byte Bit Name 0 0…7 See device data 1 0…7 See device data 2 0…7 See device data 3 0 Control signals valid Description 1 = Control signals contain valid values, and the control bits are 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 transmitted data record 7 Acknowledgement 2) 1 = Acknowledgement when status bit «Modification to received data modification to record» = 1 received data record 1) 1 = New transmitted data record or modified contents n.u. = not used (bits ignored by MEAF) 1) 2) see next page see next page © Copyright 2007 Bühler AG MEAF-66499-1-en-0701 18 General data for all devices 5.3 Profibus-DP Protocol 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 Profibus-DP 1 = The MEAF device is working in the remote Profibus-DP mode (SYS.REM = REMP). The input field is disabled for nominal values. 4 Incorrect nominal value 1 = A nominal value in the transmitted data record is outside the valid 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 5.4 General data for all devices 19 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 weight 0…99‘999 [DIV] Current weight of scale content in the selected resolution 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 number 0…99 Number of program version, e.g. V33A 15 Program version letter 'A‘…‘Z‘ Letter of program version, e.g. V33A The letter is transmitted in ASCII code 16 Address 0…255 Profibus-DP address of device (parameter HOST.ADR) 0… Counter for definite identification of weights etc. (DUMP: total number; DMS-T: weight (value); DCOS: component counter). The counter is increased by one (unit) for each weight acceptance. 17…19 n.u. 20…23 Identification counter 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 5.5 Parameter output Profibus-DP Protocol Received data record 11 (parameter name) Byte 7 Name Range [unit] Description Index Received data record 0…255 In this data record the index has the special function of controlling the query. 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 set of characters Parameter group of the currently selected parameter. 16…24 Parameter name ASCII set of characters Name of the currently selected parameter. Received data record 12 (parameter value) Byte 7 Name Range [unit] Description Index Received data record 0…255 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. 255 is returned once all the parameters have been queried. 8…24 Parameter value MEAF-66499-1-en-0701 ASCII set of characters Value of the currently selected parameter. © Copyright 2007 Bühler AG Profibus-DP Protocol 5.6 General data for all devices 21 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) 6 DMS transmitter (DMS-T) Profibus-DP Protocol 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 Bit 1: Zeroing (± 3 %) Bit 2: Balancing Bit 3: Gross value Bit 4: Net value Bit 5: DMS calibration Bit 6: Print Bit 7: Acknowledge «New values ready» 1) Bit 0…7: n.u. Bit 0…7: n.u. Bit 0: Control signals valid Bit 1: n.u. Bit 2: n.u. Bit 3: n.u. Bit 4: n.u. Bit 5: Clear alarm Bit 6: Modification to transmit. data record Bit 7: Acknowledge «Modification to received data record» No. of transmitted data record = 128 Index of transmitted data record = X No. of received data record = 1 Index of received data record = X n.u. 0 Bit 0: Operation Bit 1: Weight sign Bit 2: Scales standstill Bit 3: Data ready Bit 4: n.u. Bit 5: n.u. Bit 6: Print started Bit 7: New values ready 1) Bit 0…7: n.u. Bit 0…7: n.u. Bit 0: n.u. Bit 1: n.u. Bit 2: n.u. Bit 3: Remote control via Profibus-DP 1) Bit 4: Incorrect nominal value 1) Bit 5: Common alarm Bit 6: Acknowledge «Modification to transmitted data record» Bit 7: Modification to received data record No. of transmitted data record = 128 Index of transmitted data record = X No. of received data record = 1 Index of received data record = X Current scale weight (gross) according to setting of TCON.DDIV (0…999'999 see status bit for sign) or Consecutive number (0…999’999) Current scale weight in DIV (gross) (–99‘999…99'999) n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 Current scale weight in DIV (net) (–99‘999…99'999) Number of decimal places (0…3) n.u. Step No. (0…1) 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) 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 transducer 1 = Internal calibration of force transducer and sensor input 6 Print 1 = Starts print job for net and gross weight (leave applied until the status bit «print started» = 1) 7 Acknowledge «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» 23 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 8…23 n.u. Range [unit] Description 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 scale weight 0…999‘999 [DDIV] Current scale weight without sign, with resolution according to parameter TCON.DDIV. The sign is a status bit. (is transferred when PRN.NPOS line = 0) 0…999’999 Consecutive number incremented by 1 with every printout. (is transferred when PRN.NPOS line > 0) –99‘999…99'999 [DIV] Current gross scale weight with sign, with resolution DIV. Corresponds to parameter BRWT. 16…19 Current net scale –99‘999…99'999 weight [DIV] Current net scales weight with sign, with resolution DIV. Corresponds to parameter NEWT. or consecutive number 12…15 Current gross scale weight 0…3 Number of decimal places DIV on the Profibus interface according to the setting ADC.DIV. Step No. 0 1 Calibration Operation Alarm No. 0…16 According to manual 66388-2 20 Decimal places 21 n.u. 22 23 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) 7 Dump scales (DUMP) 7.1 Summary of standard data records 128/1 25 See following pages for a detailed description and other data records. Transmitted data Bit 0: Bit 1: Bit 2: Bit 3: Bit 4: Bit 5: Bit 6: Bit 7: Start / stop Clear total Discharge rest Rest feeding Discharge release n.u. n.u. Acknowledge «New values ready» Byte Received data 0 Bit 0: Bit 1: Bit 2: Bit 3: Bit 4: Bit 5: Bit 6: Bit 7: 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: Bit 1: Bit 2: Bit 3: Bit 4: Bit 5: Bit 6: Bit 7: 3 Bit 0: Bit 1: Bit 2: Bit 3: Bit 4: Bit 5: Bit 6: 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) Control signals valid n.u. n.u. n.u. n.u. Clear alarm Modification to transmit. data record Acknowledge «Modification to received data record» Operation Total reached Discharge rest completed Cut-off point reached Total ready Conveying release Weight pulse New values ready n.u. n.u. n.u. Remote control via Profibus-DP Incorrect nominal value Common alarm Acknowledge «Modification to transmitted data record» Bit 7: Modification to received data record 9 10 11 Nominal total weight in kg / DIV 12 (0…99'999‘999) 13 Total weight in kg / DIV (0…999'999'999) 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 values ready» 1 0…7 n.u. 2 0…7 n.u. 3 0…7 See «Data for all devices» 1 = Delete status bit «New values ready» (leave until «New values ready» = 0) 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) 7.3 Status bits (received data bytes 0…3) Byte Bit Name Description 0 0 Operation 1 = Scales started 27 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 completed 1 = Discharge rest has been successfully completed Cut-off point reached Only where nominal total weight > 0 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) 3 0 = Control bit «Discharge rest» = 0 1 = Total weight >= (nominal total weight-cut-off weight) 0 = Control bit «Acknowledge new values ready» = 1 1 0 Outside rate tolerance Only where rate tolerance limits are preselected 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] (max. 4'000’000) Only when rate setting is at maximum (TCON.FMAX>0). The nominal rate is displayed in the parameter FLOS. 12…15 Nominal total weight 0 MINT… 99‘999'999 [kg] When the nominal total weight = 0, feeding takes place 1) continuously. When the total weight reaches the nominal 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) 2) Minimum feed volume according to parameter TCON.MINT 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 tolerance 0…999'999 [kg/h] If the actual rate is > the upper rate tolerance, the status bit «outside rate tolerance» = 1. Only active when the value is > 0. 16…19 Lower rate tolerance 0…999'999 [kg/h] If the actual rate < the lower rate tolerance, the status bit «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 7.5 Dump scales (DUMP) 29 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 (erasable) 0…999‘999'999 [kg] Set to 0 with the control bit «Clear total». When the value 2) reaches maximum, counting starts again from 0. 16…19 Non-erasable Total weight 0…999‘999'999 [kg] When the value reaches maximum, counting starts again 2) from 0. 0…3 Number of decimal places DIV on the Profibus interface according to the setting HOST.WFOR and ADC.DIV. Step No. 0…8 According to manual 66372-1 Alarm No. 0…33 According to manual 66372-1 20 Decimal places 21 n.u. 22 23 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. Byte Received data Bit 0: Start / stop Bit 1: Clear total Bit 2: Discharge Bit 3: Fill Bit 4: n.u. Bit 5: No alarm when empty Bit 6: n.u. Bit 7: Acknowledge «New values ready» Bit 0…7: n.u. 0 Bit 0…7: n.u. Bit 0: Control signals valid Bit 1: n.u. Bit 2: n.u. Bit 3: n.u. Bit 4: n.u. Bit 5: Clear alarm Bit 6: Modification to transmit. data record Bit 7: Acknowledge «Modification to received data record» No. of transmitted data record = 128 Index of transmitted data record = X No. of received data record = 1 Index of received data record = X Nominal rate in kg/h (0…999‘999) 2 3 Bit 0: Operation Bit 1: Total reached Bit 2: Discharge completed Bit 3: Ready for feeding Bit 4: Total ready Bit 5: Surge hopper empty Bit 6: Weight impulse Bit 7: New values ready 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. Bit 0: n.u. Bit 1: n.u. Bit 2: n.u. Bit 3: Remote control via Profibus-DP Bit 4: Incorrect nominal value Bit 5: Common alarm Bit 6: Acknowledge «Modification to transmitted data record» Bit 7: Modification to received data record No. of transmitted data record = 128 Index of transmitted data record = X No. of received data record = 1 Index of received data record = X Actual rate in kg/h (0…999'999) Transmitted data Nominal total weight in kg / DIV (0…99'999‘999) n.u. n.u. n.u. n.u. n.u. Recipe No. (load recipe) (0…50) n.u. n.u. 1 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 Total weight in kg / DIV (0…999'999'999) Non-erasable total weight in kg / DIV (0…999'999'999) Number of decimal places (0…3) Recipe No. (current recipe) (0…50) Step No. (0…9) 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) 8.2 Control bits (transmitted data bytes 0…3) Byte Bit Name Description 0 0 Start / Stop 1 = Release weighing cycle (start feeding) 31 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 4 n.u. 5 No alarm when empty 6 n.u. 7 Acknowledge «New values ready» 1 0…7 n.u. 2 0…7 n.u. 3 0…7 See «Data for all devices» 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. 1 = If the scales become empty, the status bit «Common alarm» is not set. This means that no alarm is generated when the scales are emptied during normal operation (status bit «Scales empty» = 1) 1 = Delete status bit «New values ready» (leave until «New values ready» = 0) 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) 8.3 Status bits (received data bytes 0…3) Byte Bit Name Description 0 0 Operation 1 = Scales are started Profibus-DP Protocol 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 completed 1 = The discharge has been successfully completed 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 = Where control bit «Discharge» = 0 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 exceeded 1 = The max. feeding time was exceeded during the discharge 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 8.4 Differential dosing scales (DIFF, DIFFG, DIFFM) 33 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] (max. 999'999) DIFFM in [10 g/h] The nominal rate is displayed in the parameter FLOS. The value must be between 0 and maximum (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 weight 0…99‘999'999 [kg] 2) If the total weight reaches the nominal total 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] (0.10…3.00) Relative density of product (REC.DENS) 10…11 Gain factor 100…2000 [0.1] (10.0…200.0) Gain factor feeding rate (REC.FACT) 12…13 Cut-off weight 0…9999 [DIV] Cut-off weight for small batch feeding (REC.CWT) 0…1 Automatic correction of gain factor (REC.CFAC) (0 = OFF / 1 = ON) 14…22 n.u. 23 Autom. gain factor correction 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) 8.5 Received data records (received data bytes 8…23) Profibus-DP Protocol Received data record 1 (default actual values) Byte Name Range [unit] Description 8…11 Actual rate 0…999‘999 [kg/h] DIFFM in [10 g/h] Current actual rate 12…15 Total weight (erasable) 0…999‘999'999 [kg] Set to 0 with the control bit «Clear total». When the value 2) reaches maximum, counting starts again from 0. DIFFM only in [g] 16…19 Non-erasable total weight 0…999‘999'999 [kg] When the value reaches maximum, counting starts again 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 9 Micro-dosing unit MZMN 9.1 Summary of standard data records 128/1 35 See following pages for a detailed description and other data records. Transmitted data Byte Received data Bit 0: Start / Stop Bit 1…7: n.u. Bit 0: n.u. Bit 1: Selection recipe 1 / MZMN 1 1) Bit 2: Selection recipe 2 / MZMN 2 1) Bit 3: Selection recipe 3 / MZMN 3 1) Bit 4: Selection recipe 4 / MZMN 4 1) Bit 5: Selection recipe 5 / MZMN 5 1) Bit 6: Selection recipe 6 / MZMN 6 1) Bit 7: n.u. Bit 0…7: n.u. Bit 0: Control signals valid Bit 1: n.u. Bit 2: n.u. Bit 3: n.u. Bit 4: n.u. Bit 5: Clear alarm Bit 6: Modification to transmit. data record Bit 7: Acknowledge «Modification to received data record» No. of transmitted data record = 128 Index of transmitted data record = X No. of received data record = 1 Index of received data record = X Nominal rate in 0.1 % (0…1‘000) 0 Bit 0: Operation Bit 1…7: n.u. Bit 0: n.u. Bit 1: MZMN 1 / recipe 1 active 1) Bit 2: MZMN 2 / recipe 2 active 1) Bit 3: MZMN 3 / recipe 3 active 1) Bit 4: MZMN 4 / recipe 4 active 1) Bit 5: MZMN 5 / recipe 5 active 1) Bit 6: MZMN 6 / recipe 6 active 1) Bit 7: n.u. Bit 0…7: n.u. Bit 0: n.u. Bit 1: n.u. Bit 2: n.u. Bit 3: Remote control via Profibus-DP Bit 4: Incorrect nominal value Bit 5: Common alarm Bit 6: Acknowledge «Modification to transmitted data record» Bit 7: Modification to received data record No. of transmitted data record = 128 Index of transmitted data record = X No. of received data record = 1 Index of received data record = X Actual rate in 10 g/h (0…999'999) n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. Recipe No. (load recipe) (0…50) n.u. n.u. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. Recipe No. (current recipe) (0…50) Step No. (0…2) 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 1…6 / MZMN 1…6 Operating mode TCON.MODE = SINGLE 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 / Recipe 1-6 active 7 Depending on the application, the signals can be used to evaluate the 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. 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 9.4 Micro-dosing unit MZMN 37 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] (0.10…3.00) Relative density of product (REC.DENS) 500…2000 [0.1] (50.0…200.0) Correction factor for adapting actual rate (REC.FACT) 14…15 Nominal rate 0…1‘000 [0.1 %] (0.0…100.0 %) For nominal rates < 2%, the value 0 is adopted. (REC.FLOS) 16…17 Mixer frequency 1‘000…7‘000 [0.01 Hz] (10.00…70.00 Hz) Frequency of mixer (REC.MIX) 18…19 Type rate 0…9999 [l/h] Volumetric type rate (REC.FTYP) 0…90 [%] The agitator cuts out the relevant percentage or the speed is accordingly reduced (REC.IOFF) 10…11 Correction factor 12…13 n.u. 20…21 n.u. 22 Agitator cutout mode 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 10 Automatic flow balancer and flowmeter MZAH (FBAL) 39 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 Bit 1: Clear total Bit 2: n.u. Bit 3: n.u. Bit 4: n.u. Bit 5: No alarm when «Silo empty» Bit 6: n.u. Bit 7: Acknowledge «New values ready» Bit 0…7: n.u. Bit 0…7: n.u. Bit 0: Control signals valid Bit 1: n.u. Bit 2: n.u. Bit 3: n.u. Bit 4: n.u. Bit 5: Clear alarm Bit 6: Modification to transmit. data record Bit 7: Acknowledge «Modification to received data record» No. of transmitted data record = 128 Index of transmitted data record = X No. of received data record = 1 Index of received data record = X Nominal rate in kg/h (0…999‘999) 0 Bit 0: Operation Bit 1: Total reached Bit 2: n.u. Bit 3: n.u. Bit 4: Total ready Bit 5: Silo empty Bit 6: Weight impulse Bit 7: New values ready Bit 0…7: n.u. Bit 0…7: n.u. Bit 0: n.u. Bit 1: n.u. Bit 2: n.u. Bit 3: Remote control via Profibus-DP Bit 4: Incorrect nominal value Bit 5: Common alarm Bit 6: Acknowledge «Modification to transmitted data record» Bit 7: Modification to received data record No. of transmitted data record = 128 Index of transmitted data record = X No. of received data record = 1 Index of received data record = X Actual rate in kg/h (0…999'999) Nominal total weight in kg (0…999‘999). n.u. n.u. n.u. n.u. n.u. Recipe No. (load recipe) (0…50) n.u. n.u. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 Total weight in kg (0…999'999'999) Non-erasable total weight in kg (0…999'999'999) n.u. Recipe No. (current recipe) (0…50) Step No. (0…9) 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 2 n.u. 3 n.u. 4 n.u. 5 No alarm when silo empty 6 n.u. 7 Acknowledge «New values ready» 1 0…7 n.u. 2 0…7 n.u. 3 0…7 See «Data for all devices» 1 = Delete erasable total weight when status bit «Total ready» = 1 1 = In case of a «Silo empty» alarm, the status bit «Common alarm» is not set. This means that no alarm is generated when the flow balancer becomes empty in normal operation (status bit «Silo empty» = 1) 1 = Delete status bit «New values ready» (leave until «New values ready» = 0) 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] (max. 999'999) The nominal rate is displayed in the parameter FLOS. For nominal rates < FMIN, the value 0 is adopted. 12…15 Nominal total weight 0…99'999 [kg] If the total weight reaches the nominal total weight, feeding is stopped. If the nominal total weight = 0, feeding takes place continuously. This value is only adopted in step 1. 0…50 1…50 = Load recipe into the working recipe 0 0 = Do not load recipe 16…20 n.u. 21 Recipe No. 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 (erasable) 0…999‘999'999 [kg] Set to 0 with the control bit «Clear total». When the value reaches maximum, counting starts again from 0. 16…19 Non-erasable total weight 0…999‘999'999 [kg] When the value reaches maximum, counting starts again 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 11 Check weigher (CHECK) 43 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 Bit 0: Release (start / stop) Bit 1: Bag counter/clear total Bit 2: Start weight check Bit 3: n.u. Bit 4: n.u. Bit 5: n.u. Bit 6: n.u. Bit 7: Acknowledge «New values ready» Bit 0…7: n.u. Bit 0…7: n.u. Bit 0: Control signals valid Bit 1: n.u. Bit 2: n.u. Bit 3: n.u. Bit 4: n.u. Bit 5: Clear alarm Bit 6: Modification transmit. data record Bit 7: Acknowledge «Modification to received data record» No. of transmitted data record = 128 Index of transmitted data record = X No. of received data record = 1 Index of received data record = X n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. Recipe No. (0…50) n.u. n.u. Byte Received data 0 Bit 0: Operation Bit 1: n.u. Bit 2: Weight checked Bit 3: Underweight Bit 4: Overweight Bit 5: Weight within tolerance Bit 6: Weight outside tolerance Bit 7: New values ready Bit 0…7: n.u. Bit 0…7: n.u. Bit 0: n.u. Bit 1: n.u. Bit 2: n.u. Bit 3: Remote control via Profibus-DP Bit 4: Incorrect nominal value Bit 5: Common alarm Bit 6: Acknowledge «Modification to transmitted data record» Bit 7: Modification to received data record No. of transmitted data record = 128 Index of transmitted data record = X No. of received data record = 1 Index of received data record = X Nominal bag weight in DIV (0…50'000) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 Actual bag weight in DIV (0…65‘535) Total weight of bags within tolerance in DIV (0…999'999'999) Bag counter bags within tolerance (0…65'000) n.u. n.u. Number of decimal places (0…3) Recipe No. (current recipe) (0…50) Step No. (0…4) 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 (start / stop) 1 = General release (roller conveyor in operation) Release of weight check and automatic zeroing 1 Bag counter / clear total 1 = Bag counter is reset and the total weight deleted 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 values ready» 1 0…7 n.u. 2 0…7 n.u. 3 0…7 See «Data for all devices» 1 = Delete status bit «New values ready» (leave until «New values ready» = 0) 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 tolerance 1 = Bag is within the tolerances REC.T1 and REC.T2. The signal remains active for the period TCON.TDO or, in case of an alarm, until the alarm is deleted. 6 Weight outside tolerance 1 = Bag is outside the tolerances REC.T1 and REC.T2. The signal 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 8…20 n.u. 21 Recipe No. Range [unit] Description 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 weight MINB…MAXB [DIV] Nominal bag weight (net weight) (REC.SIZE) The nominal bag weight must be between the minimum (TCON.MINB) and maximum (TCON.MAXB) nominal bag weights. 10…11 Empty bag weight 0…MAXB [DIV] Weight of empty bag (tare weight) (REC.EBAG) 12…13 Tolerance 1 positive 0…999 [DIV] Bag overweight or outside tolerance if bag weight > nominal bag weight + tolerance 1 positive (REC.T1+). 0 = no monitoring 14…15 Tolerance 1 negative 0…999 [DIV] Bag underweight or outside tolerance if bag weight < nominal bag weight – tolerance 1 negative (REC.T1–). 0 = no monitoring 16…17 Tolerance 2 positive 0…SIZE [DIV] Bag overweight or outside tolerance if bag weight > nominal bag weight + tolerance 2 positive (REC.T2+). 0 = no monitoring (common alarm) 18…19 Tolerance 2 negative 0…SIZE [DIV] Bag underweight or outside tolerance if bag weight < nominal bag weight – tolerance 2 negative (REC.T2–). 0 = no monitoring (common alarm) 0…10 [0.1 s] (0.0…1.0 s) Time delay in addition to TCON.TSTD until weight is adopted (REC.TSD+) 20 Additional time delay for weight 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 weight 0…50‘000 [DIV] Current nominal bag weight 10…11 Actual bag weight 0…65‘535 [DIV] Current actual bag weight 12…15 Total weight 0…999‘999'999 [DIV] Total weight of bags within tolerance 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 deviation 0…999 [DIV] Standard deviation of bags within tolerance 10…11 Average actual bag weight 0…65‘535 [DIV] Average of actual bag weights based on number of bags within tolerance 12…15 Total weight 0…999‘999'999 [DIV] Total weight of all bags 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) 12 Bagging scales (BAG) Profibus-DP Protocol 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 Bit 1: Bag counter / clear total Bit 2: Abort Bit 3: FC alarm Bit 4: Discharge release Bit 5: Continue feeding Bit 6: Acknowledge «Tolerance alarms» Bit 7: Acknowledge «New values ready» Bit 0: Surge hopper empty Bit 1: n.u. Bit 2: n.u. Bit 3: n.u. Bit 4: Release adj. to nominal value MWSK Bit 5: Release closing MWSK Bit 6: n.u. Bit 7: n.u. Bit 0…7: n.u. 0 Bit 0: Control signals valid Bit 1…4: n.u. Bit 5: Clear alarm Bit 6: Modification to transmit. data record Bit 7: Acknowledge «Modification to received data record» 3 No. of transmitted data record = 128 Index of transmitted data record = X No. of received data record = 1 Index of received data record = X n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. Nominal bag counter (0…99'999) 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 Bit 0: Operation Bit 1: No. of bags reached Bit 2: Weighing completed Bit 3: Feeding completed Bit 4: Bagging release Bit 5: Dump pulse Bit 6: Tolerance alarm Bit 7: New values ready Bit 0: Dribble flow Bit 1: Fast flow Bit 2: Discharge Bit 3: Weight of checked bag Bit 4: Gate opens MWSK Bit 5: Gate closes MWSK Bit 6: Gate in position MWSK Bit 7: Gate closed MWSK Bit 0: Discharge delayed Bit 1: Filter cleaning Bit 2…7: n.u. Bit 0…2: n.u. Bit 3: Remote control via Profibus-DP Bit 4: Incorrect nominal value Bit 5: Common alarm Bit 6: Acknowledge «Modification to transmitted data record» Bit 7: Modification to received data record No. of transmitted data record = 128 Index of transmitted data record = X No. of received data record = 1 Index of received data record = X Nominal bag weight in DIV (0…50'000) n.u. Recipe No. (0…50) n.u. n.u. MEAF-66499-1-en-0701 1 2 Actual bag weight in DIV (0…65‘535) Total weight in DIV (0…999'999'999) Bag counter (incremental) (0…99'999) Number of decimal places (0…3) Recipe No. (current recipe) (0…50) Step No. (0…9) Alarm No. (0…34) © 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 total 1 = Bag counter is reset and total weight is deleted (only possible in 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 «Tolerance alarm» 1 = Acknowledgement of tolerance alarms. Allow signal to remain until status bit «Tolerance alarm» = 0 7 Acknowledge «New values ready» 1 = Delete status bit «New values ready» (allow signal to remain until «New values ready» = 0) 0 Surge hopper empty 1 = Probe in surge hopper is uncovered. Each bag weight is checked and corrected (always check cycle) 1 1…3 n.u. 4 Release adjustment to nominal value 1 = The bed depth adjustment of the MWSK belt feed to the nominal 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 2 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 bag 1 = Current bag has been checked (check cycle) 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 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 8…15 n.u. 16…19 Nominal bag counter 20 n.u. 21 Recipe No. Range [unit] Description 0…99‘999 0 = Operation without bag preselection 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 weight MINB…MAXB [DIV] Nominal bag weight (Net weight) (REC.SIZE) The nominal bag weight must be between the minimum (TCON.MINB) and maximum (TCON.MAXB) nominal bag weight 10…9999 [DIV] Start closure of discharge gate when weight falls below this threshold (REC.EWT) 0…999 [DIV] Tolerance alarm when bag weight > nominal bag weight + tolerance positive (REC.TOL+) 0 = no monitoring 0…999 [DIV] Tolerance alarm when bag weight < nominal bag weight – tolerance negative (REC.TOL–) 0 = no monitoring 0…9999 [DIV or Fast flow cut-off point or time according to REC.DOSW. 0.01 s] (REC.STRT) 0 = No fast flow 0…2000 [DIV] Dribble flow cut-off weight for switching off dribble flow (REC.CUTW) 10…11 Empty weight 12…13 Tolerance positive 14…15 Tolerance negative 16…17 Fast flow trigger value 18…19 Dribble flow cutoff weight 20…23 n.u. n.u. = not used (data are ignored by MEAF) Transmitted data record 137 (recipe part 2) Byte 8 Index: 0…50 as recipe No. (0 = working recipe) Name Range [unit] Description Check cycle 1…50 Check weight of every nth bag only (REC.CCYC) 1 = Check every bag 1 = Fast feeding by weight (REC.DOSW) 0 = Fast feeding by time Dribble flow nominal time for control system (REC.TDRI) 9 Fast feeding by weight 10 Dribble flow nominal time 11 Fast feed rate 12 Dribble feed rate 13…23 n.u. 0…1 10…200 [0.1 s] (1.0…20.0 s) 3…99 [%] 3…99 [%] Fast feed rate (REC.FFLO) Dribble feed rate (REC.DFLO) 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 weight 0…50‘000 [DIV] Current nominal weight 10…11 Actual bag weight 0…65‘535 [DIV] Current actual bag weight of checked bags. If bags are not checked, the nominal weight is adopted. 12…15 Total weight 0…999‘999'999 [DIV] Corresponds to 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 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 erasable 0…99'999‘999 Non-erasable bag counter 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 13 Differential bagging scales (BAGD1, BAGD2, BAGD3) 53 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 Start Bag counter / clear total Abort FC alarm 1 Refill release Empty scale(s) Acknowledge «Tolerance alarms» Acknowledge «New values ready» Empty system Cleaning operation Continuous operation Release AO2 1) FC alarm 2/3 2) Bag attached 2/3 2) n.u. n.u. Refilling active 1 Refilling active 2 2) Refilling active 3 3) Manual emptying 1 Manual emptying 2 2) Manual emptying 3 3) n.u. n.u. Control signals valid n.u. n.u. n.u. n.u. Clear alarm Modification to transmit. data record Acknowledge «Modification to received data record» No. of transmitted data record = 128 Index of transmitted data record = 0 No. of received data record = 1 Index of received data record = 0 Nominal rate in % (5…99) 4) n.u. Nom. total weight in kg (0…99'999'999) 4) Nominal bag counter (0…99'999) 0 Bit 0: Bit 1: Bit 2: Bit 3: Bit 4: Bit 5: Bit 6: Bit 7: Bit 0: Bit 1: Bit 2: Bit 3: Bit 4: Bit 5: Bit 6: Bit 7: Bit 0: Bit 1: Bit 2: Bit 3: Bit 4: Bit 5: Bit 6: Bit 7: Bit 0: Bit 1: Bit 2: Bit 3: Bit 4: Bit 5: Bit 6: Bit 7: Received data n.u. Recipe No. (0…50) n.u. n.u. Operation No. of bags reached Weighing completed 1) Feeding completed 1 Bagging release Scale(s) empty Tolerance alarm New values ready 1 Feeding 1 Refilling 1 Filling time alarm Weight of checked bag Recipe output A Recipe output B Alarm 2 2) Operation 2 2) 2 Feeding completed 2 2) Refilling 2 2) Feeding 2 2) Alarm 3 3) Operation 3 3) Feeding completed 3 3) Refilling 3 3) Feeding 3 3) 3 n.u. n.u. n.u. Local Incorrect nominal value Common alarm (alarm 1) Acknowledge «Modification to transmitted data record» Bit 7: Modification to received data record 4 No. of transmitted data record = 128 5 Index of transmitted data record = 0 6 No. of received data record = 1 7 Index of received data record = 0 8…9 Nominal bag weight in DIV (0…50'000) 10…11 Actual bag weight in DIV (0…65‘535) 12…15 Total weight in kg (0…999'999'999) 16…19 Bag counter (in ascending order) (0…99'999) 20 Number of decimal places (0…3) 21 Recipe No. (current recipe) (0…50) 22 Step No. (0…9) 23 Alarm No. (0…45) n.u. = not used 1) BAGD1 only 3) BAGD3 only 2) BAGD2/BAGD3 only © Copyright 2007 Bühler AG Bit 0: Bit 1: Bit 2: Bit 3: Bit 4: Bit 5: Bit 6: Bit 7: Bit 0: Bit 1: Bit 2: Bit 3: Bit 4: Bit 5: Bit 6: Bit 7: Bit 0: Bit 1: Bit 2: Bit 3: Bit 4: Bit 5: Bit 6: Bit 7: Bit 0: Bit 1: Bit 2: Bit 3: Bit 4: Bit 5: Bit 6: 4) Continuous mode only 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 total 1 = Bag counter is reset and the total weight is deleted (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 «Tolerance alarm» 1 = Acknowledgement of tolerance alarms. Allow signal to remain until status bit «Tolerance alarm» = 0 7 Acknowledge «New values ready» 1 = Delete status bit «New values ready» (leave until «New values ready» = 0) 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 operation 1 = Continuous mode 1 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 attached 2/3 2) 1 = A bag is attached to the bag spout of the fast feed. Release of fast feed for this cycle (signal must be active at start). 6…7 n.u. n.u. = not used (bits are ignored by MEAF) 1) 2) BAGD1 only 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 completed 3 Feeding completed 1 1 = Feeding of scale 1 is fully completed 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 7 New values ready 1 = The bag weight is outside the set tolerance limits REC.TOL+, REC.TOL– 1 = New values are available (new bag weight, count) 0 = Control bit «Acknowledge new values ready» = 1 0 Feeding 1 1 = Feeding scales 1 (also release of frequency converter) 1 Filling 1 1 = Filing scales 1 2 Filling time alarm 3 4 Weight of checked bag Recipe output A 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)». 1 = Current bag has been checked (check cycle) (always 1 for BAGD2/3) 1 = When REC.RDOA = ON 5 Recipe output B 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 0 Feeding completed 2 2) 1 = Feeding of scale 2 is fully completed 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 completed 3 3) 1 = Feeding of scale 3 is fully completed 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) 1 2 3 1) 1 = Weighing is fully completed (step 5) 0 = On switching to step 8 1 = When REC.RDOB = ON 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 MEAF-66499-1-en-0701 3) BAGD3 only © 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) 12…15 Nominal total weight 0…99'999'999 [kg] Nominal total weight (in continuous operation only) 16…19 Nominal bag counter 0…99‘999 0 = Operation without bag preselection 0…50 1…50 = Load relevant recipe into working recipe 0 0 = Do not load recipe 10…11 n.u. 20 n.u. 21 Recipe No. 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 weight MINB…MAXB [DIV] Nominal bag weight (REC.SIZE) 10…11 n.u. 12…13 Tolerance positive 0…999 [DIV] Tolerance alarm when bag weight > nominal bag weight + tolerance positive (REC.TOL+) 0 = no monitoring 14…15 Tolerance negative 0…999 [DIV] Tolerance alarm when bag weight < nominal bag weight – tolerance negative (REC.TOL–) 0 = no monitoring 16…17 Fast flow trigger value 0…9999 [DIV or 0.01 s] Fast feeding cut-off point or time according to 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 cutoff weight 0…2000 [DIV] Dribble flow cut-off weight for switching off dribble feed (REC.CUTW) 20…21 Relative density 10…300 [0.01 kg/l] (0.10…3.00 kg/l) Relative density of product (REC.DENS) 22…23 n.u. n.u. = not used (data are ignored by MEAF) Transmitted data record 137 (recipe part 2) Byte Index: 0…50 as recipe No. (0 = working recipe) 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 weight 0…1 1 = Fast feeding by weight (REC.DOSW) 0 = Fast feeding by time 10 Nominal dribble feeding time 10…200 [0.1 s] (1.0…20.0 s) Nominal dribble feeding time for control system (REC.TDRI) 11 Fast feeding rate 3…99 [%] Fast feeding rate (REC.FFLO) 12 Dribble feeding rate 3…99 [%] Dribble feeding rate (REC.DFLO) 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 at AO2 0…99 [%] Actuating signal at analog output 2 (REC.RAO2) (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 weight 0…50‘000 [DIV] Current nominal weight 10…11 Actual bag weight 0…65‘535 [DIV] Current actual bag weight of checked bags. If bags are 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 erasable 0…99'999‘999 Non-erasable bag counter 0…999'999 [t/h] Actual rate (in continuous operation only) 12…15 Actual rate 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 14 Metering slide gate MZDE Profibus-DP Protocol 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 Bit 1: n.u. Bit 2: n.u. Bit 3: n.u. Bit 4: n.u. Bit 5: n.u. Bit 6: n.u. Bit 7: Acknowledge «New values ready» Bit 0…7: n.u. Bit 0…7: n.u. Bit 0: Control signals valid Bit 1: n.u. Bit 2: n.u. Bit 3: n.u. Bit 4: n.u. Bit 5: Clear alarm Bit 6: Modification to transmit. data record Bit 7: Acknowledge «Modification to received data record» No. of transmitted data record = 128 Index of transmitted data record = X No. of received data record = 1 Index of received data record = X Nominal position in ‰ (0…2000) 0 Bit 0: Operation Bit 1: Slide gate in position Bit 2: n.u. Bit 3: n.u. Bit 4: n.u. Bit 5: n.u. Bit 6: n.u. Bit 7: New values ready Bit 0…7: n.u. Bit 0…7: n.u. Bit 0: n.u. Bit 1: n.u. Bit 2: n.u. Bit 3: Remote control via Profibus-DP Bit 4: Incorrect nominal value Bit 5: Common alarm Bit 6: Acknowledge «Modification to transmitted data record» Bit 7: Modification to received data record No. of transmitted data record = 128 Index of transmitted data record = X No. of received data record = 1 Index of received data record = X Actual position in ‰ (0…2000) 1 2 3 n.u. 4 5 6 7 8 9 10 n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. 11 12 13 14 15 16 17 18 19 20 21 22 23 Maximum nominal position in ‰ (300…2000) Minimum nominal position in ‰ (10…100) n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. Step No. (0…9) 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 0 0 Start / stop Description 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 1 = Delete status bit «New values ready» Acknowledge (leave until «New values ready» = 0) «New 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) 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 position 2 n.u. 3 n.u. 4 n.u. 5 n.u. 6 n.u. 7 New values ready 1 = The metering slide gate is at target position 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 [‰] (max. 2000) The nominal position is displayed in parameter POS. 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 nominal position 300…2000 [‰] Limitation maximum nominal position 12…13 Minimum nominal position 10…100 [‰] Limitation minimum 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 15 Automatic moisture control unit MYFC 63 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. Bit 1: n.u. Bit 2: Discharge rest Bit 3: n.u. Bit 4: n.u. Bit 5: n.u. Bit 6: n.u. Bit 7: n.u. Bit 0…7: n.u. Bit 0…7: n.u. Bit 0: Control signals valid Bit 1: n.u. Bit 2: n.u. Bit 3: n.u. Bit 4: n.u. Bit 5: Clear alarm Bit 6: Modification to transmit. data record Bit 7: Acknowledge «Modification to received data record» No. of transmitted data record = 128 Index of transmitted data record = X No. of received data record = 1 Index of received data record = X Nominal dampening MOZF or nominal moisture in 0.1 % 0 Bit 0: 24 V release Bit 1: Water dosed Bit 2: Remote / local (1=Remote) Bit 3: Manual mode (switch to manual) Bit 4: Probe dampener (1=covered) Bit 5: Ready (active) Bit 6: n.u. Bit 7: n.u. Bit 0…7: n.u. Bit 0…7: n.u. Bit 0: n.u. Bit 1: n.u. Bit 2: n.u. Bit 3: Remote control via Profibus-DP Bit 4: Incorrect nominal value Bit 5: Common alarm 1) Bit 6: Acknowledge «Modification to transmitted data record» Bit 7: Modification to received data record No. of transmitted data record = 128 Index of transmitted data record = X No. of received data record = 1 Index of received data record = X Average moisture in 0.1 % n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. Recipe No. (load recipe) (0…20) n.u. n.u. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 n.u. Water dosing capacity MOZF in 0.1 l/h Product throughput in kg/h Non-erasable totalizer for water in 0.1l n.u. Recipe No. (current recipe) (0…20) Alarm No. MYFC (incl. warnings) 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 0 0…7 n.u. 1 0…7 n.u. 2 0…7 n.u. 3 0…7 See «Data for all devices» Description 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 [%] 14…15 Maximum dosing 0…6500,0 [l/h] capacity 16 Product group 0…9 Moisture offset MYFC in 0.01 % (for adaptation to the laboratory) Maximum dosing capacity MOZE/F in 0.1 l/h 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 capacity 0…6’500.0 [l/h] [QMIN…DMAX] Current water dosing capacity in 0.1 l/h of the MOZE/F 12…15 Product throughput 0…999‘999 [kg/h] Current product throughput measured by the flow balancer 16…19 N. l. totalizer water 0…99‘999‘999.9 [l] Non-erasable totalizer for water MOZE/F (sum 4) (MOZE operates in the range 0…999‘999,9 l.) 0…20 Currently loaded recipe 20 n.u. 21 Recipe No. 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 8…11 N. l. totalizer product Range [unit] Description 0…999’999’999 [kg] Non-erasable totalizer for product MYFC (sum 2) 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 16 Liquids flow controller MOZF 67 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. Bit 1: n.u. Bit 2: n.u. Bit 3: n.u. Bit 4: n.u. Bit 5: n.u. Bit 6: n.u. Bit 7: n.u. Bit 0…7: n.u. Bit 0…7: n.u. Bit 0: Control signals valid Bit 1: n.u. Bit 2: n.u. Bit 3: n.u. Bit 4: n.u. Bit 5: Clear alarm Bit 6: Modification to transmit. data record Bit 7: Acknowledge «Modification to received data record» No. of transmitted data record = 128 Index of transmitted data record = X No. of received data record = 1 Index of received data record = X Nominal capacity in 0.1 l/h or nominal dampening in 0.1 % 0 Bit 0: 24 V release Bit 1: Water dosed Bit 2: Remote / local (1=Remote) Bit 3: Manual mode (switch to manual) Bit 4: Probe dampener (1=covered) Bit 5: Ready (active) Bit 6: n.u. Bit 7: n.u. Bit 0…7: n.u. Bit 0…7: n.u. Bit 0: n.u. Bit 1: n.u. Bit 2: n.u. Bit 3: Remote control via Profibus-DP Bit 4: Incorrect nominal value Bit 5: Common alarm 1) Bit 6: Acknowledge «Modification to transmitted data record» Bit 7: Modification to received data record No. of transmitted data record = 128 Index of transmitted data record = X No. of received data record = 1 Index of received data record = X n.u. n.u. Actual capacity in 0.1 l/h n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 n.u. n.u. n.u. n.u. Non-erasable totalizer for water in 0.1 l/h n.u. n.u. n.u. 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] 8…9 Nominal capacity 0 / QMIN…QMAX 0…25.0 [%] Description With function mode «Litre dosing» (normal case): 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 8…9 n.u. 10…11 Actual capacity Range [unit] Description 0…6’500.0 [l/h] Actual capacity of the water dosing in 0.1 l/h 0…99’999’999.9 [l] Non-erasable totalizer for water (sum 4) 0…99 Current MOZF alarm number (incl. warnings) 12…15 n.u. 16…19 N. l. totalizer water 20…22 n.u. 23 Alarm No. 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 Start / Stop Abort Operation via Profibus-DP n.u. n.u. n.u. Discharge / stop batch Acknowledge «New values ready / final value reached» Bit 0: Acknowledge Start / Stop Signal Bit 1: Acknowledge abort signal Bit 2…7: n.u. Bit 0…7: n.u. Bit 0: Control signals valid Bit 1: n.u. Bit 2: n.u. Bit 3: n.u. Bit 4: n.u. Bit 5: Clear alarm Bit 6: Modification to transmit. data record Bit 7: Acknowledge «Modification to received data record» No. of transmitted data record = 128 Index of transmitted data record = X No. of received data record = 1 Index of received data record = X Nominal value in kg / DIV (0…150‘000) 0 Bit 0: Bit 1: Bit 2: Bit 3: Bit 4: Bit 5: Bit 6: Bit 7: n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. n.u. Recipe No. (load recipe) (0…8) n.u. n.u. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 Received data Bit 0: Bit 1: Bit 2: Bit 3: Bit 4: Bit 5: Bit 6: Bit 7: Operation Ready for feeding Fast flow Dribble flow Discharge active Discharge completed New values ready / final value reached Bit 0: Start / stop signal Bit 1: Abort signal Bit 2…7: n.u. Bit 0…7: n.u. Bit 0: n.u. Bit 1: n.u. Bit 2: n.u. Bit 3: Remote control via Profibus-DP Bit 4: Incorrect nominal value Bit 5: Common alarm Bit 6: Acknowledge «Modification to transmitted data record» Bit 7: Modification to received data record No. of transmitted data record = 128 Index of transmitted data record = X No. of received data record = 1 Index received data record = X Component weight in kg / DIV (0…999'999) Scale weight in kg / DIV (0…999'999) n.u. n.u. n.u. n.u. Number of decimal places (0…3) Recipe No. (current recipe) (1…8) Step No. (0…8) 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 Profibus-DP 1 = The start / stop and the abort signals are transmitted by the 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. 6 Discharge / end batch n.u. 1 = Discharge is active. If this bit changes to zero the status bit «Discharge completed» is set. Changing to starting point, current component weighing is stopped (TCON.MODE = POS / POS2). 0 = Stop of discharge. 1 7 1 = Clear status bit «New values ready / final value reached» Acknowledge (to be applied until «New values ready» = 0) «New values ready / final value reached» 0 Acknowledge start / stop signal 1 = Status bits start / stop signal is cleared 1 Acknowledge abort signal 1 = Status bits abort signal is cleared 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 completed 1 = Discharge could be carried out and is completed New values ready / final values reached 1 = New values are ready (component weight) 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. 7 1 0 = If the control bit «Discharge» or after feeding start 0 = Control bit «Acknowledge new values ready / final values reached» = 1 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 8…11 Nominal value Range [unit] Description 0 / TCON.MINW… TCON.MAXW [kg] 2) 3) Nominal value for the component weight. If the value is 0 it will not be accepted. This can be used for instance, if the recipe must be loaded with the nominal weight. 0…8 1…8 = Load recipe / silo 0 = Do not load recipe / silo 12…20 n.u. 21 Recipe No. 3) 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) 1) 2) 3) Nominal weight (REC.WTS) 10…13 Nominal weight in kg 14…15 Weight tolerance 1) 2) 3) positive Weight tolerance positive in kg (REC.TOL+) 16…17 Weight tolerance 1) 2) 3) negative Weight tolerance negative in kg (REC.TOL–) 18…19 Fast flow trigger value Change-over weight 1) 2) 3) Fast flow trigger value Change-over weight in kg (REC.STRT) 20…21 Dribble flow cut-off weight 1) 2) 3) Dribble flow cut-off weight in kg (REC.CUTW) Value = 1: no fast flow 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 weight 0…999’999 [kg] 2) Current component 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 18 Device Control (DevCtrl) 75 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 Bit 0: Bit 1: Bit 2: Bit 3: Bit 4: Bit 5: Bit 6: Bit 7: Release (Start / Stop) Automat / Manual Restart with start value and start time Activate start value n.u. n.u. n.u. Acknowledge «new values ready» Byte Received data 0 Bit 0: Bit 1: Bit 2: Bit 3: Bit 4: Bit 5: Bit 6: Bit 7: 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: Bit 1: Bit 2: Bit 3: Bit 4: Bit 5: Bit 6: Bit 7: 3 Bit 0: Bit 1: Bit 2: Bit 3: Bit 4: Bit 5: Bit 6: 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 Control signals valid n.u. n.u. n.u. n.u. Clear alarm Modification to transmit. data record Acknowledge «Modification toreceived data record» Operation n.u. Restart was carried out n.u. n.u. n.u. n.u. New values ready n.u. n.u. n.u. Remote control via Profibus-DP Incorrect nominal value Common alarm Acknowledge «Modification to transmitted data record» Bit 7: Modification to received data record 9 Nominal value Steam control in 0.1 % 10 for manual operation 11 n.u. 12 n.u. 13 Actual product throughput kg/h 14 (if present) 15 Temperature 2 in 0.1°C Temperature 3 in 0.1°C Actual steam throughput in 0.1% 16 17 Start value for Steam control in 0.1 % (see parameter CTRL.START) 18 Start value for Steam control in 0.1% (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 (Start / Stop) 0 = Stop (immediate stop / dosing interruption) Automat / Manual 1 = Automat (control is active) 1 1 = Release (start dosing) 0 = Manual (control is inactive) 2 Restart with start value and start time 1 = The controller is deactivated and restart takes place with the start 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 1 = Clear status bit «New values ready / final value reached» Acknowledge (leave applied until «New values ready» = 0) «New values ready / final value reached» 1 Acknowledge abort signal 1 = Status bits abort signal is cleared 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 1 n.u. 7 New values ready 1 = New values are ready 0 = Command bit «Acknowledge new values» = 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 [0.1 %] 0…100.0 % Nominal value for the steam valve when operation is in the manual mode 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) 10…11 Nominal value Steam control 12…13 n.u. 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 steam throughput [0.1 %] Current position of control valve 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) 19 Vertical grinder (PEARL) Profibus-DP Protocol 19.1 Summary of standard data records 128/1 See following pages for detailed description and other data records. Transmitted data Bit 0: Start/Stop Bit 1: Bit 2: Bit 3: Bit 4: Bit 5: Bit 6: Bit 7: Byte 0 Received data Bit 0: Operation Bit 1: 0 = start sequence concluded Bit 2: Current warning A greater than HLC Bit 3: Accumulation plate in position Bit 4: Product probe Bit 5: Bit 6: Bit 7: 1 Bit 0: Bit 1: Bit 2: Bit 3: Bit 4: Bit 5: Clear alarm Bit 6: Modification to transmitted data record Bit 7: Acknowledge «Modification to received data record» 2 3 Bit 0: Bit 1: Bit 2: Bit 3: Remote control via Profibus Bit 4: Incorrect nominal value Bit 5: Common alarm Bit 6: Acknowledge «Modification to 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 Nominal current in A (20.0…TCON.MOTI) 8 9 Nominal current in A (20.0…TCON.MOTI) 10 11 Actual current in A (0.0…TCON.CONV) 12 13 Actual pressure in 0.1 % 14 15 Minimum pressure 0.1 % 16 17 Max. motor current in A (20.0…TCON.MOTI) n.u. n.u. 18 n.u. n.u. 19 n.u. 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. 7 n.u. 1 = Clear status bit «New values ready» Acknowledge (leave applied until «New values ready» = 0) «New values ready» 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) Start sequence concluded 0 = The start sequence is concluded, i.e. ready for grinding process 2 Warning «current» 1 = Warning: actual motor current exceeds set current value of parameter REC.HLC in % 3 Accumulation plate in position 1 = actual accumulation plate position corresponds to target position 4 Product probe 1 = product probe covered, «release» for accumulation plate pressure 5 n.u. 6 n.u. 7 New values ready 1 1 = Initial position or product probe not covered 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 in [A] 20…MOTI [A] (max. 200 A) The nominal current is indicated in parameter CURS. In case of nominal current < 20 A, 20 A is accepted. 0…50 1…50 = Load recipe into working recipe 0 0 = Do not load recipe 16…20 n.u. 21 Recipe No. 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 in [A] 20…MOTI [A] (max. 200 A) The nominal current is indicated in parameter CURS. In case of nominal current < 20 A, 20 A is accepted. 10…11 Actual current in [A] 0…MOTI [A] (max. 200 A) The actual current is shown on the display. In case of actual current < CMIN % and start, A flashes, i.e. no release takes place 12…13 Actual pressure PMIN…PMAX [%] Limitation min. pressure TCON.PMIN Limitation max. pressure TCON.PMAX System-induced ranges of forces 14…15 Min. pressure PMIN.5…PMAX [%] Limitation min. pressure TCON.PMIN Dependent on system stability (accumulation plate aspiration) 16…17 Max. motor current MOTI.20…200 [A] (max. 200 A) Nominal current of respective drive motor 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 20 Hammer mill (DFCO) 83 Hammer mill (DFCO) 20.1 Summary of standard data records 128/1 Transmitted data Byte Received data Bit 0: Bit 1: Bit 2: Bit 3: Bit 4: Bit 5: Bit 6: Bit 7: n.b. Acknowledge start request Request motor reverse Request motor forwards Heavy fraction flap open Request sieve change 1 Request sieve change 2 Acknowledge «New values ready» 0 Bit 0: Bit 1: Bit 2: Bit 3: Bit 4: Bit 5: Bit 6: Bit 7: n.u. Start request motors Mill 1 is loaded Mill 2 is loaded n.u. Sieve change complete 1 Sieve change complete 2 New values ready Bit 0: Bit 1: Bit 2: Bit 3: Bit 4: Bit 5: Bit 6: Bit 7: Release (Start / Stop) Mill 1 Speed fast Mill activated Brakes Release feeding Acknowledge «Fan is running» n.u. n.u. 1 Bit 0: Bit 1: Bit 2: Bit 3: Bit 4: Bit 5: Bit 6: Bit 7: O80 ALARM Mill 1 O81 START_MOTOR O82 MOTOR_FAST O83 MOTOR_REV O84 BRAKE O85 FAN_START n.u. n.u. Bit 0: Bit 1: Bit 2: Bit 3: Bit 4: Bit 5: Bit 6: Bit 7: Release (Start / Stop) Mill 2 Speed fast Mill activated Brakes Release feeding n.u. n.u. n.u. 2 Bit 0: Bit 1: Bit 2: Bit 3: Bit 4: Bit 5: Bit 6: Bit 7: O90 ALARM_2 Mill 2 O91 START_MOTOR_2 O92 MOTOR_FAST_2 O93 MOTOR_REV_2 O94 BRAKE_2 n.u. n.u. n.u. Bit 0: Bit 1: Bit 2: Bit 3: Bit 4: Bit 5: Bit 6: Control signals valid n.u. n.u. n.u. n.u. Clear alarm Modification to transmitted data record Acknowledge «Modification to received data record» 3 Bit 0: Bit 1: Bit 2: Bit 3: Bit 4: Bit 5: Bit 6: n.u. n.u. n.u. Remote control via Profibus-DP Incorrect nominal value Common alarm Acknowledge «Modification to transmitted data record» Modification to received data record Bit 7: Bit 7: 4 No. of transmitted data record = 128 Index of transmitted data record = X Selection of mill 1 = Mill 1 2 = Mill 2 5 Index of transmitted data record = X Selection of mill 1 = Mill 1 2 = Mill 2 No. of received data record = 1 6 No. of received data record = 1 7 Index of received data record = X Selection of mill 1 = Mill 1 2 = Mill 2 No. of transmitted data record = 128 Index of received data record = X Selection of mill 1 = Mill 1 2 = Mill 2 © Copyright 2007 Bühler AG MEAF-66499-1-en-0701 84 Hammer mill (DFCO) Transmitted data Nominal value Mill X Profibus-DP Protocol Byte 8 Received data 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 0 Name Description Bit 0 n.u. Bit 1 Acknowledge start request TRUE = The start request is acknowledged with the transition from FALSE to TRUE Bit 2 Request motor reverse TRUE = The mill is forced to start in reverse. The working hour counter is ignored. Bit 3 Request motor forward TRUE = The mill is forced to start forward. The working hour counter is ignored Bit 4 Heavy fraction flap open TRUE = Heavy fraction flap is opened Bit 5 Request sieve change Mill 1 At TRUE there is a wait until sieve change is completed. This is then confirmed with «Sieve change complete ». Bit 6 Request sieve change Mill 2 At TRUE there is a wait until sieve change is completed. This is then 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 «Fan is running» TRUE = Fan contactor is pulled in, which causes the fan to run 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 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 acknowledgement 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 Sieve change completed Is set when a sieve change is registered and the Bit «Request sieve change» was set Bit 6 Mill 2 Sieve change completed Is set when a sieve change is registered and the Bit «Request sieve change» was set Bit 7 «new values ready» 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 Bit 7 n.u. n.u. 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 Bit 6 Bit 7 n.u. n.u. n.u. 0...7 See «Data for all devices» 1 2 3 Description 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 Mill 1 & 2 [0.1 s] 0 = inactiv 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 Mill X 0…100 [%] 14…15 Actual temperature Mill X –10.0…150.0 [°C] Actual temperature of the hammer mill if the temperature option is present. 16 Status flap valve 1 2 3 4 Flap is not in defined position Flap in position Mill 1 Flap in center position Flap in position Mill 2 17 Status main motor Mill X 1 2 3 4 Motor is stopping Motor is braked Motor is stopped Motor is running, sense of direction forward Motor is running, sense of direction in reverse Motor is starting An error is present 5 6 7 18 Actual feed roll frequency 19 n.u. 20…21 Emptying time Mill 1 & 2 20 n.u. 23 Alarm No. 0…100 [Hz] Actual frequency of frequency converter of the feed roll [0.1 s] Emptying time of the hammer mill 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 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 21 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 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 21 n.u. = not used (data are set to 0 by DFCO) MEAF-66499-1-en-0701 © Copyright 2007 Bühler AG Profibus-DP Protocol 21 Examples 91 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. 0 1 2 3 4 5 6 7 Hex 0 – – 0 0 0 1 0 0 8 9 10 11 12 13 14 X 15 16 X 17 18 19 20 21 22 X 23 – 1 Byte xxxx xxx0 Query non-erasable total Transmitted data (output at host device) 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) 2 3 4 5 6 7 Hex X – – X 0 0 1 0 8 9 10 11 X 12 13 14 15 X 16 17 18 19 20 21 22 23 X X – X X Non-e. total 1 1 0 0 Byte 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) –) © Copyright 2007 Bühler AG Indeterminate value Not used 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) 1 2 3 4 5 6 7 Hex 0 – – 0 80 0 1 0 8 9 10 11 12 13 14 2710 15 16 17 18 19 20 21 22 0 23 – 1 10‘000 0 128 Byte In order to be able to transmit a nominal rate, the transmitted data record 128 must be selected (byte 4). 1 2 3 4 5 6 7 Hex 1 – – 1 0 0 1 0 0 8 9 10 11 12 13 14 X 15 16 17 18 19 20 21 22 X 23 – 1 0 0000 0001 Byte 0000 0001 Step 2, start flow balancer (actual rate remains requested) Transmitted data (output at host device) 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) 2 3 4 5 6 7 Hex X – – X 0 0 1 0 8 9 10 11 X 12 13 14 15 16 17 X 18 19 X 20 21 22 23 – X X Actual rate 1 1 0 0 Byte 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 1 2 3 4 5 6 7 Hex 0 – – 1 0 0 1 0 0 8 9 10 11 X 12 13 14 15 X 16 17 18 19 20 21 22 23 – 1 0 0000 0000 Byte 0000 0001 Step 3: stop flow balancer (actual rate remains requested) Transmitted data (output at host device) Byte 0 / bit 0 = 0 : stop dosing X) –) © Copyright 2007 Bühler AG Indeterminate value Not used 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/Oaddresses 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 IMST : KY 0,5 FCT : KC RI GCGR : KM 00000000 00000000 TYP : KY 0,100 STAD : KF +10 LENG : KF -1 ERR : DW 9 Default address IM308C IM-Nr.=0;DP-Adr-Slave=5 Function=RI (Read Input) Not used DB/DX=0 (DB=0/DX=1),No=100 StartAdress=10 (DW10) Length in byte = -1 (Joker) ErrCode L=CntByte R=Error Write output SPA FB 192 NAME :IM308C DPAD : KH F800 IMST : KY 0,5 FCT : KC WO GCGR : KM 00000000 00000000 TYP : KY 0,100 STAD : KF +50 LENG : KF -1 ERR : DW 49 default address IM308C IM-Nr.=0;DP-Adr-Slave=5 Function=WO (Write Output) Not used DB/DX=0 (DB=0/DX=1),No=100 StartAdress=10 (DW50) Length in byte = -1 (Joker) 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 RET_VAL:=#tmpReturn RECORD :=#DPDataR 1.Inputadress of the Slave: 256 int: 0=no error, otherwise errorcode 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 RECORD :=#DPDataW RET_VAL:=#tmpReturn 1.Outputadress of the Slave: 256 Struct 24 Byte in FB declaration * 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