background image

Technical Manual 

WDGA with EtherCAT 

4 - EtherCAT 

 

 

© Wachendorff Automation GmbH & Co. KG 

33 

Rev.1.09    

 

Object  Name 

Idx 

Description 

Data size 

(bit) 

ro 

rw 
co 

Map 

Default 

6509h

 

Offset value 

00h  Contains the offset 

value, calculated 
from the preset 
function 
(6003h) 

Signed32 

ro 

no 

0000 0000h 

650Ah

 

Module 
identification 

00h  Manufacturer-specific 

offset 

Unsigned8 

co 

no 

03h 

 

 

01h  Manufacturer 

offset value 

Signed32 

co 

 

0000 0000h 

 

 

02h  Manufacturer 

min. position 

Signed32 

co 

 

0000 0000h 

 

 

03h  Manufacturer 

max. position 

Signed32 

co 

 

ST: 
0000 FFFFh 
MT: 
FFFF FFFFh 

650Bh

 

Serial 
number 

00h  Display the serial 

number of the 
encoder 

Unsigned8 

co 

no 

01h 

 

 

01h  Serial number 

Unsigned32 

co 

 

 

650Dh  Absolute 

accuracy 

00h  Absolute accuracy 

Unsigned8 

co 

no 

0Ch 

650Eh 

Device 
capability 

00h  Contains additional 

information on object 
1000h 

Unsigned32 

ro 

no 

0000 000Bh 

650Fh 

Offset value 
for high-
resolution 
encoder 

00h  Contains the offset 

value, calculated 
from the preset 
function 
(6009h) 

Unsigned8 

co 

no 

01h 

 

 

 

01h   

Signed64 

ro 

 

0000 0000 
0000 0000h 

6510h

 

Number of 
high-
precision 
revolutions 

00h  Display of the max. 

possible high-
precision multi-turn 
resolution 

Unsigned40 

co 

no 

00FF 
FFFF  
FFFFh 

 

Table 4.27: Device-specific objects 6509h - 6510h 

 

 

 

Summary of Contents for WDGA Series

Page 1: ...R e v...

Page 2: ...s no liability or warranty for the correctness of this manual or for any direct or indirect damage that may arise from it In the pursuit of constant innovation and cooperation with customers we reserv...

Page 3: ...ipment 7 3 1 General 7 3 2 EtherCAT 7 3 3 Principles of WDGA 8 3 3 1 Single turn ST QuattroMag 9 3 3 2 Multi turn MT EnDra 9 3 3 3 Direction of revolution 9 3 3 4 Preset 9 3 3 5 Scaling 9 3 4 Things t...

Page 4: ...t mask 26 4 3 3 6 2902h Gateway 26 4 3 4 Encoder specific objects 27 4 3 4 1 6000h Operating parameters 34 4 3 4 2 6001h Measuring units per revolution 34 4 3 4 3 6002h Total measuring range 34 4 3 4...

Page 5: ...ion 40 4 3 4 30 6502h Number of distinguishable revolutions 40 4 3 4 31 6503h Alarms 40 4 3 4 32 6504h Supported alarms 40 4 3 4 33 6505h Warnings 41 4 3 4 34 6506h Supported warnings 41 4 3 4 35 6507...

Page 6: ...Technical Manual WDGA with EtherCAT Table of contents Wachendorff Automation GmbH Co KG V Rev 1 09 5 5 Contact 53 6 Commissioning with TwinCAT 54 7 Technical advice 61...

Page 7: ...ngs 48 Figure 5 5 Encoder information 49 Figure 5 6 Firmware update 50 Figure 5 7 Firmware update selecting the file 50 Figure 5 8 Firmware update transfer file 51 Figure 5 9 Firmware update successfu...

Page 8: ...EtherCAT object 1C00h 23 Tabelle 4 15 Sync Manager 3 PDO assignment EtherCAT Objekt 1C13 23 Table 4 17 Sync Manager 3 synchronisation EtherCAT Objekt 1C33h 24 Table 4 16 Manufacturer specific objects...

Page 9: ...ou have is the most recent When reading pay particular attention to information important and warning points that are marked with corresponding symbols see 1 1 1 This manual is designed for people wit...

Page 10: ...of text in which a process is described to resolve a particular problem The WARNING symbol is placed next to a section of text that should be paid particular attention to in order to ensure the corre...

