EtherCAT Programming Guide Auto Recording Function of Motion Axis
March, 2017 25-9
25
25.7 _ECAT_Slave_Record_Multi_Clear_Data
Syntax
U16 PASCAL _ECAT_Slave_Record_Multi_Clear_Data (U16 CardNo, U16 NodeNum, U16
*NodeIDArray, U16 *SlotIDArray)
Purpose
Delete the saved record of
specified multiple axes.
Parameter
Name Data type Property Description
CardNo U16 Number Card No.
NodeNum U16 Quantity Quantity of nodes
NodeIDArray U16* Node array
Set the Node ID array for recording function of
multiple axes, which quantity is indentical to
AxisNum.
NodeIDArray [0] is for specifying the 1
st
node to be
used.
NodeIDArray [1] is for specifying the 2
nd
node to be
used and so on.
SlotIDArray U16* Slot array
Data array of slot ID, which quantity is identical to
AxisNum.
Example
U16 Status = 0;
U16 CardNo=16 , NodeNum = 2, NodeIDArray[2] = {0, 1}, SlotIDArray[2] = {0, 0};
// Clear recording data of multiple axes.
Status= _ECAT_Slave_Record_Multi_Clear_Data (CardNo, NodeNum, NodeIDArray,
SlotIDArray);