Ecat_Slave_Motion_Set_Alm_Reaction - Delta EtherCAT Programming Manual

Table of Contents

Advertisement

EtherCAT Programming Guide

8.5 _ECAT_Slave_Motion_Set_Alm_Reaction

Syntax
U16 PASCAL _ECAT_Slave_Motion_Set_Alm_Reaction (U16 CardNo, U16 AxisNo,
U16 SlotNo, U16 Fault_Type, U16 Waring_Type);
Purpose
This is for setting the action when alarm occurs.
Note: It is also applicable to group function (Please refer to Chapter 17).
Parameter
Name
CardNo
AxisNo
SlotNo
Fault_Type
Waring_Type
Example
U16 Status;
U16 CardNo=16,AxisNo=1,SlotNo=0;
I16 Fault_Type = 2, Waring_Type = 1;
Status = _ECAT_Slave_Motion_Set_Alm_Reaction (CardNo, AxisNo, SlotNo, Fault_Type,
Waring_Type);
March, 2017
Data type
Property
U16
Number
U16
Number
U16
Number
U16
Option
U16
Option
General Operation of Motion Axis
Description
Card No.
Node ID
Slot ID
Set the action when error (Fault) occurs.
0: It will not stop or interrupt the new command
automatically.
1: Stop the current action when the rising-edge signal
is triggered. It will not interrupt the new command
automatically.
2: Remain idle status until the error is cleared.
Set the action when warning occurs.
0: It will not stop nor interrupt new command
automatically.
1: Stop the current action when the rising edge
triggered. It will not interrupt the new command
automatically.
2: Remain at idle unless the warning is cleared.
8
8-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents