Eaton Electrical EZ204-DP User Manual

EZ204-DP PROFIBUS-DP Slave Interface

User Manual
May 2005
For more information visit: www.EatonElectrical.comMN05013001E
Warning! Dangerous electrical voltage!
Before commencing the installation
• Disconnect the power supply of the device.
• Ensure that devices cannot be accidentally restarted.
• Verify isolation from the supply.
Short circuit to earth.
• Cover or enclose neighboring units that are live.
• Follow the engineering instructions (AWA) of the device concerned.
• Only suitably qualified personnel in accordance with EN 50110-1/-2 (VDE 0105 Part 100) may work on this device/system.
• Before installation and before touching the device ensure that you are free of electrostatic charge.
• The functional earth (FE) must be connected to the protective earth (PE) or to the potential equalization. The system installer is responsible for implementing this connection.
• Connecting cables and signal lines should be installed so that inductive or capacitive interference does not impair the automation functions.
• Install automation devices and related operating elements in such a way that they are well protected against unintentional operation.
• Suitable safety hardware and software measures should be implemented for the I/O interface so that a line or wire breakage on the signal side does not result in undefined states in the automation devices.
• Ensure a reliable electrical isolation of the low voltage for the 24 volt supply. Only use power supply units complying with IEC 60364-4-41 (VDE 0100 Part 410) or HD
384.4.41 S2.
• Deviations of the mains voltage from the rated value must not exceed the tolerance limits given in the specifications, otherwise this may cause malfunction and dangerous operation.
Eaton
Safety instructions
For more information visit: www.EatonElectrical.comMN05013001E I
• Emergency stop devices complying with IEC/EN 60204-1 must be effective in all operating modes of the automation devices.Unlatching the emergency-stop devices must not cause restart.
• Devices that are designed for mounting in housings or control cabinets must only be operated and controlled after they have been installed with the housing closed. Desktop or portable units must only be operated and controlled in enclosed housings.
• Measures should be taken to ensure the proper restart of programs interrupted after a voltage dip or failure. This should not cause dangerous operating states even for a short time. If necessary, emergency-stop devices should be implemented.
• Wherever faults in the automation system may cause damage to persons or property, external measures must be implemented to ensure a safe operating state in the event of a fault or malfunction (for example, by means of separate limit switches, mechanical interlocks etc.).
For more information visit: www.EatonElectrical.com MN05013001EII

Contents

About This Manual......................................................7
Target readership..........................................................7
Other manuals on the device........................................7
Device designation........................................................8
Abbreviations..............................................................10
Writing conventions.....................................................10
1 EZ204-DP...................................................................11
System overview.........................................................12
Device setup...............................................................13
Device function description.........................................14
– EZ700/800, EZD-CP8.. ..........................................14
– EZ800/EZD-CP8.. .................................................. 15
Improper use...............................................................15
2 Installation.................................................................17
Connecting EZ204-DP to the basic unit......................17
Connecting the power supply......................................18
Connecting PROFIBUS-DP........................................19
PROFIBUS-DP connection assignment......................19
Bus terminating resistors............................................20
EMC wiring..................................................................20
Electrical isolation.......................................................21
Transfer rates – automatic baud rate detection..........22
Maximum distances/bus cable lengths.......................22
3 Device Operation......................................................25
Initial power up............................................................25
Setting the PROFIBUS-DP station address................26
– Setting the address on the basic unit with a display 26
– Setting the address using EZSoft ...........................28
Status LEDs................................................................29
– POW LED, Function ...............................................29
– BUS LED, Function ................................................29
Cycle time of EZ basic unit.........................................30
For more information visit: www.EatonElectrical.com 1MN05013001E
Contents
4 PROFIBUS-DP Functions.........................................31
Slave modules............................................................31
Diagnostics data.........................................................32
GSD file ......................................................................32
PROFIBUS certification..............................................33
5 Inputs/Outputs, EZ700/800/EZD Operating Mode..35
“Inputs 3 bytes” module: operating mode, S1 – S8 ....36
“Inputs 1 byte” module: S1 – S8.................................38
“Outputs 3 bytes” module: operating mode,
R9 – R16, R1 – R8 .....................................................38
“Outputs 1 byte” module: R1 – R8..............................42
6 Control commands for EZ700..................................43
Data exchange procedure ..........................................43
Read/write image data................................................49
– General notes on working with image data ............49
– Overview ................................................................ 50
– Analog value comparators/threshold comparators:
A1 – A16 ................................................................ 51
– Counters: C1 – C16 ...............................................52
– Text function blocks: D1 – D16 ..............................53
– Local inputs: I1 – I16 ..............................................54
– Local analog inputs: IA1 – IA4 ...............................56
– Markers: M1 – M16/N1 – N16 ................................58
– Markers: M1 – M16/N1 – N16 ................................60
– Operating hours counters: O1 – O4 .......................62
– Local P buttons: P1 – P4 ........................................63
– Local outputs: Q1 – Q8 ..........................................65
– Inputs/outputs of EZ-LINK: R1 – R16/S1 – S8 .......66
– Timing relays: T1 – T16 .........................................68
– Year time switch: Y1 – Y8 ......................................69
– Master reset: Z1 – Z3 .............................................70
– 7-day time switch:
ö1 – ö8 ..................................... 71
Read/write function block data....................................72
– General notes .........................................................72
– Overview ................................................................ 72
For more information visit: www.EatonElectrical.com
MN05013001E2
– Analog value comparator/threshold comparator:
A1 – A16 ................................................................ 73
– Counter relays: C1 – C16 .......................................76
– Operating hours counters: O1 – O4 .......................79
– Timing relays: T1 – T16 .........................................81
– Year time switch: Y1 – Y8 ......................................85
– 7-day time switch:
Ö1 – Ö8 ..................................... 88
Analysis – error codes via EZ-LINK............................91
7 EZ800/EZD Control Commands...............................93
Data exchange procedure...........................................93
Read/write date and time............................................95
– Winter/summer time, DST ......................................96
Read/write image data................................................99
– Overview ................................................................ 99
– Read local inputs IW0 ..........................................100
– Read inputs of the stations IW1 to IW8 ................102
– Read local analog inputs IA1 to IA4 .....................103
– Read local diagnostics ID1 to ID16 ......................105
– Read and write local QW0 outputs/outputs of the
stations QW1 to QW8 ..........................................107
– Reading and writing local analog output QA1 ......109
– Reading local P buttons .......................................110
– Reading RW.. inputs/SW.. outputs from EZ-LINK 112 – Reading receive data network RN1 .. RN32/
send data network SN1 .. SN32 ...........................114
– Reading and writing markers ...............................116
Read/write function block data..................................120
– General notes .......................................................120
– Overview .............................................................. 121
– Analog value comparators A01 .. A32 ..................122
– Arithmetic function blocks AR01 .. AR32 .............124
– Block compare function blocks BC01 .. BC32 ......126
– Block transfer function blocks BT01 .. BT32 ........128
– Boolean sequence function blocks BV01 .. BV32 130
– Counters C01 .. C32 ............................................132
– Frequency counters CF01 .. CF04 .......................134
– High-speed counters CH01 .. CH04 .....................136
– Incremental encoder counters CI01 .. CI02 .........138
– Comparators CP01 .. CP32 .................................140
For more information visit: www.EatonElectrical.comMN05013001E 3
Contents
– Text output function blocks D01 ..D32 .................142
– Data function blocks DB01 .. DB32 ......................145
– PID controllers DC01 .. DC32 ..............................147
– Signal smoothing filters FT01 .. FT32 ..................150
– Receive network data function blocks
GT01 .. GT32 .......................................................152
– 7-day time switches HW01 .. HW32 .....................154
– Year time switches HY01 .. HY32 ........................157
– Value scaling function blocks LS01 .. LS32 .........160
– Master reset function blocks MR01 .. MR32 ........162
– Numerical converters NC01 .. NC32 ....................164
– Operating hours counters OT01 .. OT04 ..............166
– Send network data function blocks PT01 .. PT32 168 – Pulse width modulation function blocks
PW01 .. PW02 ......................................................170
– Synchronize clock function block SC01 ...............172
– Set cycle time function block ST01 ......................173
– Timing relays T01 .. T32 ......................................175
– Value limitation function blocks VC01 .. VC32 .....178
Appendix .................................................................181
What Happens If ...?.................................................181
Overview of commands............................................182
– EZ700 ...................................................................182
– EZ800/EZD ..........................................................185
Technical Data..........................................................187
– General ................................................................187
– Ambient temperatures ..........................................187
– Ambient mechanical conditions ............................188
– Electromagnetic compatibility (EMC) ...................188
– Dielectric strength ................................................189
– Tools and cable cross-sections ............................189
– Power supply ........................................................189
– LEDs .................................................................... 189
– PROFIBUS-DP .....................................................190
Dimensions...............................................................191
For more information visit: www.EatonElectrical.com
MN05013001E4
Glossary ..................................................................193
Index ........................................................................201
For more information visit: www.EatonElectrical.comMN05013001E 5

