Versions Compared

Key

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

...

KB → Software → LFW Host Examples → EtherCAT Slave

For netX90:

2 ECS Sources

Take the netXStudion to open the projcet. 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 RemovedImage Added

3 Configuration packet

...

  ptConfigReq->tData.tBasicCfg.ulProcessDataInputSize = sizeof(APP_PROCESS_DATA_OUTPUT_T); /**< Process Data Input Size from master view */


Change in the ESI file the number of Bytes for RxPdo (Output) and TxPdo (Input) in the ESI file, like in the configuration packet.


<RxPdo Sm="2">

          <Index>#x1600</Index>

...

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

...

6 ECM Master

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

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