Electronic-Key-System Manual Electronic-Key Adapter EKS and EKS FSA with USB Interface Order No.
Manual EKS Electronic-Key Adapter USB Table of contents 1 General notes ............................................................................................................................................... 4 1.1 Use of the manual .................................................................................................................................. 4 1.1.1 Explanation of symbols .............................................................................................................
Manual EKS Electronic-Key Adapter USB 8.2 Communication .................................................................................................................................... 36 8.3 Basic message structure...................................................................................................................... 37 8.3.1 Special features of the 3964R data transfer protocol [1] .........................................................37 8.
Manual EKS Electronic-Key Adapter USB 1 General notes 1.1 Use of the manual This manual describes the technical features and the function of the EKS Electronic-Key adapter EKS-A-IUX-G01-ST01 with USB interface (order no. 092 750) as well as the version EKS-A-IUXA-G01-ST01/04, EKS For Safety Applications (EKS FSA, order no. 098 513). The complete evaluation and interface electronics for data transmission are integrated into these units. 1.1.
Manual EKS Electronic-Key Adapter USB 1.1.
Manual EKS Electronic-Key Adapter USB 1.4 Correct use As part of a higher-level overall system, the EKS Electronic-Key adapter is used for access control and monitoring on PC-based control systems or parts of control systems for machine installations. EKS can be used, for example, as part of an overall system for checking access rights for operating mode selection. However, it is not permitted to directly derive the operating mode from the access rights on the Electronic-Key.
Manual EKS Electronic-Key Adapter USB The Electronic-Key adapter must only be employed and used in accordance with this manual and other documentation referred to in this manual. The EKS Electronic-Key adapter is not a safety component in the sense of the machinery directive.
Manual EKS Electronic-Key Adapter USB 2 Safety precautions Warning! The EKS Electronic-Key adapter is not a safety component in the sense of the machinery directive. Without additional precautions the EKS Electronic-Key adapter must not be used to provide a safety function, particularly if failure or malfunction of the unit could endanger the safety or health of persons in the operating area of a machine. On this topic pay particular attention to the sections Correct use (see section 1.
Manual EKS Electronic-Key Adapter USB 3 Function 3.1 Functional description 3.1.1 Common functions of EKS Standard and version EKS FSA The EKS is used for access control and monitoring on PC-based control systems or parts of control systems for machine installations. Instead of passwords, coded Electronic-Keys are assigned. In this way unauthorized access to control and display systems is prevented to the greatest possible extent. The EKS uses a non-contact, inductive read/write identification system.
Manual EKS Electronic-Key Adapter USB For operation, the Electronic-Key is inserted in the Electronic-Key adapter and is held in place by a spring clip. The power supply for the transponder and the data are transferred contactlessly between the Electronic-Key adapter and Electronic-Key. Figure : Cut-away illustration of Electronic-Key adapter The data carrier in the Electronic-Key is equipped with a combined memory: 2 116 bytes E PROM (programmable) plus 8 bytes ROM (serial number) 3.1.
Manual EKS Electronic-Key Adapter USB 4 Technical data 4.1 Dimension drawing of Electronic-Key adapter For installation in a control panel you must provide a cut-out 33 mm x 68 mm according to DIN 43700. 4.1.1 Version EKS-A-IUX-G01-ST01 with USB interface 4.1.
Manual EKS Electronic-Key Adapter USB 4.2 Technical data, Electronic-Key adapter Attention! All the electrical connections must either be isolated from the mains supply by a safety transformer according to EN IEC 61558-2-6 with limited output voltage in the event of a fault, or by other equivalent isolation measures. min. General parameters Housing Degree of protection acc.
Manual EKS Electronic-Key Adapter USB 4.3 Connector assignment 4.3.1 USB interface socket The socket on the Electronic-Key adapter is designed as USB type B. 4.3.2 Screw terminals of switching contacts LA1/LA2 and LB1/LB2 (only EKS FSA) Information! The coded plug for the connection of the switching contacts is included with the Electronic-Key adapter. Channel Pin Function 1 LA 2 Coded plug 2 x 2-pole with screw terminals Cond. cross-section 0.14 … 1.5 mm² Tightening torque 0.22 Nm 4.
Manual EKS Electronic-Key Adapter USB 5 Mounting Warning! Mounting must be performed only by authorized personnel. Attention! To achieve the degree of protection IP 67, it is necessary to install the key adapter in a clean, flat metal plate at least 2 mm thick and to tighten the screws with a tightening torque of 0.25 ... 0.35 Nm. A suitable strain relief must be provided for the connection cables in order to avoid damage to the connection sockets or malfunctions.
Manual EKS Electronic-Key Adapter USB 6 Electrical connection Attention! If connected incorrectly, the Electronic-Key adapter may be damaged. Observe electrical characteristics and terminal assignment (see section 4). When installing connections, the operating organization must ensure compliance with the EMC safety requirements in accordance with EN 55011 and EN 61000-6-2. Do not lay connection cables in the immediate vicinity of sources of interference. 6.
Manual EKS Electronic-Key Adapter USB 6.2.1 Connection example with enabling switch (Cat. 3/PL d) Figure: Principle of operation (illustration with selected operating mode and all components in actuated position) 6.2.1.1 Description of the application example with enabling switch The danger area on a machine is secured with a fence.
Manual EKS Electronic-Key Adapter USB The switching contact LA1/LA2, in series with a switching contact on the enabling switch, is connected to the first input on the safety relay. The switching contact A100.0 is connected to the second input on the safety relay in series with the second switching contact on the enabling switch. The result is that these inputs on the safety relay are only enabled if the EKS-FSA (switching contact LA1/LA2) and the control system (switching contact A100.
Manual EKS Electronic-Key Adapter USB 6.2.1.
Manual EKS Electronic-Key Adapter USB 6.2.2 Connection example without enabling switch Figure: Principle of operation (illustration with selected operating mode and all components in actuated position) 6.2.2.1 Description of the application example without enabling switch The danger area on a machine is secured with a fence. To make set-up work on the machine possible with the safety door open, an EKS FSA system is integrated in conjunction with a control system and a safety relay.
Manual EKS Electronic-Key Adapter USB The safety relay is de-energized without a time delay (stop category 0) and the machine movement is stopped if the Electronic-Key is removed or the machine control system cancels the enable state (switching contact A100.0 is opened). Information! The switching contact A100.0 is only allowed to be set if the related Electronic-Key is inserted and a suitable operating mode is selected. 6.2.2.
Manual EKS Electronic-Key Adapter USB 6.2.2.
Manual EKS Electronic-Key Adapter USB 7 Setup Perform setup in the following sequence: 1. Set the DIP switches on the Electronic-Key adapter (see section 4.4 DIP switch settings). 2. Check whether mounting and electrical connection are correct (see section 5 Installation and section 6 Electrical connection). 3. After connecting the USB connection cable and installation of the EKS USB drivers, the LED on the front of the Electronic-Key adapter illuminates green.
Manual EKS Electronic-Key Adapter USB Click on Next. When this message is displayed, click on Continue Anyway. The EKS USB driver is installed.
Manual EKS Electronic-Key Adapter USB Click on Finish. After the installation of the EKS USB driver, a virtual COM port driver must be installed. The following message appears: The Found New Hardware Wizard is started automatically: Click on Next.
Manual EKS Electronic-Key Adapter USB When this message is displayed, click on Continue Anyway. The virtual COM port driver is installed. When the installation process is complete, the following is displayed: Click on Finish.
Manual EKS Electronic-Key Adapter USB 7.2 Installation of the EKS USB drivers under Windows® 7 To start the installation, have the driver software order no. 094376 at hand in a folder or on a CD. For installation from zip file, extract it to a folder of the computer now (e.g. to C:\Temp\) or alternatively For installation from CD, insert the CD now.
Manual EKS Electronic-Key Adapter USB Find the entry EUCHNER Electronic-KeySystem USB. Right-click on the entry and select Update Driver Software… Select Browse my computer for driver software For installation from folder: Enter the path to the folder containing the drivers. Also tick the Include subfolders check box.
Manual EKS Electronic-Key Adapter USB For installation from CD: Select the drive. Also tick the Include subfolders check box. Click on OK and Next Confirm the Windows security message with Install this driver software anyway The driver software for EUCHNER Electronic-KeySystem USB will be installed, and the following message will appear after completion: Windows has successfully updated your driver software. Close this window.
Manual EKS Electronic-Key Adapter USB An entry now appears in the list of USB controllers: EUCHNER Electronic-Key-System USB Information! This entry is visible only if the Electronic-Key adapter is inserted. The virtual serial COM port driver is additionally installed in the second step. Windows will now typically display another message in the task bar stating that it is looking for device driver software. The USB Serial Port driver will not be installed automatically.
Manual EKS Electronic-Key Adapter USB Select Browse my computer for driver software For installation from folder: Enter the path to the folder containing the drivers. Also tick the Include subfolders check box. Click on Next For installation from CD: Select the drive. Also tick the Include subfolders check box.
Manual EKS Electronic-Key Adapter USB The driver software for EUCHNER Electronic-KeySystem USB (COM#) (virtual serial COM port) will be installed, and the following message will appear after completion: Windows has successfully updated your driver software. Close this window. An additional entry now appears in the list of Ports (COM & LPT): EUCHNER Electronic-Key-System USB (COM#). The automatically assigned COM port number ("3" in this example) also appears in the list of ports.
Manual EKS Electronic-Key Adapter USB 7.3 Changing the virtual COM port and driver version information under Windows® Information! To be able to change a COM port number, you must be logged on as an administrator. Information! This is possible only if an Electronic-Key adapter is inserted. ® Under Windows 7: Start the process by launching the Device Manager via Windows Start… and entering the following in the Search programs and files box: devmgmt.msc Click on devmgmt.
Manual EKS Electronic-Key Adapter USB In the EUCHNER Electronic-Key-System USB (COM#) Properties, select the tab Port Settings Selecting Advanced... opens a window in which the virtual COM port can be changed. The desired virtual COM port can be selected in the COM Port Number: selection field. Confirm with OK The change is then immediately visible in the Device Manager. Now unplug the USB cable and plug it back in again. This activates the change.
Manual EKS Electronic-Key Adapter USB 7.4 Uninstalling the EKS USB drivers under Windows® Information! The user must be logged on as an administrator in order to uninstall the EKS USB drivers. Information! This is possible only if an Electronic-Key adapter is inserted. ® Under Windows 7: Start the uninstalling process by launching the Device Manager via Windows Start… and entering the following in the Search programs and files box: devmgmt.msc Click on devmgmt.
Manual EKS Electronic-Key Adapter USB Confirm the uninstalling process for the EUCHNER Electronic-Key-System USB (COM#) by ticking the check box Delete the driver software for this device Click on OK Find the following entry in the list of USB controllers: EUCHNER Electronic-Key-System USB. Right-click on the entry and select Uninstall Confirm the uninstalling process for the EUCHNER Electronic-Key-System USB by ticking the check box Delete the driver software for this device.
Manual EKS Electronic-Key Adapter USB 8 Operating the Electronic-Key-System with the aid of the virtual COM port 8.1 Special features of the USB interface The USB interface is designed as a virtual serial COM port. The communication is exactly the same as for the device with serial RS232 interface. If there is an Electronic-Key within the operating distance of the Electronic-Key adapter, the LED on the front changes from green to yellow.
Manual EKS Electronic-Key Adapter USB 8.3 Basic message structure Every command and any related data blocks are transferred from and to the Electronic-Key adapter in a message core within the message frame as per the protocol 3964R (Figure 1: Basic command structure in the 3964R protocol). In the 3964R protocol, the recipient acknowledges the message received by sending back an acknowledgement character (DLE). If the acknowledgement is negative (NAK), the complete protocol is repeated.
Manual EKS Electronic-Key Adapter USB 8.3.1.2 The 3964R transfer protocol [1] Unlike protocol-free data transfer procedures, 3964R is a data transfer with protocol. This means that the actual data that need to be transferred are enclosed in specific control characters. The 3964R driver permits comparatively reliable data transfer as the recipient must signal to the sender readiness to receive (connection setup) and acknowledge correct reception after completion of the data transfer.
Manual EKS Electronic-Key Adapter USB When the control system detects the character string DLE ETX BCC, it ends reception. The control system compares the block check character BCC with the longitudinal parity calculated internally. If the block check character is correct and no other reception errors have occurred, the control system sends the control character DLE. If the BCC is erroneous, the control character NAK is sent to the peripheral. A retry is then expected.
Manual EKS Electronic-Key Adapter USB 8.4.1 Write process When this command is used, the Electronic-Key must be in the Electronic-Key adapter, and must be removed from within the operating distance only after the reply message has been received. Command message (message core, PC→ EKS, see Figure 2): TP (device addr.) (start addr. user data) (number of bytes of user data) (user data) Reply message (message core, EKS → PC, see Figure 3): RF (device addr.) (00hex, 00hex) (status number) Byte no.
Manual EKS Electronic-Key Adapter USB 8.4.2 Read process Command message (message core, PC→ EKS, see Figure 4): TL (device addr.) (start addr. user data) (number of bytes of user data) Reply message (message core, EKS → PC, see Figure 5 or Figure 6): For this command there are two possible replies: RL (device addr.) (start addr. user data) (number of bytes of user data) (user data) or RF (device addr.
Manual EKS Electronic-Key Adapter USB 8.4.3 Reading the serial number The read/write Electronic-Key contains a unique 8-byte serial number. This number is written by laser during the Electronic-Key production process and can never be changed or deleted. The serial number is used for secure distinction of every single Electronic-Key. It is necessary that all 8 bytes are completely evaluated for this secure distinction. The serial number is appended to the freely programmable user data.
Manual EKS Electronic-Key Adapter USB 9 Exclusion of liability Exclusion of liability under the following conditions: incorrect use non-compliance with safety regulations if mounting and electrical connection are carried out by unauthorized personnel if modifications are made 10 Service and repair No servicing is required, Remove dirt from the Electronic-Key and the Electronic-Key adapter using a soft cloth and solvent-free, non-abrasive cleaning agents.
Microsoft Windows® and ActiveX® are registered trademarks of Microsoft Corporation EUCHNER GmbH + Co. KG Kohlhammerstraße 16 D-70771 Leinfelden-Echterdingen Telephone Fax +49 711 / 75 97 - 0 +49 711 / 75 33 16 www.euchner.de . info@euchner.