Page 11: ...uct range from Wachendorff can be found on our website www wachendorff automation de 1 3 Description of services An encoder is a sensor used to capture angle positions single turn and revolutions mult...

Page 12: ...your order Before commissioning you should check the supplied package for completeness Generally speaking the WDGA product series with an EtherCAT interface comprises the following supplied package WD...

Page 13: ...er s operating instructions must be observed 2 2 Correct use Encoders are components designed for installation in machinery Before commissioning correct operation it must be ensured that the machine a...

Page 14: ...fore commissioning Suitable safety measures should be deployed to ensure that in the event of a failure or malfunction no physical harm can occur and there is no damage to the system or operating faci...

Page 15: ...status LEDs in the cover indicate the various states of the encoder during use They support the configuration of the encoder or troubleshooting in the field The flange drill holes or supplied spring...

Page 16: ...dium access controller MAC without an additional communication processor This means that a master can be installed on any hardware platform that provides an Ethernet port The EtherCAT slaves use an Et...

Page 17: ...A simple two part complement invert each bit and add 1 of the position value can reverse the positive direction of revolution 3 3 4 Preset In a specific physical position the encoder can be assigned...

Page 18: ...3 36000 3600 10 4 In exceptional cases the TMR does not need to be a whole integer multiple of the MUPR For example if a translation in a system causes the desired measuring parameter to move 10 faste...

Page 19: ...with a bus cover The electrical connection is made at the bus cover via the 2 x M12 plugs and 1 x M12 socket The connection assignment of the plugs and sockets can be found in Table 3 1 Connection ass...

Page 20: ...witch other field device etc and data is being exchanged The MOD LED indicates operation always lighting up green when the supply voltage is connected The STAT LED indicates the EtherCAT status Red si...

Page 21: ...50 500 750 1000 1250 C y c l e Double flash 0 500 1000 1500 2000 2500 C y c l e Colour Function Status Meaning Red Error Off No error Flashing Invalid configuration Single flash Local error Double fla...

Page 22: ...orff EtherCAT encoder has a MAC address This always starts with D4 90 E0 xx xx xx In its shipped status the EtherCAT encoder has the IP address of 192 168 1 127 The IP address can be configured on the...

Page 23: ...encoder class C3 Web server Standard web server Further features Distributed clocks Sync Manager Outputs SM3 SDO upload download SDO information services Station alias Diagnosis processing Table 4 1...

Page 24: ...00h Contains the devices software version string72 co no 1010h Store parameters 00h Saves object directory settings Unsigned8 co no 04h 01h All object directory content Unsigned32 rw 0000 0001h 02h Co...

Page 25: ...06h 25h Message 1 32 Unsigned64 ro 0000 0000h 1A00h 1st TPDO mapping parameter 00h Defines the PDO mapping for the first TPDO Unsigned8 rw no 05h 01h 1st Output object Default object 6004h Position v...

Page 26: ...3 0010h 04h 4th Output object Default 6505h Warnings Unsigned32 rw 6505 0010h 05h 5th Output object Default 6300h CAM state Unsigned32 rw 6300 0108h 06h 6th Output object Default 6410h High resolution...

Page 27: ...cle Time Unsigned32 ro 0000 0000h 04h Synchronization types supported Unsigned16 ro 0007h 05h Minimum cycle Time Unsigned32 ro 0000 C350h 06h Calc and Copy Time Unsigned32 ro 0001 7AE8j 0A h Sync0 Cyc...

Page 28: ...s 2 Where Save communication objects 3 Where Save application objects 4 Where Save manufacturer objects Table 4 8 1001h Parameter storage options Saving is initiated by populating the corresponding su...

Page 29: ...rw Subindex of last confirmed message 4 BOOL ro New message flag 5 Unsigned16 rw Flags 6 37 Unsigned64 ro Messages 1 32 Table 4 11 1010h Identity object 4 3 2 8 1A00h 1st TPDO mapping parameter The fi...

Page 30: ...ynamically configured The standard mapping of the second PDO is listed in the table below Here too the sub indices are set up as in Table 4 13 Sub idx Access Meaning 00 rw Number of mapped objects Def...

Page 31: ...e 2 Mailbox send Slave to Master 3 Unsigned8 ro Communication type SM2 Value 3 Rx PDO 4 Unsigned8 ro Communication type SM3 Value 4 Tx PDO Tabelle 4 15 Sync Manager communication type EtherCAT object...

Page 32: ...SM3 Event 2 DC Modus synchronous with Sync0 Event 1 2 Unsigned32 ro Cycle time in ns 0 4 Unsigned16 ro Synchronization Types Supported Bit 0 Free Run Bit 1 Sync SM Event Bit 2 4 Sync Mode Bit 5 6 Shi...

Page 33: ...2 rw 0000 0000h 02h Customer data 2 Unsigned32 rw 0000 0000h 03h Customer data 3 Unsigned32 rw 0000 0000h 04h Customer data 4 Unsigned32 rw 0000 0000h 05h Customer data 5 Unsigned32 rw 0000 0000h 06h...

Page 34: ...ngth of speed filter value Table 4 19 Integration values EtherCAT object 2105h 4 3 3 2 2107h Frequency limit Sub idx Acces s Description 00 rw If this limit speed is exceeded bit 0 is set in object 65...

Page 35: ...T MT Unsigned32 ro Yes 6008h High precision position value 00h Output of the position if measuring range 32 bit Unsigned64 ro Yes 6009h High precision preset value 00h Change display of the high preci...

Page 36: ...inverted Unsigned8 rw 00000000b 6310h CAM1 low limit 00h Lower switching point for the 1st CAM Unsigned8 co no 01h 01h Change of the lower switching point for the 1st CAM Signed32 rw 0000 0000h 6311h...

Page 37: ...nge of the upper switching point for the 2nd CAM Signed32 rw 0000 0000h 6322h CAM3 high limit 00h Upper switching point for the 3rd CAM Unsigned8 co no 01h 01h Change of the upper switching point for...

Page 38: ...pends on the height of this value Unsigned3 2 rw 0000 0000h 6333h CAM4 hysteresis 00h Hysteresis for the switching points of the 4th CAM Unsigned8 co no 01h 01h The size of the hysteresis depends on t...

Page 39: ...h 01h Change of the upper switching point for the 1st 8th CAM Signed64 rw 0000 0000 0000 0000h 6360h 6367h High resolution CAM 1 8 hysteresis 00h Hysteresis for the switching points of the 1st 8th CAM...

Page 40: ...rw 7FFF FFFF FFFF FFFFh 6500h Operating status 00h Contains the values from object 6000h Unsigned1 6 ro no 6501h Single turn resolution 00h Display of the single turn resolution Unsigned3 2 co no 0001...

Page 41: ...gned32 co ST 0000 FFFFh MT FFFF FFFFh 650Bh Serial number 00h Display the serial number of the encoder Unsigned8 co no 01h 01h Serial number Unsigned32 co 650Dh Absolute accuracy 00h Absolute accuracy...

Page 42: ...n value but it is enough to use the values shown here The settings are made in object 6000h sub index 00h A list of the possible configurations is set out below Code byte 0 Scaling Direction of revolu...

Page 43: ...value is output via object 6004h 4 3 4 6 6008h High precision position value See 4 3 4 5 only with max 64 bit instead of max 32 bit 4 3 4 7 6009h High precision preset value See 4 3 4 4 only with max...

Page 44: ...s the time interval for calculating the speed It is specified in milliseconds e g 64h 100 ms Together multipliers and dividers represent a freely configurable factor They can be used to convert increm...

Page 45: ...to 1 in binary notation If only CAM 2 CAM 4 and CAM 7 are supposed to be active for example then according to the binary notation Position 7 MSB 6 5 4 3 2 1 0 LSB Type CAM 8 CAM 7 CAM 6 CAM 5 CAM 4 C...

Page 46: ...limit The upper switching point of a cam switch position is defined via the CAM high limit Each individual cam switch position CAM 1 CAM 8 has its own CAM high limit object see object index 6320h 6327...

Page 47: ...nd 05h below the value of object 6401h 4 3 4 23 6401h Work area low limit Object 6401h sub index 01 is used to define the lower limit of the work area 4 3 4 24 6402h Work area high limit Object 6402h...

Page 48: ...lutions Object 6502h can be used to read out the maximum number of distinguishable revolutions Multi turn resolution 4 3 4 31 6503h Alarms Object 6503h shows a possible position error see Table 4 34 1...

