Ecat_Compare_Get_Channel_Position - Delta EtherCAT Programming Manual

Table of Contents

Advertisement

EtherCAT Programming Guide

27.2 _ECAT_Compare_Get_Channel_Position

Syntax
U16 PASCAL _ECAT_Compare_Get_Channel_Position (U16 CardNo,
U16 compare_Channel, I32 *position)
Purpose
Acquire the current position value (pulse) of the specified channel.
Parameter
Name
CardNo
Compare_Channel
Position
Example
U16 CardNo = 0;
U16 Compare_channel = 0;
I32 position;
U16 status = _ECAT_Compare_Get_Channel_Position (CardNo, compare_channel,
&position);
March, 2017
Data type
Property
U16
Number
U16
Number
I32*
Pulse
High Speed Pulse Compare Function
Description
Card No.
Channel No., which range is 0 ~ 1.
Acquire the current position value of the specified
channel.
27
27-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents