Ecat_Master_Open - Delta EtherCAT Programming Manual

Table of Contents

Advertisement

EtherCAT Programming Guide

6.1 _ECAT_Master_Open

Syntax
U16 PASCAL _ECAT_Master_Open(U16 *Cardnum)
Purpose
This is for checking the number of motion cards and EtherCAT kernels, as well as creating
memory block.
Note:
1.
This is the most essential API for controlling Delta EtherCAT master. Please execute this API before
starting using other functions.
2.
If the acquired quantity is 0, it means the environment for executing the program does not support
EtherCAT communication.
3.
To avoid blue screen death, DO NOT use this API in the thread when using C# to develop RTX
environment.
Parameter
Name
CardNo
Example
U16 Status;
U16 Cardnum=0;
Status = _ECAT_Master_Open(&Cardnum);
March, 2017
Data type
Property
U16
Number
Description
Quantity of the motion control cards or EtherCAT
kernels
Master Initialization
6
6-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents