Ecat_Compare_Set_Channel_Direction - Delta EtherCAT Programming Manual

Table of Contents

Advertisement

EtherCAT Programming Guide

27.4 _ECAT_Compare_Set_Channel_Direction

Syntax
U16 PASCAL _ECAT _Compare_Set _Channel_Direction (U16 CardNo,
U16 compare_channel, U16 dir)
Purpose
Set the pulse direction of the specified channel. With this API, modifying the wiring will not be
required if pulse direction has to be alternated
Parameter
Name
CardNo
Compare_channel
Dir
Example
U16 CardNo = 0;
U16 compare_channel = 0;
U16 dir = 1; //Inverse
U16 status = _ECAT_Compare_Set _Channel_Direction (CardNo, compare_channel, dir);
March, 2017
.
Data type
Property
U16
Number
U16
Number
U16
Option
High Speed Pulse Compare Function
Description
Card No.
Channel No., which range is 0 ~ 1.
0: Forward
1: Inverse
27
27-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents