Eact_Autoconfig_Clear_Configfile - Delta EtherCAT Programming Manual

Table of Contents

Advertisement

EtherCAT Programming Guide

5.9 _EACT_Autoconfig_Clear_ConfigFile

Syntax
U16 PASCAL _EACT_Autoconfig_Clear_ConfigFile (U16 CardNo)
Purpose
This is for clearing the configuration file loaded via _ECAT_Autoconfig_Open_File. It is mainly
used when a wrong file has been opened or the changes are not compatible with the previous
settings.
Note: This API can only be executed after the EtherCAT Master has been started
( "_ECAT_Master_Open" in section 6.1) and before EtherCAT communication is initialized
( "_ECAT_Master_Initial" in section 6.2).
Parameter
Name
CardNo
Example
U16 Status;
U16 CardNo=0;
U16 Cardnum=0;
Status = _ECAT_Master_Open (&Cardnum);
if (Cardnum>0)
{
Status = _ECAT_Master_Get_CardSeq (0, &CardNo);
Status = _EACT_Autoconfig_Clear_ConfigFile (CardNo);
Status = _ECAT_Master_Initial(CardNo);
}
March, 2017
Data type
Property
U16
Number
EtherCAT Master Configuration
Description
Card No.
5
5-11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents