EtherCAT Programming Guide High Speed Pulse Compare Function
March, 2017 27-9
27
27.6 _ECAT_Compare_Set_Channel_One_Shot
Syntax
U16 PASCAL _ECAT_Compare_Set_Channel_One_Shot (U16 CardNo,
U16 compare_channel)
Purpose
Allow the trigger of the specified channel to generate one trigger signal.
Parameter
Name Data type Property Description
CardNo U16 Number Card No.
Compare_channel U16 Number Channel No., which range is 0 ~ 1.
Example
U16 CardNo = 0;
U16 compare_channel=0;
U16 status = _ECAT_Compare_Set _Channel_One_Shot (CardNo, compare_channel);