EtherCAT Programming Guide Information of EtherCAT Dynamic-link Library (DDL)
March, 2017 28-3
28
28.2 _ECAT_Master_Get_DLL_Version
Syntax
U16 PASCAL _ECAT_Master_Get_DLL_Version(I8 *lpBuf, U32 nSize, U32 *nLength)
Purpose
Acquire the version information of the EtherCat_DLL.dll file.
Parameter
Name Data type Property Description
lpBuf I8* String Version of the EtherCat_DLL.dll file.
nSize U32 Value The string length to be read
nLength U32* Value The string length of the version information
Example
U16 Status = 0;
I8 Version[128];
U32 nSize=128, nLength=0;
Status= _ECAT_Master_Get_DLL_Version(Version, nSize, &nLength);