Ecat_Compare_Set_Channel1_Output_Enable - Delta EtherCAT Programming Manual

Table of Contents

Advertisement

High Speed Pulse Compare Function

27.11 _ECAT_Compare_Set_Channel1_Output_Enable

Syntax
27
U16 PASCAL _ECAT_Compare_Set_Channel1_Output_Enable (U16 CardNo, U16 on_off)
Purpose
Enable/Disable the compare function with user-defined interval of channel 1.
Note:
1.
Before GPIO is enabled, please make sure channel 0 is enabled by API
"_ECAT_Compare_Set_Channel_Enable".
2.
About the triggering retaining time, please refer to section 27.5
"_ECAT_Compare_Set_Channel_Trigger_Time".
3.
Output signal of channel 1 is triggered via PIN13 and PIN14 of CN2 and CN11 connector on motion
card PCI-L221-B1. These two sets of points will both be triggered when pulses are matched.
Parameter
Name
CardNo
On_off
Example
U16 CardNo = 0;
U16 on_off = 1;
U16 status = _ECAT_Compare_Set_Channel1_Output_Enable (CardNo, on_off);
Description
The motion card will start comparing the current pulse and the array of pulse position set by API
"_ECAT_Compare_Set_Channel1_Position_Table", and trigger output signal of channel 1 if the
pulses are matched.
27-14
Data type
Property
U16
Number
U16
Option
EtherCAT Programming Guide
Description
Card No.
0: Off
1: On
March, 2017

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents