May
EZ204-DP PROFIBUS-DP Slave Interface
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
Target readership
About This Manual
Device designation
Device designation
Writing conventions
Abbreviations
EZ204-DP
System overview
Device setup
Device setup
EZ700/800, EZD-CP8
Improper use
EZ800/EZD-CP8
Improper use
Page
Connecting EZ204-DP to the basic unit
Installation
Supply
Connecting the power
Connecting PROFIBUS-DP
Pin Signal name Designation
PROFIBUS-DP connection assignment
Bus terminating resistors
EMC wiring
Electrical isolation
Electrical isolation
Parameters Cable type a
Maximum distances/bus cable
Baud rate Max. cable length Kbit/s Type a cable
Baud rate Max. cable length Kbit/s Type B cable
Page
Initial power up
Device Operation
Basic unit GW display
Setting the address on the basic unit with a display
Setting the PROFIBUS-DP station
Information on the 4th display line
Setting the address using EZSoft
BUS LED, Function
Status LEDs
Status LEDs
POW LED, Function
Device Operation
Slave modules
PROFIBUS-DP Functions
GSD file
Diagnostics data
Profibus certification
Page
PROFIBUS-DP master
Inputs/Outputs, EZ700/800/EZD Operating Mode
Inputs/Outputs, EZ700/800/EZD Operating Mode
EZ/EZD operating mode Bit Stop/Run
Byte Meaning Value
Output Bit
Inputs 3 bytes module operating mode, S1 S8
R1 R8
Index for transferring valid data
EZ/EZD operating mode Bit
Outputs 3 bytes module operating mode, R9
Explanation
Bit Input
Byte 2 Write status of R1 to R8
Byte Meaning Value Status of R1 to R8
Outputs 1 byte module R1 R8
Control commands for EZ700
Byte 0 Toggle byte
Procedure
Data exchange procedure
Telegram structure
Byte Meaning Value hex, sent by Master Slave
Byte Contents Value hex
Byte Contents Operand Value hex
Switching rule bit array
Data
Difference
Change Month Day Rule2 Rule1
Read/write image data
Read/write image data
General notes on working with image data
Operands Meaning Read Type Write
Overview
Data Bit 7 6 5 4 3 2 1
Analog value comparators/threshold comparators A1 A16
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
Data Bit 5 4 3 2 1 Bit 7 6 5 4 3 2 1
Example N markers are read
Data Bit 7 6 5
Operating hours counters O1 O4
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
Data Bit 7 6 T10 T16
Timing relays T1 T16
Year time switch Y1 Y8
Master reset Z1 Z3 Telegram structure
Day time switch ö1 ö8
General notes
Read/write function block data
Read/write function block data
Index Operand Read Write Hex
Meaning Bit Appears Parameter menu
Compare
Use as constant Therefore can be written to
Counter relays C1 C16 Telegram structure
Counter mode
Meaning Bit Appears in the parameter menu
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
Timer mode
Time base
Use as constant and therefore can be written to
Bit FB input/output Data
Example Time setpoint 1 is to be read
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
Channel A, Index 11/12/13
Meaning Bit
Menu
Byte Meaning Slave transmits Value hex
Analysis error codes via EZ-LINK
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
IW0
Operands Meaning Read/write Command
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
Operand Len Type Index
Reading and writing markers
Applies to Left = Most Right = Least
Significant bit, byte
Word
Result Data 1 = 01hex J M62 was set
119
120
Operands Meaning Read/write Type
Analog value comparators A01 .. A32 Telegram structure
Bit FB output Data
Q12
Data Hex
Arithmetic function blocks AR01 .. AR32 Telegram structure
ZE1 CY1
126
EQ2
Mode Data 1 hex Operating mode
128
Data 1 Operating mode hex
130
ZE1
Counters C01 .. C32 Telegram structure
Index Operand Value Read Write Hex
+2147483647
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
ZE4 CY5 FB6 OF7
Operand Value Read Write Index Hex
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
UNP
Data Operating mode
Signal smoothing filters FT01 .. FT32 Telegram structure
151
152
Parameters Data Instance2
Mode Data
Day time switches HW01 .. HW32 Telegram structure
Weekday Hour Minute
Bit Date Weekday Hour Minute
Bit Date 4 = 25hex Date 3 = 7Bhex
Bit Date 2 = 0Bhex Date 1 = 62hex Weekday Hour Minute
Year time switches HY01 .. HY32 Telegram structure
Bit Date Year Month Day
Year Month Day
Index 2 5, Parameter channels a D Bit Date
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
Para Data Operating mode Meters
Mode Data Operating mode
178
179
Page
Appendix
What Happens If ...?
Event Explanation Remedy
Command value hex
Overview of commands
184
Byte Image data Command Len Type Index Hex Dec
Byte Date and time Command Len Index Hex
Byte Function blocks Command Type Instance Hex
Technical Data
Technical Data General
Ambient temperatures
Electromagnetic compatibility EMC
Ambient mechanical conditions
LEDs
Power supply
Dielectric strength
Tools and cable cross-sections
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