Ecat_Master_Get_Cycle_Spendtime - Delta EtherCAT Programming Manual

Table of Contents

Advertisement

Master Initialization

6.11 _ECAT_Master_Get_Cycle_SpendTime

Syntax
6
U16 PASCAL _ECAT_Master_Get_Cycle_SpendTime (U16 CardNo, F64 *Tx_Time, F64
*Tx_MaxTime, F64 *Rx_Time, F64 *Rx_MaxTime)
Purpose
This is for acquiring the time spent on Tx and Rx every cycle and the maximum consuming time
in the log.
Parameter
Name
CardNo
Tx_Time
Tx_MaxTime
Rx_Time
Rx_MaxTime
Example
U16 Status;
U16 CardNo=16;
F64 Tx_Time, Tx_MaxTime, Rx_Time, Rx_MaxTime;
Status = _ECAT_Master_Get_Cycle_SpendTime(CardNo, &Tx_Time, &Tx_MaxTime, &Rx_Time,
&Rx_MaxTime);
6-14
Data type
Property
U16
Number
F64*
Time (us)
F64*
Time (us)
F64*
Time (us)
F64*
Time (us)
Description
Card No.
Acquire the time spent on Tx (us)
Acquire the maximum consumed time of Tx in the log
Acquire the time spent on Rx (us)
Acquire the maximum consumed time of Rx in the log
EtherCAT Programming Guide
March, 2017

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents