Ecat_Master_Check_Working_Counter - Delta EtherCAT Programming Manual

Table of Contents

Advertisement

EtherCAT Programming Guide

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
CardNo
Abnormal_Flag
Working_Slave_Cnt
Example
U16 Status;
U16 CardNo=16;
U16 Abnormal_Flag, Working_Slave_Cnt;
Status = _ECAT_Master_Check_Working_Counter(CardNo, &Abnormal_Flag,
&Working_Slave_Cnt);
March, 2017
Data type
Property
U16
Number (No.)
U16*
Status
U16*
Quantity
Description
Card No.
0: Normal
1: Error
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.
Master Initialization
6
6-17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents