EtherCAT Programming Guide High Speed Pulse Compare Function
March, 2017 27-3
27
API list of high speed pulse compare function
API Description
_ECAT_Compare_Set_Channel_Position
Overwrite a position value for the specified
channel
_ECAT_Compare_Get_Channel_Position
Acquire the current position value of the
specified channel
_ECAT_Compare_Set_Ipulser_Mode
Set the mode of pulse input for the specified
channel
_ECAT_Compare_Set_Channel_Direction Set the pulse direction of the specified channel
_ECAT_Compare_Set_Channel_Trigger_Time
Set the trigger retaining time for the specified
channel
_ECAT_Compare_Set_Channel_One_Shot
Force the trigger manually once for the
specified channel
_ECAT_Compare_Set_Channel_Source
Set the compare source for the specified
channel
_ECAT_Compare_Set_Channel_Enable
Enable/disable the compare function for the
specified channel
_ECAT_Compare_Channel0_Position
Set the parameters for triggering the signal at a
fixed pulse interval of channel 0
_ECAT_Compare_Set_Channel0_Trigger_By_GPIO
Set the parameters for triggering the signal at a
fixed pulse interval of channel 0, which is
enabled / disabled by GPIO
_ECAT_Compare_Set_Channel1_Output_Enable
Enable/Disable the trigger function of channel 1
(user-defined pulse intervals)
_ECAT_Compare_Set_Channel1_Output_Mode Set the output mode of channel 1
_ECAT_Compare_Get_Channel1_IO_Status Acquire the operation status of channel 1
_ECAT_Compare_Set_Channel1_GPIO_Out
Set the output status of the PIN15 on CN2 of
GPIO
_ECAT_Compare_Set_Channel1_Position_Table
Set the pulse data of channel 1 (user-defined
pulse intervals).
_ECAT_Compare_Set_Channel1_Position_Table_Level
Set the pulse data of channel 1 and its
user-defined active level for triggering signals
_ECAT_Compare_Get_Channel1_Position_Table_Count
Acquire the current trigger counts of channel 1
_ECAT_Compare_Set_Channel_Polarity
Set the trigger level of the compare function
_ECAT_Compare_Reuse_Channel1_Position_Table
Re-execute the compare function of channel 1
once
_ECAT_Compare_Reuse_Channel1_Position_Table