All the components are supplied in particular hardware and software configurations appropriate for the application. Modifications to hardware or software configurations other than those described in the documentation are not permitted, and nullify the liability of Beckhoff Automation GmbH & Co. KG. Personnel qualification This description is only intended for trained specialists in control, automation and drive engineering who are familiar with the applicable national standards.
• Object description added, PLS function added • Object description added • First preliminary documentation for EM7004 Version identification of EtherCAT devices Designation A Beckhoff EtherCAT device has a 14-digit designation, made up of • family key • type • version • revision...
Page 7
Production lot/batch number/serial number/date code/D number The serial number for Beckhoff IO devices is usually the 8-digit number printed on the device or on a sticker. The serial number indicates the configuration in delivery state and therefore refers to a whole production batch, without distinguishing the individual modules of a batch.
Foreword Examples of markings: Fig. 1: EL5021 EL terminal, standard IP20 IO device with batch number and revision ID (since 2014/01) Fig. 2: EK1100 EtherCAT coupler, standard IP20 IO device with batch number Fig. 3: CU2016 switch with batch number Version: 2.0 EM7004...
Fig. 5: EP1258-00001 IP67 EtherCAT Box with batch number 22090101 and unique serial number 158102 Fig. 6: EP1908-0002 IP76 EtherCAT Safety Box with batch number 071201FF and unique serial number 00346070 Fig. 7: EL2904 IP20 safety terminal with batch number/date code 50110302 and unique serial number 00331701 EM7004 Version: 2.0...
Terminal reliably meets increased requirements for I/O signals through its modularity and compact design. The existing Beckhoff Bus Terminal system is complemented by the new version of the EMxxxx / KMxxxx Terminal Modules with increased packing density. In many areas of application, cost benefits can be realized through lower overall installed size and application-specific signal mix.
Packing density The Terminal Modules combine 16, 32 or 64 digital inputs or outputs on a very small area. This compact and slimline design enables very high packing densities, leading to smaller control cabinets and terminal boxes. EM7004 Version: 2.0...
Fig. 15: EM7004 Terminal module axis interface The EtherCAT module EM7004 is an interface that is optimized for direct connection of 4 servo drives, whose "encoder simulation" feeds the module with RS485 signals. The compact module features 4 integrated incremental encoders, 16 digital 24 V inputs and outputs, and 4 analog ±10 V outputs.
Approval Basic function principles The 4-axis interface terminal module EM7004 integrates 4 Incremental encoder, 4 analog outputs with +/-10 V and 16 digital 24 V inputs and outputs. The digital inputs and outputs can be connected in single, two or three wire connection mode.
Output value after manufacturer calibration (the feature object user scaling [0x8020:01 [} 97] (channel 1), 0x8030:01 [} 97] (channel 2), 0x8040:01 [} 97] (channel 3), 0x8050:01 [} 97] (channel 4) is inactive] = Y x A x 2 Output value following user scaling W EM7004 Version: 2.0...
Page 17
("Encoder as PLS source", object 0x80A0:01 [} 98]) has reached a particular switch value ("PLS switch value", object 0x80A1 [} 111]). Object 0x80A0:11 [} 98] ("output mask") is used to specify which of the digital outputs are allocated to the PLS function. EM7004 Version: 2.0...
Page 18
365 µs. Note Code Word Code word The vendor reserves the authority for the basic calibration of the terminals. The code word is therefore at present reserved. Note Version: 2.0 EM7004...
2,5 mm material thickness (according to EN 60715)! Dimensions EM7004 Fig. 16: EM7004 dimensions Mounting and demounting - terminals with traction lever unlocking The terminal modules are fastened to the assembly surface with the aid of a 35 mm mounting rail (e.g.
Page 20
• Lever the unlatching hook on the left-hand side of the terminal module upwards with a screwdriver (3). As you do this ◦ an internal mechanism pulls the two latching lugs (3a) from the top hat rail back into the terminal module, ◦ the unlatching hook moves forwards (3b) and engages Version: 2.0 EM7004...
Attention fied. When installing high power dissipation terminals ensure that an adequate spacing is maintained between other components above and below the terminal in order to guarantee adequate ventilation! EM7004 Version: 2.0...
Other installation positions All other installation positions are characterized by different spatial arrangement of the mounting rail - see Fig “Other installation positions”. The minimum distances to ambient specified above also apply to these installation positions. Version: 2.0 EM7004...
X8 must not exceed 10 A (see Technical Attention data [} 14])! Version 2: Alternative 24 V module supply The diagram shows the alternative connection of the supply voltage for the digital inputs and outputs, and the further connection of the module. Version: 2.0 EM7004...
• the positive supply voltage to terminal location +24 V • the negative supply voltage to terminal location 0 V Connection for clamped joints X0 - X1 Digital inputs, channel 0 - 15 (16 channels) (with connector ZS2001-0002 or ZS2001-0004) EM7004 Version: 2.0...
Page 26
Output 0 Output 1 Output 2 Output 3 Output 4 Output 5 Output 6 Output 7 0 V 0 V 24 V Output 8 Output 9 Output 10 Output 11 Output 12 Output 13 Output 14 Output 15 0 V 0 V Version: 2.0 EM7004...
Page 27
Analog output 3, -10 V Shield Encoder 4, input A Encoder 4, input /A Encoder 4, input B Encoder 4, input /B Encoder 4, Gate Encoder 4, Latch Ground Analog output 4, +10 V Analog output 4, -10 V Shield EM7004 Version: 2.0...
The digital inputs and outputs can be connected in • single-conductor (see example, terminal point 0), • two-conductor (see example, terminal point 3), or • three-conductor mode (see example, terminal point 6) Input circuits Fig. 21: Input circuits single-, two- and three-conductor mode Version: 2.0 EM7004...
• "offline": The configuration can be customized by adding and positioning individual components. These can be selected from a directory and configured. ◦ The procedure for offline mode can be found under http://infosys.beckhoff.com: TwinCAT 2 → TwinCAT System Manager → IO - Configuration → Adding an I/O Device •...
• Linked via the X001 port (RJ-45): EK1100 EtherCAT Coupler • Connected to the EK1100 EtherCAT coupler on the right (E-bus): EL2008 (8-channel digital output terminal 24 V DC; 0.5 A) • (Optional via X000: a link to an external PC for the user interface) EM7004 Version: 2.0...
The starting point is the TwinCAT System Manager. After successful installation of the TwinCAT system on the PC to be used for development, the TwinCAT 2 System Manager displays the following user interface after startup: Fig. 25: Initial TwinCAT 2 user interface Version: 2.0 EM7004...
Fig. 27: Specify the PLC for access by the TwinCAT System Manager: selection of the target system Once the target system has been entered, it is available for selection as follows (a password may have to be entered): EM7004 Version: 2.0...
Confirm the message "Find new boxes", in order to determine the terminals connected to the devices. "Free Run" enables manipulation of input and output values in "Config mode" and should also be acknowledged. Based on the sample configuration [} 31] described at the beginning of this section, the result is as follows: Version: 2.0 EM7004...
TwinCAT PLC Control is the development environment for the creation of the controller in different program environments: TwinCAT PLC Control supports all languages described in IEC 61131-3. There are two text- based languages and three graphical languages. • Text-based languages ◦ Instruction List (IL) EM7004 Version: 2.0...
The following section refers to Structured Text (ST). After starting TwinCAT PLC Control, the following user interface is shown for an initial project: Fig. 32: TwinCAT PLC Control after startup Sample variables and a sample program have been created and stored under the name "PLC_example.pro": Version: 2.0 EM7004...
Manager has been notified, the warning no longer appears. First, integrate the TwinCAT PLC Control project in the System Manager via the context menu of the PLC configuration; right-click and select "Append PLC Project…": Fig. 34: Appending the TwinCAT PLC Control project EM7004 Version: 2.0...
"PLC_example" and via "Modify Link..." "Standard": Fig. 36: Creating the links between PLC variables and process objects In the window that opens, the process object for the variable “bEL1004_Ch4” of type BOOL can be selected from the PLC configuration tree: Version: 2.0 EM7004...
The links can also be checked by selecting a "Goto Link Variable” from the context menu of a variable. The object opposite, in this case the PDO, is automatically selected: EM7004 Version: 2.0...
The PLC system can then be started as described below. Starting the controller Starting from a remote system, the PLC control has to be linked with the Embedded PC over Ethernet via "Online" → “Choose Run-Time System…": Version: 2.0 EM7004...
This results in the message "No program on the controller! Should the new program be loaded?", which should be acknowledged with "Yes". The runtime environment is ready for the program start: EM7004 Version: 2.0...
(cf. "TwinCAT System Manager" of TwinCAT 2) for communication with the electromechanical components. After successful installation of the TwinCAT system on the PC to be used for development, TwinCAT 3 (shell) displays the following user interface after startup: Version: 2.0 EM7004...
Page 43
First create a new project via (or under "File"→“New"→ "Project…"). In the following dialog make the corresponding entries as required (as shown in the diagram): Fig. 43: Create new TwinCAT project The new project is then available in the project folder explorer: EM7004 Version: 2.0...
Page 44
If the intention is to address the TwinCAT runtime environment installed on a PLC as development environment remotely from another system, the target system must be made known first. Via the symbol in the menu bar: expand the pull-down menu: and open the following window: Fig. 45: Selection dialog: Choose the target system Version: 2.0 EM7004...
Page 45
The TwinCAT System Manager may first have to be set to "Config mode" via or via the menu "TwinCAT" → "Restart TwinCAT (Config mode)". Fig. 47: Select "Scan" Confirm the warning message, which follows, and select "EtherCAT" in the dialog: EM7004 Version: 2.0...
Page 46
The whole process consists of two stages, which may be performed separately (first determine the devices, then determine the connected elements such as boxes, terminals, etc.). A scan can also be initiated by selecting "Device ..." from the context menu, which then reads the elements present in the configuration below: Version: 2.0 EM7004...
Page 47
The following section refers to Structured Text (ST). In order to create a programming environment, a PLC subproject is added to the project sample via the context menu of "PLC" in the project folder explorer by selecting "Add New Item….": EM7004 Version: 2.0...
Page 48
Fig. 52: Specifying the name and directory for the PLC programming environment The "Main" program, which already exists by selecting "Standard PLC project", can be opened by double- clicking on "PLC_example_project" in "POUs”. The following user interface is shown for an initial project: Version: 2.0 EM7004...
Page 49
Commissioning Fig. 53: Initial "Main" program of the standard PLC project To continue, sample variables and a sample program have now been created: EM7004 Version: 2.0...
Page 50
"Assignments" in the project folder explorer: Assigning variables Via the menu of an instance - variables in the "PLC” context, use the "Modify Link…" option to open a window for selecting a suitable process object (PDO) for linking: Version: 2.0 EM7004...
Page 51
4 of the EL1004 terminal is selected for linking. In contrast, the checkbox "All types" must be ticked for creating the link for the output variables, in order to allocate a set of eight separate output bits to a byte variable. The following diagram shows the whole process: EM7004 Version: 2.0...
Page 52
PDO, it is possible to allocate this a set of bit-standardised variables (type "BOOL"). Here, too, a "Goto Link Variable” from the context menu of a PDO can be executed in the other direction, so that the respective PLC instance can then be selected. Version: 2.0 EM7004...
Page 53
Fig. 60: TwinCAT development environment (VS shell): logged-in, after program startup The two operator control elements for stopping and logout result in the required action (accordingly also for stop "Shift + F5", or both actions can be selected via the PLC menu). EM7004 Version: 2.0...
4.2.1 Installation of the TwinCAT real-time driver In order to assign real-time capability to a standard Ethernet port of an IPC controller, the Beckhoff real-time driver has to be installed on this port under Windows. This can be done in several ways. One option is described here.
Page 55
Alternatively an EtherCAT-device can be inserted first of all as described in chapter Offline configuration creation, section “Creating the EtherCAT device” [} 65] in order to view the compatible ethernet ports via its EtherCAT properties (tab „Adapter“, button „Compatible Devices…“): EM7004 Version: 2.0...
Page 56
After the installation the driver appears activated in the Windows overview for the network interface (Windows Start → System Properties → Network) Fig. 65: Windows properties of the network interface A correct setting of the driver could be: Version: 2.0 EM7004...
Page 57
Commissioning Fig. 66: Exemplary correct driver setting for the Ethernet port Other possible settings have to be avoided: EM7004 Version: 2.0...
Page 58
DHCP. In this way the delay associated with the DHCP client for the Ethernet port assigning itself a default IP address in the absence of a DHCP server is avoided. A suitable address space is 192.168.x.x, for example. Version: 2.0 EM7004...
Page 59
Commissioning Fig. 68: TCP/IP setting for the Ethernet port EM7004 Version: 2.0...
The files are read (once) when a new System Manager window is opened, if they have changed since the last time the System Manager window was opened. A TwinCAT installation includes the set of Beckhoff ESI files that was current at the time when the TwinCAT build was created.
Page 61
1018 in the configuration. This is also stated by the Beckhoff compatibility rule. Refer in particular to the chapter ‘General notes on the use of Beckhoff EtherCAT IO components’ and for manual configuration to the chapter ‘Offline configuration creation’ [} 65].
Page 62
Faulty ESI file If an ESI file is faulty and the System Manager is unable to read it, the System Manager brings up an information window. Fig. 74: Information window for faulty ESI file (left: TwinCAT 2; right: TwinCAT 3) Version: 2.0 EM7004...
Page 63
Commissioning Reasons may include: • Structure of the *.xml does not correspond to the associated *.xsd file → check your schematics • Contents cannot be translated into a device description → contact the file manufacturer EM7004 Version: 2.0...
Commissioning 4.2.3 TwinCAT ESI Updater For TwinCAT 2.11 and higher, the System Manager can search for current Beckhoff ESI files automatically, if an online connection is available: Fig. 75: Using the ESI Updater (>= TwinCAT 2.11) The call up takes place under: “Options” → "Update EtherCAT Device Descriptions"...
EL6601/EL6614 terminal select “EtherCAT Automation Protocol via EL6601”. Fig. 78: Selecting the EtherCAT connection (TwinCAT 2.11, TwinCAT 3) Then assign a real Ethernet port to this virtual device in the runtime system. Fig. 79: Selecting the Ethernet port EM7004 Version: 2.0...
Page 66
Fig. “Selection dialog for new EtherCAT device”. If the preceding device has several free ports (e.g. EK1122 or EK1100), the required port can be selected on the right-hand side (A). Overview of physical layer • “Ethernet”: cable-based 100BASE-TX: EK couplers, EP boxes, devices with RJ45/M8/M12 connector Version: 2.0 EM7004...
Page 67
(i.e. highest) revision and therefore the latest state of production is displayed in the selection dialog for Beckhoff devices. To show all device revisions available in the system as ESI descriptions tick the “Show Hidden Devices” check box, see Fig. “Display of previous revisions”.
Page 68
If current ESI descriptions are available in the TwinCAT system, the last revision offered in the selection dialog matches the Beckhoff state of production. It is recommended to use the last device revision when creating a new configuration, if current Beckhoff devices are used in the real application. Older revisions should only be used if older devices from stock are to be used in the application.
Page 69
Commissioning Fig. 86: EtherCAT terminal in the TwinCAT tree (left: TwinCAT 2; right: TwinCAT 3) EM7004 Version: 2.0...
Fig. 88: Scan Devices (left: TwinCAT 2; right: TwinCAT 3) This scan mode attempts to find not only EtherCAT devices (or Ethernet ports that are usable as such), but also NOVRAM, fieldbus cards, SMB etc. However, not all devices can be found automatically. Version: 2.0 EM7004...
Page 71
[} 75] with the defined initial configura- tion.Background: since Beckhoff occasionally increases the revision version of the deliv- ered products for product maintenance reasons, a configuration can be created by such a scan which (with an identical machine construction) is identical according to the device list;...
Page 72
Likewise, A might create spare parts stores worldwide for the coming series-produced machines with EL2521-0025-1018 terminals. After some time Beckhoff extends the EL2521-0025 by a new feature C. Therefore the FW is changed, outwardly recognizable by a higher FW version and a new revision -1019. Nevertheless the new device naturally supports functions and interfaces of the predecessor version(s);...
Page 73
Fig. 98: Displaying of “Free Run” and “Config Mode” toggling right below in the status bar Fig. 99: TwinCAT can also be switched to this state by using a button (left: TwinCAT 2; right: TwinCAT 3) The EtherCAT system should then be in a functional cyclic state, as shown in Fig. “Online display example”. EM7004 Version: 2.0...
Page 74
The connections and devices should be checked in a targeted manner, e.g. via the emergency scan. Then re-run the scan. Fig. 101: Faulty identification In the System Manager such devices may be set up as EK0000 or unknown devices. Operation is not possible or meaningful. Version: 2.0 EM7004...
Page 75
A ‘ChangeTo’ or ‘Copy’ should only be Attention carried out with care, taking into consideration the Beckhoff IO compatibility rule (see above). The device configuration is then replaced by the revision found; this can affect the supported process data and functions.
Page 76
If current ESI descriptions are available in the TwinCAT system, the last revision offered in the selection dialog matches the Beckhoff state of production. It is recommended to use the last device revision when creating a new configuration, if current Beckhoff devices are used in the real application. Older revisions should only be used if older devices from stock are to be used in the application.
Page 77
This function is preferably to be used on AX5000 devices. If called, the System Manager suggests the devices that it finds in the associated sub-folder; in the case of the AX5000, for example, in \TwinCAT\IO \EtherCAT\Beckhoff AX5xxx. Change to Alternative Type The TwinCAT System Manager offers a function for the exchange of a device: Change to Alternative Type Fig. 107: TwinCAT 2 Dialog Change to Alternative Type...
Comment Here you can add a comment (e.g. regarding the system). Disabled Here you can deactivate the EtherCAT device. Create symbols Access to this EtherCAT slave via ADS is only available if this control box is activated. Version: 2.0 EM7004...
Page 79
CANopen process data objects (Process Data Objects, PDOs). The user can select a PDO via PDO assignment and modify the content of the individual PDO via this dialog, if the EtherCAT slave supports this function. EM7004 Version: 2.0...
Page 80
For Beckhoff EtherCAT EL, ES, EM, EJ and EP slaves the following applies in general: • The input/output process data supported by the device are defined by the manufacturer in the ESI/XML description.
Page 81
(CoE) or Servo drive over EtherCAT protocol. This tab indicates which download requests are sent to the mailbox during startup. It is also possible to add new mailbox requests to the list display. The download requests are sent to the slave in the same order as they are shown in the list. EM7004 Version: 2.0...
Page 82
(CoE) protocol. This dialog lists the content of the object list of the slave (SDO upload) and enables the user to modify the content of an object from this list. Details for the objects of the individual EtherCAT devices can be found in the device-specific object descriptions. Version: 2.0 EM7004...
Page 83
The object can be read, and data can be written to the object (read/write) The object can be read, but no data can be written to the object (read only) An additional P identifies the object as a process data object. Value Value of the object EM7004 Version: 2.0...
Page 84
Offline - via EDS File If this option button is selected, the list of the objects included in the object list is read from an EDS file provided by the user. Version: 2.0 EM7004...
Page 85
Indicates the current state of the EtherCAT device. Requested State Indicates the state requested for the EtherCAT device. DLL Status Indicates the DLL status (data link layer status) of the individual ports of the EtherCAT slave. The DLL status can have four different states: EM7004 Version: 2.0...
Page 86
• DC-Synchron Advanced Settings… Advanced settings for readjustment of the real time determinant TwinCAT- clock Detailed information to Distributed Clocks are specified on http://infosys.beckhoff.com: Fieldbus Components → EtherCAT Terminals → EtherCAT System documentation → EtherCAT basics → Distributed Clocks 4.2.7.1...
Page 87
If this check box is selected, the PDO assignment that is configured in the PDO Assignment list is downloaded to the device on startup. The required commands to be sent to the device can be viewed in the Startup [} 81] tab. EM7004 Version: 2.0...
See the corresponding device documentation The colors in Fig. “Selection of the diagnostic information of an EtherCAT Slave” also correspond to the variable colors in the System Manager, see Fig. “Basic EtherCAT Slave Diagnosis in the PLC”. Version: 2.0 EM7004...
Page 89
Fig. “Basic EtherCAT Slave Diagnosis in the PLC” shows an example of an implementation of basic EtherCAT Slave Diagnosis. A Beckhoff EL3102 (2-channel analogue input terminal) is used here, as it offers both the communication diagnosis typical of a slave and the functional diagnosis that is specific to a channel.
Page 90
The CoE parameter directory (CanOpen-over-EtherCAT) is used to manage the set values for the slave concerned. Changes may, in some circumstances, have to be made here when commissioning a relatively complex EtherCAT Slave. It can be accessed through the TwinCAT System Manager, see Fig. “EL3102, CoE directory”: Version: 2.0 EM7004...
Page 91
Commissioning interfaces are being introduced as part of an ongoing process for EL/EP EtherCAT devices. These are available in TwinCAT System Managers from TwinCAT 2.11R2 and above. They are integrated into the System Manager through appropriately extended ESI configuration files. EM7004 Version: 2.0...
Page 92
The target state wanted by the user, and which is brought about automatically at start-up by TwinCAT, can be set in the System Manager. As soon as TwinCAT reaches the status RUN, the TwinCAT EtherCAT Master will approach the target states. Version: 2.0 EM7004...
Page 93
Fig. 122: Default behaviour of the System Manager In addition, the target state of any particular Slave can be set in the "Advanced Settings" dialogue; the standard setting is again OP. Fig. 123: Default target state in the Slave EM7004 Version: 2.0...
Page 94
The pre-calculated theoretical maximum E-Bus current is displayed in the TwinCAT System Manager as a column value. A shortfall is marked by a negative total amount and an exclamation mark; a power feed terminal is to be placed before such a position. Version: 2.0 EM7004...
Page 95
Fig. 126: Warning message for exceeding E-Bus current Caution! Malfunction possible! The same ground potential must be used for the E-Bus supply of all EtherCAT terminals in a terminal block! Attention EM7004 Version: 2.0...
EtherCAT XML Device Description The display matches that of the CoE objects from the EtherCAT XML Device Description. We recommend downloading the latest XML file from the download area of the Beckhoff Note website and installing it according to installation instructions.
Index 80nE AO Internal data Ch.1 - 4 (for 2 ≤ n ≤ 5) Index (hex) Name Meaning Data type Flags Default 80nE:0 AO Internal data Ch.1 Maximum subindex UINT8 0x01 (1 80nE:01 DAC raw value DAC raw value INT16 0x0000 (0 EM7004 Version: 2.0...
0x0000 (0 but less than the first entry in the table), this value is out- Objects for regular operation The EM7004 has no such objects. Standard objects (0x1000-0x1FFF) The standard objects have the same meaning for all EtherCAT slaves. Index 1000 Device type...
Page 99
Index (hex) Name Meaning Data type Flags Default 1008:0 Device name Device name of the EtherCAT slave STRING EM7004 Index 1009 Hardware version Index (hex) Name Meaning Data type Flags Default 1009:0 Hardware version Hardware version of the EtherCAT slave...
Page 100
Index (hex) Name Meaning Data type Flags Default 1605:0 AO RxPDO-Map Ch.4 PDO Mapping RxPDO 6 UINT8 0x01 (1 1605:01 SubIndex 001 1. PDO Mapping entry (object 0x7050 (AO Outputs UINT32 0x7050:11, 16 Ch.4), entry 0x11 (Analog output)) Version: 2.0 EM7004...
Page 105
(6664 1C13:05 SubIndex 005 5. allocated TxPDO (contains the index of the associated UINT16 0x1A09 TxPDO mapping object) (6665 1C13:06 SubIndex 006 6. allocated TxPDO (contains the index of the associated UINT16 0x1A0A TxPDO mapping object) (6666 EM7004 Version: 2.0...
Page 106
Shift too short counter Number of occasions that the interval between SYNC0 UINT16 0x0000 (0 and SYNC1 event was too short (DC mode only) 1C32:20 Sync error The synchronization was not correct in the last cycle BOOLEAN 0x00 (0 (outputs were output too late; DC mode only) Version: 2.0 EM7004...
Shift too short counter as 0x1C32:13 [} 106] UINT16 0x0000 (0 1C33:20 Sync error BOOLEAN 0x00 (0 as 0x1C32:32 [} 106] Profile-specific objects (0x6000-0xFFFF) The profile-specific objects have the same meaning for all EtherCAT slaves that support the profile 5001. EM7004 Version: 2.0...
Page 108
TxPDO Toggle The TxPDO toggle is toggled by the slave when the data BOOLEAN 0x00 (0 of the associated TxPDO is updated. 6070:11 Counter value Counter value UINT16 0x0000 (0 6070:12 Latch value Latch value UINT16 0x0000 (0 Version: 2.0 EM7004...
Page 109
PLS Inputs Maximum subindex UINT8 0x02 (2 60A0:01 PLS Enabled PLS function enabled BOOLEAN 0x00 (0 60A0:02 Unequal SI:0 BOOLEAN 0x00 (0 Bit is set if the subindex 0 of indices 0x80A1 [} 111] and 0x80A2 [} 111] are different EM7004 Version: 2.0...
Page 110
7060:04 Enable latch extern The external latch is enabled with a negative edge BOOLEAN 0x00 (0 on negative edge 7060:11 Set counter value Value of the counter value to be set via 0x7060:03 [} 110] UINT16 0x0000 (0 Version: 2.0 EM7004...
Page 111
Default 80A2:0 PLS Output data Maximum subindex UINT8 0x00 (0 80A2:01 SubIndex 001 Switch value 1 UINT16 0x0000 (0 80A2:4A SubIndex 074 Switch value 74 UINT16 0x0000 (0 80A2:4B SubIndex 075 Switch value 75 UINT16 0x0000 (0 EM7004 Version: 2.0...
Appendix Appendix Ordering information for EM7004 modules and EM/KM connectors The following tables show the combination options and ordering information for the modules and connectors. Order identifier enclosed EM/KM connectors EM7004-0000 none EM7004-0002 4x ZS2001-0002; 4x ZS2001-0005 EM7004-0004 4x ZS2001-0004; 4x ZS2001-0005 Fig. 127: EM / KM connector ZS2001-0002...
Check on the Beckhoff web page whether more up-to-date documentation is available. Firmware Update EL/ES/EM/EPxxxx This section describes the device update for Beckhoff EtherCAT slaves from the EL/ES, EM, EK and EP series. A firmware update should only be carried out after consultation with Beckhoff support.
Page 115
EtherCAT communication is set up accordingly. The device description is available from the download area of the Beckhoff website at (http://www.beckhoff.de). All ESI files are accessible there as zip files. Customers can access the data via the EtherCAT fieldbus and its communication mechanisms. Acyclic mailbox communication or register access to the ESC is used for updating or reading of these data.
Page 116
Corresponding updates Note should only be carried out in consultation with Beckhoff support. Display of ESI slave identifier The simplest way to ascertain compliance of configured and actual device description is to scan the EtherCAT boxes in TwinCAT mode Config/FreeRun: Fig. 131: Scan the subordinate field by right-clicking on the EtherCAT device in Config/FreeRun mode...
Page 117
The ESI/EEPROM identifier can be updated as follows under TwinCAT: • Trouble-free EtherCAT communication must be established with the slave. • The state of the slave is irrelevant. • Right-clicking on the slave in the online display opens the EEPROM Update dialog, Fig. "EEPROM Update" EM7004 Version: 2.0...
Page 118
Determining the firmware version Determining the version on laser inscription Beckhoff EtherCAT slaves feature serial numbers applied by laser. The serial number has the following structure: KK YY FF HH KK - week of production (CW, calendar week)
Page 119
• offline: The EtherCAT Slave Information ESI/XML may contain the default content of the CoE. This CoE directory can only be displayed if it is included in the ESI (e.g. "Beckhoff EL5xxx.xml"). The Advanced button must be used for switching between the two views.
Page 120
Appendix Fig. 137: Firmware Update Proceed as follows, unless instructed otherwise by Beckhoff support. • Switch slave to INIT (A) • Switch slave to BOOTSTRAP • Check the current status (B, C) • Download the new *efw file • After the download switch to INIT, then OP •...
Page 121
Fig. 139: Context menu Properties The Advanced Settings dialog appears where the columns to be displayed can be selected. Under Diagnosis/Online View select the '0002 ETxxxx Build' check box in order to activate the FPGA firmware version display. EM7004 Version: 2.0...
Page 122
Updating an EtherCAT device In the TwinCAT System Manager select the terminal for which the FPGA firmware is to be updated (in the example: Terminal 5: EL5001) and click the Advanced Settings button in the EtherCAT tab. Version: 2.0 EM7004...
Page 124
The firmware and ESI descriptions of several devices can be updated simultaneously, provided the devices have the same firmware file/ESI. Fig. 144: Multiple selection and firmware update Select the required slaves and carry out the firmware update in BOOTSTRAP mode as described above. Version: 2.0 EM7004...
Fig. 146: Entering a restore value in the Set Value dialog Alternative restore value In some older terminals the backup objects can be switched with an alternative restore value:Decimal value: "1819238756", Hexadecimal value: "0x6C6F6164"An incorrect entry Note for the restore value has no effect. EM7004 Version: 2.0...
Beckhoff's branch offices and representatives Please contact your Beckhoff branch office or representative for local support and service on Beckhoff products! The addresses of Beckhoff's branch offices and representatives round the world can be found on her internet pages: http://www.beckhoff.com You will also find further documentation for Beckhoff components there.
Page 127
Terminal module with 32 channels ....................Fig. 14 Terminal module with 64 channels ....................Fig. 15 EM7004 ............................Fig. 16 EM7004 dimensions ........................Fig. 17 Recommended distances for standard installation position ............Fig. 18 Other installation positions ......................Fig. 19 Clamped joint for power supply ....................
Page 128
Display of device revision ......................Fig. 84 Display of previous revisions ...................... Fig. 85 Name/revision of the terminal ...................... Fig. 86 EtherCAT terminal in the TwinCAT tree (left: TwinCAT 2; right: TwinCAT 3)......Fig. 87 Differentiation local/target system (left: TwinCAT 2; right: TwinCAT 3)........Version: 2.0 EM7004...
Page 129
Fig. 129 EM / KM connector ZS2001-0005 ....................113 Fig. 130 Device identifier consisting of name EL3204-0000 and revision -0016 ........116 Fig. 131 Scan the subordinate field by right-clicking on the EtherCAT device in Config/FreeRun mode . 116 EM7004 Version: 2.0...
Page 130
Fig. 143 Select file ............................ 124 Fig. 144 Multiple selection and firmware update ..................124 Fig. 145 Selecting the "Restore default parameters" PDO ............... 125 Fig. 146 Entering a restore value in the Set Value dialog ................. 125 Version: 2.0 EM7004...