Ecat_Slave_Csp_Virtual_Set_Enable - Delta EtherCAT Programming Manual

Table of Contents

Advertisement

Cyclic Synchronous Position Mode (CSP)

9.29 _ECAT_Slave_CSP_Virtual_Set_Enable

Syntax
9
U16 PASCAL _ECAT_Slave_CSP_Virtual_Set_Enable(U16 CardNo, U16 AxisNo, U16 SlotNo,
U16 Enable)
Purpose
This is for enabling function of virtual position.
After enabling the function of virtual position, the specified position (acquired by
_ECAT_Slave_Motion_Get_Position in section 8.5) will be changed to the vitual position from the
motor's feedback position.
Since EtherCAT master will do the compensation for the specified axis, the motor's feedback
position will be slightly different from the machine's actual position (virtual position) when
applying the function of interval compensation and E-cam.
To acquire the motor's actual feedback position, please use the API
(_ECAT_Slave_Motion_Get_Actual_Position) in section 8.13.
Parameter
Name
CardNo
AxisNo
SlotNo
Enable
Example
U16 Status;
U16 CardNo = 16, AxisNo=0, SlotNo=0, Enable=1;
Status = _ECAT_Slave_CSP_Virtual_Set_Enable(CardNo, AxisNo, SlotNo, Enable);
9-52
Data type
Property
U16
Number
U16
Number
U16
Number
U16
Option
Description
Card No.
Axis ID
Slot ID
Enable the function of virtual position
0: Disable
1: Enable
EtherCAT Programming Guide
March, 2017

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents