EtherCAT Programming Guide Master Initialization
March, 2017 6-13
6
6.10 _ECAT_Master_Get_Api_BufferLength
Syntax
U16 PASCAL _ECAT_Master_Get_Api_BufferLength(U16 CardNo, U16 SlaveNo, U16
*BuffLength)
Purpose
This is for acquiring the command amount of each slave that has not been completed.
Parameter
Name Data type Property Description
CardNo U16 Number Card No.
SlaveNo U16 Number Node ID
BuffLength U16* Value The accumulated Buffer length of API instructions.
Example
U16 Status;
U16 CardNo=16, SlaveNo=1, BuffLength;
Status = _ECAT_Master_Get_Api_BufferLength(CardNo, SlaveNo , &BuffLength);