Contents
EZ204-DP PROFIBUS-DP Slave Interface
May
Page
Before commencing the installation
MN05013001E
Contents
Inputs/Outputs, EZ700/800/EZD Operating Mode
Analog value comparator/threshold comparator
Appendix
Glossary 193 Index 201
Page
About This Manual
Target readership
Device designation
Device designation
Abbreviations
Writing conventions
EZ204-DP
System overview
Device setup
Device setup
EZ700/800, EZD-CP8
EZ800/EZD-CP8
Improper use
Improper use
Page
Installation
Connecting EZ204-DP to the basic unit
Connecting the power
Supply
Pin Signal name Designation
Connecting PROFIBUS-DP
PROFIBUS-DP connection assignment
EMC wiring
Bus terminating resistors
Electrical isolation
Electrical isolation
Parameters Cable type a
Baud rate Max. cable length Kbit/s Type a cable
Maximum distances/bus cable
Baud rate Max. cable length Kbit/s Type B cable
Page
Device Operation
Initial power up
Basic unit GW display
Setting the address on the basic unit with a display
Setting the PROFIBUS-DP station
Setting the address using EZSoft
Information on the 4th display line
Status LEDs
Status LEDs
POW LED, Function
BUS LED, Function
Device Operation
PROFIBUS-DP Functions
Slave modules
Diagnostics data
GSD file
Profibus certification
Page
Inputs/Outputs, EZ700/800/EZD Operating Mode
PROFIBUS-DP master
EZ/EZD operating mode Bit Stop/Run
Inputs/Outputs, EZ700/800/EZD Operating Mode
Byte Meaning Value
Inputs 3 bytes module operating mode, S1 S8
Output Bit
R1 R8
EZ/EZD operating mode Bit
Outputs 3 bytes module operating mode, R9
Explanation
Index for transferring valid data
Bit Input
Byte 2 Write status of R1 to R8
Outputs 1 byte module R1 R8
Byte Meaning Value Status of R1 to R8
Control commands for EZ700
Procedure
Byte 0 Toggle byte
Telegram structure
Data exchange procedure
Byte Meaning Value hex, sent by Master Slave
Byte Contents Operand Value hex
Byte Contents Value hex
Switching rule bit array
Difference
Data
Change Month Day Rule2 Rule1
Read/write image data
Read/write image data
General notes on working with image data
Overview
Operands Meaning Read Type Write
Analog value comparators/threshold comparators A1 A16
Data Bit 7 6 5 4 3 2 1
Counters C1 C16
Text function blocks D1 D16
Local inputs I1
Byte 5 to 6 Data 1 to Bit I10 I16
Local analog inputs IA1 IA4
Example telegram for reading the value at the analog input
Markers M1 M16/N1 N16 Telegram structure
Example Marker M13 is set
Markers M1 M16/N1 N16
Example N markers are read
Data Bit 5 4 3 2 1 Bit 7 6 5 4 3 2 1
Operating hours counters O1 O4
Data Bit 7 6 5
Local P buttons P1 P4
Example Data 1 = 2hex J P3 is active
Local outputs Q1 Q8
Inputs/outputs of EZ-LINK R1 R16/S1 S8
Data Bit
Timing relays T1 T16
Data Bit 7 6 T10 T16
Year time switch Y1 Y8
Master reset Z1 Z3 Telegram structure
Day time switch ö1 ö8
Read/write function block data
General notes
Read/write function block data
Index Operand Read Write Hex
Compare
Meaning Bit Appears Parameter menu
Use as constant Therefore can be written to
Counter relays C1 C16 Telegram structure
Meaning Bit Appears in the parameter menu
Counter mode
Use as constant and therefore can be
Example Actual value of C3 is to be read
Operating hours counters O1 O4 Telegram structure
Use in the program
Timing relays T1 T16 Telegram structure
Index Operand Read Write Hex
Time base
Timer mode
Use as constant and therefore can be written to
Example Time setpoint 1 is to be read
Bit FB input/output Data
Year time switch Y1 Y8 Telegram structure
Meaning Bit 3 2 1 Appears in the parameter menu
FB output Status 1, if the count condition is fulfilled
Day time switch Ö1 Ö8 Telegram structure
Index Operand Read Write Hex
Meaning Bit
Channel A, Index 11/12/13
Menu
Analysis error codes via EZ-LINK
Byte Meaning Slave transmits Value hex
Error Description code
EZ800/EZD Control Commands
4 3 2 1
Read/write date and time
Read/write date and time
Winter/summer time, DST Telegram structure
Read/write date and time
Example
Operands Meaning Read/write Command
IW0
Read local inputs IW0
Example Read local inputs IW0
Read inputs of the stations IW1 to IW8
Read local analog inputs IA1 to IA4
104
Read local diagnostics ID1 to ID16
Byte 5 to 6 Data 1 to Bit
107
Byte5 Data
Reading and writing local analog output QA1
Reading local P buttons
111
Reading RW.. inputs/SW.. outputs from EZ-LINK
113
114
RN1 SN1 RN8 SN8
Reading and writing markers
Operand Len Type Index
Significant bit, byte
Applies to Left = Most Right = Least
Word
Result Data 1 = 01hex J M62 was set
119
120
Operands Meaning Read/write Type
Analog value comparators A01 .. A32 Telegram structure
Q12
Bit FB output Data
Data Hex
Arithmetic function blocks AR01 .. AR32 Telegram structure
ZE1 CY1
126
Mode Data 1 hex Operating mode
EQ2
128
Data 1 Operating mode hex
130
ZE1
Counters C01 .. C32 Telegram structure
+2147483647
Index Operand Value Read Write Hex
Frequency counters CF01 .. CF04 Telegram structure
ZE2 FB3 OF4
High-speed counters CH01 .. CH04 Telegram structure
EN1 SE2 RE4
Incremental encoder counters CI01 .. CI02 Telegram structure
Operand Value Read Write Index Hex
ZE4 CY5 FB6 OF7
Comparators CP01 .. CP32 Telegram structure
GT1 EQ2 LT3
Text output function blocks D01 ..D32 Telegram structure
143
144
Data function blocks DB01 .. DB32 Telegram structure
146
PID controllers DC01 .. DC32 Telegram structure
148
Data Operating mode
UNP
Signal smoothing filters FT01 .. FT32 Telegram structure
151
152
Mode Data
Parameters Data Instance2
Day time switches HW01 .. HW32 Telegram structure
Bit Date Weekday Hour Minute
Weekday Hour Minute
Bit Date 2 = 0Bhex Date 1 = 62hex Weekday Hour Minute
Bit Date 4 = 25hex Date 3 = 7Bhex
Year time switches HY01 .. HY32 Telegram structure
Bit Date Year Month Day
Index 2 5, Parameter channels a D Bit Date
Year Month Day
160
161
Master reset function blocks MR01 .. MR32 Telegram structure
ALL
Numerical converters NC01 .. NC32 Telegram structure
EN1
Operating hours counters OT01 .. OT04 Telegram structure
RE1 EN2
168
169
170
171
Synchronize clock function block SC01 Telegram structure
Set cycle time function block ST01 Telegram structure
174
Timing relays T01 .. T32 Telegram structure
ST1 EN2 RE3
Mode Data Operating mode
Para Data Operating mode Meters
178
179
Page
What Happens If ...?
Appendix
Event Explanation Remedy
Command value hex
Overview of commands
184
Byte Date and time Command Len Index Hex
Byte Image data Command Len Type Index Hex Dec
Byte Function blocks Command Type Instance Hex
Technical Data General
Technical Data
Ambient temperatures
Ambient mechanical conditions
Electromagnetic compatibility EMC
Power supply
Dielectric strength
Tools and cable cross-sections
LEDs
PROFIBUS-DP
Dimensions
Dimensions
Page
Glossary
CPU
EMC
LSB
Namur
198
Uart
Page
Index
EZ800/EZD
Inputs, network stations
POW LED
Transfer rates Transmit data, network stations
Page
Page
USA