KsConfigurationType
The type of link between the coupler and devices.
| Name | Value | Meaning |
|---|---|---|
| configEtherCAT | 0 | The coupler uses the Modular Device Profile (MDP) feature defined in the EtherCAT standard. |
| configIoLink | 1 | An IO-Link port. |
| configCANopen | 2 | A CANopen device. |
| configEl6695 | 3 | Beckhoff EL6695 is a device for EtherCAT master-to-master communication. It has two EtherCAT interfaces (primary and secondary) to connect to two different EtherCAT masters. The device contains two buffers for the two masters to exchange data. Each buffer is read by one master and written by the other. The size of the buffers is defined by the EtherCAT master connected to the primary side. When KINGSTAR is connected to the secondary side, it uses SDO commands to read the buffer sizes from the device. |
| configEsi | 4 |
This parameter allows you to select a different ESI profile for a device, enabling different configurations for the same device in case you need a special configuration, or if you want to use different profiles for devices of the same model on the same EtherCAT network. When a device is connected to the EtherCAT network, the auto-configuration process searches for the most compatible profile. This profile is selected based on the matching vendor ID and product code, and it has the closest revision number to the connected device. For example, if the device has a revision number of 7, but the compatible profiles available in the ESI database are revisions 3 and 6, the profile with revision 6 will be used. Instead of using VendorId + ProductCode + RevisionNumber combinations, you can use VendorId + ProductCode + DisplayName configured in the ESI Import Tool to select a profile. To do this, use AddModuleConfiguration, set the Configuration parameter to the device’s display name in the ESI Import Tool, and set the ModuleId parameter to the length of the string passed in Configuration. For example: AddModuleConfiguration(0, strlen('Sanyodenki RS2'), configEsi, 'Sanyodenki RS2'). If the display name provided in AddModuleConfiguration is not found, KINGSTAR will return the errUnknownSlave error. |
| configSafety | 5 | The configuration for a safety module. It specifies the location and length of the safety data. |