1 Example project
The location for the ECS SimepleConfig Example is in our Knowledge Base
KB → Software → LFW Host Examples → EtherCAT Slave
For netX90:
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
3 Configuration packet
The ECS Configuration packet is in the file AppECS_DemoApplicationFuction.c
4 Values 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:
Process Data Values
TODO
5 Start Sequenz
- Config Stack
- Init Config
- Start
- 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).