Tab: EtherCAT Slave – General
The basic settings for the EtherCAT Slave are configured on this tab. The basic settings are preset from the device description file.
Fields can be edited only when the auto-configuration mode of the EtherCAT Master is disabled. | |
AutoInc address | Self-incrementing address (16-bit) that results from the position of the slave in the network. The address is used only during the system boot when the master assigns the EtherCAT addresses to its slaves. When the first message runs through all the slaves for this purpose, each slave increments its AutoInc address by 1. The slave with address 0 then gets the data. A possible input here is "-8", for example . |
EtherCAT address |
If the address is accessed via a slave instance in the code, then a variable address is advantageous.
If the address is accessed directly, then a fixed address is advantageous. |
Expert settings |
Hint: Expert settings are not required for standard applications. For standard applications, the auto configuration mode is completely sufficient and recommended. |
Optional | At the start of the stack, the system checks whether optional devices are available. This option is available only when the Autoconfig master/slaves option is enabled in the settings of the EtherCAT Master and the EtherCAT Slave supports this function.
Note: If you define a slave as "optional", then it has to have a unique identification. You can change this by means of the three possible settings in the Identification section. For example, enter an alias address in the Configured station alias (ADO 0x0012) field. |
This area is displayed only in online mode. | |
Current State | State of the slave Possible states: Init, Preoperational, Safe Operational, and Operational The state Operational indicates that the slave configuration has been correctly completed and that process data (inputs and outputs) are being accepted. |
Check vendor ID | By default the vendor ID and product ID of the device are checked against the current configuration settings when the system boots up. If they do not agree, then the bus is stopped and no further actions are executed. This is done to prevent an incorrect configuration from being loaded onto the bus system. |
The following options are available to customize the check. | |
Check product ID | |
Check revision number |
|
Download expected slot configuration |
|
By default, no watchdog is defined for the following actions. However, a timeout (in milliseconds) can be specified here if necessary: | |
SDO access | Timeout (in milliseconds) for sending the SDO list at system boot |
I -> P | Timeout (in milliseconds) for switching from Init mode to Preoperational mode |
P -> S / S -> O | Timeout (in milliseconds) for switching from Preoperational mode to Safe Operational mode, or from Safe Operational mode to Operational mode. |
Set multiplier | The PDI watchdog and SM watchdog receive their impulses from the local terminal clock divided by the watchdog multiplier. |
Set PDI watchdog | This watchdog triggers when there is no PDI communication with the EtherCAT Slave Controller for longer than the PDI (Process Data Interface) watchdog time which has been set and activated. |
Set SM watchdog | This watchdog triggers when there is no EtherCAT process data communication with the terminal for longer than the SM (SyncManager) watchdog time that has been set and activated. |
In this section, you set the device identification of the slave. As a result, you can make the address of the slave independent of its position in the bus. The following options are visible only when the Activate expert settings option or Optional option is selected. If you have identified the slave as Optional, then you need to assign a unique ID to it. Note: You can change the identification via the three possible settings here. For example, enter an alias address in the Configured station alias (ADO 0x0012) field. | |
Disabled | The identification of the slave is not checked. |
Configured station alias (ADO 0x0012) | Address that is stored in the EEPROM of the device. Example value: You can change the value in the Scan Devices dialog or in online mode. For stock devices, you need to assign this number one time. This means that you need to connect the device one time to an EtherCAT Master and save the number. |
Write to EEPROM | Visible in online mode only for Configured station alias. Writes the defined address for Value to the EEPROM of the slave. |
Explicit device identification (ADO 0x0134) | The device identification is hard set on the hardware (for example, by DIP switches). It is displayed in Actual address. |
Data Word (2 Bytes) | A 2-byte value for the identification is saved in the slave. Example: |
Value | Expected value for the check. If the actual value does not correspond to this setting, then an error is issued. |
ADO (hex) | Initial value from the device description. You can change this value in the Data word option. |
Actual address | Visible in online mode only. Displays the address of the slave. You can use this display for checking the success of the Write to EEPROM command. |