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-17
27
27.13 _ECAT_Compare_Get_Channel1_IO_Status
Syntax
U16 PASCAL _ECAT_Compare_Get_Channel1_IO_Status (U16 CardNo, U16* io_status)
Purpose
Read the operation status of channel 1.
Parameter
Name Data type Property Description
CardNo U16 Number Card No.
Io_status U16*
Numeric
value
The operation status of channel 1.
Bit0: Status of PIN 10 on CN2 (GPIO IN);
Bit1: The power supply (hardware) status
1: 5V
0: 0V (IC error)
Bit2: Whether the function of user-defined trigger level is used.
(_ECAT_Compare_Set_Channel1_Position_Table_Level)
Example
U16 CardNo = 0;
U16 io_status;
U16 status = _ECAT_Compare_Get_Channel1_IO_Status (CardNo,& io_status);

Table of Contents

Related product manuals