About This Manual

Target readership This manual has been produced for automation technicians

and engineers. A thorough knowledge of the PROFIBUS-DP fieldbus and the programming of a PROFIBUS-DP master is required. You should also be familiar with the operation of the EZ control relay or EZD multi-function display.

Other manuals on the device The following operating manuals should be followed:

• EZ500/700 Series (MN05013003E)
• EZ800 Series (MN05013004E)
• EZD Series (MN05013005E) All manuals are available on the Internet for download as PDF
files. For a fast search enter the documentation number as the search criterion at www. EatonElectrical.com
.
For more information visit: www.EatonElectrical.com 7MN05013001E

Device designation This manual uses the following short names for equipment

types, as far as the description applies to all of these types:
• EZ512-..-..., EZ7..-..-... Type designation of the control relay, the point represents a
placeholder for all characters used.
• EZ500 for – EZ512-AB... – EZ512-AC – EZ521-DA… – EZ512-DC
• EZ700 for – EZ719-AB… – EZ719-AC… – EZ719-DA… – EZ719-DC… – EZ721-DC…
• EZ800 for – EZ819-... – EZ820-... – EZ821-... – EZ822-...
For more information visit: www.EatonElectrical.com MN05013001E8
• EZD-CP8.. for – EZD-CP8-ME – EZD-CP8-NT
• EZ-AB for – EZ512-AB... – EZ719-AB...
• EZ-AC for – EZ512-AC-.. – EZ719-AC – EZ8..-AC-...
• EZ-DC for – EZ512-DC-.. – EZ719-DC-.. – EZ8..-.DC-...
• EZ-DA for – EZ512-DA... – EZ719-DA...
Device designation
For more information visit: www.EatonElectrical.comMN05013001E 9

Abbreviations This manual uses abbreviations with the following meanings:

hex: Hexadecimal (number system with base 16) dec : Decimal (number system with base 10) bcd: binary coded decimal code
VR: Value Range PC: Personal Computer

Writing conventions Except for the first page of chapters and empty pages at the

end, the top left of the page shows the chapter title and the top right of the page shows the current section for greater clarity.
Xindicates actions to be taken.
Attention!
Warns of a hazardous situation that could result in damage to the product or components.
Caution!
Warns of the possibility of serious damage and slight injury.
Warning
Warns of the possibility of a hazardous situation that could result in major damage and serious or fatal injury or even death.
J
For more information visit: www.EatonElectrical.com MN05013001E10
Indicates interesting tips and additional information

1 EZ204-DP

The EZ204-DP communication module was developed for automation tasks using the PROFIBUS-DP fieldbus. The EZ204-DP is a gateway and can only be used in conjunction with the EZ700, EZ800 or EZD basic units. The EZ control relay or EZD device with a PROFIBUS-DP gateway always works as a slave station on the network.
For more information visit: www.EatonElectrical.com 11MN05013001E
EZ204-DP

System overview The EZ204-DP slaves are integrated in a PROFIBUS-DP

system.
a
b
Figure 1: Integration of EZ204-DP in the DP network
Master area, PLC or PCSlave area, e.g. EZ /EZD with DP interface
For more information visit: www.EatonElectrical.com
MN05013001E12

Device setup

f
e
d
POW
BUS
Device setup
a
c
Figure 2: View of the device
PROFIBUS-DP connection, 9-pole SUB-D socket24 V DC supply voltageDevice designation plateBUS communication LEDPOW operation LEDEZ-LINK socket
b
For more information visit: www.EatonElectrical.comMN05013001E 13
EZ204-DP

Device function description The EZ204-DP module allows the EZ and EZD series devices

to be connected to a PROFIBUS-DP communication network. The following data can be transferred by selecting the appropriate SDO/PDO:

EZ700/800, EZD-CP8..

• S1 to S8 Output data of the basic unit, RUN/STOP (read, as viewed from PROFIBUS-DP master)
• R1 to R16 Input data of the basic unit, RUN/STOP (write, as viewed from PROFIBUS-DP master)
• All function relay data (read, as viewed from the PROFIBUS-DP master)
– Timing relays – Counter relays – Time switches – Analog comparators – Weekday, time, summer/winter time (DST)
• The setpoints of the function relays (write, as viewed from PROFIBUS-DP master)
– Timing relays – Counter relays – Time switches – Analog comparators – Weekday, time, summer/winter time (DST)
For more information visit: www.EatonElectrical.com
MN05013001E14

Improper use

EZ800/EZD-CP8..

• All markers and EZ-NETdata
• Function blocks (read/write, as viewed from the master)
– Arithmetic function blocks – Frequency counters, high-speed counters, incremental
encoder counters – 7-day and year time switch – Operating hours counter – PID controllers – PWM (pulse width modulation) – Real-time clock
Improper use EZ/EZD must not be used as a replacement for safety PLCs
such as
• Burner,
• Emergency-stop,
• Crane or
• Two-hand safety controls.
For more information visit: www.EatonElectrical.comMN05013001E 15

2Installation

The same principles apply as for EZ700, EZ800 and EZD basic units with expansion devices.

Connecting EZ204-DP to the basic unit

1
2
4
3
1
Figure 3: Fitting + or removing + the EZ204-DP to the
basic unit
For more information visit: www.EatonElectrical.com 17MN05013001E
2 3 4
Installation
EZ-LINK
EZ7.. EZ8.. EZD-CP8..
Figure 4: Connection between basic unit and EZ204-DP
EZ204-DP

Connecting the power supply

The EZ204-DP unit is run on a 24 V DC power supply (
J Section “Technical Data” from Page 187).
Warning
Always ensure electrical safety isolation between the extra low voltage (SELV) and the 24 V power supply.
+24 V
0 V
> 1 A
+24 V 0 V
Figure 5: Standard connection
For more information visit: www.EatonElectrical.com
MN05013001E18

Connecting PROFIBUS-DP

Connecting PROFIBUS-DP Use a 9-pole SUB-D plug to connect the PROFIBUS-DP
interface to the PROFIBUS-DP fieldbus. For this use the special PROFIBUS-DP plug and the special PROFIBUS-DP cable available from the Eaton range of accessories. The type of cable used determines the permissible maximum bus length and the transfer rate.
PROFIBUS-DP connection assignment
5
9
4
8
3
7
2
6
1
4
3
8
5
6
CNTR-P
RxD/TxD-P (B/B')
RxD/TxD-N (A/A')
DGND
VP
Pin Signal name Designation
1 Not assigned ­2 Not assigned ­3 RxD/TxD-P (B Line) Receive/Send data P 4 CNTR-P / RTS Request to Send 5 DGND Data reference potential 6 VP +5V DC for external bus connection 7 Not assigned ­8 RxD/TxD-N (A-
Receive/Send data N
Line)
9 Not assigned -
Connections 3, 8 and the shield are sufficient for data transfer.
For more information visit: www.EatonElectrical.comMN05013001E 19
Installation

Bus terminating resistors The first and last station in a bus segment must be connected

to the bus with the bus terminating resistor switched on. The bus terminating resistor is switched externally. This external switch function can either be implemented as a separate bus terminating resistor or with a special Sub-D plug with an integrated bus termination.
Eaton's PROFIBUS-DP data plug enables both bus terminating resistors to be switched on and off.

EMC wiring Electromagnetic interference may have adverse effects on the

communication fieldbus. This can be minimized in advance by taking suitable EMC measures. These include:
• System design in accordance with EMC requirements,
• EMC cabling and
• Measures that prevent the occurrence of large potential differences,
• Correct installation of the PROFIBUS system (cable, connection of bus connector,...).
The effects of electromagnetic interference can be significantly reduced by fitting the shield. The following two figures illustrate how to fit the shield.
For more information visit: www.EatonElectrical.com
MN05013001E20

Electrical isolation

M4
EZB4-102-KS1
EZB4-102-KS1
Electrical isolation The following electrical isolation should be provided for the
interfaces of the EZ204-DP:
a
+ –
b
c
Figure 6: Potential isolation between the power supply and
outputs
Safe isolation of EZ-LINK 240 V ACSimple isolation of PROFIBUS-DP24 V DC supply voltage
For more information visit: www.EatonElectrical.comMN05013001E 21
Installation
Transfer rates – automatic baud rate detection

Maximum distances/bus cable lengths

The EZ204-DP module automatically detects the baud rate used in the communication network after it is switched on. However, this requires that at least one station sends valid telegrams in the network.
The EZ204-DP module detects the transfer rate automatically. The following transfer rates are supported:
• 9.6 Kbit/s to 12000 Kbit/s
Two types of bus cable are specified in IEC 61158. Cable type B should no longer be used with new applications because it is obsolete. Cable type A allows all transfer rates up to 12000 Kbit/s to be used. Cables for burial in the ground, festoon suspension and drum cables are also available.
The cable parameters are as follows:
Parameters Cable type A
Surge impedance in 135 ... 165 at 3 ... 20 MHz Effective capacitance (pF/m) < 30 Loop resistance (Ω/km) Core diameter (mm) > 0.64 Core cross-section (mm2) > 0.34
< 110
The cable parameters specified allow the following bus segment lengths.
For more information visit: www.EatonElectrical.com
MN05013001E22
Maximum distances/bus cable
Distance between stations when using Type A cable to IEC 61158:
Baud rate [Kbit/s]
9.6 1200
19.2
93.75 1200
187.5 1000 500 400 1500 200 3000 100 6000 100 12000
Max. cable length Type A cable [m]
1200
100
Distance between two stations when using Type B cable to IEC 61158:
Baud rate [Kbit/s]
9.6 1200
19.2
93.75
187.5 1000 500 1500
Max. cable length Type B cable [m]
1200 1200
400
For more information visit: www.EatonElectrical.comMN05013001E 23

3 Device Operation

Initial power up XBefore you switch on the device, verify that it is properly

connected to the power supply, to the bus connector and to the basic unit.
XSwitch on the power supply to the basic unit and the
PROFIBUS-DP expansion unit.
The Power LED of the EZ204-DP is lit. The BUS LED is off (no communication via PROFIBUS-DP).
The GW message (intelligent station connected) is displayed on the basic unit.
Basic unit GW display
EZ700 Flashing EZ800 Flashing EZD-CP8.. Flashing
As soon as the device is integrated in the PROFIBUS-DP network, the BUS LED is continuously lit (“static”) and the GW message is statically displayed, also on devices with a flashing GW message.
J
For more information visit: www.EatonElectrical.com 25MN05013001E
Valid data is only transferred via PROFIBUS-DP to the basic unit if the GW is displayed statically.
If the PROFIBUS-DP unit is factory set, the station address of the PROFIBUS-DP station must be set.
Device Operation

Setting the PROFIBUS-DP station address

Every PROFIBUS-DP station requires an unambiguous address in the PROFIBUS-DP structure. There are two ways of setting the PROFIBUS-DP addresses on the EZ204-DP:
• Using the integrated display and keypad on the EZ or EZD basic unit
• Using EZSoft on the PC.
Address range: 001 to 126

Setting the address on the basic unit with a display

Requirements:
• The basic unit (EZ700, EZ800 or EZD) and the EZ204-DP expansion unit must be fed with power.
• The basic unit has been unlocked (no password activated).
• The basic unit has a valid operating system version (J page 15).
• The basic unit must be in STOP mode.
• The EZ204-DP is not communicating with the PROFIBUS­DP master (Bus LED is off).
For more information visit: www.EatonElectrical.com
MN05013001E26
Loading...
+ 182 hidden pages