Delta EtherCAT Programming Manual page 105

Table of Contents

Advertisement

Master Initialization
API list of master initialization
6
_ECAT_Master_Open
_ECAT_Master_Initial
_ECAT_Master_Reset
_ECAT_Master_Close
_ECAT_Master_Get_CardSeq
_ECAT_Master_Get_SlaveNum
_ECAT_Master_Get_Slave_Info
_ECAT_Master_Get_DC_Status
_ECAT_Master_Get_Connect_Status
_ECAT_Master_Get_Api_BufferLength
_ECAT_Master_Get_Cycle_SpendTime
_ECAT_Master_Check_Initial_Done
_ECAT_Master_Get_Initial_ErrorCode
_ECAT_Master_Check_Working_Counter
_ECAT_Master_Get_Return_Code_Message
6-2
Function name
Description
Check the number of motion cards and EtherCAT
kernels, as well as creating memory block
Initialize EtherCAT communication and switch the slave
to OP mode
Reset the EtherCAT master's status and switch the slave
to initial mode
Disable all functions of EtherCAT master and kernels and
release the memory
Acquire motion card No.
Acquire slave quantity on the communication bus of the
specified EtherCAT master
Acquire EtherCAT slave information
Acquire the motion card's DC status, time and time offset
Acquire EtherCAT master's connection status
Acquire the command amount of each slave that has not
been completed
Acquire the time spent on Tx and Rx every cycle and the
maximum consuming time in the log
Check whether the DLL initialization has been completed
Acquire the error code when error occurs
Acquire the current connection status of EtherCAT
communication
Acquire the corresponding message of each return code
EtherCAT Programming Guide
March, 2017

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents