1. Catalogs
  2. TWK-ELEKTRONIK GmbH
  3. Rotary encoder TRK manual

Rotary encoder TRK manual

Rotary encoder TRK manual
1 / 18 PagesView full catalog

Rotary encoder TRK manual

Product catalog summary
Safety Instructions
  • This manual is for rotary encoders with a PROFIsafe interface. Follow the owner's system-specific operating instructions, this user manual, and accompanying data sheets and installation instructions.
  • Protect the device from mechanical damage and operate within specified limits. Only qualified electricians should commission the device.
General Information

The CRK electro-optical absolute encoders are designed for integration with the EtherCAT industrial Ethernet system, using CANopen over EtherCAT for parameter and diagnostic data handling.

Installation Instructions
  • Connections are made via M12 connectors, with separate connections for power supply and EtherCAT system.
  • EtherCAT wiring follows the 100BASE-TX Ethernet standard, requiring at least CAT5 cables with a maximum length of 100 meters between subscribers.
  • Addressing is automatic, and an XML file is available for integration into project planning tools.
Process Data Exchange

The encoder transmits position data and receives control words as process data objects. The position data format is in Little Endian, and parameters such as counting direction and resolution can be adjusted via CoE parameters.

Programming and Diagnosis
  • Parameters and diagnostic information are organized in an object directory, accessible via SDO messages. The directory includes communication parameters, manufacturer-specific parameters, and standardized device parameters.
  • Key objects include device type, manufacturer device name, hardware and software versions, and parameters for storing and restoring settings.
TwinCAT System Manager

The XML file installation and online commissioning are facilitated through the TwinCAT System Manager, allowing for offline integration and online parameter access.

Programming and Diagnosis Details
  • Object 1C12h and 1C13h: Manage sync manager channels for process data output and input, defining the number of PDOs and their assignment objects.
  • Object 1A00h: Maps the transmit PDO, transmitting the position value index 0x6004 as PDO.
  • Object 1018h: The identity object provides vendor ID, product code, revision number, and serial number.
  • Object 1600h: Maps the receive PDO, receiving the control byte index 0x2001 as PDO.
  • Manufacturer-specific Parameters: Objects 2000h and 2001h manage state and control values, indicating parameterization errors and control settings.
  • Standardized Device Parameters: Objects 6000h to 6004h manage operating parameters, measuring units, total measuring range, preset values, and position values. Scaling must be enabled to modify these parameters.
  • Device Diagnosis: Objects 6500h to 6509h provide diagnostic information, including operating status, resolution, number of revolutions, alarms, and offset values.
TwinCAT System Manager Details
  • Installation: The XML file should be copied to the TwinCAT directory, and the system manager should be started.
  • Online Commissioning: The system can read the bus structure online, locate connected devices, and exchange I/O data cyclically. Configuration and parameterization of the encoder can be accessed through the CoE online register.
See more

Catalog excerpts

Rotary encoder TRK manual-1

Absolut encoder with EtherCAT® interface Accompanying data sheet TRK 12825 or CRK 11778 user manual TWK-ELEKTRONIK GmbH Heinrichstrasse 85 [email protected] www.twk.de

 Open the catalog to page 1
Rotary encoder TRK manual-2

COPYRIGHT: The Operating Instructions CRK 11780 is owned by TWK-ELEKTRONIK GMBH and is protected by copyright laws and international treaty provisions. © 2013 by TWK-ELEKTRONIK GMBH POB 10 50 63 ■ 40041 Dusseldorf ■ Germany Tel. +49/211/63 20 67 ■ Fax +49/211/63 77 05 [email protected] ■ www.twk.de EtherCAT® ist eine eingetragene Marke und patentierte Technologie, lizenziert durch die Beckhoff Automation GmbH, Deutschland. Date: 10.09.2013 Page 2 of 18 document no. CRK 11780 EE

 Open the catalog to page 2
Rotary encoder TRK manual-5

1. Safety instructions 1. Safety instructions 1.1 Scope of validity This user manual applies exclusively to the following rotary encoders with PROFIsafe interface: 1.2 Documentation The following documents must be noted: - The owner's system-specific operating instructions - This user manual - Data sheet number CRK11778 or TRK12825 - The pin assignment enclosed with the device - Installation instruction TZY 10206 enclosed with the device 1.3 Proper use TWK-ELEKTRONIK GmbH's rotary encoders and linear transducers are used to record rotary and linear positions, and make their measured values available...

 Open the catalog to page 5
Rotary encoder TRK manual-6

2. General 3. Installation instructions 2. General The CRK electro-optical absolute encoders are designed for direct connection to the EtherCAT industrial Ethernet system. Use of the CANopen over EtherCAT message (CoE) enables parameters and diagnostic data to be handled as usual in the case of CANopen. The EtherCAT specifications can be obtained from the EtherCAT Technology Group ETG (www.ethercat.org). 3. Installation instructions 3.1 Connection via M12 connector The „...M01“ type absolute encoders have separate connectors for the supply and the EtherCAT system. Device connectors: - M12x4 D-coded...

 Open the catalog to page 6
Rotary encoder TRK manual-7

3.3 Addressing Manually setting the subscriber address is not necessary. It is assigned automatically by the EtherCAT master in accordance with the physical sequence in the bus. 3.4 Status LEDs Four LEDs are housed in the absolute encoder‘s connecting cap. These have the following meanings: Brief flickering on the part of the red status (NS) LED after switching on the voltage indicates the absolute encoder‘s booting process. 3.5 XML file An XML file to integrate the absolute encoder into a project planning tool is available for download on our website www.twk.de (under documentation). This describes...

 Open the catalog to page 7
Rotary encoder TRK manual-8

4. Process data exchange The absolute encoder transmits its position (4 bytes) and receives a control word (2 bytes) as process data objects (PDO). The data format is as follows: 4.1 Position data format (position_value) Date: 10.09.2013 Page 8 of 18 document no. CRK 11780 EE

 Open the catalog to page 8
Rotary encoder TRK manual-9

5. Programming and diagnosis (CANopen over EtherCAT) In the case of CANopen over EtherCAT, all parameters and diagnostic information are located in what is called the object directory. By specifying their index and sub-index, they can be modified or read there with the SDO (Service Data Object) message. The object directory is sub-divided into the following areas: Communication parameters Index 1000h - 1FFFh Manufacturer-specific parameters Index 2000h - 5FFFh Standardised device parameters Index 6000h - 9FFFh Refer to the following tables for a description of the individual parameters and diagnostic...

 Open the catalog to page 9
Rotary encoder TRK manual-10

5.2 Communication parameters 5.2.1 Object 1000h - Device type By writing “load” (hex: 0x64616F6C) in sub-index 1, the parameters’ default values are loaded into the EEPROM and become immediately active. Following execution, the value is reset to “1”. Date: 10.09.2013 Page 10 of 18 document no. CRK 11780 EE

 Open the catalog to page 10
Rotary encoder TRK manual-11

5.2.7 Object 1018h - Identity Object Date: 10.09.2013 Page 11 of 18 document no. CRK 11780 EE

 Open the catalog to page 11
Rotary encoder TRK manual-12

5.3 Manufacturer-specific parameters 5.3.1 Object 2000h - State value Access to the control word is only possible via a PDO. In the object directory, it is “read only”! Date: 10.09.2013 Page 12 of 18 document no. CRK 117

 Open the catalog to page 12
Rotary encoder TRK manual-13

5.4 Standardised device parameters Those parameters marked with “rw” in this chapter can be set by the user. To store the parameters in a failsafe manner in the encoder’s EEPROM, the “save” command must then be executed under the object 1010h. See Chapter 5.2.5 5.4.1 Object 6000h - Operating parameters This parameter can be used to set the absolute encoder’s total number of steps. The total number of steps is the product of the resolution and the number of revolutions. Before changing the resolution, scaling must be switched on via object 6000h bit 2. Note: It must be noted that internal calculation...

 Open the catalog to page 13
Rotary encoder TRK manual-14

Desired number of revolutions: 5 Next highest 2n revolution number: 8 The following results from this: Actual total number of steps: 32,768 This value is the position value and is output via the PDOs. (See Chapter 4) Date: 10.09.2013 Page 14 of 18 document no. CRK 11780 EE

 Open the catalog to page 14
Rotary encoder TRK manual-15

5.5 Standardised device diagnosis 5.5.1 Object 6500h - Operating status See object 6003h pre-set (Chapter 5.4.4) *The values in brackets are valid for encoders with 13 Bit resolution Date: 10.09.2013 Page 15 of 18 document no. CRK 11780 EE

 Open the catalog to page 15
Rotary encoder TRK manual-16

6. TwinCAT system manager 6.1 Installation der XML-Datei - Copy the downloaded XML file to the ..\Twincat\Io\Ethercat directory - Start the TwinCAT system manager 6.2 Online commissioning If the system is connected and capable of running, reading-in the bus structure online is the simplest option. This procedure is described here examplarily for the encoder CRK. Create a new project, mark “I/O devices” and click onto the “wand”. Confirm the following note with OK. TwinCAT should then locate your network card. Confirm this with OK. Date: 10.09.2013 Page 16 of 18 document no. CRK 11780 EE

 Open the catalog to page 16
Rotary encoder TRK manual-17

After confirming the following dialogue with “Yes”, all connected devices should be located. In this case, the EtherCAT master (device 1), a Beckhoff bus terminal with I/O modules and the TWK CRK absolute encoder. +I'"5M SYSTEM - Konfiguration m SPS - Konfiguration - E/A - Konfiguration - Jjj} E/A Gerate S' ^ Gerat 1 (EtherCAT) Gerat 1-Prozessabbild Gerat 1-Prozessabbild-+ Eingange ± Ausgange + $ InfoData + jj Klermrme 1 (EK1100) + ^ Box 6 (CRK) a§ Zuordnungen If the so-called free run is now also activated, the I/O data are cyclically exchanged and can be monitored in the TwinCAT. Clicking onto...

 Open the catalog to page 17

All TWK-ELEKTRONIK GmbH catalogs and technical brochures

  1. Manual TRN50/C3

    86  Pages

*Prices are pre-tax. They exclude delivery charges and customs duties and do not include additional charges for installation or activation options. Prices are indicative only and may vary by country, with changes to the cost of raw materials and exchange rates.