High Speed Pulse Compare Function EtherCAT Programming Guide
27-6 March, 2017
27
27.3 _ECAT_Compare_Set_Ipulser_Mode
Syntax
U16 PASCAL _ECAT _Compare_Set _Ipulser_Mode (U16 CardNo, U16 mode)
Purpose
Set the mode of pulse input for the specified channel. There are two modes available, AB phase
or CW/CCW.
Parameter
Name Data type Property Description
CardNo U16 Number Card No.
Mode U16
Option
0: AB Phase
1: CW/CCW
Example
U16 CardNo = 0;
U16 mode = 0; //AB Phase
U16 status = _ECAT _Compare_Set _Ipulser_Mode (CardNo, mode);