Ecat_Slave_Csp_Feedrate_Overwrite - Delta EtherCAT Programming Manual

Table of Contents

Advertisement

EtherCAT Programming Guide

9.16 _ECAT_Slave_CSP_Feedrate_Overwrite

Syntax
U16 PASCAL _ECAT_Slave_CSP_Feedrate_Overwrite (U16 CardNo, U16 AxisNo,
U16 SlotNo, U16 Mode, I32 NewSpeed, F64 Tsec)
Purpose
This is used for the advanced setting of speed change for single axis. Multiple modes are
provided.
Note: To change to the default speed after it is in mode 1 or mode 2, users have to set it to mode 0 again to
and set NewSpeed to avoid sudden inintended acceleration.
Parameter
Name
CardNo
AxisNo
SlotNo
Mode
NewSpeed
Tsec
Example
U16 Status;
U16 CardNo=16, AxisNo=1, SlotNo=0, Mode=0;
I32 NewSpeed =3000;
F64 Tsec=0.1;
Status = _ECAT_Slave_CSP_Feedrate_Overwrite (CardNo, AxisNo, SlotNo, Mode,
NewSpeed, Tsec);
March, 2017
Data type
Property
U16
Number
U16
Number
U16
Number
U16
Option
I32
Pulse / second
F64
Second
Cyclic Synchronous Position Mode (CSP)
Description
Card No.
Node ID
Slot ID
0: Change the vector velocity when the current motion
is at constant speed.
1: The current speed and the speed in the later
commands will be changed once the new speed is
set.
2: The current speed and the speed in the later
commands will be changed by the speed ratio once
the new speed is set. The range is from 0% ~
1000%.
When Mode is set to 0 and 1, input the speed to be
replaced.
When Mode is set to 2, input the speed rator to be
replaced, range from 0% ~ 1000.
The specified acceleration/deceleration time for speed
changing.
9
9-29

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents