Eaton Electrical EZ204-DP User Manual

Page 1

EZ204-DP PROFIBUS-DP Slave Interface

User Manual
May 2005
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.comMN05013001E I
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.com MN05013001EII
Page 5

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
Page 6
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
Page 7
– 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
Page 8
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
Page 9
Glossary ..................................................................193
Index ........................................................................201
For more information visit: www.EatonElectrical.comMN05013001E 5
Page 10
Page 11

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
Page 12

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
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.comMN05013001E 9
Page 14

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
Page 15

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
Page 16
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
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 socket24 V DC supply voltageDevice designation plateBUS communication LEDPOW operation LEDEZ-LINK socket
b
For more information visit: www.EatonElectrical.comMN05013001E 13
Page 18
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
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 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
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.com 17MN05013001E
2 3 4
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-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
Page 24
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
Page 25

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
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 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
Page 27
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
Page 28
Page 29

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.
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 PROFIBUS­DP 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.comMN05013001E 27
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 LEDs The 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.comMN05013001E 29
Page 34
Device Operation

Cycle time of EZ basic unit Communication 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

4 PROFIBUS-DP Functions

Slave modules The 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.
Module designation
Control level 1: Control commands, 9
bytes
Input/output level 2: Inputs, 3 bytes
3: Outputs, 3 bytes
4: Inputs, 1 byte 5: Outputs, 1 byte 1 • Write data:
Inputs (Bytes)
Outputs (Bytes)
Inputs/outputs (Bytes)
Service
9 • Real-time clock
•Image
• Function blocks
3 • Read data: S1 – S8
• Operating mode
3 • Write data:
R1 – R8, R9 – R16
• Operating mode
1 • Read data: S1 – S8 0x90 38
R1 – R8, R9 – R16
Supported devices
EZ700, EZ800, EZD-CP8..
EZ700, EZ800, EZD-CP8..
0xB8 43
0x92 36
0xA2 38
0xA0 42
Code in GSD file
Page
For more information visit: www.EatonElectrical.com 31MN05013001E
Page 36
PROFIBUS-DP Functions

Diagnostics data The EZ204-DP device features the standard diagnostics in

accordance with the PROFIBUS specification. Two additional diagnostics bytes are also sent.
Byte 0 Length of additional diagnostics bytes Fixed 02
hex
Byte 1 Status of EZ-LINK Value 00 Value 01

GSD file A 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 certification EZ204-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.comMN05013001E 33
Page 38
Page 39
5 Inputs/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.comMN05013001E 35
Page 40
Inputs/Outputs, EZ700/800/EZD Operating Mode
“Inputs 3 bytes” module: operating mode, S1 – S8
J
EZ/EZD operating mode Bit
with debounce 0 0 0 1 0 0 0 0/1 without debounce 0 0 1 0 0 0 0 0/1
The normal PROFIBUS-DP master data exchange with the EZ204-DP slave is via input data bytes 0, 1, 2.
Byte Meaning Value
0 Scan the operating mode 1 Scan status of the EZ outputs S1 to
S8
2 Not 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
7 6 5 4 3 2 1 0
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
Output Bit
7 6 5 4 3 2 1 0
S1 0/1 S2 0/1 S3 0/1 S4 0/1 S5 0/1 S6 0/1 S7 0/1 S8 0/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.comMN05013001E 37
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.
Byte Meaning Value
0 Scan status of the EZ
outputs S1 to S8
Requirement: The “Inputs, 1 byte” module must have been selected.
J Table 2 on Page 37
J
“Outputs 3 bytes” module: operating mode, R9 – R16, R1 – R8
J
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.
Byte Meaning Value
0 Set operating mode J Table 3 1 Set/reset the EZ/EZD inputs R9 to
R16
2 Set/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 mode Bit
7 6 5 4 3 2 1 0
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.
0 0 0 0 0 0 0 0
0 0 0 1 0 1 0 0
0 0 1 1 0 1 0 0 0 1 0 0 0 1 0 0
= 00110100
hex
= 01000100
hex
bin
bin
:
must be
hex
:
For more information visit: www.EatonElectrical.comMN05013001E 39
Page 44
Inputs/Outputs, EZ700/800/EZD Operating Mode
Table 4: Byte 1: Write status of R9 to R16
EZ/EZD Input
R9 0/1 R10 0/1 R11 0/1 R12 0/1 R13 0/1 R14 0/1 R15 0/1 R16 0/1
Bit 7 6 5 4 3 2 1 0
Example:
Value 19
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
R1 0/1 R2 0/1 R3 0/1 R4 0/1 R5 0/1 R6 0/1 R7 0/1 R8 0/1
Bit 7 6 5 4 3 2 1 0
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.comMN05013001E 41
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.
Byte Meaning Value
0 Status 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

6 Control commands for EZ700

Data exchange procedure The “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.com 43MN05013001E
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 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8
Byte 0 – Toggle byte
Byte 0 is used to activate the sending of a control command with the toggle function.
Bit 7 6 5 4 3 2 1 0
01
/861
hex
0/1 0 0 0 0 0 0 1
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).
Telegram structure
Byte Meaning Value (hex), sent by
Master Slave
0 Toggle byte J page 44 1 Command
Read 93 – Write B3
Response
Read successful C2 Write successful
Command rejected 2 Len 05 05 3 Index 4 – 8 Data 1 – 4 depending on index,
1) 0 = Time/date, J Table 6
1 = Summer time, J Table 7 2 = Winter time, J Table 8
C1 – C0
0 – 2
J Table 6
1
0 – 2
1
For more information visit: www.EatonElectrical.comMN05013001E 45
Page 50
Control commands for EZ700
Table 6: Index 0 – date and time of real-time clock
Byte Contents Operand Value (hex)
4 Data 1 Hour 0 to 23 0x00 to 0x17h 5 Data 2 Minute 0 to 59 0x00 to 0x3Bh 6 Data 3 Day Day (1 to 28; 29, 30, 31; depending
7 Data 4 Month 1 to 12 0x01 to 0x0Ch 8 Data 5 Year 0 to 99 (corresponds to 2000-2099) 0x00 to 0x63h
Table 7: Index 1 – Summer time
Byte Contents Value (hex)
4 Data 1 Area
for “Area” = “Rule”: 5 Data 2 Summer time 6 Data 3 7 Data 4 8 Data 5
0x01 to 0x1Fh
on month and year)
None 00 Rule 01 Automatic EU 02 Automatic GB 03 Automatic US 04
J Table 9
switching rule
For more information visit: www.EatonElectrical.com
MN05013001E46
Page 51
Data exchange procedure
Table 8: Index 2 – Winter time
(only valid if Area = “Rule” selected)
Byte Contents Value (hex)
4 Data 1 Area = Rule 01 5 – 8 Data 2 – 5 Winter time
switching rule
Switching rule bit array
J Table 9
J
Please also read the detailed description in the EZ500/700 manual (MN05013003E).
The following table shows the composition of the corresponding data bytes.
For more information visit: www.EatonElectrical.comMN05013001E 47
Page 52
Control commands for EZ700
on the
second
2: Tu 2:
the
fourth
6: Sa
Data 5 Data 4 Data 3 Data 2
Difference Time of time change Month Day Rule_2 Day Rule_1
0: 0:30h Minute: 0 to 59 Hour: 0 to 23 0 to 11 0 to 30 0: month 0: Su 0: on
1: 1:00h 1: after the 1: Mo 1: on the first
2: 1:30h 2: before
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Table 9: Switching rule bit array
For more information visit: www.EatonElectrical.com
3: 2:00h 3: We 3: on the third
4: 2:30h 4: Thu 4: on the
5: 3:00h 5: Fr 5: 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.comMN05013001E 49
Page 54
Control commands for EZ700

Overview

