Delta EtherCAT Programming Manual page 46

Table of Contents

Advertisement

EtherCAT Programming Guide
(8) Set the Gear or software limit in P To P mode
Press the ← or → key (as shown in figure 3.6.2.4) to select P To P motion control. To set
the Gear values, press the Set key in the Set Gear section (as shown in figure 3.6.2.6) to
execute the following program:
RetCode = _ECAT_Slave_CSP_Set_Gear(gESCCardNo, gNodeID[0], gSlotID[0],
Numerator, Denominator, Enable);
// Set new gear values.
To set the software limit, press the Set key in the Set Soft Limit section (as shown in figure
3.6.2.6) to execute the following program:
RetCode = _ECAT_Slave_CSP_Set_Softlimit(gESCCardNo, gNodeID[0], gSlotID[0],
MLimit, PLimit, Enable);
// Set software limit values.
(9) Set the value for Feedrate Overwrite in P To P mode.
Press the ← or → key (as shown in figure 3.6.2.4) to execute P To P motion control.
To set the value of Feedrate Overwrite, drag the scrollbar (as shown in figure 3.6.2.7)
to execute the following program:
RetCode = _ECAT_Slave_CSP_Feedrate_Overwrite(gESCCardNo, gNodeID[0],
gSlotID[0], 2, NewSpd, 0.1);
// Mode=2; Users can change the speed and the speed (vector) of all motion commands
whether the command is being executed.
// Speed ratio
March, 2017
Figure 3.6.2.6
Figure 3.6.2.7
EtherCAT Operation Example
3
3-25

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents