EasyManuals Logo

Delta EtherCAT User Manual

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
Page #71 background imageLoading...
Page #71 background image
EtherCAT Operation Example EtherCAT Programming Guide
3-50 March, 2017
3
TCount: Number of the compared times.
rt = _ECAT_Compare_Get_Channel1_Position_Table_Count (gu16_CardNo,
&u32_Count);
/* Obtain the number of compared times. */
(4) MPC parameter settings
Figure 3.11.2.4
Enable: Enable/disable compare function. The following program is executed:
rt = _ECAT_Compare_Set_Channel_Enable (gu16_CardNo, u16_Channel, 1);
// 1: Enable
// 0: Disable
Inpulse Type: Select between AB Phase or CW_CCW mode. The following program is
executed:
rt = _ECAT_Compare_Set_Ipulser_Mode (gu16_CardNo, mode);
// 0: AB Phase
// 1: CW_CCW
Reset: Press this key to clear the pulse count of QEP1 and QEP2, and the following
program will be executed:
rt = _ECAT_Compare_Set_Channel_Position (gu16_CardNo, u16_Channel, 0);
// 0 represents the pulse number. It means to set the accumulated pulse position to 0.
QEP1 Inverse: Pulse incremental way of QAQB 1. Press this key and the following
program will be executed:
rt = _ECAT_Compare_Set_Channel_Direction (gu16_CardNo, 0, dir);
// 0: Signal source QA1, QB1
// dir:
// 0: Incremented pulse count
// 1: Decremented pulse count
QEP2 Inverse: Pulse incremental way of QAQB 2. Press this key and the following
program will be executed:
rt = _ECAT_Compare_Set_Channel_Direction (gu16_CardNo, 1, dir);
// 1: Signal source QA 2, QB 2
// dir:
// 0 = Incremented pulse count
// 1 = Decremented pulse count

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Delta EtherCAT and is the answer not in the manual?

Delta EtherCAT Specifications

General IconGeneral
BrandDelta
ModelEtherCAT
CategoryControl Systems
LanguageEnglish

Related product manuals