Operands Meaning Read/
write
A1 – A16 Analog value comparators/threshold
comparators: A1 – A16 C1 – C16 Counters: C1 – C16 Read EE 52 D1 – D16 Text function blocks: D1 – D16 Read 94 53 I1 – I16 Local inputs: I1 – I16 Read 84 54 IA1 – IA4 Local analog inputs: IA1 – IA4 Read 8C 56 M1 – M16,
N1 – N16 M1 – M16,
N1 – N16 O1 – O4 Operating hours counters: O1 – O4 Read EF 62 P1 – P4 Local P buttons: P1 – P4 Read 8A 63 Q1 – Q8 Local outputs: Q1 – Q8 Read 85 65 R1 – R16/
S1 – S8 T1 – T16 Timing relays: T1 – T16 Read ED 68 Y1 – Y4 Year time switch: Y1 – Y8 Read 91 69 Z1 – Z3 Master reset: Z1 – Z3 Read 93 70 H1 – H4 7-day time switch:
Markers: M1 – M16/N1 – N16 Write 86/87 58
Markers: M1 – M16/N1 – N16 Read 86/87 60
Inputs/outputs of EZ-LINK: R1 – R16/S1 – S8 Read 88/89 66
Ö1 – Ö8 Read 90 71
Read 8C 51
Type Page
For more information visit: www.EatonElectrical.com
MN05013001E50
Page 55
Read/write image data
Analog value comparators/threshold comparators: A1–A16
The following commands are used to read the logic state of the individual analog value comparators A1 to A16.
Telegram structure
Byte Meaning
0 Toggle byte J page 44 1 Command: Read
Response:
Read successful C2 Command
rejected 2Len 01 01 3Type 4 Index 00 00 5 Data 1 (Low Byte) 00 J Table 10 6 Data 2 (Low Byte) 00 J Table 10 7 – 8 Data 3 – 4 00 00
1) Possible causes J page 91
Value (hex), sent by Master Slave
88
C0
8C 8C
1
Table 10: Byte 5 to 6: Data 1 to 2
Data 1 Bit 7 6 5 4 3 2 1 0
A1 A2
... ...
A8 0/1
Data 2 Bit 7 6 5 4 3 2 1 0
A9 0/1 A10
... ...
A16 0/1
For more information visit: www.EatonElectrical.comMN05013001E 51
0/1
0/1
0/1
Page 56
Control commands for EZ700
Counters: C1 – C16
The following commands are used to read the logic state of the individual counters C1 – C16.
Telegram structure
Byte Meaning
0 Toggle byte J page 44 1 Command: Read
2Len 01 01 3Type 4 Index 00 00 5 Data 1 (Low Byte) 00 J Table 20 6 Data 2 (Low Byte) 00 J Table 20 7 – 8 Data 3 – 4 00 00
1) Possible causes J page 91
Value (hex), sent by Master Slave
88
Response:
Read successful C2 Command
rejected
C0
EE EE
1
Table 11: Byte 5 to 6: Data 1 to 2
Data 1 Bit 7 6 5 4 3 2 1 0
C1 0/1 C2 0/1
... ...
C8 0/1
Data 2 Bit 7 6 5 4 3 2 1 0
C9 0/1 C10
... ...
C16 0/1
For more information visit: www.EatonElectrical.com
0/1
MN05013001E52
Page 57
Read/write image data
Text function blocks: D1 – D16
The following commands are used to read the logic state of the individual text function blocks (D markers).
Telegram structure
Byte Meaning
0 Toggle byte J page 44 1 Command: Read
Response:
Read successful C2 Command
rejected 2Len 01 01 3Type 4 Index 00 00 5 Data 1 (Low Byte) 00 J Table 12 6 Data 2 (High Byte) 00 J Table 12 7 – 8 Data 3 – 4 00 00
1) Possible causes J page 91
Value (hex), sent by Master Slave
88
C0
94 94
1
Table 12: Byte 5 to 6: Data 1 to 2
Data 1 Bit 7 6 5 4 3 2 1 0
D1 0/1 D2 0/1
... ...
D8 0/1
Data 2 Bit 7 6 5 4 3 2 1 0
D9 0/1 D10
... ...
D16 0/1
For more information visit: www.EatonElectrical.comMN05013001E 53
0/1
Page 58
Control commands for EZ700
Local inputs: I1 – I16
This command string enables you to read the local inputs of the EZ700 basic unit. The relevant input word is stored in Intel format.
Telegram structure
Byte Meaning Value (hex), sent by
0 Toggle byte J page 44 1 Command: Read
2Len 02 02 3Type 4 Index 00 00 5 Data 1 (Low Byte) 00 J Table 13 6 Data 2 (High Byte) 00 J Table 13 7 – 8 Data 3 – 4 00 00
1) Possible causes J page 91
Master Slave
88
Response:
Read successful C2 Command
rejected
C0
84 84
1)
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
I1 0/1 I2 0/1
.. ..
I8 0/1
Data 2 Bit 7 6 5 4 3 2 1 0
I9 0/1 I10 0/1
.. ..
I16 0/1
Bit 7 6 5 4 3 2 1 0
For more information visit: www.EatonElectrical.comMN05013001E 55
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).
Telegram structure
Byte Meaning Value (hex), sent by
0 Toggle byte J page 44 1 Command: Read
Response:
2Len 02 02 3Type 4 Index 00 – 03 5 Data 1 (Low Byte) 00 J Table 14 6 Data 2 (High Byte) 00 J Table 14 7 – 8 Data 3 – 4 00 00
1) Possible causes J page 91
2) 00 = Analog input I7 01 = Analog input I8 02 = Analog input I11 03 = Analog input I12
Master Slave
88
Read successful C2 Command
rejected
C0
8C 8C
2
00 – 03
1
2
For more information visit: www.EatonElectrical.com
MN05013001E56
Page 61
Read/write image data
Example: A voltage signal is present at analog input 1. The required telegrams for reading the analog value are as follows:
Table 14: Example telegram for reading the value at the analog
Byte Meaning Value (hex), sent by
0 Toggle byte J page 44 1 Command: Read 88
2 Len 02 02 3Type 8C 8C 4 Index 02 5 Data 1 00 4B 6 Data 2 00 03 7 Data 3 00 00 8Data 4 00 00
1) 02 = Analog input I11
Byte 5 – Data 1 (Low Byte): 4B Byte 6 – Data 2 (High Byte): 03
J corresponding 16-bit value: 034B
input
Master Slave
Response: Read successful C2
hex
hex
1
= 843
hex
02
1
The value 843 corresponds to the IO bit value of the analog converter. The following conversion is required for the actual analog value:
10 V
× IO bit value =>
1023 1023
For more information visit: www.EatonElectrical.comMN05013001E 57
10 V
× 843 = 8.24 V
Page 62
Control commands for EZ700
Markers: M1 – M16/N1 – N16 Telegram structure
Byte Meaning Value (hex), sent by
0 Toggle byte J page 44 1Command: Write
2 Len 01 01 3Type
4 Index 5 Data 1 (Low Byte)300/01 00/01 6 – 8 Data 2 – 4 00 00
1) Possible causes J page 91
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.
Master Slave
8C
Response:
Write successful C1 Command
C0
rejected
2
With M marker 86 86 With N marker 87 87
2
00 – 0F 00 – 0F
1
For more information visit: www.EatonElectrical.com
MN05013001E58
Page 63
Read/write image data
Example: Marker M13 is set.
Byte Meaning Value (hex), sent by
Master Slave
0 Toggle byte J page 44 1Command: Write
Response:
Write successful C1 Command
rejected 2Len 01 01 3Type
M marker 86 86 4 Index 0C 0C 5 Data 1 01 00 6 – 8 Data 2 – 4 00 00
1) Possible causes J page 91
8C
C0
1
For more information visit: www.EatonElectrical.comMN05013001E 59
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.
Telegram structure
Byte Meaning Value (hex), sent by
0 Toggle byte J page 44 1 Command: Read
2Len 01 01 3Type
4 Index 5 Data 1 (Low Byte) 00 J Table 15 6 Data 2 (Low Byte) 00 J Table 15 7 – 8 Data 3 – 4 00 00
1) Possible causes J page 91
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.
Master Slave
88
Response:
Read successful C2 Command
rejected
M marker 86 86 N marker 87 87
2
C0
00 00
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 1 Bit 7 6 5 4 3 2 1 0 MN
M1 N1 0/1 M2 N2 0/1
... ... ...
M8 N8 0/1
Data 2 Bit 7 6 5 4 3 2 1 0
M9 N9 0/1 M10 N10 0/1 ... ... M16 N16 0/1
Example: The N markers are read:
Byte Meaning Value (hex), sent by
Master Slave
0 Toggle byte J page 44 1 Command: Read
Response:
Read successful C2 Command
rejected 2Len 01 01 3Type
N marker 87 87 4 Index 00 00 5 Data 1 (Low Byte) 6 Data 2 (Low Byte) 7 – 8 Data 3 – 4
1) Possible causes J page 91
88
C0
00 04 00 84 00 00
1
The markers N3, N11 and N16 are set.
For more information visit: www.EatonElectrical.comMN05013001E 61
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.
Telegram structure
Byte Meaning
0 Toggle byte J page 44 1 Command: Read
2Len 01 01 3Type 4 Index 00 00 5 Data 1 (Low Byte) 00 J Table 16 6 – 8 Data 2 – 4 00 00
1) Possible causes J page 91
Value (hex), sent by Master Slave
88
Response:
Read successful C2 Command
rejected
C0
EF EF
1
Table 16: Byte 5: Data1
Data 1 Bit 7 6 5 4 3 2 1 0
O1 O2 0/1 O3 0/1 O4 0/1
... ... ... ... ...
For more information visit: www.EatonElectrical.com
0/1
MN05013001E62
Page 67
Read/write image data
Local P buttons: P1 – P4
The local P buttons are the display cursor buttons of the EZ700 basic unit. You can scan the buttons in both RUN and STOP mode.
J
menu (in the basic unit).
Only one byte has to be transferred for the P buttons.
Telegram structure
Byte Meaning Value (hex), sent by
Master Slave
0 Toggle byte J page 44 1 Command: Read 88
Response:
Read successful C2
Ensure that the P buttons are also activated via the System
Command
rejected 2Len 01 01 3Type 8A 8A 4 Index 00 00 5 Data 1 (Low Byte) 00 J Table 17 6 – 8 Data 2 – 4
1) Possible causes J page 91
C0
00 00
1
For more information visit: www.EatonElectrical.comMN05013001E 63
Page 68
Control commands for EZ700
Table 17: Byte 5: Data1
Data 1 Bit 7 6 5 4 3 2 1 0
P1 0/1 P2 0/1 P3 0/1 P4 0/1 – 0 – 0 – 0 – 0
Example: Data 1 = 2
J P3 is active.
hex
For more information visit: www.EatonElectrical.com
MN05013001E64
Page 69
Read/write image data
Local outputs: Q1 – Q8
The local outputs can be read directly via the PROFIBUS-DP fieldbus.
Telegram structure
Byte Meaning Value (hex), sent by
Master Slave
0 Toggle byte J page 44 1 Command: Read
Response:
Read successful C2 Command
rejected 2Len 01 01 3Type 4 Index 00 00 5 Data 1 (Low Byte) 00 J Table 18 6 – 8 Data 2 – 4 00 00
1) Possible causes J page 91
88
C0
85 85
1)
Table 18: Byte 5: Data1
Data 1
Q1 Q2 0/1
.. ..
Q8 0/1
Bit 7 6 5 4 3 2 1 0
0/1
Example: Data 1 = 52
For more information visit: www.EatonElectrical.comMN05013001E 65
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.
Telegram structure
Byte Meaning Value (hex), sent by
0 Toggle byte J page 44 1 Command: Read
2Len 01 01 3Type
4 Index 00 00 5 Data 1 (Low Byte) 00 J Table 19 6 Data 2 (Low Byte) 00 J Table 19 7 – 8 Data 3 – 4 00 00
1) Possible causes J page 91
Master Slave
88
Response:
Read successful C2 Command
rejected
for R data 88 88 for S data 89 89
C0
1)
For more information visit: www.EatonElectrical.com
MN05013001E66
Page 71
Read/write image data
Table 19: Byte 5 to 6: Data 1 to 2
Data 1 RW SW
R1 S1 0/1 R2 S2 0/1
... ... ...
R8 S8 0/1
Data 2 Bit 7 6 5 4 3 2 1 0
R9 0/1 R10 0/1 ... ... R16 0/1
Bit 7 6 5 4 3 2 1 0
For more information visit: www.EatonElectrical.comMN05013001E 67
Page 72
Control commands for EZ700
Timing relays: T1 – T16
The following commands are used to read the logic state of the individual timers T1 - T16.
Telegram structure
Byte Meaning
0 Toggle byte J page 44 1 Command: Read
2Len 01 01 3Type 4 Index 00 00 5 Data 1 (Low Byte) 00 J Table 20 6 Data 2 (Low Byte) 00 J Table 20 7 – 8 Data 3 – 4 00 00
1) Possible causes J page 91
Value (hex), sent by Master Slave
88
Response:
Read successful C2 Command
rejected
C0
ED ED
1
Table 20: Byte 5 to 6: Data 1 to 2
Data 1 Bit 7 6 5 4 3 2 1 0
T1 0/1 T2 0/1
... ...
T8 0/1
Data 2 Bit 7 6 5 4 3 2 1 0
T9 0/1 T10
... ...
T16 0/1
For more information visit: www.EatonElectrical.com
0/1
MN05013001E68
Page 73
Read/write image data
Year time switch: Y1 – Y8
The following commands are used to read the logic state of the individual year time switches.
Telegram structure
Byte Meaning Value (hex), sent by
Master Slave
0 Toggle byte J page 44 1 Command: Read
Response:
Read successful C2 Command
rejected 2Len 01 01 3Type 4 Index 00 00 5 Data 1 (Low Byte) 00 J Table 21 6 – 8 Data 2 – 4 00 00
1) Possible causes J page 91
88
C0
91 91
1
Table 21: Byte 5: Data1
Data 1 Bit 7 6 5 4 3 2 1 0
HY1 HY2 0/1 HY3 0/1 HY4 0/1 HY5 0 HY6 0 HY7 0 HY8 0
0/1
Example: Data 1 = 1
For more information visit: www.EatonElectrical.comMN05013001E 69
l HY2 is active
hex
Page 74
Control commands for EZ700
Master reset: Z1 – Z3 Telegram structure
Byte Meaning
0 Toggle byte J page 44 1 Command: Read
2 Len 01 01 3Type 4 Index 00 00 5 Data 1 (Low Byte) 00 J Table 22 6 – 8 Data 2 – 4 00 00
1) Possible causes J page 91
Value (hex), sent by Master Slave
88
Response:
Read successful C2 Command
rejected
C0
93 93
1
Table 22: Byte 5: Data1
Data 1 Bit 7 6 5 4 3 2 1 0
Z1 for Q outputs 0/1 Z2 for M markers 0/1 Z3 for outputs and
markers ... 0 0 0 0 0
For more information visit: www.EatonElectrical.com
0/1
MN05013001E70
Page 75
Read/write image data
7-day time switch: ö1 – ö8
The following commands are used to read the logic state of the individual 7-day time switches.
Telegram structure
Byte Meaning Value (hex), sent by
Master Slave
0 Toggle byte J page 44 1 Command: Read
Response:
Read successful C2
Command
rejected 2Len 01 01 3Type 4 Index 00 00 5 Data 1 (Low Byte) 00 J Table 23 6 – 8 Data 2 – 4 00 00
1) Possible causes J page 91
88
C0
90 90
1
Table 23: Byte 5: Data1
Data 1 Bit 7 6 5 4 3 2 1 0
HW1 HW2 0/1 HW3 0/1 HW4 0/1 HW5 0 HW6 0 HW7 0 HW8 0
0/1
Example: Data 1 = 2
For more information visit: www.EatonElectrical.comMN05013001E 71
l ö3 is active.
hex
Page 76
Control commands for EZ700

Read/write function block data

J
Operands Meaning Read/
A1 – A16 Analog value comparator/threshold comparator:
A1 – A16 C1 – C16 Counter relays: C1 – C16 Read/write 8F 76 O1 – O4 Operating hours counters: O1 – O4 T1 – T16 Timing relays: T1 – T16 Read/write 8E 81 Y1 – Y8 Year time switch: Y1 – Y8 Read/write A2 85
Ö1 – Ö8 7-day time switch: Ö1 – Ö8 Read/write A1 88
Please also observe the relevant description of the function blocks provided in the EZ500/700 manual (MN05013003E) or in the EZSoft Help.

General notes

Always note the following when working with function blocks:
• The relevant data is transferred in Intel format. In other words, the first byte is the low byte (Byte 5) and the last byte (byte 8) the high byte.
• The maximum data length is 4 bytes. All values must be transferred in hexadecimal format.

Overview

Type Page
write
Read/write 8D 73
Read/write 92 79
For more information visit: www.EatonElectrical.com
MN05013001E72
Page 77
Read/write function block data
Analog value comparator/threshold comparator: A1–A16
Telegram structure
Byte Meaning Value (hex), sent by
Master Slave
0 Toggle byte J page 44 1 Command:
Read 89 – Write 8D
Response:
Read successful C2 Write successful C1 Command
rejected 2Type 8D 8D 3Instance 4 Index Table 24 5 – 8 Data 1 – 4 depending on index J Table 25
1) Possible causes J page 91
2) EZ provides 16 analog comparators A1 to A16 for use as
required. These can be addressed using the instance (0 – F).
2
C0
00 – 0F 00 – 0F
1
For more information visit: www.EatonElectrical.comMN05013001E 73
Page 78
Control commands for EZ700
Table 24: Operand overview
Index (hex)
00 Parameters J Table 25 × 01 Control byte J Table 26 × 02 Comparison value 1 I1 03 Comparison value 2 I2 04 Gain factor for I1
05 Gain factor for I2
06 Offset for value I1 (I1 = OS +
07 Switching hysteresis for
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 Data1 –Data 2. It should be
Operand Read Write
(I1 = F1 × I1)
(I2 = F2 × I2)
actual value at I1)
value I2
program.
remembered that the low byte 1 is in Data 1 (Byte 5) and the high byte 2 (byte 8) in Data 2. Example: 5327
dec
= 14CF
2
× c
2
× c
2
F1
F2
OS
HY
l Data 1 = 0×CF, Data 2 = 0×14
hex
× c
2
× c
2
× c
2
× c
1 1 1
1
1
1
For more information visit: www.EatonElectrical.com
MN05013001E74
Page 79
Read/write function block data
Table 25: Index 00 – Parameters
Meaning Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Appears in the parameter menu
Yes/no
Compare
FB not used EQ (=) 0 0 1 GE () 0 1 0 LE () 0 1 1 GT (>) 1 0 0 LT (<) 1 0 1
Use as constant and therefore can be written to
I1= Constant F1= Constant 0/1 I2= Constant 0/1 F2 = Constant 0/1 OS = Constant 0/1 HY = Constant 0/1 Not used 0 0 0 0 0 0
0 0 0
0/1
0/1
Example: Data 1 (Byte 5) = 0xA3, Data 2 (Byte 6) = 0x03 l Resulting 16-bit value = 03A3
hex
Meaning: HY, OS, F2, F1 are assigned a constant; I1, I2 are assigned to a variable such as I7, I8 C2...etc., appears in the Parameter menu;
The output of the analog value comparator is active for as long as the comparison (I1
Table 26: Index 01 – Control byte
FB output Data 3
1) Status 1 if comparison condition is fulfilled.
For more information visit: www.EatonElectrical.comMN05013001E 75
× F1) + OS = (I2 × F2) + HY is fulfilled.
Bit 7 6 5 4 3 2 1 0
– – – – – Q1
1
Page 80
Control commands for EZ700
Counter relays: C1 – C16 Telegram structure
Byte Meaning Value (hex), sent by
0 Toggle byte J page 44 1 Command:
Read 89 – Write 8D
Response:
Read successful C2 Write successful C1 Command rejected C0
2Type 8F 8F 3 Instance 4 Index J Table 27 5 – 8 Data 1 – 4 depend ing on inde x, J Table 28
1) Possible causes J page 91
2) EZ provides 16 counters C1 to C16 for use as required. These can be addressed using the instance (0 – F).
2
Master Slave
1
00 – 0F 00 – 0F
For more information visit: www.EatonElectrical.com
MN05013001E76
Page 81
Read/write function block data
Table 27: Operand overview
Index (hex)
00 Parameters J Table 28 × 01 Control byte J Table 29 × 02 Actual value S1 03 Counter setpoint 2 S2
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
Meaning Bit 7 6 5 4 3 2 1 0 Appears in the parameter menu
Yes/no 0/1
Counter mode
FB not used 0 0 Up/down counter (N) 0 1 High-speed up/down counter (H) 1 0 Frequency counter (F) 1 1
Use as constant and therefore can be written to
Counter setpoint S1 Unused bits
Operand Read Write
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.comMN05013001E 77
Page 82
Control commands for EZ700
Table 29: Index 01 – Control byte
Data 1 Bit 7 6 5 4 3 2 1 0
FB output C4RE3D2Q1
1) Switch contact
2) Count direction: 0 = up counting, 1 = down counting
3) Reset, the timing relay is reset (reset coil)
4) Count coil, counts on every rising edge
Example: the actual value of C3 is to be read:
Byte Meaning Value (hex), sent by
0 Command: Read
1Type 8F 8F 2Instance 02 02 3 Index 02 02 4 Data1 00 12 5 Data 2 00 03 6 Data 3 00 00 7 Data 4
1
Master Slave
89
Response: Read successful C2
00 00
Explanation: Data 1 = 12
Data 2 = 03 l resulting 16-bit value = 0312
hex
= 786
Counter status = 786
For more information visit: www.EatonElectrical.com
dec
MN05013001E78
Page 83
Read/write function block data
Operating hours counters: O1 – O4 Telegram structure
Byte Meaning
0 Toggle byte J page 44 1Command:
Read 89 – Write 8D
Response:
Read successful C2 Write successful C1
Command rejected C0 2Type 92 92 3Instance
2
4 Index J Table 30 5 – 8 Data 1 – 4 depending on index, J Table 31
1) Possible causes J page 91
2) EZ provides 4 operating hours counters O1 to O4. These can be
addressed using the instance (0 – 3).
Value (hex), sent by Master Slave
1
00 – 03 00 – 03
Table 30: Operand overview
Index
Operand Read Write
(hex)
00 Parameters J Table 31 × 01 Control byte J Table 32 × 02 Actual value S1 03 Counter setpoint 2 S2
2
× c
2
× c
1 1
1) The value can only be written if it is assigned to a constant in the
program.
2) A 32-bit value is transferred in data bytes Data 1 – Data 4. It should be
remembered that the Data 1 is the low byte and Data 4 the high byte.
For more information visit: www.EatonElectrical.comMN05013001E 79
Page 84
Control commands for EZ700
Table 31: Index 00 – Parameters
Meaning Bit 7 6 5 4 3 2 1 0 Appears in the parameter menu
Yes/no 0/1
Use in the program
Setpoint S1 0/1 Unused bits
Example: Data 1 (Byte 5) = 0x01
Meaning: The values appear in the Parameter menu.
Table 32: Index 01 – Control byte
Data 1 Bit 7 6 5 4 3 2 1 0
FB output – – – – – RE3EN2Q1
1) Switch contact
2) Enable, the timing relay is started (trigger coil)
3) Reset, the timing relay is reset (reset coil)
1
Example: Index 02/03
Transferred values: Data 1 0x21
Data 2 0x23 Data 3 0x40 Data 4 0x00
Resulting value: 00402321
For more information visit: www.EatonElectrical.com
hex
= 4203297
dec
MN05013001E80
Page 85
Read/write function block data
Timing relays: T1 – T16 Telegram structure
Byte Meaning Value (hex), sent by
Master Slave
0 Toggle byte J page 44 1Command:
Read 89 – Write 8D
Response:
Read successful C2 Write successful C1
Command rejected C0 2Type 8E 8E 3 Instance 4 Index J Table 33 5 – 8 Data 1 – 4 depending on index J Table 34
1) Pos si ble cau ses J page 91
2) EZ provides 16 timing relays T1 to T16 for use as required. These can
be addressed using the instance (0 – F).
2
00 – 0F 00 – 0F
1
For more information visit: www.EatonElectrical.comMN05013001E 81
Page 86
Control commands for EZ700
Table 33: Operand overview
Index (hex)
00 Parameters J Table 34 × 01 Control byte J Table 35 × 02 Actual value 1 T × c 03 Time setpoint 1 S1 04 Time setpoint 2 S2
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
Operand Read Write
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
Meaning Bit 7 6 5 4 3 2 1 0 Appears in the parameter menu
Yes/no 0/1
Timer mode
On-delayed 0 0 0 Off-delayed 0 0 1 On-delayed with random setpoint 0 1 0 Off-delayed with random setpoint 0 1 1 On and off delayed
(two time setpoints) On and off delayed each with random setpoint (two time
setpoints) Impulse transmitter 1 1 0 Flashing relay (two time setpoints) 1 1 1
Time base
FB not used 0 0 Millisecond: S 0 1 Second: M:S 1 0 Minute: H:M 1 1
Use as constant and therefore can be written to
Time setpoint S1 0/1 Time setpoint S2 0/1
1 0 0
1 0 1
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.comMN05013001E 83
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)
3) Reset, the timing relay is reset (reset coil)
4) Stop, the timing relay is stopped (Stop coil)
Example: The time setpoint 1 is to be read:
Byte Meaning Value (hex), sent by
0 Command: Read 89
1Type 8E 8E 2Instance 00 00 3 Index 4 Data1 00 4C 5 Data 2 00 06 6 Data 3 00 00 7 Data 4 00 00
Bit 7 6 5 4 3 2 1 0
1
Master Slave
Response: Read successful C2
03 03
Explanation: Data 1 = 4C
Data 2 = 06
J resulting 16-bit value = 064C
hex
Meaning depending on set time base:
Millisecond S 16120 ms 16.120 s Seconds M:S 1620 s 26:52 Minutes Minute H:M 1612 min 67: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
Byte Meaning Value (hex), sent by
Master Slave
0 Toggle byte J page 44 1 Command:
Read 89 – Write 8D
Response:
Read successful C2 Write successful C1 Command
rejected 2Type A2 A2 3 Instance 4 Index J Table 36 5 – 8 Data 1 – 4 depending 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 – 07 00 – 07
1
For more information visit: www.EatonElectrical.comMN05013001E 85
Page 90
Control commands for EZ700
Table 36: Operand overview
Index (hex)
00 ParametersJ Table 37 × 01 Control byteJ Table 38 ×
11 Time point ON × c 12 Time point OFF × c
21 Time point ON × c 22 Time point OFF × c
31 Time point ON × c 32 Time point OFF × c
41 Time point ON × c 42 Time 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.
Operand Read Write
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
Meaning Bit 7 6 5 4 3 2 1 0 Appears in the parameter menu
Channel A Channel B Channel C 0/1 Channel D 0/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 1 Bit 7 6 5 4 3 2 1 0
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.comMN05013001E 87
Page 92
Control commands for EZ700
7-day time switch: Ö1 – Ö8 Telegram structure
Byte Meaning Value (hex), sent by
0 Toggle byte J page 44 1 Command:
Read 89 – Write 8D
Response:
Read successful C2 Write successful C1 Command
rejected 2Type A1 A1 3 Instance 4 Index J Table 39 J Table 39 5 – 8 Data 1 – 4 depending 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).
Master Slave
C0
2
00 – 07 00 – 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)
00 ParametersJ Table 40 × 01 Control byteJ Table 41 × 11 Channel A Day on/off × c 12 On time × c 13 Off time × c 21 Channel B Day on/off × c 22 On time × c 23 Off time × c 31 Channel C Day on/off × c 32 On time × c 33 Off time × c 41 Channel D Day on/off × c 42 On time × c 43 Off 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
Operand Read Write
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.comMN05013001E 89
Page 94
Control commands for EZ700
Table 40: Index 00 – Parameters
Meaning Bit 7 6 5 4 3 2 1 0 Appears in the parameter menu
Channel A 0/1 Channel B 0/1 Channel C 0/1 Channel D 0/1
Unused bits
Example: Data 1 (Byte 5) = 0x03
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 1 Bit 7 6 5 4 3 2 1 0
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:
Telegram structure
Byte Meaning Slave transmits
(value hex)
0 Toggle byte J page 44 1 Response
Command rejected C0 2 Type 00 3 Instance 00 4 Index 00 5 Error code J Table 42
For more information visit: www.EatonElectrical.comMN05013001E 91
Page 96
Control commands for EZ700
Table 42: Error codes
Error code
0x01 Unknown telegram transmitted. 0x02 Unknown object transmitted. 0x03 Unknown command transmitted. 0x04 Invalid instance transmitted. 0x05 Invalid parameter set transmitted. 0x06
0x0C
0x0D Invalid display access. Exit the menu level so that the
0xF0 0xF1 Impermissible 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

