This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3359 ICE slave interface buffer size

Hello,

Is it possible to change a Input/Output buffer size in the slave ethercat simple demo example? It seems to be possible by changing PD_INPUT_SIZE and PD_OUTPUT_SIZE defs in tiescutils.c, isn't it? Then, could you explain, please, how to change a buffer size in TwinCAT? TIESC-001 box defines only one 32 variable in RxPDO/TxPDO. 

  • Hi,


    You need to have access of Slave Stack Code (Beckhoff owned) sources to customize EtherCAT application. This is available freely to ETG members.

    http://www.ethercat.org/en/products/54FA3235E29643BC805BDD807DF199DE.htm 

    Stack documentation is public, http://download.beckhoff.com/download/Document/EtherCAT/Development_products/AN_ET9300_V1i6.pdf 

  • Thank you for a reply.

    Is it necessary? Can we change a buffer size by changing PD_INPUT_SIZE and PD_OUTPUT_SIZE defs? Here I changed it from 4 to 32 (8 int’s), and it seems, that memory was allocated properly.  

    Then, I changed TIEtherCATLib.xml to increase Tx/RxPDO size. It seems, buffer size was changed too. A connection runs well, without errors and a red led blinking, but I can change only the first 4 bytes (I named it LED 1), as in demo example, the rest stays unmodified.

    I suppose, maybe there is no necessity in SSC for a such change, because it seems, that a mechanism of changing buffer size was provided in the demo example. Otherwise, for what a function Ecat_Open has arguments, that could be changed? Could you comment that, please?