Ecat_Master_Get_Cycletime - Delta EtherCAT Programming Manual

Table of Contents

Advertisement

EtherCAT Master Configuration

5.2 _ECAT_Master_Get_CycleTime

Syntax
5
U16 PASCAL _ECAT_Master_Get_CycleTime (U16 CardNo, U16 *CycleTime)
Purpose
This is for acquiring the cycle time of the
Note: This function can be used only after the EtherCAT Master is enabled by "_ECAT_Master_Open" (refer
to section 6.1).
Parameter
Name
CardNo
CycleTime
Example
U16 Status;
U16 CardNo=0;
U16 Cardnum=0;
U16 CycleTime =0;
Status = _ECAT_Master_Open (&Cardnum);
if (Cardnum>0)
{
Status = _ECAT_Master_Get_CardSeq (0, &CardNo);
// Acquire the Master's CycleTime setting information.
Status = _ECAT_Master_Get_CycleTime (CardNo, &CycleTime);
}
5-4
EtherCAT master communication
Data type
Property
U16
Number
U16*
Time (us)
.
Description
Card No.
Communication cycle time (unit: us);
The Master currently only supports cycle times of
2000, 1000, 500, 250, 125. For the slave cycle time,
please refer to the description of each Slave.
EtherCAT Programming Guide
March, 2017

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents