EasyManua.ls Logo

Delta EtherCAT User Manual

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
Page #370 background imageLoading...
Page #370 background image
EtherCAT Programming Guide Auto Recording Function of Motion Axis
March, 2017 25-5
25
25.3 _ECAT_Slave_Record_Get_Cnt
Syntax
U16 PASCAL _ECAT_Slave_Record_Get_Cnt (U16 CardNo, U16 NodeID,
U16 SlotNo, U16 *Cnt)
Purpose
Acquire the data entry number of the specified axis.
EtherCAT master saves one data in each communication cycle. Each slave can save up to 8
groups of OD data.
Note:
1. It can save 800 data in PAC RTX version and 200 data in EtherCAT motion card. Users can use this
API to check the buffer zone status. Then, use the API in 25.4 to access the data and save it to another
space.
2. When accessing one data by the API (_ECAT_Slave_Record_Read_Data) in 25.4, the acquired data
numbers will reduce 1 automatically.
Parameter
Name Data type Property Description
CardNo U16 Number Card number
NodeID U16 Number Node ID
SlotNo U16 Number Slot ID
Cnt U16*
Value
Acquire current data count of the specified axis
Example
U16 Status = 0;
U16 CardNo=16 , NodeID =1, SlotNo=0;
U16 MonitorIndex =0;
U16 IOType =0, Index=0x607A, SubIndex=1;
U16 Enable =0x07;
U16 Cnt ;
Status= _ECAT_Slave_Record_Set_Type (CardNo, NodeID, SlotNo, MonitorIndex,
IOType, Index, SubIndex);
Status= _ECAT_Slave_Record_Set_Enable (CardNo, NodeID, SlotNo, Enable);
while (1)
{
Status= _ECAT_Slave_Record_Get_Cnt (CardNo, NodeID, SlotNo, &Cnt);
}

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Delta EtherCAT and is the answer not in the manual?

Delta EtherCAT Specifications

General IconGeneral
CategoryControl Systems
Communication InterfaceEtherCAT
Data Transfer Rate100 Mbps
Number of SlavesUp to 65535
Synchronization Accuracy< 1 μs
Supported StandardsIEC 61158, IEC 61784
TopologyStar, Tree
Cable TypeEthernet (CAT5e or higher)
Maximum Cable Length100 meters (between nodes)

Summary

EtherCAT Operation Example

EtherCAT Initialization

Demonstrates the process of initializing EtherCAT communication, including activating and finding interface cards.

EtherCAT Master Configuration

_ECAT_Master_Set_CycleTime

Explains the API for setting the EtherCAT master communication cycle time before initialization.

Master Initialization

_ECAT_Master_Open

Explains the essential API for controlling the Delta EtherCAT master, checking card quantity, and creating memory blocks.

_ECAT_Master_Initial

Describes the API for initializing EtherCAT communication and switching slaves to OP mode.

General Operation of Motion Axis

_ECAT_Slave_Motion_Set_Svon

Describes the API for setting the servo motor to ON/OFF state.

Cyclic Synchronous Position Mode (CSP)

_ECAT_Slave_CSP_Start_Move

Details the API for executing linear interpolation of a single axis in CSP mode.

Homing

_ECAT_Slave_Home_Config

Details the API for setting the homing mode and parameters for motion axes.

_ECAT_Slave_Home_Move

Explains the API for executing the homing procedure on a specified motion axis.

Profile Position Mode (PP)

_ECAT_Slave_PP_Start_Move

Describes the API for executing single-axis linear motion in PP mode.

Profile Velocity Mode (PV)

_ECAT_Slave_PV_Start_Move

Explains the API for executing single-axis motion with constant speed in PV mode.

Group Motion Control

_ECAT_Slave_User_Motion_Control_Set_Enable_Mode

Describes the API for setting the group status and enabling/disabling group motion control.

Operation of Delta Servo System

_ECAT_Slave_DeltaServo_Write_Parameter

Explains the API for writing servo parameter values to Delta servo drives.

_ECAT_Slave_DeltaServo_Read_Parameter

Details the API for reading servo parameter values from Delta servo drives.

Auto Recording Function of Motion Axis

High-Speed Pulse Compare Function

Security of Software Protection

MPG Operation (For R1-EC5614D0 Series)

_ECAT_Slave_R1_EC5614_Set_MJ_Config

Sets the parameters for the MPG (Manual Pulse Generator) function.

Error Code Description

List of error code

Lists returned values (decimal) and corresponding error code names for EtherCAT DLL operations.

Error code description

Provides detailed descriptions and troubleshooting steps for various EtherCAT error codes.

Related product manuals