Ecat_Slave_User_Motion_Control_Set_Data - Delta EtherCAT Programming Manual

Table of Contents

Advertisement

Group Motion Control

17.4 _ECAT_Slave_User_Motion_Control_Set_Data

Syntax
17
U16 PASCAL_ECAT_Slave_User_Motion_Control_Set_Data (U16 CardNo, U16 GroupNo,
I32 *Data)
Purpose
This is for inputting the absolute position data of each axis of each communication cycle in the
specified group when mode is set to 0 in API "_ECAT_Slave_User_Motion_Control_Set_Type"
(section 17.3).
Note: The maximum data for PAC is 800 and 100 for motion control card
Parameter
Name
CardNo
GroupNo
Data
Example
U16 Status;
U16 CardNo=16, GroupNo=1;
I32 DataArray[2]={12,33};
Status=_ECAT_Slave_User_Motion_Control_Set_Data (CardNo, GroupNo, DataArray);
17-8
Data type
Property
U16
Number
U16
Number
Data array for
I32*
each axis
EtherCAT Programming Guide
.
Description
Card No.
Group No.
Data array for each axis; the array number should
equal to the axis number.
DataArray[0] stores the data of the first axis
DataArray[1] stores the data of the second axis
...
March, 2017

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents