Operation of Pulse Module (R1-EC5621D0)
20.6 _ECAT_Slave_R1_EC5621_Set_MEL_Inverse
Syntax
U16 PASCAL _ECAT_Slave_R1_EC5621_Set_MEL_Inverse (U16 CardNo, U16 AxisNo, U16
SlotNo, U16 Enable)
Purpose
This is for setting the contact type (NC/NO) of the negative limit switch (MEL).
Parameter
Name
CardNo
AxisNo
SlotNo
Enable
Example
U16 Status = 0;
U16 CardNo=16 , AxisNo =1, SlotNo=0;
U16 Enable=1;
Status= _ECAT_Slave_R1_EC5621_Set_MEL_Inverse (CardNo, AxisNo, SlotNo, Enable);
20-8
Data type
Property
U16
Number
U16
Number
U16
Number
U16
Option
EtherCAT Programming Guide
Description
Card number
Node ID
Slot ID
0: High-potential trigger (NO)
1: Low-potential trigger (NC)
March, 2017