For more information visit: www.EatonElectrical.comMN05013001E
Page 2
Page 3
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.comMN05013001EI
Page 4
• 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.comMN05013001EII
Page 5
Contents
About This Manual......................................................7
Index ........................................................................201
For more information visit: www.EatonElectrical.comMN05013001E5
Page 10
Page 11
About This Manual
Target readershipThis 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.com7MN05013001E
Page 12
Device designationThis 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
For more information visit: www.EatonElectrical.comMN05013001E8
• EZD-CP8.. for
– EZD-CP8-ME
– EZD-CP8-NT
Page 13
• 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.comMN05013001E9
Page 14
AbbreviationsThis 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.comMN05013001E10
Indicates interesting tips and additional information
Page 15
1EZ204-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.com11MN05013001E
Page 16
EZ204-DP
System overviewThe 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 PC
Slave area, e.g. EZ /EZD with DP interface
For more information visit: www.EatonElectrical.com
MN05013001E12
Page 17
Device setup
f
e
d
POW
BUS
Device setup
a
c
Figure 2:View of the device
PROFIBUS-DP connection, 9-pole SUB-D socket
24 V DC supply voltage
Device designation plate
BUS communication LED
POW operation LED
EZ-LINK socket
b
For more information visit: www.EatonElectrical.comMN05013001E13
Page 18
EZ204-DP
Device function descriptionThe 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
Page 19
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 useEZ/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.comMN05013001E15
Page 20
Page 21
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.com17MN05013001E
234
Page 22
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
Page 23
Connecting PROFIBUS-DP
Connecting PROFIBUS-DPUse 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
PinSignal nameDesignation
1Not assigned2Not assigned3RxD/TxD-P (B Line)Receive/Send data P
4CNTR-P / RTSRequest to Send
5DGNDData reference potential
6VP+5V DC for external bus connection
7Not assigned8RxD/TxD-N (A-
Receive/Send data N
Line)
9Not assigned-
Connections 3, 8 and the shield are sufficient for data transfer.
For more information visit: www.EatonElectrical.comMN05013001E19
Page 24
Installation
Bus terminating resistorsThe 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 wiringElectromagnetic 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
Page 25
Electrical isolation
M4
EZB4-102-KS1
EZB4-102-KS1
Electrical isolationThe 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 AC
Simple isolation of PROFIBUS-DP
24 V DC supply voltage
For more information visit: www.EatonElectrical.comMN05013001E21
Page 26
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 specified allow the following bus
segment lengths.
For more information visit: www.EatonElectrical.com
MN05013001E22
Page 27
Maximum distances/bus cable
Distance between stations when using Type A cable to
IEC 61158:
Baud rate
[Kbit/s]
9.61200
19.2
93.751200
187.51000
500400
1500200
3000100
6000100
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.61200
19.2
93.75
187.51000
500
1500–
Max. cable length
Type B cable
[m]
1200
1200
400
For more information visit: www.EatonElectrical.comMN05013001E23
Page 28
Page 29
3Device Operation
Initial power upXBefore 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
EZ800Flashing
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.com25MN05013001E
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.
Page 30
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 PROFIBUSDP master (Bus LED is off).
For more information visit: www.EatonElectrical.com
MN05013001E26
Page 31
Setting the PROFIBUS-DP station
XEnter the System menu by pressing DEL + ALT
simultaneously.
+
PASSWORD...
SYSTEM
GB D F E I..
CONFIGURATOR
XUse cursor buttons
PASSWORD...
SYSTEM
GB D F E I..
CONFIGURATOR
Í or Ú to select CONFIGURATOR
XConfirm your entry with OK
XWith EZ800/EZD devices select the LINK...
NET...
LINK...
XConfirm with OK.
For more information visit: www.EatonElectrical.comMN05013001E27
Page 32
Device Operation
EZ700 devices show the following dialog immediately:
DP-DEVICE
ADDRESS
INPUT: 0002
204-05.30- D
2 . . . 9 0 1 . . .
XSet the address:
J
Set the value of the current digit with
buttons.
Move to the next digit with
K
0 0 01JJ000 1
L
1 0 9 . . . 2 . . .
XPress OK to accept the address or
XAbort address entry.
Information on the 4th display line:
xxx - x x . x x - x x
204 -05 30- d
Í or Ú
ú or í.
I
Hardware version, Index: d
Software version, OS version 5.3
Device ID: EZ204-DP
Setting the address using EZSoft
Choose
Devices
J Communication J Configuration J Expansion
JEZ204-DP.
The menu is only available in Communication View,
J
For more information visit: www.EatonElectrical.com
therefore activate the Communication tab.
MN05013001E28
Page 33
Status LEDs
Status LEDsThe EZ204-DP expansion unit has two LEDs.
POW LED, Function
a
b
c
Figure 7:Function of the POW LED
LED continuously lit:
– Power supply present
– Communication with the basic unit aborted
LED flashing:
– Power supply present
– Communication with the basic unit correct
LED not lit:
– No power supply present
– Communication with the basic unit aborted
BUS LED, Function
a
b
Figure 8:Function of the BUS LED
LED continuously lit:
– PROFIBUS-DP communication correct
LED not lit:
– No PROFIBUS-DP communication present
For more information visit: www.EatonElectrical.comMN05013001E29
Page 34
Device Operation
Cycle time of EZ basic unitCommunication between the basic unit and EZ204-DP via EZ-
LINK increases the cycle time of the basic unit.
In extreme cases the cycle time may increase by 40 ms.
This should be taken into account for the reaction times of the
basic unit.
For more information visit: www.EatonElectrical.com
MN05013001E30
Page 35
4PROFIBUS-DP Functions
Slave modulesThe EZ204-DP expansion module is a PROFIBUS-DP slave
in compliance with IEC 61186/EN 50170.
You can select the following EZ204-DP slave modules via the
PROFIBUS-DP Configurator in the master PLC by using the
appropriate GSD file. These modules are described in detail
in chapters 5 and 6.
For more information visit: www.EatonElectrical.com31MN05013001E
Page 36
PROFIBUS-DP Functions
Diagnostics dataThe EZ204-DP device features the standard diagnostics in
accordance with the PROFIBUS specification.
Two additional diagnostics bytes are also sent.
Byte 0Length of additional diagnostics bytes
Fixed 02
hex
Byte 1Status of EZ-LINK
Value 00
Value 01
GSD fileA PROFIBUS-DP GSD file is required for selecting the device
and for running it on the PROFIBUS-DP communication bus.
The GSD file contains standard PROFIBUS station
descriptions.
The file “EZ204DP.gsd” can be obtained at
www.EatonElectrical.com
EZSoft CD ROM.
00000010
EZ-LINK is connected
hex
EZ-LINK is disconnected
hex
. The file is also available on the
For more information visit: www.EatonElectrical.com
MN05013001E32
Page 37
PROFIBUS certification
PROFIBUS certificationEZ204-DP was certified as a PROFIBUS-DP device by the
PROFIBUS User Organization. EZ204-DP contains the
PROFIBUS VPC3+ interface.
J
Irregular operation may occur under the following
conditions:
• When in a multimaster system Class I and Class II DP
masters with parameter or configuration data access the
slave at the same time (highly unlikely).
• Or if other masters based on PROFIBUS layer 2 are
connected.
For more information visit: www.EatonElectrical.comMN05013001E33
Page 38
Page 39
5Inputs/Outputs, EZ700/800/EZD
Operating Mode
The appropriate module must be selected in the slave
configuration in order for I/O data to be transferred between
the EZ204-DP slave and a PROFIBUS-DP master.
J
The terms “input data” and “output data” are used from the
point of view of the PROFIBUS-DP master.
PROFIBUS-DP master
Outputs
Write operation:
Output data
Inputs
R1 – R16
Inputs
Read operation:
Input data
EZ/EZD
Outputs
S1 – S8
For more information visit: www.EatonElectrical.comMN05013001E35
Page 40
Inputs/Outputs, EZ700/800/EZD Operating Mode
“Inputs 3 bytes” module:
operating mode, S1 – S8
J
EZ/EZD operating modeBit
with debounce00010000/1
without debounce00100000/1
The normal PROFIBUS-DP master data exchange with the
EZ204-DP slave is via input data bytes 0, 1, 2.
ByteMeaningValue
0Scan the operating mode
1Scan status of the EZ outputs S1 to
S8
2Not assigned
J Table 1
J Table 2
00
hex
Requirement:
The “Inputs, 3 bytes” module must have been selected.
The output data and control commands can now only be
used if you have selected the appropriate modules as well.
The master reads bytes 0, 1, 2 for the following data:
Table 1:Byte 0: Operating mode
76543210
Stop/Run
Example:
Value 21
For more information visit: www.EatonElectrical.com
EZ/EZD is in Run mode and is working with input
hex
debounce.
MN05013001E36
Page 41
“Inputs 3 bytes” module: operating mode, S1 – S8
Table 2:Byte 1: Status of S1 to S8 on the basic unit
OutputBit
76543210
S1 0/1
S20/1
S30/1
S40/1
S5 0/1
S60/1
S70/1
S80/1
Example:
Value 19
S5, S4 and S1 are active.
hex
Attention!
If control commands and I/O data are used at the same
time:
• While the control command is being executed, the inputs
will remain in the state before the control command was
called.
• After the “Control commands” data exchange has been
completed, the input bytes are refreshed.
For more information visit: www.EatonElectrical.comMN05013001E37
Page 42
Inputs/Outputs, EZ700/800/EZD Operating Mode
“Inputs 1 byte” module: S1 –S8When this module is selected, the master only receives 1 byte
(coil output data S1 to S8) via PROFIBUS.
ByteMeaningValue
0Scan status of the EZ
outputs S1 to S8
Requirement:
The “Inputs, 1 byte” module must have been selected.
The output data and control commands can now only be
used if you have selected the appropriate modules as well.
The normal PROFIBUS-DP master data exchange with the
EZ204-DP slave is provided with output data bytes 0, 1, 2.
ByteMeaningValue
0Set operating modeJ Table 3
1Set/reset the EZ/EZD inputs R9 to
R16
2Set/reset the EZ/EZD inputs R1 to R8J Table 5
Requirement:
The “Outputs; 3 bytes” module must have been selected.
The output data and control commands can now only be
used if you have selected the appropriate modules as well.
The master reads bytes 0, 1, 2 for the following data:
J Table 4
For more information visit: www.EatonElectrical.com
MN05013001E38
Page 43
“Outputs 3 bytes” module: operating mode, R9
Table 3:Byte 0: Operating mode
EZ/EZD operating modeBit
76543210
Index for setting the basic unit to the safety
state
Index for transferring valid data
RUN command
STOP command
0 = status “0”, 1 = status “1”
Explanation
Value 34
This value sets the EZ/EZD status from STOP to RUN. It is
only interpreted as a command and therefore does not permit
an additional transfer of data. The index value 14
used in this situation.
Value 44
This value sets the EZ/EZD status from RUN to STOP. It is
also used only as command and it therefore works in the same
way as the RUN command.
00000000
00010100
00110100
01000100
= 00110100
hex
= 01000100
hex
bin
bin
:
must be
hex
:
For more information visit: www.EatonElectrical.comMN05013001E39
For more information visit: www.EatonElectrical.com
R13, R12 and R9 should be active.
hex
MN05013001E40
Page 45
“Outputs 3 bytes” module: operating mode, R9
Table 5:Byte 2: Write status of R1 to R8
EZ/EZD
Input
R10/1
R20/1
R30/1
R40/1
R50/1
R60/1
R70/1
R80/1
Bit
76543210
Example:
Value 2B
R6, R4, R2 and R1 should be active.
hex
Attention!
If control commands and I/O data are used at the same
time:
• While the control command is being executed, the inputs
will remain in the state before the control command was
called.
• After the “Control commands” data exchange has been
completed, the output bytes are refreshed.
For more information visit: www.EatonElectrical.comMN05013001E41
Page 46
Inputs/Outputs, EZ700/800/EZD Operating Mode
“Outputs 1 byte” module:
R1–R8
J
When this module is selected, the master only sends 1 byte
(coil output data S1 to S8) via PROFIBUS.
ByteMeaningValue
0Status of R1 to R8
Requirement:
The “Outputs; 1 byte” module must have been selected.
The input data and control commands can now only be
used if you have selected the appropriate modules as well.
Note on using the 1 byte modules
The 1 byte modules are not available in all device
combinations. If any problems occur in handling, first check
the state of the GW message in the status display of the basic
unit:
GW static:The 1-byte mode can be used
GW flashing:Check the device version of the EZ204-
DP and the basic unit. If these are valid,
check the configuration in the PROFIBUS
network and the Configurator.
J Table 5 on Page 41
For more information visit: www.EatonElectrical.com
MN05013001E42
Page 47
6Control commands for EZ700
Data exchange procedureThe “Control commands 9 bytes” module allows extended
data exchange of the EZ700 on the PROFIBUS-DP
communication bus. This allows you to transfer services from
the following areas:
• Read/write image date and time (Page 45)
• Read/write image data (Page 49) and
• Read/write function block data (Page 72).
A data exchange procedure is required in order to ensure the
safe exchange of data via PROFIBUS-DP from master to
slave and vice versa.
Attention!
While a control command is being executed, the input and
output data will remain in the state before the control
command was called. Only after the “Control commands”
data exchange has been completed, will the I/O data be
refreshed.
Caution!
Only those values specified for the command code should
be used.
Check the values that you write in order to avoid
malfunctions.
Requirement:
The “Control commands 9 byte” module must have been
selected.
For more information visit: www.EatonElectrical.com43MN05013001E
Page 48
Control commands for EZ700
The master initiates the data exchange of the control
commands and the addressed slave responds.
During communication 9 data bytes (byte 0 = toggle byte,
bytes 1 to 8 information bytes) are sent via PROFIBUS.
The basic telegram structure is shown in the following
diagram.
Byte 0 is used to activate the sending of a control command
with the toggle function.
Bit76543210
01
/861
hex
0/10000001
hex
fixed
Toggle bit
Procedure
XTo send a command, bit 7 must be toggled, i.e. set either
from 1 to 0 or from 0 to 1.
XThen poll the toggle bit for the coupling modules response
until it has the same status as the toggle bit sent. This status
indicates to the master that the response to the sent
command is valid.
XDo not send a new command until you have received a
response (changing of the toggle bit), otherwise the
response of the previous command will be overwritten
before it can be read.
For more information visit: www.EatonElectrical.com
MN05013001E44
Page 49
Data exchange procedure
J
J
In order to use input/output data and control commands
simultaneously:
Only after the “Control commands” data exchange has
been completed, will the I/O data be refreshed.
All specified commands and parameters must be
transferred in hexadecimal format.
The following tables show the different control commands
possible. These essential control commands fall into three
essential categories – real-time clock, image and function
blocks.
Please also note the relevant description of the real-time
clock provided in the EZ500/700 manual (MN05013003E).
For more information visit: www.EatonElectrical.com
3: 2:00h3: We 3: on the third
4: 2:30h4: Thu 4: on the
5: 3:00h5: Fr5: on the last
MN05013001E48
Page 53
Read/write image data
Read/write image data
J
image data provided in the EZ500/700 manual
(MN05013003E) or in the EZSoft Help.
The latest edition of the manual is available as a PDF file
from the Internet at: www.EatonElectrical.com
Term: MN05013003E.
General notes on working with image data
Please also observe the relevant description of possible
Write
outputs
Read
inputs
System time
Image data
written
EZ/EZD
Program cycle
(0 ... 20 ms)
Interrupt function
(every 12 or 25 ms)
When writing to image data, it must be remembered that an
image (e.g. inputs, outputs,... ) used in the EZ700/EZ800/EZD
program is also written cyclically by the actual program. The
only image data that is unchanged is the data that is not used
in the program and is therefore not overwritten in the program
cycle. This operating principle also means that an image
written via EZ-LINK, such as output data is only then output at
the physical outputs of the EZ700/EZ800/EZD when the
control relay is in Run mode.
. Search
Image data
written
EZ-LINK
For more information visit: www.EatonElectrical.comMN05013001E49
For more information visit: www.EatonElectrical.com
MN05013001E54
Page 59
Read/write image data
Table 13:Byte 5 to 6: Data 1 to 2
Data 1
I10/1
I20/1
....
I80/1
Data 2 Bit 76543210
I90/1
I100/1
....
I160/1
Bit 76543210
For more information visit: www.EatonElectrical.comMN05013001E55
Page 60
Control commands for EZ700
Local analog inputs: IA1 – IA4
The analog inputs on the EZ700 basic unit (I7, I8, I11, I12) can
be read directly via PROFIBUS-DP. The 16-bit value is
transferred in Intel format (Low Byte first).
2) There are 16 M markers and 16 N markers. The markers are
addressed by Type and Index:
Use Type to select the M or N marker.
Use Index to select the marker number.
3) The marker is set if a value is written to the data byte that does
not equal zero. The marker is reset accordingly if the value 0
is written to data byte Data 1.
MasterSlave
8C–
Response:
Write successful–C1
Command
–C0
rejected
2
With M marker8686
With N marker8787
2
00 – 0F00 – 0F
1
For more information visit: www.EatonElectrical.com
MN05013001E58
Page 63
Read/write image data
Example:
Marker M13 is set.
ByteMeaningValue (hex), sent by
MasterSlave
0Toggle byteJ page 44
1Command: Write
Response:
Write successful–C1
Command
rejected
2Len0101
3Type
M marker8686
4Index0C0C
5 Data 10100
6 – 8Data 2 – 40000
1) Possible causes J page 91
8C–
–C0
1
For more information visit: www.EatonElectrical.comMN05013001E59
Page 64
Control commands for EZ700
Markers: M1 – M16/N1 – N16
Unlike the write operation, the marker read operation reads
the entire marker area of a particular marker type (M or N) is
read.
2) There are 16 M markers and 16 N markers. The markers are
addressed by Type and Index:
Use Type to select the M or N marker.
Use Index to select the marker number.
MasterSlave
88–
Response:
Read successful–C2
Command
rejected
M marker8686
N marker8787
2
–C0
0000
1
For more information visit: www.EatonElectrical.com
MN05013001E60
Page 65
Read/write image data
Table 15:Byte 5 to 6: Data 1 to 2
Data 1Bit 76543210
MN
M1N10/1
M2N20/1
.........
M8N80/1
Data 2Bit 76543210
M9N90/1
M10N100/1
...–...
M16N160/1
Example:
The N markers are read:
ByteMeaningValue (hex), sent by
MasterSlave
0Toggle byteJ page 44
1Command: Read
Response:
Read successful–C2
Command
rejected
2Len0101
3Type
N marker8787
4Index0000
5 Data 1 (Low Byte)
6 Data 2 (Low Byte)
7 – 8Data 3 – 4
1) Possible causes J page 91
88–
–C0
0004
0084
0000
1
The markers N3, N11 and N16 are set.
For more information visit: www.EatonElectrical.comMN05013001E61
Page 66
Control commands for EZ700
Operating hours counters: O1 – O4
The following commands are used to read the logic state of
the operating hours counters O1 – O4.
For more information visit: www.EatonElectrical.comMN05013001E65
J Q2, Q5 and Q7 are active.
hex
Page 70
Control commands for EZ700
Inputs/outputs of EZ-LINK: R1–R16/S1–S8
This service allows you to read the local R and S data and the
data of the NET stations (1 – 8) transferred via EZ-LINK, again
from the relevant EZ700 image.
1) The value can only be written if it is assigned to a constant in the
2) A 16-bit value is transferred in data bytes Data 1 – Data 2. It should be
MeaningBit 76543210
Appears in the parameter menu
Yes/no0/1
Counter mode
FB not used00
Up/down counter (N)01
High-speed up/down counter (H)10
Frequency counter (F)11
Use as constant and therefore can be written to
Counter setpoint S1
Unused bits––––
OperandReadWrite
2
×c
2
×c
program.
remembered that Data 1 is the low byte and Data 2 the high byte.
Table 28:Index 00 – Parameters
1
1
0/1
Example:
Data 1 (Byte 5) = 0x07
Meaning:
The values appear in the Parameter menu. The counter is
used in the mode of the frequency meter. The counter setpoint
1 is not assigned to a constant and cannot therefore be written
to.
For more information visit: www.EatonElectrical.comMN05013001E77
Page 82
Control commands for EZ700
Table 29:Index 01 – Control byte
Data 1Bit76543210
FB output––––C4RE3D2Q1
1) Switch contact
2) Count direction: 0 = up counting,
1 = down counting
1) The value can only be written if it is assigned to a constant in the
2) A 16-bit value is transferred in data bytes Data 1 – Data 2. It should be
OperandReadWrite
program.
remembered that Data 1 is the low byte and Data 2 the high byte.
1
2
×c
2
×c
1
1
For more information visit: www.EatonElectrical.com
MN05013001E82
Page 87
Read/write function block data
Table 34:Index 00 – Parameters
MeaningBit 76543210
Appears in the parameter menu
Yes/no0/1
Timer mode
On-delayed 000
Off-delayed001
On-delayed with random setpoint010
Off-delayed with random setpoint011
On and off delayed
(two time setpoints)
On and off delayed each with random setpoint (two time
setpoints)
Impulse transmitter110
Flashing relay (two time setpoints)111
Time base
FB not used00
Millisecond: S01
Second: M:S10
Minute: H:M11
Use as constant and therefore can be written to
Time setpoint S10/1
Time setpoint S20/1
100
101
Example:
Data 1 (Byte 5) = 0xAC
Meaning:
The values appear in the Parameter menu. The time is used
in the impulse transmitter mode with the Second time base.
The time setpoint S1 is assigned a constant and the time
setpoint S2 is assigned a variable such as I7, I8 C2...etc.
For more information visit: www.EatonElectrical.comMN05013001E83
Page 88
Control commands for EZ700
Table 35:Index 01 – Control byte
FB input/output Data 3– – – – ST4RE3EN2Q1
1) Switch contact
2) Enable, the timing relay is started (trigger coil)
MillisecondS16120 ms16.120 s
SecondsM:S1620 s26:52 Minutes
MinuteH:M1612 min67:04 Hours
For more information visit: www.EatonElectrical.com
= 1612
dec
MN05013001E84
Page 89
Read/write function block data
Year time switch: Y1 – Y8
Telegram structure
ByteMeaningValue (hex), sent by
MasterSlave
0Toggle byteJ page 44
1Command:
Read89–
Write8D–
Response:
Read successful–C2
Write successful–C1
Command
rejected
2TypeA2A2
3Instance
4IndexJ Table 36
5 – 8Data 1 – 4depending on index J Table 37
1) Pos sib le cau ses J page 91
2) EZ provides 8 year time switches Y1 to Y8 for use as required.
These can be addressed using the instance (0 – 7).
2
–C0
00 – 0700 – 07
1
For more information visit: www.EatonElectrical.comMN05013001E85
Page 90
Control commands for EZ700
Table 36:Operand overview
Index
(hex)
00ParametersJ Table 37×
01Control byteJ Table 38×
11Time point ON×c
12Time point OFF×c
21Time point ON×c
22Time point OFF×c
31Time point ON×c
32Time point OFF×c
41Time point ON×c
42Time point OFF×c
1) The value can only be written if it is assigned to a constant in
the program.
2) The switch points are transferred in data bytes Data 1 – Data 3.
OperandReadWrite
Channel A ×c
Channel B ×c
Channel C ×c
Channel D ×c
1
1
1
1
1
1
1
1
1
1
1
1
Table 37:Index 00 – Parameters
MeaningBit 76543210
Appears in the parameter menu
Channel A
Channel B
Channel C0/1
Channel D0/1
Unused bits––––
Example:
Data 1 (Byte 5) = 0x03 J The values of the year time switch
of channel A and B in the parameter menu.
For more information visit: www.EatonElectrical.com
0/1
0/1
MN05013001E86
Page 91
Read/write function block data
Table 38:Index 01 – Control byte
Data 1Bit 76543210
FB output–––––––Q1
1) Status 1, if the count condition is fulfilled.
Channel A, Index 11/12
Index 0x11 channel A ON time
Index 0x12 channel A OFF time
Data 1 (Byte 5) – Day
Data 2 (Byte 6) – Month
Data 3 (Byte 7) – Year
Example:
The year time switch channel A is to be activated on the
21.04.2004.
Index = 0x11
Data 1 = 0x15
Data 2 = 0x04
Data 3 = 0x04
1
The year time switch channel B is to be deactivated on the
05.11.2012.
Index = 0x22
Data 1 = 0x05
Data 2 = 0x0B
Data 3 = 0x0C
For more information visit: www.EatonElectrical.comMN05013001E87
Page 92
Control commands for EZ700
7-day time switch: Ö1 – Ö8
Telegram structure
ByteMeaningValue (hex), sent by
0Toggle byteJ page 44
1Command:
Read89–
Write8D–
Response:
Read successful–C2
Write successful–C1
Command
rejected
2TypeA1A1
3Instance
4IndexJ Table 39J Table 39
5 – 8Data 1 – 4depending on inde x, Table 40
1) Possible causes J page 91
2) EZ provides 8 7-day time switches
These can be addressed using the instance (0 – 7).
MasterSlave
–C0
2
00 – 0700 – 07
Ö1 to Ö8 for use as required.
1
For more information visit: www.EatonElectrical.com
MN05013001E88
Page 93
Read/write function block data
Table 39:Operand overview
Index
(hex)
00ParametersJ Table 40×
01Control byteJ Table 41×
11Channel A Day on/off×c
12On time×c
13Off time×c
21Channel B Day on/off×c
22On time×c
23Off time×c
31Channel C Day on/off×c
32On time×c
33Off time×c
41Channel D Day on/off×c
42On time×c
43Off time×c
1) The value can only be written if it is assigned to a constant in
2) A 16-bit value is transferred in data bytes Data 1 – Data 4. It
OperandReadWrite
1
1
1
1
1
1
1
1
1
1
1
1
the program.
should be remembered that Data 1 is the low byte and Data 2
the high byte.
For more information visit: www.EatonElectrical.comMN05013001E89
Meaning:
The values of the WH.. 7-day time switch from channel A and
B appear in the parameter menu.
Table 41:Index 01 – Control byte
Data 1Bit 76543210
FB output–––––––Q1
1) Status 1, if the count condition is fulfilled.
1
Channel A, Index 11/12/13
Index 0x11 channel A Weekday on/off
Data 1 (Byte 5) – Weekday on
Data 2 (Byte 6) – Weekday off
0x01 = Sunday ... 0x07 = Saturday
The 16-bit value equals 0x00 if the channel is not used.
Index 0x12 – On time (2 Byte)
Index 0x13 – Off time (2 Byte)
Data 1 (Byte 5) – Hour
Data 2 (Byte 6) – Minute
Example: On time at 13:43 p.m.
Data 1 = 0x0D
Data 2 = 0x2B
For more information visit: www.EatonElectrical.com
MN05013001E90
Page 95
Analysis – error codes via EZ-LINK
Analysis – error codes via
EZ-LINK
The EZ700 basic unit will return a defined error code in the
event of an incorrectly selected operating mode or an invalid
telegram. The error code transferred has the following
structure:
0x0DInvalid display access. Exit the menu level so that the
0xF0
0xF1Impermissible value
Description
An attempt was made to write to a variable that is not
a constant.
The device is in an invalid device mode. STOP l RUN
or RUN l STOP
status display is showing in the display. The clock
cannot be written to.
Attempt made to control an unknown parameter.
For more information visit: www.EatonElectrical.com
MN05013001E92
Page 97
7EZ800/EZD Control Commands
Data exchange procedureThe Control commands 9 bytes module allows extended data
exchange of the EZ800 and the EZD on the PROFIBUS-DP
communication bus. This allows you to transfer services from
the following areas:
• Read/write date and time (Page 95)
• Read/write image data (Page 99) and
• Read/write function block data (Page 120).
A data exchange procedure is required in order to ensure the
safe exchange of data via PROFIBUS-DP from master to
slave and vice versa.
Attention!
While a control command is being executed, the input and
output data will remain in the state before the control
command was called. Only after the “Control commands”
data exchange has been completed, will the I/O data be
refreshed.
Caution!
Only those values specified for the command code should
be used.
Check the values that you write in order to avoid
malfunctions.
Requirement:
The “Control commands 9 byte” module must have been
selected.
The master initiates the data exchange of the control
commands and the addressed slave responds.
During communication 9 data bytes (byte 0 = toggle byte,
bytes 1 to 8 information bytes) are sent via PROFIBUS.
The basic telegram structure is shown in the following
diagram.
For more information visit: www.EatonElectrical.com93MN05013001E
Byte 0 is used to activate the sending of a control command
with the toggle function.
Bit76543210
/861
01
hex
hex
Procedure
XTo send a command, bit 7 must be toggled, i.e. set either
from 1 to 0 or from 0 to 1.
XThen poll the toggle bit for the coupling modules response
until it has the same status as the toggle bit sent. This status
indicates to the master that the response to the sent
command is valid.
XDo not send a new command until you have received a
response (changing of the toggle bit), otherwise the
response of the previous command will be overwritten
before it can be read.
0/10000001
fixed
Toggle bit
J
For more information visit: www.EatonElectrical.com
In order to use input/output data and control commands
simultaneously:
Only after the “Control commands” data exchange has
been completed, will the I/O data be refreshed.
All specified commands and parameters must be
transferred in hexadecimal format.
The following tables show the different control commands
possible. These essential control commands fall into three
essential categories – real-time clock, image and function
blocks.
MN05013001E94
Page 99
Read/write date and time
Read/write date and time
J
clock provided in the EZ800 manual and the EZD manual.
The latest edition of these manuals are available as PDF
files from the Internet at: www.EatonElectrical.com
manual search term: MN05013004E. EZD manual search
term: MN05013005E.
Telegram structure
ByteMeaningValue (hex), sent by
MasterSlave
Please also note the relevant description of the real-time
0Toggle byte
1Command
Read93–
Write
Response
Read
successful
Write
successful
Command
rejected
2Len
3Index
4 – 8Data 1 – 5
Read operation00J Table 43
For write
operation
J page 94
B3–
–C2
–C1
–C0
0505
0000
J Table 4300
. EZ800
For more information visit: www.EatonElectrical.comMN05013001E95
Page 100
EZ800/EZD Control Commands
Table 43:Byte 4 – 8: Data 1 – 5
ByteContentsValue (hex)
4Data 1Hour (0 to 23)00 – 17
5Data 2Minute (0 to 59)00 – 3B
6Data 3Day (1 to 28; 29, 30, 31;
7Data 4Month (1 to 12)
8Data 5Year (0 – 99,
Winter/summer time, DST
Telegram structure
ByteMeaningValue (hex), sent by
0Toggle byteJ page 94
1Command
Read93–
WriteB3–
Response
Read
successful
Write
successful
Command
rejected
2Len
3Index0101
4 – 8Data 1 – 5
Read operation00J Table 44
For write
operation
01 – 1F
depending on month and
year)
01 – 0C
00 – 63
corresponds to 2000 – 2099)
MasterSlave
–C2
–C1
–C0
0505
J Table 4400
For more information visit: www.EatonElectrical.com
MN05013001E96
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.