Ecat_Slave_Motion_Set_Position - Delta EtherCAT Programming Manual

Table of Contents

Advertisement

General Operation of Motion Axis

8.6 _ECAT_Slave_Motion_Set_Position

Syntax
U16 PASCAL _ECAT_Slave_Motion_Set_Position(U16 CardNo, U16 AxisNo, U16 SlotNo,I32
8
NewPosition)
Purpose
This is for specifying current feedback position of the axis. This will change the position data set
in the servo drive or pulse module, which might also alter the machine's coordinates. Please pay
extra attention when using this API.
Parameter
Name
CardNo
AxisNo
SlotNo
NewPosition
Example
U16 Status;
U16 CardNo=16,AxisNo=1,SlotNo=0;
I32 NewPosition=2500000;
Status = _ECAT_Slave_Motion_Set_Position(CardNo, AxisNo, SlotNo, NewPosition);
8-8
Data type
Property
U16
Number
U16
Number
U16
Number
I32
Value
Description
Card No.
Node ID
Slot ID
Specify current feedback position
EtherCAT Programming Guide
March, 2017

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents