Date post: | 18-Nov-2014 |
Category: |
Documents |
Upload: | api-3727411 |
View: | 138 times |
Download: | 7 times |
15.720092-V1.0
TrueDos with PROFIBUS-DP optionAdditional Manual
PROFIBUS-DP en
2 15.720092-V1.0
ImprintTrueDos with PROFIBUS-DP optionAdditional Manual
Version 1.0
Issued byALLDOS Eichler GmbHReetzstraße 85 • 76327 Pfinztal (Söllingen)Postfach 1210 • 76318 PfinztalTel. ++49 (0) 72 40 61-0 / Fax. ++49 (0) 72 40 61-177Mail: [email protected]: www.alldos.com© 2004 by ALLDOS Eichler GmbH
Subject to change.
PROFIBUS-DP en
V1.0 III
Content
1 General .................................................................................41.1 Technical data ......................................................................41.2 Connecting the TrueDos to the PROFIBUS-DP V0 ..............5
1.2.1 PROFIBUS-DP V0 ............................................................ 51.2.2 Device master data file (GSD) .......................................... 5
2 Electrical Connections ..........................................................62.1 Connection to the TrueDos Pump ........................................6
2.1.1 Pin Assignment, Socket 6 ................................................. 62.1.2 Bus connection ................................................................. 7
2.2 Accessories: Connector for PROFIBUS-DP ........................73 Operating the Pump Using PROFIBUS-DP ..........................8
3.1 Activating Profibus ................................................................83.1.1 Display .............................................................................. 83.1.2 Opening the second function level ................................... 83.1.3 Activating PROFIBUS on the pump .................................. 93.1.4 Bus Error .......................................................................... 9
3.2 Communication Between the Profibus Master and the Pump ..................................................................................103.2.1 General / Classification of remote control and local
operation ......................................................................... 103.3 Data Protocol ......................................................................11
3.3.1 Remote control of pump using PROFIBUS-DP Data flow from the Profibus master to the pump ............ 11
3.3.2 Messages Returned from the PumpData flow from the pump to the Profibus master ............ 13
PROFIBUS-DP en
4 15.720092-V1.0
1 General
Note
These additional guidelines describe the connection of the TrueDos dosing pump with Profibus option to the PROFIBUS-DP V0 as a slave.
! Warning
First read the general operation instructions for the pump. Only the additional functions are described in these additional guidelines, “TrueDos pump with PROFIBUS-DP option”.
1.1 Technical dataPROFIBUSPROFIBUS-DP V0
Auto detect baud rate The following baud rates are recognized automatically:12Mbps, 6 Mbps, 3 Mbps, 1.5 Mbps,500kbps, 187 kbps, 93.75 kbps, 45.45 kbps, 19.2 kbps, 9.6 kbps
Maximum permitted baud rate (transfer rate)1.5 Mbps
Bus connectionVia M12 connector
Device name / variantsThe variant of the TrueDos pump with PROFIBUS-DP option is displayed on the nameplate of the pump as follows:
Type of protection: IP 65
Warning
IP 65 can only be guaranteed if the connectors have been screwed on correctly.
Index No. Pump Type Display Supply Voltage
E070 TrueDos 209 D Diagonal 110-120 / 220-240V 50/60Hz
E071 TrueDos 209 D Horizontal 110-120 / 220-240V 50/60Hz
E072 TrueDos 209 D Diagonal 24 V DC
E073 TrueDos 209 D Horizontal 24 V DC
E076 TrueDos 209 M Diagonal 110-115V 50/60Hz
E077 TrueDos 209 M Diagonal 220-240V 50Hz
E078 TrueDos 209 M Horizontal 110-115V 50/60Hz
E079 TrueDos 209 M Horizontal 220-240V 50Hz
PROFIBUS-DP en General
V1.0 5
1.2 Connecting the TrueDos to the PROFIBUS-DP V01.2.1 PROFIBUS-DP V0
DP (Decentralized Peripherals) is the communication protocol for fast data transfer at field level. Using this protocol, the bus master (e.g. SPS) communicates with decentralized field devices/bus slaves (e.g. dosing pumps, analysis devices) via a fast serial port.The communication functions are determined by the DP-V0 performance level. DP V0 stands for simple, fast, cyclical and deterministic exchange of process data between the bus master and the assigned slave devices.
1.2.2 Device master data file (GSD)The TrueDos with PROFIBUS-DP option is integrated into the PROFIBUS-DP V0 network using the device master data file (GSD), which must be integrated into the engineering system of the PROFIBUS network. This file contains the properties of the device, specifications on its communication capabilities and additional information such as diagnosis values.A CD is supplied for integration of the TrueDos pump with PROFIBUS-DP option into the device communication of the dosing pump (slave) / master (SPS).The CD contains:• A GSD file (device master data file)• An illustration of the TrueDos pump for integration into visualization
programs• Documentation
PROFIBUS-DP en
6 15.720092-V1.0
2 Electrical Connections
Warning
Electrical connections should only be connected by qualified personnel!First read the general operation instructions for the pump.IP 65 can only be guaranteed if the connectors have been screwed on correctly.
2.1 Connection to the TrueDos Pump
For the PROFIBUS-DP, a Y-M12 connector is attached to socket 6 of the pump. The bus is connected to the sockets of the Y-M12 connector using 2-pin Profibus cables.
2.1.1 Pin Assignment, Socket 6
6
1
2
3
45
Socket 6 Used for
Pin Assignment
1 +5 V Bus terminating resistors
2 RxD/TxD-N Received/sent data (line A)
3 GND
4 RxD/TxD-P Received/sent data (line B)
5Shielding/protective earth
PROFIBUS-DP en Electrical Connections
V1.0 7
2.1.2 Bus connectionIf the pump is the last participant in the bus, it must be equipped with a bus terminating resistor. The bus terminating resistor is screwed on to the Y-M12 plug.
2.2 Accessories: Connector for PROFIBUS-DP
Order No. Description
321-225 Y-M12 connector for PROFIBUS-DP, suitable for socket 6
321-224 Bus terminating resistor for PROFIBUS-DP
PROFIBUS-DP en
8 15.720092-V1.0
3 Operating the Pump Using PROFIBUS-DP 3.1 Activating Profibus
Note
First read the general operation instructions. Only the additional functions are described in this section, “Operating the Pump Using PROFIBUS-DP”.
3.1.1 DisplayAs soon as Profibus operation has been activated, the Profibus module starts trying to accept bus operation. While bus operation is functioning correctly, 'BUS' is shown in the display. If an error occurs, this is indicated by the flashing symbols 'error' and 'BUS'.
3.1.2 Opening the second function levelIn the second function level, Profibus operation is activated and the bus address (slave address) is entered.
Menu
keep pressed for 3 seconds
set code 111
Menu
DownUp
- Memory on / off- analog weighting
- display or reset of total dosing capacity
second function level
pump running (LED lights up green)
pump not running (LED lights up red)
- Flow on / off
StopStart
StopStart
StopStart
- display of operating hours
- Batch- Timer- Calibration- Profibus- Slow Mode
PROFIBUS-DP en Operating the Pump Using PROFIBUS-DP
V1.0 9
3.1.3 Activating PROFIBUS on the pump
The display shows the current PROFIBUS setting (default is OFF).1. To activate Profibus, press the 'Up' button.
– When Profibus operation is activated, 'BUS' appears in the display.2. Press the "Start/Stop" key.
– The current bus address appears in the display.3. Press the "Up"/"Down" keys to enter the desired bus address in the
range 000 - 126.• Press the "Menu" key.
– (Confirm the setting and move on to the next menu item.)or• Press the "Start/Stop" key.
– (Confirm the setting, close the second function level.)
3.1.4 Bus ErrorIf there is a problem with Profibus communication, this is indicated on the pump by the flashing symbols 'Error' and 'BUS'. The pump continues trying to establish bus communication.
Menu
Menu
Up
Down
Menu
108Down
Up
set bus addressindicationwith 'Up' / 'Down'
StopStart
OFF
On StopStart
OFFBUS
BUS
BUS
BUS
PROFIBUS-DP en
10 15.720092-V1.0
3.2 Communication Between the Profibus Master and the Pump
3.2.1 General / Classification of remote control and local operationDuring Profibus operation, the pump can still be operated locally or by (remote) control via the Profibus master (e.g. SPS).It is possible to allow local operation in addition to remote control via PROFIBUS-DP, but this can also be directly locked in the code.Independently of the way in which the pump is controlled, the current data such as dose volumes, pump status messages and error messages are sent from the pump (bus slave) to the Profibus master for further processing.
Note
Pump settings (in local operation) are not saved as new setpoints in the Profibus master. Instead they are simply sent to the Profibus master as status messages. As soon as the function "Release setpoint" or "Release operating mode" is executed in the Profibus master (automatically or manually), the settings from the Profibus master apply.
Remote Control via PROFIBUS-DPIn remote control via PROFIBUS, orders are sent from the Profibus master (e.g. SPS) to the bus slaves (e.g. the pump), which means the pump is controlled by control signals from the Profibus master. When using remote control via PROFIBUS, the following operating modes are possible:• Manual• Contact mode• Current control (0 - 20 mA and 4 - 20 mA)
Remote Start/Stop via PROFIBUS-DPStarting and stopping the pump using remote control via PROFIBUS has the same effects on the pump as external remote switching off via a contact signal at the "Remote On / Off" input port.External remote switching off, and switching off via PROFIBUS switch the pump off independently of each other.
Local OperationWhen operating the pump locally, the settings are made directly on the pump.All operating modes in manual, contact, or current control are available for local operation:• Manual• Contact mode• Batch dosing with manual/contact start• Timer mode with manual/contact start• Current control (0 - 20 mA and 4 - 20 mA)Local operation can be restricted using the code function or lock 'run' (locks the Start/Stop key).
PROFIBUS-DP en Operating the Pump Using PROFIBUS-DP
V1.0 11
3.3 Data ProtocolControl of the pump can be different depending on the Profibus master and the visualization software. For remote control of the pump via PROFIBUS and for feedback from the pump, the following basic functions and setting options are available:
3.3.1 Remote control of pump using PROFIBUS-DP Data flow from the Profibus master to the pump4 bytes are available for controlling the pump:
To control the pump using the Profibus master, proceed as follows:1. Select the operating mode (byte 1 / bit 1, 0)
• Manual• Contact mode• Current control 0 -20 mA mode• Current control 4 -20 mA mode
2. Release / confirm operating mode (byte 1 / bit 4)3. Enter setpoint (byte 3, 4 /
Enter hexadecimal or binary as a binary number with 16 bit)The setpoint depends on the operating mode:• For manual operating mode: Setpoint = volume flow
Enter in ml/h from 3 ml/h - 50,000 ml/h• For contact operating mode: Setpoint = Volume per contact
Enter in µl from 1 µl to 7680 µl• For analog operating mode 0 - 20 mA / 4 - 20 mA
Setpoint = Gradient of flow rateEnter the dosing rate at 20 mA in ml from 3 ml/h - 50,000 ml/h.
4. Release / confirm setpoint (byte 1 / bit 5)
Byte Data type Data length [Bytes]
1 Byte 1
2 Byte 1
3, 4unsigned 16Highbyte, Lowbyte
2
Bit Byte 1: Set and release operating mode, enter setpoint
1, 0
Bit 1 Bit 0 Operating mode0 0 Manual0 1 Contact1 0 Analog 0-20mA1 1 Analog 4-20mA
2, 3 Reserve
4 0 -> 1 = Confirmation (release) of operating mode
5 0 -> 1 = Confirmation (release) of setpoint
6, 7 Reserve
PROFIBUS-DP en
12 15.720092-V1.0
Note
The maximum flow rate of the pump must not be exceeded!For current control / analog operating mode, the setpoint (with or without weighting) must always be assigned with reference to 20 mA.Please refer to the additional description of current control in the operating instructions for the pump!
Setting and executing additional control functions• Remote On / Off (byte 2 / bit 0)
• Switches the pump on and off - for switching on, the pump cannot be manually stopped or have been switched off via external remote on/off. External remote switching off, and switching off via PROFIBUS switch the pump off independently of each other.
• Slow mode (byte 2 / bit 1)• Slow mode operation is switched on and off.
• Continuous operation for deaeration and suction (byte 2 / bit 2)• Deletion (resetting) of the total capacity dosed (byte 2 / bit 3)
• The display of the total capacity dosed (since the pump was last reset) is reset to zero.
• Error confirmation (byte 2 / bit 4)• Confirmation of an error that has occurred and restarting of the pump,
if it is on 'Start' locally• Dosing controller (byte 2 / bit 5)
• For TrueDos M, the dosing controller must always be switched on, for TrueDos D, an installed dosing controller can be switched on and off.
Bit Byte 2: Control functions
0Remote on/off0 = Off1 = On
1Slow mode0 = Off1 = On
2Continuous operation0 = Off1 = On
3Deletion (resetting) of the total capacity dosed0->1 = Reset the total capacity dosed display
4Error confirmation0->1 = Confirm error
5Dosing controller0 = Off1 = On
6, 7 Reserve
PROFIBUS-DP en Operating the Pump Using PROFIBUS-DP
V1.0 13
3.3.2 Messages Returned from the PumpData flow from the pump to the Profibus master8 bytes are available for returning messages from the pump:
The following data is sent from the pump to the Profibus master via PROFIBUS-DP:• Dosing flow / volume flow in ml/h (byte 1,2)
• For TrueDos M (with activated dosing controller), the measured volume flow is transferred,
• For TrueDos D, the entered setpoint is transferred (in ml/h).• Display of the total capacity dosed (byte 3, 4)
• Display of the total capacity dosed since the last deletionin dl (decilitres) .
• Error messages (byte 5, 6 / bit 15 - 0)• Dosing controller• Diaphragm breakage signal• External pre-empty signal• Empty signal• Hall sensor/Motor monitoring• Profibus communication• Current control - for operating mode "manual" 4 - 20 mA, an error
message is sent if the current input is < 2 mA.• Internal pre-empty signal (only TrueDos M)
Byte Data type Data length [Bytes]
1, 2unsigned 16Highbyte, Lowbyte
2
3, 4unsigned 16Highbyte, Lowbyte
2
5, 6 unsigned 16 2
7, 8 Byte 2
Bit Byte 5, 6: Error messages
0Dosing controller0 = No error1 = Error
1Diaphragm breakage safety device (MBS)0 = No error1 = Error
2Pre-empty signal0 = No error1 = Error
3Empty signal0 = No error1 = Error
PROFIBUS-DP en
14 15.720092-V1.0
• General status messages (byte 7, 8 / bit 4 - 0)• Current pump status: Pump off / on• Remote Off inactive / active• Dosing controller off / on• Slow mode off / on• Memory function (contact memory) off / on
• Status messages for current operating mode (byte 7, 8 / bit 11 -8)• Manual• Contact mode• Current control 0 - 20 mA mode• Current control 4 - 20 mA mode• Manual batch mode• Batch mode with contact control• Manual timer mode• Timer mode with contact control• Calibration
4Hall sensor/Motor monitoring0 = No error1 = Error
5Error in Profibus communication (inverse)0 = Error1 = No error
6Current control (<2mA in operating mode 4 to 20mA)0 = No error1 = Error
7, 8 Reserve
9 Internal pre-empty signal0 = No error1 = Error
10 - 15 Reserve
Bit Byte 7, 8: Status messages
0Pump status0 = Pump off1 = Pump on
1Remote off0 = inactive1 = active
2Dosing controller0 = Off1 = On
Bit Byte 5, 6: Error messages
PROFIBUS-DP en Operating the Pump Using PROFIBUS-DP
V1.0 15
3Slow mode0 = Off1 = On
4Memory function0 = Off1 = On
Bit 5 - 7 Reserve
11 - 08
Operating mode Bit 11 Bit 10 Bit 9 Bit 8Manual: 0 0 0 0Contact: 0 0 0 1Analog 0-20mA: 0 0 1 0Analog 4-20mA: 0 0 1 1Batch mode manual: 0 1 0 0Batch mode contact: 0 1 0 1Timer mode manual: 0 1 1 0Timer mode contact: 0 1 1 1Calibration: 1 0 0 0
12 - 15 Reserve
Bit Byte 7, 8: Status messages
PROFIBUS-DP en
16 15.720092-V1.0