EasyManua.ls Logo

Delta EtherCAT

Delta EtherCAT
481 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
EtherCAT Programming Guide High Speed Pulse Compare Function
March, 2017 27-5
27
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 Data type Property Description
CardNo U16 Number Card No.
Compare_Channel U16 Number Channel No., which range is 0 ~ 1.
Position I32* Pulse
Acquire the current position value of the specified
channel.
Example
U16 CardNo = 0;
U16 Compare_channel = 0;
I32 position;
U16 status = _ECAT_Compare_Get_Channel_Position (CardNo, compare_channel,
&position);

Table of Contents

Related product manuals