industrialNETworXnetx

pietro_secundo

pietro_secundo

| 24.06.2010 | 11:52 | 1 reply

CIFX50-RE Slave + Twincat Master

Hello, I'm using a sistem with CIFX50-RE with Ethercat slave protocol V2.2.4(Build 4), instead the Master is a Twincat(v2.11) with Intel PRO 1000GT Desktop Edition. In this configuration send packet (400 byte) from the slave to master. the software receiver is a PLC software( at 50us step) but lost packet from master.

From the slave I use Visual C++ to send packet with lRet=xChannelIOWrite and I control if packet is send to bus. If lRet!=CFIX_NO_ERROR resend the same packet of 400 byte.

My problem is on Master on lost packet in receive ? Have anyone a suggestion on my problem ?

Thanks

Johnny

Johnny

| 24.06.2010 | 18:22

Hello,
I dont really understand what your problem is. I assume you are confused about different speeds of data exchange. EtherCAT has a fixed bus cycle. The master sends any X microseconds one (or more if needed) frames on the bus. The slaves fills their data into this frame. This means: if you want to produce any Y microseconds new data in a slave, the slave may not be able to send it to the master. Y must be >= X.

Johnny

Login