Ecat_Compare_Set_Channel_Trigger_Time - Delta EtherCAT Programming Manual

Table of Contents

Advertisement

High Speed Pulse Compare Function

27.5 _ECAT_Compare_Set_Channel_Trigger_Time

Syntax
27
U16 PASCAL _ECAT _Compare_Set _Channel_Trigger_Time (U16 CardNo,
U16 compare_channel, U32 time_us)
Purpose
Set the trigger retainining time for the specified channel.
Note:
1.
When carrying out compare function with channel 0, the minimum trigger time is set to 1 us. If 0 is input,
it displays 0.8 us.
2.
When carrying out compare function with channel 1, the minimum trigger time is 3 us. If the input value
is less than 3, it displays 3 us.
Parameter
Name
CardNo
Compare_channel
Time_us
Example
U16 CardNo = 0;
U16 compare_channel = 0;
U16 time_us = 20; //20us
U16 status = _ECAT_Compare_Set _Channel_Trigger_Time(CardNo, compare_channel,
time_us);
27-8
Data type
Property
U16
Number
U16
Number
U32
Time
EtherCAT Programming Guide
Description
Card No.
Channel No., which range is 0 ~ 1.
Input the retaining time for each trigger. (Unit: 0.001
us)
March, 2017

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents