EZ204-DP PROFIBUS-DP Slave Interface User Manual May 2005 MN05013001E For more information visit: www.EatonElectrical.
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.
• 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.
Contents About This Manual...................................................... 7 Target readership.......................................................... 7 Other manuals on the device........................................ 7 Device designation........................................................ 8 Abbreviations .............................................................. 10 Writing conventions..................................................... 10 MN05013001E 1 EZ204-DP .....................
Contents 2 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 ....
– 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.........
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 ....................
Glossary .................................................................. 193 Index ........................................................................ 201 MN05013001E For more information visit: www.EatonElectrical.
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.
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-... • EZD-CP8..
Device designation • 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... MN05013001E For more information visit: www.EatonElectrical.
This manual uses abbreviations with the following meanings: Abbreviations 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 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. Writing conventions Xindicates actions to be taken.
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. MN05013001E For more information visit: www.EatonElectrical.
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 PC Slave area, e.g. EZ /EZD with DP interface 12 For more information visit: www.EatonElectrical.
Device setup Device setup f a POW e BUS d c Figure 2: b 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 MN05013001E For more information visit: www.EatonElectrical.
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..
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 • • • • MN05013001E Burner, Emergency-stop, Crane or Two-hand safety controls.
2 Installation 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 Figure 3: MN05013001E Fitting 1 + basic unit 2 or removing For more information visit: www.EatonElectrical.
Installation EZ-LINK EZ7.. EZ8.. EZD-CP8.. Figure 4: Connecting the power supply EZ204-DP Connection between basic unit and EZ204-DP 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 0V >1A +24 V 0 V Figure 5: 18 Standard connection For more information visit: www.EatonElectrical.
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.
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.
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 AC Simple isolation of PROFIBUS-DP 24 V DC supply voltage MN05013001E For more information visit: www.EatonElectrical.
Installation Transfer rates – automatic baud rate detection 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 Maximum distances/bus cable lengths Two types of bus cable are specified in IEC 61158.
Maximum distances/bus cable Distance between stations when using Type A cable to IEC 61158: Baud rate [Kbit/s] Max. cable length Type A cable [m] 9.6 1200 19.2 1200 93.75 1200 187.5 1000 500 400 1500 200 3000 100 6000 100 12000 100 Distance between two stations when using Type B cable to IEC 61158: MN05013001E Baud rate [Kbit/s] Max. cable length Type B cable [m] 9.6 1200 19.2 1200 93.75 1200 187.5 1000 500 400 1500 – For more information visit: www.EatonElectrical.
3 Device Operation 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. Initial power up 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..
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.
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 Í or Ú to select CONFIGURATOR PASSWORD... SYSTEM GB D F E I.. CONFIGURATOR XConfirm your entry with OK XWith EZ800/EZD devices select the LINK... NET... LINK... XConfirm with OK. MN05013001E For more information visit: www.EatonElectrical.
Device Operation EZ700 devices show the following dialog immediately: XSet the address: DP-DEVICE ADDRESS INPUT: 0002 204-05.30- D J Set the value of the current digit with Í or Ú buttons. Move to the next digit with ú or í. 2 . . . 9 0 1 . . . K 0 0 0 1 J J0 0 0 1 L 1 0 9 . . . 2 . . . XPress OK to accept the address or XAbort address entry. Information on the 4th display line: I xxx - x x . x x - x x 204 - 0 5 3 0 - d Hardware version, Index: d Software version, OS version 5.
Status LEDs Status LEDs The EZ204-DP expansion unit has two LEDs.
Device Operation Cycle time of EZ basic unit Communication between the basic unit and EZ204-DP via EZLINK 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. 30 For more information visit: www.EatonElectrical.
4 PROFIBUS-DP Functions The EZ204-DP expansion module is a PROFIBUS-DP slave in compliance with IEC 61186/EN 50170. Slave modules Outputs (Bytes) Inputs/outputs (Bytes) Service Supported devices Code in GSD file Page – – 9 • Real-time clock • Image • Function blocks EZ700, EZ800, EZD-CP8.. 0xB8 43 2: Inputs, 3 bytes 3 – – • Read data: S1 – S8 • Operating mode 0x92 36 3: Outputs, 3 bytes – 3 – • Write data: R1 – R8, R9 – R16 • Operating mode EZ700, EZ800, EZD-CP8..
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. GSD file Byte 0 Length of additional diagnostics bytes Fixed 02hex 00000010 Byte 1 Status of EZ-LINK Value 00hex EZ-LINK is connected Value 01hex EZ-LINK is disconnected A PROFIBUS-DP GSD file is required for selecting the device and for running it on the PROFIBUS-DP communication bus.
PROFIBUS certification EZ204-DP was certified as a PROFIBUS-DP device by the PROFIBUS User Organization. EZ204-DP contains the PROFIBUS VPC3+ interface. PROFIBUS certification 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. MN05013001E For more information visit: www.
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 Inputs Write operation: Output data Read operation: Input data EZ/EZD Inputs R1 – R16 MN05013001E Outputs S1 – S8 For more information visit: www.EatonElectrical.
Inputs/Outputs, EZ700/800/EZD Operating Mode “Inputs 3 bytes” module: operating mode, S1 – S8 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 J Table 1 1 Scan status of the EZ outputs S1 to S8 J Table 2 2 Not assigned 00hex Requirement: The “Inputs, 3 bytes” module must have been selected.
“Inputs 3 bytes” module: operating mode, S1 – S8 Table 2: Output Byte 1: Status of S1 to S8 on the basic unit Bit 7 6 5 4 3 2 1 S1 0/1 S2 0/1 S3 0/1 S4 0/1 S5 0/1 S6 0/1 S7 S8 0 0/1 0/1 Example: Value 19hex S5, S4 and S1 are active. 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.
Inputs/Outputs, EZ700/800/EZD Operating Mode “Inputs 1 byte” module: S1 – When this module is selected, the master only receives 1 byte S8 (coil output data S1 to S8) via PROFIBUS. Byte Meaning Value 0 Scan status of the EZ outputs S1 to S8 J Table 2 on Page 37 Requirement: The “Inputs, 1 byte” module must have been selected. J “Outputs 3 bytes” module: operating mode, R9 – R16, R1 – R8 The output data and control commands can now only be used if you have selected the appropriate modules as well.
“Outputs 3 bytes” module: operating mode, R9 Table 3: EZ/EZD operating mode Byte 0: Operating mode Bit 7 6 5 4 3 2 1 0 Index for setting the basic unit to the safety state 0 0 0 0 0 0 0 0 Index for transferring valid data 0 0 0 1 0 1 0 0 RUN command 0 0 1 1 0 1 0 0 STOP command 0 1 0 0 0 1 0 0 0 = status “0”, 1 = status “1” Explanation Value 34hex = 00110100bin: This value sets the EZ/EZD status from STOP to RUN.
Inputs/Outputs, EZ700/800/EZD Operating Mode Table 4: EZ/EZD Input Byte 1: Write status of R9 to R16 Bit 7 6 5 4 3 2 1 0 R9 0/1 R10 0/1 R11 0/1 R12 0/1 R13 0/1 R14 0/1 R15 R16 0/1 0/1 Example: Value 19hex 40 R13, R12 and R9 should be active. For more information visit: www.EatonElectrical.
“Outputs 3 bytes” module: operating mode, R9 Table 5: EZ/EZD Input Byte 2: Write status of R1 to R8 Bit 7 6 5 4 3 2 1 R1 0/1 R2 0/1 R3 0/1 R4 0/1 R5 0/1 R6 0/1 R7 R8 0 0/1 0/1 Example: Value 2Bhex R6, R4, R2 and R1 should be active. 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.
Inputs/Outputs, EZ700/800/EZD Operating Mode “Outputs 1 byte” module: R1 – R8 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 J Table 5 on Page 41 Requirement: The “Outputs; 1 byte” module must have been selected. J The input data and control commands can now only be used if you have selected the appropriate modules as well.
6 Data exchange procedure Control commands for EZ700 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.
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.
Data exchange procedure 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.
Control commands for EZ700 Table 6: Index 0 – date and time of real-time clock Byte Contents Operand 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 on month and year) 0x01 to 0x1Fh 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: Value (hex) Index 1 – Summer time Byte Contents 4 Data 1 Value (hex) Area None 00 Rule 01 Automatic EU
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 J Table 9 Switching rule bit array J Please also read the detailed description in the EZ500/700 manual (MN05013003E). The following table shows the composition of the corresponding data bytes. MN05013001E For more information visit: www.EatonElectrical.
48 Data 5 Switching rule bit array Data 4 Data 3 0 to 30 0: month Rule_2 Data 2 0: on Rule_1 1 0 For more information visit: www.EatonElectrical.
Read/write image data Read/write image data J Please also observe the relevant description of possible 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. Search Term: MN05013003E. General notes on working with image data Re a inp d uts ite Wr uts tp ou System time Image data written Image data written EZ/EZD Program cycle (0 ...
Control commands for EZ700 Overview Operands Meaning Read/ write Type Page A1 – A16 Analog value comparators/threshold comparators: A1 – A16 Read 8C 51 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 Markers: M1 – M16/N1 – N16 Write 86/87 58 M1 – M16, N1 – N16 Markers: M1 – M16/N1 – N16 Read 86/87 60 O1 – O4 Oper
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.
Control commands for EZ700 Counters: C1 – C16 The following commands are used to read the logic state of the individual counters C1 – C16.
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).
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.
Read/write image data Table 13: Data 1 Byte 5 to 6: Data 1 to 2 Bit 7 6 5 4 3 2 1 I1 0/1 0/1 I2 .. I8 Data 2 .. 0/1 Bit 7 6 5 4 3 2 1 I9 0/1 .. MN05013001E 0 0/1 I10 I16 0 .. 0/1 For more information visit: www.EatonElectrical.
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).
Read/write image data Example: A voltage signal is present at analog input 1.
Control commands for EZ700 Markers: M1 – M16/N1 – N16 Telegram structure Byte Meaning Value (hex), sent by Master Slave 0 Toggle byte J page 44 1 Command: Write 8C – Write successful – C1 Command rejected – C01 01 01 With M marker 86 86 With N marker 87 87 Response: 2 Len 3 Type2 4 Index2 00 – 0F 00 – 0F 5 Data 1 (Low Byte)3 00/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.
Read/write image data Example: Marker M13 is set. Byte Meaning Value (hex), sent by Master Slave 0 Toggle byte J page 44 1 Command: Write 8C – Write successful – C1 Command rejected – C01 01 01 86 86 Response: 2 Len 3 Type M marker 4 Index 0C 0C 5 Data 1 01 00 6–8 Data 2 – 4 00 00 1) Possible causes J page 91 MN05013001E For more information visit: www.EatonElectrical.
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.
Read/write image data Table 15: Byte 5 to 6: Data 1 to 2 Data 1 Bit 7 M N M1 N1 M2 N2 ... ... M8 N8 6 5 4 3 2 1 0 0/1 0/1 ... 0/1 Data 2 Bit 7 M9 N9 M10 N10 ... – M16 N16 6 5 4 3 2 1 0 0/1 0/1 ...
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.
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 Ensure that the P buttons are also activated via the System menu (in the basic unit). Only one byte has to be transferred for the P buttons.
Control commands for EZ700 Table 17: Data 1 Byte 5: Data 1 Bit 7 6 5 4 3 2 1 P1 0/1 0/1 P2 P3 0/1 P4 0/1 – 0 – 0 – – 0 0 0 Example: Data 1 = 2hex J P3 is active. 64 For more information visit: www.EatonElectrical.
Read/write image data Local outputs: Q1 – Q8 The local outputs can be read directly via the PROFIBUS-DP fieldbus.
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.
Read/write image data Table 19: Bit 7 Data 1 RW SW R1 S1 R2 S2 ... ... R8 S8 Data 2 MN05013001E Byte 5 to 6: Data 1 to 2 – R10 – ... – R16 – 5 4 3 2 1 0 0/1 0/1 ... 0/1 Bit 7 R9 6 6 5 4 3 2 1 0 0/1 0/1 ... 0/1 For more information visit: www.EatonElectrical.
Control commands for EZ700 Timing relays: T1 – T16 The following commands are used to read the logic state of the individual timers T1 - T16.
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.
Control commands for EZ700 Master reset: Z1 – Z3 Telegram structure Byte Value (hex), sent by Meaning Master Slave 0 Toggle byte J page 44 1 Command: Read 88 – Read successful – C2 Command rejected – C01 Response: 2 Len 01 01 3 Type 93 93 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 Table 22: Byte 5: Data 1 Data 1 Bit 7 6 5 4 3 2 1 Z1 for Q outputs 0/1 Z2 for M markers 0/1 Z3 for outputs and markers ..
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.
Control commands for EZ700 Read/write function block data J 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.
Read/write function block data Analog value comparator/threshold comparator: A1 – A16 Telegram structure Byte Meaning Value (hex), sent by Master 0 Toggle byte 1 Command: Slave J page 44 Read 89 – Write 8D – Read successful – C2 Write successful – C1 Command rejected – C01 Response: 2 Type 8D 8D 3 Instance2 00 – 0F 00 – 0F 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 a
Control commands for EZ700 Table 24: Operand overview Index (hex) Operand Read Write 00 Parameters J Table 25 × 01 Control byte J Table 26 × 02 Comparison value 1 I12 × c1 03 Comparison value 2 I22 × c1 04 Gain factor for I1 (I1 = F1 × I1) F12 × c1 05 Gain factor for I2 (I2 = F2 × I2) F22 × c1 06 Offset for value I1 (I1 = OS + actual value at I1) OS2 × c1 07 Switching hysteresis for value I2 HY2 × c1 1) The value can only be written if it is assigned to a constant
Read/write function block data Table 25: Meaning Index 00 – Parameters Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Appears in the parameter menu 0/1 Yes/no Compare FB not used 0 0 0 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 0/1 I1= Constant F1= Constant 0/1 I2= Constant 0/1 F2 = Constant 0/1 OS = Constant 0/1 HY = Constant Not used 0/1 0 0 0 0 0 0 Example: Data 1 (Byte 5) = 0xA3, Data 2
Control commands for EZ700 Counter relays: C1 – C16 Telegram structure Byte Meaning Value (hex), sent by Master 0 Toggle byte 1 Command: Slave J page 44 Read 89 – Write 8D – Read successful – C2 Write successful – C1 Command rejected – C01 Response: 2 Type 8F 8F 3 Instance2 00 – 0F 00 – 0F 4 Index J Table 27 5–8 Data 1 – 4 depending on index,J Table 28 1) Possible causes J page 91 2) EZ provides 16 counters C1 to C16 for use as required.
Read/write function block data Table 27: Operand overview Index (hex) Operand Read Write 00 Parameters J Table 28 × 01 Control byte J Table 29 × 02 Actual value S12 × c1 03 Counter setpoint 2 S22 × c1 1) The value can only be written if it is assigned to a constant in the program. 2) A 16-bit value is transferred in data bytes Data 1 – Data 2. It should be remembered that Data 1 is the low byte and Data 2 the high byte.
Control commands for EZ700 Table 29: Index 01 – Control byte Data 1 Bit FB output 7 – 6 – 5 – 4 3 – C4 2 1 0 RE D2 Q11 3 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 Master Slave Command: Read 89 – Response: Read successful – C2 1 Type 8F 8F 2 Instance 02 02 3 Index 02
Read/write function block data Operating hours counters: O1 – O4 Telegram structure Byte Value (hex), sent by Meaning Master 0 Toggle byte 1 Command: Slave J page 44 Read 89 – Write 8D – Read successful – C2 Write successful – C1 Command rejected – C01 Response: 2 Type 92 92 3 Instance2 00 – 03 00 – 03 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.
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.
Read/write function block data Timing relays: T1 – T16 Telegram structure Byte Meaning Value (hex), sent by Master 0 Toggle byte 1 Command: Slave J page 44 Read 89 – Write 8D – Read successful – C2 Write successful – C1 Command rejected – C01 Response: 2 Type 8E 8E 3 Instance2 00 – 0F 00 – 0F 4 Index J Table 33 5–8 Data 1 – 4 depending on index J Table 34 1) Possible causes J page 91 2) EZ provides 16 timing relays T1 to T16 for use as required.
Control commands for EZ700 Table 33: Operand overview Index (hex) Operand Read Write 00 Parameters J Table 34 × 01 Control byte J Table 35 × 02 Actual value 1 T × c1 03 Time setpoint 1 S12 × c1 04 Time setpoint 2 S22 × c1 1) The value can only be written if it is assigned to a constant in the program. 2) A 16-bit value is transferred in data bytes Data 1 – Data 2. It should be remembered that Data 1 is the low byte and Data 2 the high byte. 82 For more information visit: www.
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) 1 0 0 On and off delayed each with random setpoint (two time setpoints) 1 0 1 Impulse transmitter 1 1 0 Flashing relay (two time setpoints) 1 1 1 Time base FB not used 0
Control commands for EZ700 Table 35: Index 01 – Control byte Bit 7 6 5 4 3 FB input/output Data 3 1) 2) 3) 4) – – – – ST4 2 1 0 RE3 EN2 Q11 Switch contact Enable, the timing relay is started (trigger coil) Reset, the timing relay is reset (reset coil) Stop, the timing relay is stopped (Stop coil) Example: The time setpoint 1 is to be read: Byte Meaning Value (hex), sent by Master Slave Command: Read 89 – Response: Read successful – C2 1 Type 8E 8E 2 Instance 00 00 3 Index 03
Read/write function block data Year time switch: Y1 – Y8 Telegram structure Byte Meaning Value (hex), sent by Master 0 Toggle byte 1 Command: Slave J page 44 Read 89 – Write 8D – Read successful – C2 Write successful – C1 Command rejected – C01 Response: 2 Type A2 A2 3 Instance2 00 – 07 00 – 07 4 Index J Table 36 5–8 Data 1 – 4 depending on index J Table 37 1) Possible causes J page 91 2) EZ provides 8 year time switches Y1 to Y8 for use as required.
Control commands for EZ700 Table 36: Operand overview Index (hex) Operand Read Write 00 ParametersJ Table 37 × 01 Control byteJ Table 38 × Channel A × c1 11 Time point ON × c1 12 Time point OFF × c1 × c1 Channel B 21 Time point ON × c1 22 Time point OFF × c1 × c1 Channel C 31 Time point ON × c1 32 Time point OFF × c1 × c1 Channel D 41 Time point ON × c1 42 Time point OFF × c1 1) The value can only be written if it is assigned to a constant in the program
Read/write function block data Table 38: Index 01 – Control byte Data 1 Bit 7 6 5 4 3 2 1 0 – – – – – – – Q11 FB output 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.
Control commands for EZ700 7-day time switch: Ö1 – Ö8 Telegram structure Byte Meaning Value (hex), sent by Master 0 Toggle byte 1 Command: Slave J page 44 Read 89 – Write 8D – Read successful – C2 Write successful – C1 Command rejected – C01 Response: 2 Type A1 A1 3 Instance2 00 – 07 00 – 07 4 Index J Table 39 J Table 39 5–8 Data 1 – 4 depending on index, Table 40 1) Possible causes J page 91 2) EZ provides 8 7-day time switches Ö1 to Ö8 for use as required.
Read/write function block data Table 39: Operand overview Index (hex) Operand Read Write 00 ParametersJ Table 40 × 01 Control byteJ Table 41 × 11 Channel A Day on/off × c1 12 On time × c1 13 Off time × c1 × c1 21 Channel B Day on/off 22 On time × c1 23 Off time × c1 × c1 31 Channel C Day on/off 32 On time × c1 33 Off time × c1 × c1 41 Channel D Day on/off 42 On time × c1 43 Off time × c1 1) The value can only be written if it is assigned to a cons
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 0/1 Channel B 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 – – – – – – – Q11 FB output 1) Status 1, if the count condition is fulfilled.
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 2 Type 00 3 Instance 00 4 Index 00 5 Error code J Table 42 Command rejected MN05013001E For more information visit: www.
Control commands for EZ700 92 Table 42: Error codes Error code Description 0x01 Unknown telegram transmitted. 0x02 Unknown object transmitted. 0x03 Unknown command transmitted. 0x04 Invalid instance transmitted. 0x05 Invalid parameter set transmitted. 0x06 An attempt was made to write to a variable that is not a constant. 0x0C The device is in an invalid device mode. STOP l RUN or RUN l STOP 0x0D Invalid display access.
7 Data exchange procedure EZ800/EZD Control Commands 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.
EZ800/EZD Control Commands Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8 Bit 7 6 5 4 3 2 1 0 01hex/861hex 0/1 0 0 0 0 0 0 1 Toggle bit Byte 0 – Toggle byte Byte 0 is used to activate the sending of a control command with the toggle function. fixed 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.
Read/write date and time Read/write date and time J Please also note the relevant description of the real-time 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. EZ800 manual search term: MN05013004E. EZD manual search term: MN05013005E.
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; depending on month and year) 01 – 1F 7 Data 4 Month (1 to 12) 01 – 0C 8 Data 5 Year (0 – 99, corresponds to 2000 – 2099) 00 – 63 Winter/summer time, DST Telegram structure Byte Meaning Value (hex), sent by Master 0 Toggle byte 1 Command Slave J page 94 Read 93 – Write B3 – Read succe
Read/write date and time Table 44: Byte 4 – 8: Data 1 – 5 Byte Contents 4 Data 1 Value (hex) Area None 00 Manual 01 Automatic EU 02 Automatic GB 03 Automatic US 04 5 Data 21 Set summer time day (1 to 28, 29, 30, 31 depending on month and year) 00 – 3B 6 Data 31 Set Summer time month (1 to 12) 01 – 1F 7 Data 41 Set winter time day (1 to 28, 29, 30, 31 depending on month and year) 01 – 0C 8 Data 51 Set winter time month (1 to 12) 00 – 63 1) The additional parameters Data 2 to
EZ800/EZD Control Commands Example The real-time clock of the EZ800 is to be set to Friday 23.05.2003, 14:36. Byte J 98 Meaning Value (hex), sent by Master Slave 0 Toggle byte 81 80 1 Command: Write B3 – Response: Write successful – C1 2 Len 05 05 3 Index 00 00 4 Data 1 0E 00 5 Data 2 24 00 6 Data 3 17 00 7 Data 4 05 00 8 Data 5 03 00 All values must be transferred as hexadecimal values. For more information visit: www.EatonElectrical.
Read/write image data Read/write image data J Please also observe the relevant description of possible image data provided in the EZ800 manual, the EZD manual, or in the EZSoft Help. The latest editions of these manuals are available as PDF files from the Internet at: www.EatonElectrical.com. EZ800 manual search term: MN05013004E. EZD manual search term: MN05013005E. The information provided in Section “General notes on working with image data” on Page 49 also applies to EZ800/EZD.
EZ800/EZD Control Commands Read local inputs IW0 This command string enables you to read the local inputs of the EZ800/EZD. The relevant input word is stored in Intel format.
Read/write image data Example: Read local inputs IW0 Byte J Meaning Value (hex), sent by Master Slave 0 Toggle byte 81 80 1 Command: Read 91 – Response: Read successful – C2 2 Len 02 02 3 Type 01 01 4 Index 00 00 5 Data 1 00 C4 6 Data 2 00 02 7 Data 3 00 00 8 Data 4 00 00 All values must be transferred as hexadecimal values. The values Data 1 = C4 and Data 2 = 02 indicate that the inputs I8, I7, I3 and I10 have been set to 1.
EZ800/EZD Control Commands Read inputs of the stations IW1 to IW8 The EZ800 and EZD devices can be remotely expanded very simply using the EZ-NET. The service offered here makes it possible to implement read access to the inputs of individual NET stations.
Read/write image data Read local analog inputs IA1 to IA4 The analog inputs on the EZ800 and EZD basic units can be read directly via PROFIBUS-DP. The 16-bit value is transferred in Intel format (LowByte first).
EZ800/EZD Control Commands Example A voltage signal is present at analog input 1.
Read/write image data Read local diagnostics ID1 to ID16 The local diagnostics (ID1 – ID8) bytes indicate the status of the individual NET stations. The connection to the remote station (only EZD) is indicated via ID9.
EZ800/EZD Control Commands Table 46: Data 1 Byte 5 to 6: Data 1 to 2 Bit 7 6 5 4 3 2 1 ID1 0/1 0/1 ID2 .. ID8 Data 2 .. 0/1 Bit 7 6 5 4 3 2 1 ID9 0 0/1 – 1 ... – 0 ... 1 0/1= active/inactive NET station, –= not assigned Example Data 1 = F8, Data 2 = FF J In the EZ-NET network, the three stations are present with the NET IDs 1, 2, 3 106 For more information visit: www.EatonElectrical.
Read/write image data Read and write local QW0 outputs/outputs of the stations QW1 to QW8 You can read and write the local outputs directly via PROFIBUS-DP. However, the outputs are only switched externally if the device is in Run mode and the addressed output is not being used in the circuit diagram. J Section “Read/write image data” on Page 99.
EZ800/EZD Control Commands Table 47: Data 1 Byte5: Data Bit 7 6 5 4 3 2 1 Q1 0/1 0/1 Q2 Q3 0/1 Q4 0/1 Q5 0 Q6 0 Q7 Q8 108 0 0 0 For more information visit: www.EatonElectrical.
Read/write image data Reading and writing local analog output QA1 The commands provided can be used to access the local analog output of the EZ800 or EZD basic unit. When writing to the analog output, however, the value will only be output externally if the device concerned is in Run mode and the image concerned has not been overwritten by actual program. J Section “Read/write image data” on Page 99.
EZ800/EZD Control Commands Reading local P buttons The local P buttons are the display cursor buttons of the EZ800/EZD basic unit. You can scan the buttons in both Run and Stop mode. J Ensure that the P buttons are also activated via the SYSTEM menu (in the basic unit). Only one byte has to be transferred for the P buttons.
Read/write image data Table 48: Data 1 Byte 5: Data Bit 7 6 5 4 3 2 1 P1 0/1 0/1 P2 P3 0/1 P4 0/1 – 0 – 0 – – MN05013001E 0 0 0 For more information visit: www.EatonElectrical.
EZ800/EZD Control Commands Reading RW.. inputs/SW.. outputs from EZ-LINK 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 EZ800/EZD image.
Read/write image data Table 49: Bit 7 Data 1 RW SW R1 S1 R2 S2 R3 S3 R4 S4 R5 S5 R6 S6 R7 S7 R8 S8 Data 2 MN05013001E Byte 5 to 6: Data 1 to 2 – R10 – R11 – R12 – R13 – R14 – R15 – R16 – 5 4 3 2 1 0 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 Bit 7 R9 6 6 5 4 3 2 1 0 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 For more information visit: www.EatonElectrical.
EZ800/EZD Control Commands Reading receive data network RN1 .. RN32/send data network SN1 .. SN32 EZ-NET allows a point-to-point connection to be implemented between the individual NET stations. The RN and SN data are used for the data exchange (see the EZ800 manual and EZD manual). The latest editions of these manuals are available as PDF files from the Internet at: www.EatonElectrical.com. EZ800 manual search term: MN05013004E. EZD manual search term: MN05013005E.
Read/write image data Table 50: Byte 5 to 8: Data 1 to 4 Bit 7 Data 1 RN1 6 5 SN1 4 3 2 ... 0/1 SN8 Data 2 RN9 0/1 Bit 7 6 5 4 3 2 1 SN9 RN16 SN16 Data 3 ... 0/1 Bit 7 6 5 4 3 2 1 RN17 SN17 Data 4 ... 0/1 Bit 7 6 5 4 RN25 SN25 3 2 1 0 0/1 ... RN32 SN32 0 0/1 ... RN24 SN24 0 0/1 .... MN05013001E 0 0/1 ... RN8 1 ... 0/1 For more information visit: www.EatonElectrical.
EZ800/EZD Control Commands Reading and writing markers Byte Meaning Value (hex), sent by Master 0 Toggle byte 1 Command Slave J page 94 Read 91 – Write B1 – Read successful – C2 Write successful – C1 Command rejected – C0 J Table 51 J Table 51 Read operation 00 J “Example 1” on Page 118 For write operation J “Example 2” on Page 119 00 Response 2 Len 3 Type 4 Index 5–8 Data 1 – 4 Table 51: Byte 2 – 4: Len, Type, Index Operand ..
Read/write image data The latest editions of these manuals are available as PDF files from the Internet at: www.EatonElectrical.com. EZ800 manual search term: MN05013004E. EZD manual search term: MN05013005E. Attention! The function blocks and DW markers (32-bit values) of EZ800/EZD operate with signed values.
EZ800/EZD Control Commands Example 1 Read marker bit M62 Byte Meaning Value (hex), sent by Master Slave 0 Toggle byte 81 80 1 Command: Read 91 – Response: Read successful – C2 2 Len 01 01 3 Type 0B 0B 4 Index 3E 3E 5 Data 1 00 01 6 Data 2 00 00 7 Data 3 00 00 8 Data 4 00 00 Result: Data 1 = 01hex J M62 was set 118 For more information visit: www.EatonElectrical.
Read/write image data Example 2 Write marker word MW32 with 823 823dec = 337hex J Data 1 = 37hex, Data 2 = 03hex Byte MN05013001E Meaning Value (hex), sent by Master Slave 0 Toggle byte 81 80 1 Command: Write B1 – Response: Write successful – C1 2 Len 02 02 3 Type 0D 0D 4 Index 20 20 5 Data 1 37 00 6 Data 2 03 00 7 Data 3 00 00 8 Data 4 00 00 For more information visit: www.EatonElectrical.
EZ800/EZD Control Commands Read/write function block data Please also note the relevant description of the function blocks 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. EZ800 manual search term: MN05013004E. EZD manual search term: MN05013005E. General notes Always note the following when working with function blocks: • The relevant data is transferred in Intel format.
Read/write function block data Overview Operands Meaning Read/write Type Page A01 – A32 “Analog value comparators A01 .. A32” Read/write 11 122 AR01 – AR32 “Arithmetic function blocks AR01 .. AR32” Read/write 12 124 BC01 – BC32 “Block compare function blocks BC01 .. BC32” Read/write 25 126 BT01 – BT32 “Block transfer function blocks BT01 .. BT32” Read/write 26 128 BV01 – BV32 “Boolean sequence function blocks BV01 .. BV32” Read/write 13 130 C01 – C32 “Counters C01 ..
EZ800/EZD Control Commands Analog value comparators A01 .. A32 Telegram structure Byte Meaning Value (hex), sent by Master 0 Toggle byte 1 Command: Slave J page 94 Read 92 – Write B2 – Read successful – C2 Write successful – C1 Command rejected – C0 Response: 122 2 Type 11 11 3 Instance 01 – 20 01 – 20 4 Index J Table 52 J Table 52 5–8 Data 1 – 4 00 depending on index, J Table 53, 54 For more information visit: www.EatonElectrical.
Read/write function block data Table 52: Operand overview Index (hex) Operand Read Write 00 Bit IO, J Table 53 × 01 Mode, J Table 54 × 02 Comparison value 1 I1 × c1 03 Gain factor for I1 (I1 = F1 χ value) F1 × c1 04 Comparison value 2 I2 × c1 05 Gain factor for I2 (I2 = F2 χ value) F2 × c1 06 Offset for value I1 OS × c1 07 Switching hysteresis for value I2 (the value of HY HY is for both positive and negative hysteresis.
EZ800/EZD Control Commands Arithmetic function blocks AR01 ..
Read/write function block data Table 55: Operand overview Index (hex) Operand Read Write 00 Bit IO, J Table 56 × 01 Mode, J Table 57 × 02 First operand I1 × c1 03 Second operand I2 × c1 04 Result QV × 1) The value can only be written if it is assigned to a constant in the program. J The data for index 2 to 4 is transferred as a 32-bit value in Intel format (Data 1 – Low Byte to Data 4 – High Byte).
EZ800/EZD Control Commands Block compare function blocks BC01 ..
Read/write function block data Table 58: Operand overview Index (hex) Operand Read Write 00 Bit IO, J Table 59 × 01 Mode, J Table 60 × 02 Source range 1 I1 × c1 03 Target range 2 I2 × c1 04 Number of elements to compare: 8 (max. 192 bytes) NO × c1 1) The value can only be written if it is assigned to a constant in the program. J The data for index 2 to 4 is transferred as a 32-bit value in Intel format (Data 1 – Low Byte to Data 4 – High Byte).
EZ800/EZD Control Commands Block transfer function blocks BT01 ..
Read/write function block data J The data for index 2 and 3 is transferred as a 32-bit value in Intel format (Data 1 – Low Byte .. Data 2 - High Byte). Table 62: Index 0 – Bit IO Bit 7 6 5 4 3 2 1 0 FB input Data 1 – – – – – – – T1 FB output Data 3 – – – – – E32 E23 E14 1) Transfer of the source address specified at I1 to the target address specified at I2 on rising edge. Error outputs 2) Status 1 if the number of elements exceeds the source or target range.
EZ800/EZD Control Commands Boolean sequence function blocks BV01 ..
Read/write function block data Table 64: Operand overview Index (hex) Operand Read Write 00 Bit IO, J Table 65 × 01 Mode, J Table 66 × 02 First operand I1 × c1 03 Second operand I2 × c1 04 Operation result QV × 1) The value can only be written if it is assigned to a constant in the program. J The data for index 2 to 4 is transferred as a 32-bit value in Intel format (Data 1 – Low Byte to Data 4 – High Byte).
EZ800/EZD Control Commands Counters C01 .. C32 Telegram structure Byte Meaning Value (hex), sent by Master 0 Toggle byte 1 Command: Slave J page 94 Read 92 – Write B2 – Read successful – C2 Write successful – C1 Command rejected – C0 Response: 132 2 Type 14 14 3 Instance 01 – 20 01 – 20 4 Index J Table 67 J Table 67 5–8 Data 1 – 4 Read operation 00 depending on index, J Table 68 Write operation depending on index, J Table 68 00 For more information visit: www.
Read/write function block data Table 67: Operand overview Index (hex) Operand Value Read 00 Bit IO J Table 68 × 01 Mode/Parameter – – – 02 Upper setpoint SH In integer range from – × c1 03 Lower setpoint SL × c1 04 Preset actual value SV × c1 05 Actual value in Run mode QV 2147483648 to +2147483647 Write × 1) The value can only be written if it is assigned to a constant in the program.
EZ800/EZD Control Commands Frequency counters CF01 ..
Read/write function block data Table 69: Operand overview Index (hex) Operand Read Write 00 Bit IO, J Table 70 × 01 Mode/Parameter – – 02 Upper setpoint SH × c1 03 Lower setpoint SL × c1 04 Actual value in Run mode QV × 1) The value can only be written if it is assigned to a constant in the program. J The data for index 2 to 4 is transferred as a 32-bit value in Intel format (Data 1 – Low Byte to Data 4 – High Byte).
EZ800/EZD Control Commands High-speed counters CH01 ..
Read/write function block data Table 71: Operand overview Index (hex) Operand Value Read 00 Bit IO J Table 72 × 01 Mode/Parameter – – – 02 Upper setpoint SH In integer range from × c1 03 Lower setpoint SL × c1 04 Preset actual value SV × c1 05 Actual value in Run mode QV –2147483648 to +2147483647 Write × 1) The value can only be written if it is assigned to a constant in the program.
EZ800/EZD Control Commands Incremental encoder counters CI01 ..
Read/write function block data Table 73: 0 Operand overview Index (hex) Operand Value Read 00 Bit IO Table 74 × 01 Mode/Parameter – – – 02 Upper setpoint SH In integer range from × c1 03 Lower setpoint SL × c1 04 Preset actual value SV × c1 05 Actual value in Run mode QV –2147483648 to +2147483647 Write × 1) The value can only be written if it is assigned to a constant in the program.
EZ800/EZD Control Commands Comparators CP01 ..
Read/write function block data Table 75: Operand overview Index (hex) Operand Read Write 00 Bit IO, Table 76 × 01 Mode/Parameter – – 02 Comparison value I1 × c1 03 Comparison value I2 × c1 1) The value can only be written if it is assigned to a constant in the program. J The data for index 2 and 3 is transferred as a 32-bit value in Intel format (Data 1 – Low Byte to Data 4 – High Byte).
EZ800/EZD Control Commands Text output function blocks D01 ..
Read/write function block data Table 77: MN05013001E Operand overview Index (hex) Operand 00 Bit IO, J Table 78 × 01 Mode/Parameter – 02 Text line 1, column 1 - 4 × 03 Text line 1, column 5 - 8 × 04 Text line 1, column 9 - 12 × 05 Text line 1, column 13 - 16 × 06 Text line 2, column 1 - 4 × 07 Text line 2, column 5 - 8 × 08 Text line 2, column 9 - 12 × 09 Text line 2, column 13 - 16 × 10 Text line 3, column 1 - 4 × 11 Text line 3, column 5 - 8 × 12 Text line 3, col
EZ800/EZD Control Commands Index (hex) Operand Read 27 Scaling maximum value 2 × 28 Scaling maximum value 3 × 29 Scaling maximum value 4 × 30 Control information line 1 × 31 Control information line 2 × 32 Control information line 3 × 33 Control information line 4 × Write 1) The value can only be written if it is assigned to a constant in the program.
Read/write function block data Data function blocks DB01 ..
EZ800/EZD Control Commands Table 79: Operand overview Index (hex) Operand Read 00 Bit IO, Table 80 × 01 Mode/Parameter – – 02 Input value: value that I1 is transferred to the QV output when the FB is triggered. × c1 03 Output value × QV Write 1) The value can only be written if it is assigned to a constant in the program. J The data for index 2 and 3 is transferred as a 32-bit value in Intel format (Data 1 – Low Byte to Data 4 – High Byte).
Read/write function block data PID controllers DC01 ..
EZ800/EZD Control Commands Table 81: Operand overview Index (hex) Operand Read Write 00 Bit IO, J Table 82 × 01 Mode, J Table 83 × 02 Setpoint: –32768 to +32767 I1 × c1 03 Actual value: –32768 to +32767 I2 × c1 04 Proportional gain [%], Value range: 0 to 65535 KP × c1 05 Reset time [0.1 s], Value range: 0 to 65535 TN × c1 06 Rate time [0.1 s], Value range: 0 to 65535 TV × c1 07 Scan time = Time between function block calls. TC Value range: 0.1s to 6553.5s.
Read/write function block data Table 82: Index 0 – Bit IO Bit 7 6 5 4 FB input Data 1 – – – FB output Data 3 – – – – 1) 2) 3) 4) 5) 6) MN05013001E SE1 3 2 1 0 ED2 EI3 EP4 EN5 – – – LI6 Transfer of manual manipulated variable on status 1 Activation of D component on status 1 Activation of I component on status 1 Activation of P component on status 1 Activates the function block on status 1.
EZ800/EZD Control Commands Signal smoothing filters FT01 ..
Read/write function block data Table 84: Operand overview Index (hex) Operand Read Write 00 Bit IO, J Table 85 × 01 Mode/Parameter – – 02 Input value, value range: –32768 to +32767 I1 × c1 03 Recovery time [0.1 s], Value range: 0 to 65535 TG × c1 04 Proportional gain [%], Value range: 0 to 65535 KP × c1 05 Delayed output value, value range: –32768 to +32767 QV × 1) The value can only be written if it is assigned to a constant in the program.
EZ800/EZD Control Commands Receive network data function blocks GT01 ..
Read/write function block data Table 87: Index 0 – Bit IO Bit 7 6 5 4 3 2 1 0 – – – – – – – Q1 FB output Data 3 1) Status 1 if a new value is present that is transferred from the NET network. Table 88: Index 1 – Mode/Parameters (designation of PUT FB with data to be received) Mode Parameters Data 1 Data 3 NET-ID1 0 NET-ID 1 .. .. 7 NET-ID 8 Instance2 0 PT01 .. .. 31 PT32 1) Number of station sending the value. Possible station numbers: 01 to 08 2) Send FB (e.g.
EZ800/EZD Control Commands 7-day time switches HW01 ..
Read/write function block data Table 90: Index 0 – Bit IO Bit 7 6 5 4 3 2 1 0 – – – – – – – Q1 FB output Data 3 1) Status 1 if the switch-on condition is fulfilled. The data in the following table is shown in the Motorola format although it is actually transferred in Intel format.
EZ800/EZD Control Commands Example The channel A parameters of 7-day time switch HW19 are to be read.
Read/write function block data Year time switches HY01 ..
EZ800/EZD Control Commands Table 93: Index 0 – Bit IO Bit 7 6 5 4 3 2 1 0 – – – – – – – Q1 FB output Data 3 1) Status 1 if the switch-on condition is fulfilled. The data in the following table is shown in the Motorola format although it is actually transferred in Intel format.
Read/write function block data Index 2 – 5, Parameter channels A – D Bit 7 6 5 4 3 2 1 0 Date 2 Bit 7 6 y5 6 5 4 3 2 1 0 5 4 3 2 1 0 m0 d4 d3 d2 d1 d0 Date 1 5 4 3 2 1 0 Date 4 OFF y6 7 7 6 Date 3 y4 y3 y2 y1 y0 Year m3 m2 m1 Month Day Switch-off time: Day = 3 = 03hex = 0000 0011b Month = 10 (October) = 0Ahex = 0000 1010b Year = 2012 = 0Chex = 0000 1100b Resulting telegram: Byte MN05013001E Meaning Value (hex), sent by Master Slave 0 Toggle byte 81
EZ800/EZD Control Commands Value scaling function blocks LS01 ..
Read/write function block data Table 95: Operand overview Index (hex) Operand Read Write 00 Bit IO, J Table 96 × 01 Mode/Parameter – – 02 Input value, value range: 32 bit I1 × c1 03 Interpolation point 1, X coordinate, value range: 32 bit X1 × c1 04 Interpolation point 1, Y coordinate, value range: 32 bit Y1 × c1 05 Interpolation point 2, X coordinate, value range: 32 bit X2 × c1 06 Interpolation point 2, Y coordinate, value range: 32 bit Y2 × c1 07 Output value: cont
EZ800/EZD Control Commands Master reset function blocks MR01 .. MR32 Telegram structure Byte Meaning Value (hex), sent by Master Slave 0 Toggle byte J page 94 1 Command: Read 92 – Read successful – C2 Command rejected – C0 Response: 2 Type 0F 0F 3 Instance 01 – 20 01 – 20 4 Index Bit IO 00 00 Mode 01 01 Data 1 – 4 00 depending on index, J Table 97, 98 5–8 162 For more information visit: www.EatonElectrical.
Read/write function block data Table 97: Index 0 – Bit IO Bit 7 6 5 4 3 2 1 0 FB input Data 1 – – – – – – – T1 FB output Data 3 – – – – – – – Q12 1) Trigger coil. The appropriate Reset is executed if the coil is triggered (with a rising edge). 2) Status 1 if the trigger coil MR..T is 1. Table 98: Index 1 - Mode Data 1 (hex) MN05013001E 00 Q Outputs Q.., *Q.., S.., *S.., *SN.., QA01 are reset to 0. * depending on the NET-ID 01 M The marker range MD01 to MD48 is reset to 0.
EZ800/EZD Control Commands Numerical converters NC01 ..
Read/write function block data Table 99: Operand overview Index (hex) Operand Read 00 Bit IO, Table 100 × 01 Mode, Table 101 × 02 Input value: I1 operand to be converted × 03 Output value: contains the conversion result × QV Write c1 1) The value can only be written if it is assigned to a constant in the program. J The data for index 2 and 3 is transferred as a 32-bit value in Intel format (Data 1 – Low Byte .. Data 2 - High Byte).
EZ800/EZD Control Commands Operating hours counters OT01 ..
Read/write function block data Table 102: Operand overview Index (hex) Operand Read Write 00 Bit IO, J Table 103 × 01 Mode/Parameter – – 02 Upper threshold value I1 × c1 03 Actual value of operating hours counter QV × 1) The value can only be written if it is assigned to a constant in the program.
EZ800/EZD Control Commands Send network data function blocks PT01 ..
Read/write function block data Table 105: Index 0 – Bit IO Bit 7 6 5 4 3 2 1 0 FB input Data 1 – – – – – – – T1 FB output Data 3 – – – – – – – Q12 1) Trigger coil. The value is provided on the NET if the coil is triggered (with a rising edge). 2) Status 1 if the trigger coil PT..T_ is also 1. MN05013001E For more information visit: www.EatonElectrical.
EZ800/EZD Control Commands Pulse width modulation function blocks PW01 ..
Read/write function block data Table 106: Operand overview Index (hex) Operand Read Write 00 Bit IO, J Table 107 × 01 Mode/Parameter – – 02 Manipulated variable, value range: 0 to 4095 (12 bit) SV × c1 03 Period duration [ms], Value range: 0 to 65535 PD × c1 04 Minimum on duration [ms], Value range: 0 to 65535 ME × c1 1) The value can only be written if it is assigned to a constant in the program.
EZ800/EZD Control Commands Synchronize clock function block SC01 Telegram structure Byte Meaning Value (hex), sent by Master Slave 0 Toggle byte J page 94 1 Command: Read 92 – Read successful – C2 Command rejected – C0 Response: 2 Type 20 20 3 Instance 01 01 4 Index J Table 108 5–8 Data 1 – 4 00 depending on index, J Table 109 Table 108: Operand overview Index (hex) Operand Read 00 Bit IO, J Table 109 × 01 Mode/Parameter – Write – Table 109: Index 0 – Bit IO Bit
Read/write function block data Set cycle time function block ST01 Telegram structure Byte Meaning Value (hex), sent by Master Slave J page 94 J page 94 Read 92 – Write B2 – Read successful – C2 Write successful – C1 Command rejected – C0 0 Toggle byte 1 Command: Response: MN05013001E 2 Type 2C 2C 3 Instance 01 01 4 Index J Table 110 J Table 110 5–8 Data 1 – 4 Read operation 00 depending on index, J Table 111 Write operation depending on index, J Table 111 00 Fo
EZ800/EZD Control Commands Table 110: Operand overview Index (hex) Operand Read 00 Bit IO, J Table 111 × 01 Mode/Parameter – – 02 Cycle time in ms, value range: 0 – 1000 × c1 I1 Write 1) The value can only be written if it is assigned to a constant in the program. Table 111: Index 0 – Bit IO FB output Data 3 Bit 7 6 5 4 3 2 1 0 – – – – – – – EN1 1) Activates the function block on status 1. 174 For more information visit: www.EatonElectrical.
Read/write function block data Timing relays T01 ..
EZ800/EZD Control Commands Table 112: Operand overview Index (hex) Operand Read 00 Bit IO, J Table 113 × 01 Mode/Parameters, J Table 114 × 02 Setpoint 1: Time setpoint 1 I1 × c1 03 Setpoint 2: I2 Time setpoint 2 (with timing relay with 2 setpoints) × c1 04 Actual value: Time elapsed in Run mode × QV Write 1) The value can only be written if it is assigned to a constant in the program.
Read/write function block data Table 114: Index 1 - Mode/Parameters Mode Parameters MN05013001E Data 1 Operating mode 0 On-delayed 1 On-delayed with random setpoint 2 Off-delayed 3 Off-delayed with random setpoint 4 On and off delayed (two time setpoints) 5 On and off delayed each with random setpoint (two time setpoints) 6 Impulse transmitter 7 Flashing relay (two time setpoints) 8 Off-delayed, retriggerable 9 Off-delayed with random setpoint, retriggerable Data 3 Operating mode
EZ800/EZD Control Commands Value limitation function blocks VC01 ..
Read/write function block data Table 115: Operand overview Index (hex) Operand Read Write 00 Bit IO, J Table 116 × 01 Mode/Parameter – – 02 Input value I1 × c1 03 Upper limit value SH × c1 04 Lower limit value SL × c1 05 Output value: outputs the value present at input I1 within the set limits. QV × 1) The value can only be written if it is assigned to a constant in the program.
Appendix What Happens If ...
Appendix Overview of commands EZ700 The commands are sorted in ascending order: Command value hex 182 01 Write T1 timing relay setpoint 02 Write T2 timing relay setpoint 03 Write T3 timing relay setpoint 04 Write T4 timing relay setpoint 05 Write T5 timing relay setpoint 06 Write T6 timing relay setpoint 07 Write T7 timing relay setpoint 08 Write T8 timing relay setpoint 09 Write C1 counter relay setpoint 0A Write C2 counter relay setpoint 0B Write C3 counter relay setpoint 0C Wri
Overview of commands Command value hex MN05013001E 1B Write time switch 3 channel B 1C Write time switch 3 channel C 1D Write time switch 3 channel D 1E Write time switch 4 channel A 1F Write time switch 4 channel B 20 Write time switch 4 channel C 21 Write time switch 4 channel D 22 Write analog value comparator A1 23 Write analog value comparator A2 24 Write analog value comparator A3 25 Write analog value comparator A4 26 Write analog value comparator A5 27 Write analog value
Appendix Command value hex 184 37 Read time switch 4 channel A 38 Read time switch 4 channel B 39 Read time switch 4 channel C 3A Read time switch 4 channel D 3C Read time 3D Read status of analog and digital inputs 3E Read status of P buttons and operator buttons 3F Read status of timing relays, counter relays, time switches and analog value comparators 40 Read status of markers, digital outputs and text display markers 41 Read T1 actual value 42 Read T2 actual value 43 Read T3 ac
Overview of commands EZ800/EZD Date and time Read/write date and time Byte 1 Byte 2 Byte 3 Command (hex) Len1 (hex) Index (hex) 93/B3 05 00 01 Winter/summer time, DST Image data Read/write image data Byte 1 Byte 2 Byte 3 Byte 4 Command (hex) Len1 (hex) Type (hex) Index (dec) 2 01 0 91/B1 Local inputs: I1 – I16 Read inputs of the stations IW1 to IW8 1–8 Read local analog inputs IA1 to IA4 02 1–4 Read local diagnostics ID1 to ID16 03 0 Read and write local QW0 outputs/outpu
Appendix Byte 1 Byte 2 Byte 3 Function blocks Command (hex) Type (hex) Instance (hex) Read/write function blocks 92/B2 Receive network data function blocks GT01 .. GT32 0F 1 – 20 Analog value comparators A01 .. A32 11 1 – 20 Arithmetic function blocks AR01 .. AR32 12 1 – 20 Boolean sequence function blocks BV01 .. BV32 13 1 – 20 Counters C01 .. C32 14 1 – 20 Frequency counters CF01 .. CF04 15 1 – 20 High-speed counters CH01 .. CH04 16 1–4 Incremental encoder counters CI01 ..
Technical Data Technical Data General Standards and regulations EN 55011, EN 55022, IEC/EN 61-4, IEC 60068-2-27, IEC 61158 Dimensions (W × H × D) 35.5 × 90 × 56.
Appendix Ambient mechanical conditions Pollution degree 2 Degree of protection EN 50178 IEC 60529 VBG4 IP20 Oscillations IEC 60068-2-6 10 to 57 Hz (constant amplitude 0.
Technical Data Dielectric strength Measurement of the clearance and creepage distance EN 50178, UL 508, CSC C22.2 No 142 Dielectric strength EN 50178 Tools and cable cross-sections Solid min. 0.2 mm2 , AWG 22 max. 4 mm2, AWG 12 Flexible with ferrule min. 0.2 mm2 , AWG 22 max. 2.5 mm2, AWG 12 Slot-head screwdriver, width 3.5 × 0.8 mm Tightening torque max. 0.5 Nm Power supply Rated voltage Rated value 24 V DC, –15 %, +20 % Permissible range 20.4 to 28.
Appendix PROFIBUS-DP Device connection SUB-D 9-pole, socket Electrical isolation Bus to power supply (simple) Bus and power supply to EZ basic unit (safe isolation) Function PROFIBUS-DP slave Interface RS 485 Bus protocol PROFIBUS-DP Baud rates Automatic search up to 12 MBd Bus terminating resistors Connectable via plug Bus addresses 1 to 126 addressable via EZ basic unit with display or EZSoft Services 190 Inputs module All data S1 to S8 (EZ/EZD) Outputs module All data R1 to R16 (EZ/
Dimensions Dimensions 45 110 90 102 7.5 4.5 M4 47.5 7.5 56.5 35.5 62 Figure 9: MN05013001E Dimensions EZ204-DP (mm) For more information visit: www.EatonElectrical.
Glossary This glossary refers to subjects relating to PROFIBUS-DP. Acknowledge Acknowledgement returned by the receiving station after having received a signal. Active metal component Conductor or conductive component that is live when in operation. Address Number, for example, for identifying a memory location, a system or a module within a network. Addressing Assignment or setting of an address such as for a module in a network.
Glossary Bus terminating resistor Resistor at the beginning and end of a bus line for preventing disturbance caused by signal reflections and for adapting bus cables. Bus terminating resistors must always be the last unit at the end of a bus segment. Capacitive coupling Capacitive (electrical) coupling develops between two conductors carrying different potentials. Typical interference sources are, for example parallel signal cables, contactor relays and static discharge.
EMC Abbreviation for “Electromagnetic Compatibility”. The ability of electrical equipment to function trouble-free within a particular environment without a negative effect on the environment concerned. EN Abbreviation for “European Norm” or European standard. Equipotential bonding Adaptation of the electrical level of the body of electrical equipment and auxiliary conductive bodies by means of an electrical connection. ESD Abbreviation for “Electrostatic Discharge”.
Glossary I/O Abbreviation for “Input/Output”. Impedance Apparent resistance that a component or circuit of several components has for an alternating current at a particular frequency. Inactive metal parts Conductive parts that cannot be touched and which are insulated from active metal parts. They can, however, carry voltage in the event of a fault. Inductive coupling Inductive (magnetic) coupling occurs between two current carrying conductors.
NAMUR Abbreviation for “Normen-Arbeitsgemeinschaft für Mess- und Regeltechnik” (Standards Work Group for Instruments and Controls). NAMUR proximity switches represent a special category of 2-wire proximity switches. They are highly resistant to interference and reliable due to their special construction, e.g. low internal resistance, few components and short design. Overhead System management time required in the system in each transmission cycle.
Glossary Protective conductor A conductor required for the protection against dangerous currents, designated by the letters PE (abbreviation of “Protective Earth”). Radiated coupling Radiated coupling occurs when an electromagnetic wave makes contact with a conductor structure. The impact of the wave induces currents and voltages. Typical interference sources are, for example ignition circuits (spark plugs, commutators of electrical motors) and transmitters (e.g.
Topology Geometric structure of a network or circuit arrangement. UART Abbreviation for “Universal Asynchronous Receiver/ Transmitter”. A UART is a logic circuit used for converting an asynchronous serial data sequence into a bit-parallel data sequence or vice versa. Unidirectional Working in one direction. MN05013001E For more information visit: www.EatonElectrical.
Index 7-day time switch EZ700 ...................................................... 71, 88 EZ800/EZD (read) ....................................... 154 MN05013001E A Address range ....................................................... 26 Analog comparators EZ700, read and write ................................... 73 EZ700, read status ........................................ 51 Read/write (EZ800/EZD) ............................. 122 Analog inputs EZ700, read status ...................................
Data exchange procedure EZ700 ............................................................ 43 EZ800/EZD .................................................... 93 Data function block, read/write (EZ800/EZD) ...... 145 Debounce .............................................................. 36 Diagnostics byte .................................................... 32 Diagnostics, local EZ800/EZD (read) ....................................... 105 Digital inputs EZ700, read status ...................................
Inputs, network stations EZ800/EZD, read status .............................. 102 Invalid operating mode .......................................... 91 Invalid telegram ..................................................... 91 MN05013001E L Local inputs EZ700, read status ........................................ 54 Local outputs EZ700, read status ........................................ 65 Read/write (EZ800/EZD) ............................. 109 Local P buttons EZ800/EZD (read) ..........................
POW LED .............................................................. 29 Power supply ......................................................... 18 PROFIBUS-DP connection assignment ................ 19 Pulse width modulation Read/write (EZ800/EZD) ............................. 170 204 R Reaction times (basic unit) .................................... 30 Read/write date EZ700 ............................................................ 45 EZ800/EZD ....................................................
Text output function block Read/write (EZ800/EZD) ............................. 142 Threshold value comparator EZ700, read status ........................................ 51 Threshold value switch EZ700 ............................................................ 73 Time change EZ800 ............................................................ 96 Timing relays EZ700 ............................................................ 81 EZ700, read status ........................................
Eaton Electrical 1000 Cherrington Parkway Moon Township, PA 15108-4312 USA Tel: 1-800-525-2000 www.EatonElectrical.com © 2005 Eaton Corporation All Rights Reserved Printed in USA Publication No.