EK1310 - Configuration by means of the TwinCAT System Manager

TwinCAT tree

Enter the EK1310 EtherCAT P extension as an EtherCAT device in the TwinCAT System Manager in Config mode under Devices. Any Terminals already connected to the network can also be read. This will cause all the Bus Couplers with Bus Terminals and their configurations to be loaded. You can then adapt these to meet your requirements.

EK1310 - Configuration by means of the TwinCAT System Manager 1:
TwinCAT tree EK1310

Meaning of the PDO identifier

PDO identifier

Typ

State

Description

Status UP (Undervoltage)

Bit

0

Peripheral voltage for Actors UP >= 19.4 V, no overload/ no case of shortcut

1

Peripheral voltage for Actors UP < 19.4 V or overload/ case of shortcut (output current > 3 A)

Status US (Undervoltage)

Bit

0

System- and Sensor supply US >= 19.4 V, no overload/ no case of shortcut

1

System- and Sensor supply US < 19.4 V or overload/ case of shortcut (output current > 3 A)

WcState

Bit

0/1

Each datagram of the device indicates its processing state here. This allows monitoring for correct process data communication.

InputToggle

Bit

0/1

Toggles whenever new valid EtherCAT telegram was received

State

UINT

-

Status display of the “EtherCAT state machine” (see State, Online tab)

Karteireiter EtherCAT P

Ab TwinCAT 3 Build 4020 verfügt TwinCAT über das Tab „EtherCAT P“. Dieses Tab bietet ein Planungstool, um Spannungen, Ströme und Kabellängen des EtherCAT-P-Systems zu berechnen. Die nachfolgende Abbildung zeigt das Tab EtherCAT P wenn kein Device an dem Verteiler-Device angeschlossen ist (A).

EK1310 - Configuration by means of the TwinCAT System Manager 2:
Karteireiter EtherCAT P: Kein Device an Verteiler-Device angeschlossen

Wenn ein Device an dem Verteiler-Device angeschlossen ist (A), können Sie im „EtherCAT P“-Tab des Device den Aderquerschnitt und die Länge des EtherCAT-P-Kabels einstellen (siehe nachfolgende Abbildung, B).

EK1310 - Configuration by means of the TwinCAT System Manager 3:
Karteireiter EtherCAT P: Ein Device an Verteiler-Device angeschlossen

Sind drei Devices an den drei Ports des Verteiler-Devices angeschlossen (A), werden diese wie in der nachfolgenden Abbildung dargestellt, angezeigt.

EK1310 - Configuration by means of the TwinCAT System Manager 4:
Karteireiter EtherCAT P: Drei Devices am Verteiler-Device angeschlossen

Sie können sich die Topologie Ihres EtherCAT-P-Systems anzeigen lassen.

Wire Gauge

Selection of the wire cross-sectional area of the cable which is to be used

AWG 22 = 0.34 mm²

AWG 24 = 0.22 mm²

EK1310 - Configuration by means of the TwinCAT System Manager 5:

Length (m)

Indication of the cable length which is to be used

Check EtherCAT P System

At least one device is connected to the controller, the connected EtherCAT P system can be checked

Type

Listing of two voltages: Box supply US, Auxiliary voltage UP

Actual Voltage (V)

The respective voltage at which the system is powered, can be entered manually. The default setting is 24.00 V.

Min Voltage (V)

The minimum voltage is preset by the device and described in the ESI file. The EtherCAT P system is to be interpreted after this voltage. It is valid not to fall short this voltage.

Load (A)

The total consumption of the connected sensors / actuators at the device can be specified here,e.g. 100 mA.

Load Type

The characteristic of the load which is connected to the devices can be selected here. Which of the three options is right for the connected load (Sw regulator, LDO, Resistor), must be taken from the datasheet. In case of doubt please select the default value "Sw Regulator".

Sw Regulator: Switching regulators, consume more energy and therefore require an efficient power supply.

LDO: Low drop voltage regulator, the energy demand is often small and the heat dissipation is not a problem, e.g. proximity sensor.

Resistor: electronic, passive components e.g. relay, coil

EK1310 - Configuration by means of the TwinCAT System Manager 6:

 

 

If you click on the button “Check EtherCAT P System”, all devices that are attached to your TwinCAT tree are listed as shown in the following figure.

EK1310 - Configuration by means of the TwinCAT System Manager 7:
Check EtherCAT P System

 

No.

The automatically assigned number of the device according to its position in the EtherCAT P strand.

 

Name

Designation of the device in TwinCAT.

 

Previous

Number of the previous device in the EtherCAT P strand and the output port used (A/B/C/D).

 

Us (V), Up (V)

Supply voltage which is present at the input of the device. For device No. 1 You can enter the voltages manually.

 

Sum Is(A), Sum Ip(A)

Sum currents of the supply voltages at the input of the device.

 

Us Load, Up Load

Enter here the total load at the IO ports of the device here.
The unit of this value is set by the choice of "Us Load Type" and "Up Load Type".

 

Us Load Type, Up Load Type

Choose here the characteristic of the load, which is connected to the IO ports of the device.

 

Cable Length (m)

Enter here the length of the EtherCAT P cable, which is connected to the input of the device.

 

Wire Gauge

Choose here the wire cross-section of the EtherCAT P cable, which is connected to the input of the device.

  • AWG 22 = 0,34 mm²
  • AWG 24 = 0,22 mm²

Example with problem case and troubleshooting

The following figure shows the planning of the EtherCAT P system without a problem. All voltages in the column “Supply Voltage (V)” are highlighted in green.

EK1310 - Configuration by means of the TwinCAT System Manager 8:
Check EtherCAT P system without problem

The following figure shows the planning of the EtherCAT P system with a problem. The “Supply Voltage (V)” of Box 5 drops below the “Min. voltage (V)”. The corresponding field is highlighted in red. The error occurs because longer cables (adjustable in Cable Length (m)) and also AWG 24 instead of AWG 22 cables (adjustable in Wire Gauge) be used.

EK1310 - Configuration by means of the TwinCAT System Manager 9:
Check EtherCAT P System with problem

This area offers the following three options to adjust the system so that there is no error:

State, "Online" tab

Indicates the online status of the terminal.

EK1310 - Configuration by means of the TwinCAT System Manager 10:
State, "Online" tab

Value

Description

0x___1

Slave in 'INIT' state

0x___2

Slave in 'PREOP' state

0x___3

Slave in 'BOOT' state

0x___4

Slave in 'SAFEOP' state

0x___8

Slave in 'OP' state

0x001_

Slave signals error

0x002_

Invalid vendorId, productCode... read

0x004_

Initialization error occurred

0x010_

Slave not present

0x020_

Slave signals link error

0x040_

Slave signals missing link

0x080_

Slave signals unexpected link

0x100_

Communication port A

0x200_

Communication port B

0x400_

Communication port C

0x800_

Communication port D

Topology of the EtherCAT P system

You can view the topology of your EtherCAT P system, as described in the figure below:

1. In the Click on "Device 1 (EtherCAT)" in the "Solution Explorer"
2. Click on the "EtherCAT" tab
3. Click on the "Topology" button
The topology of your EtherCAT P system is displayed.
EK1310 - Configuration by means of the TwinCAT System Manager 11:
Example: Three devices are connected to the three ports of the distributor device.