EtherCAT Programming Guide High Speed Pulse Compare Function
March, 2017 27-25
27
27.18 _ECAT_Compare_Set_Channel_Polarity
Syntax
U16 PASCAL _ECAT_Compare_Set_Channel_Polarity (U16 CardNo, U16 inverse)
Purpose
Set the trigger level of the compare function.
Parameter
Name Data type Property Description
CardNo U16 Number Card No.
Inverse U16 Option
0: High
1: Low
Example
U16 CardNo = 0;
U16 inverse = 1;
U16 status = _ECAT_Compare_Set_Channel_Polarity (CardNo, inverse);