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 Programming Guide Master Initialization
March, 2017 6-17
6
6.14 _ECAT_Master_Check_Working_Counter
Syntax
U16 PASCAL _ECAT_Master_Check_Working_Counter(U16 CardNo, U16 *Abnormal_Flag,
U16 *Working_Slave_Cnt)
Purpose
This is for acquiring the current connection status of EtherCAT communication.
Parameter
Name Data type Property Description
CardNo U16 Number (No.) Card No.
Abnormal_Flag U16* Status
0: Normal
1: Error
Working_Slave_Cnt U16* Quantity
The current EtherCAT slave quantity detected during
communication. In normal condition, the detected
number is identical to that obtained via
_ECAT_Master_Get_SlaveNum. When error occurs,
this number can be used to locate the error regarding
physical wiring.
Example
U16 Status;
U16 CardNo=16;
U16 Abnormal_Flag, Working_Slave_Cnt;
Status = _ECAT_Master_Check_Working_Counter(CardNo, &Abnormal_Flag,
&Working_Slave_Cnt);

Table of Contents

Related product manuals