Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

1 Example project

The location for the ECS SimepleConfig Example is in our Knowledge Base

KB → Software → LFW Host Examples → EtherCAT Slave

For netX90:

Image Added

2 ECS Sources

The ECS Sources in the ECS SimepleConfig Example are in the folder:

netXStudio_ECSV5_simpleConfig_V2.1.0.0\netX 90 - EtherCAT Slave - simpleConfig V2.1.0.0\Components\cifXApplicationDemoECS\Sources

Image Added

3 Configuration packet

The ECS Configuration packet is in the file AppECS_DemoApplicationFuction.c

ECSConfigPacket.c

Image Added

4 Valuse from ESI file:

DeviceInfo values:

#define ECS_PRODUCTCODE_NXEB51_FEATURES                               0x00000038

#define ECS_SECONDARY_VENDORID_HILSCHER                               0xE0000044

#define ECS_REVISIONNUMBER_CIFXMODIFIERMASK                           0x00080004

#define DEV_GROUP_TYPE_INFO                                           "netX"

#define DEV_TYPE_INFO                                                 "NETX ECS Host Example"

#define DEV_NAME_INFO                                                 "NETX ECS Host Example"

need to be same like in ESI file:

Image Added

Process Data Values

 TODO

5 Start Sequenz

  1. Config Stack
  2. Init Config
  3. Start
    Image Added
  4. Stack is in Init State

5 ECS Master

As soon as the ECS Stack in successfully configurated and the Start Comunication Request/ Bus On is done, the ECS Slave goes in Init State.

The ECS Master need not to bring the ECS Slave from Init State to Operational State (OP).

Image Added