7 EZ800/EZD Control Commands

Data exchange procedure The 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.com 93MN05013001E
Page 98
EZ800/EZD Control Commands
Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8
Byte 0 – Toggle byte
Byte 0 is used to activate the sending of a control command with the toggle function.
Bit 7 6 5 4 3 2 1 0
/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/1 0 0 0 0 0 0 1
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
Byte Meaning Value (hex), sent by
Master Slave
Please also note the relevant description of the real-time
0 Toggle byte 1 Command
Read 93 – Write
Response
Read successful
Write successful
Command
rejected 2Len 3 Index 4 – 8 Data 1 – 5
Read operation 00 J Table 43
For write
operation
J page 94
B3
C2
C1
C0
05 05 00 00
J Table 43 00
. EZ800
For more information visit: www.EatonElectrical.comMN05013001E 95
Page 100
EZ800/EZD Control Commands
Table 43: Byte 4 – 8: Data 1 – 5
Byte Contents Value (hex)
4 Data 1 Hour (0 to 23) 00 – 17 5 Data 2 Minute (0 to 59) 00 – 3B 6 Data 3 Day (1 to 28; 29, 30, 31;
7 Data 4 Month (1 to 12) 8 Data 5 Year (0 – 99,
Winter/summer time, DST Telegram structure
Byte Meaning Value (hex), sent by
0 Toggle byte J page 94 1 Command
Read 93 – Write B3
Response
Read successful
Write successful
Command
rejected 2 Len 3 Index 01 01 4 – 8 Data 1 – 5
Read operation 00 J Table 44
For write
operation
01 – 1F depending on month and year)
01 – 0C
00 – 63 corresponds to 2000 – 2099)
Master Slave
C2
C1
C0
05 05
J Table 44 00
For more information visit: www.EatonElectrical.com
MN05013001E96
Loading...