Page 49: ...ting time limit Always 0 2 CPU watchdog status always 0 not supported 1 Light control Always 0 not optical but rather magnetic sensors 0 Frequency exceeded Is set if the speed defined in object 2107h...

Page 50: ...manufacturer max position 4 3 4 39 650Bh Serial number Object 650Bh contains the serial numbers of the encoder 4 3 4 40 650Dh Absolute accuracy Object 650Dh can be used to read out the absolute accura...

Page 51: ...umber of high precision revolutions Object 6510h specifies the number of revolutions distinguishable by the sensor Currently the value is FF FFFF FFFFh The specification defines this parameter as an U...

Page 52: ...c To do this connect the encoder via an Ethernet cable M12 plug to the encoder and RJ45 plug to the PC to your computer Ensure that your PC is installed in the same IP address range as the encoder and...

Page 53: ...ame Name of EtherCAT device MAC devices Encoder MAC address MAC port 1 MAC address of Ethernet port 1 MAC port 2 MAC address of Ethernet port 2 IP address IP address of your EtherCAT encoder Network m...

Page 54: ...46 Rev 1 09 5 2 2 Diagnosis Figure 5 2 Diagnostics page Exception This is where possible causes of errors can be displayed If you see an error here contact us and tell us what the information says Fie...

Page 55: ...A with EtherCAT 5 Web server Wachendorff Automation GmbH Co KG 47 Rev 1 09 5 2 3 Versions Figure 5 3 Versions Figure 5 3 shows information about the individual version states such as Application SDAI...

Page 56: ...rff Automation GmbH Co KG 48 Rev 1 09 5 3 Configuration 5 3 1 Network Figure 5 4 Network settings This is where you can change the device name IP address network status and gateway Please note that yo...

Page 57: ...chendorff Automation GmbH Co KG 49 Rev 1 09 5 3 2 Encoder Figure 5 5 Encoder information You can check the parametrised values of the encoder in Figure 5 5 Position with scaling RAW position without s...

Page 58: ...Figure 5 6 Firmware update The encoder s current firmware version is displayed If a new firmware version is available you can update the version on the encoder here Please note that you can only carry...

Page 59: ...t the firmware update An animated display appears showing the following text Transferring file see Figure 5 8 and after the transfer is done you will see a warning Updating FLASH This takes about 2 mi...

Page 60: ...and then check under Information Versions whether the new firmware version is displayed Figure 5 10 Firmware update successful If the firmware update fails see Figure 5 11 please check that you have s...

Page 61: ...e information This is where you will find the current safety instructions as well as firmware program packages You can download the source code of these packages via the link on this website 5 5 Conta...

Page 62: ...e following directory TwinCAT lO EtherCAT You can download the file from www wachendorff automation de Start TwinCAT and a new project Now carry out the following steps Ensure that you have an Intel n...

Page 63: ...erCAT 6 TwinCAT 3 Wachendorff Automation GmbH Co KG 55 Rev 1 09 Confirm the message shown in Figure 6 2 with OK Figure 6 2 TwinCAT Scan Message Choose your TwinCAT enabled network card see Figure 6 3...

Page 64: ...gure 6 4 The system is scanned for EtherCAT members Figure 6 4 TwinCAT Scan for boxes Figure 6 5 TwinCAT Activate Free Run Once the scan is complete confirm the following window with Yes see Figure 6...

Page 65: ...scaling function make sure that the object with index 6000 is set to e g 0x0004 in the CoE Online tab see Figure 6 7 If not double click it and change the value see Figure 6 8 to your desired setting...

Page 66: ...e Figure 6 9 and the number of countable revolutions to 10 so the number of total steps must be set to 3600 s Figure 6 10 Figure 6 9 Scaling 6001 measuring units per revolution Figure 6 10 Scaling Tot...

Page 67: ...x 6003 Double click object 6003 in the tab CoE Online Enter the desired value in the example 0 and confirm with OK Figure 6 12 shows the value before the preset Figure 6 13 shows that the preset has b...

Page 68: ...ev 1 09 6 4 Save settings To ensure that settings are retained even after a voltage reset the values must be saved This is done by setting the value of object 1010 01 to 1702257011 as Dec and confirmi...

Page 69: ...on GmbH Co KG 61 Rev 1 09 7 Technical advice Technical applications advisers Do you have any questions about this product Your technical applications advisers will be happy to help you Tel 49 0 67 22...

Reviews: