EasyManua.ls Logo

Delta EtherCAT

Delta EtherCAT
481 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
EtherCAT Master Configuration EtherCAT Programming Guide
5-6 March, 2017
5
5.4 _ECAT_Get_SerialNo
Syntax
U16 PASCAL _ECAT_Get_SerialNo (U16 CardNo, U32* SerialNo)
Purpose
This is for acquiring the serial No. of the PAC or motion card.
Note: This API can only be executed after the EtherCAT Master has been started by API
“_ECAT_Master_Open” (section 6.1).
Parameter
Name Data type Property Description
CardNo U16 Number Card No.
SerialNo U32 Number Serial No.
Example
U16 Status;
U16 CardNo=0;
U32 SerialNo=0;
U16 Cardnum=0;
Status = _ECAT_Master_Open (&Cardnum);
if (Cardnum>0)
{
Status = _ECAT_Master_Get_CardSeq (0, &CardNo);
Status = _ECAT_Get_SerialNo (CardNo, &SerialNo);
}

Table of Contents

Related product manuals