Delta EtherCAT Programming Manual page 400

Table of Contents

Advertisement

EtherCAT Programming Guide
27.15 _ECAT_Compare_Set_Channel1_Position_Table
Syntax
U16 PASCAL _ECAT_Compare_Set_Channel1_Position_Table (U16 CardNo, I32* pos_table,
U32 table_size)
Purpose
Set the pulse data of user-defined pulse intervals for channel 1. The max. entry of position data
is 100000.
Note:
1.
For the trigger retaining time, please refer to description of API
"_ECAT_Compare_Set_Channel_Trigger_Time".
2.
Output signal of channel 1 is triggered via PIN13 and PIN14 of CN2 or CN11 connector on motion card
PCI-L221-B1. These two signals will both be triggered when pulses are matched.
Parameter
Name
Data type
CardNo
Pos_table
Table_size
Example
U16 CardNo = 0;
I32 pos_table[4] = {1000,2000,3000,4000};
U32 table_size =4;
U16 status = _ECAT_Compare_Set_Channel1_Position_Table (CardNo, pos_table,
table_size);
March, 2017
Property
U16
Number
I32*
Data array
U32
Number
High Speed Pulse Compare Function
Description
Card No.
The position for comparing pulses at user-defined
intervals.
Data size to be compared, which value has to be
identical to the array size of Pos_table. The max. is
100000.
27
27-19

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents