Ecat_Gpio_Get_Input - Delta EtherCAT Programming Manual

Table of Contents

Advertisement

EtherCAT Programming Guide

26.3 _ECAT_GPIO_Get_Input

Syntax
U16 PASCAL _ECAT_GPIO_Get_Input (U16 CardNo, U16* Data)
Purpose
This is for reading the input status of the GPIO (General-purpose input/output) on the motion
card. To get the input status of bit 15, bit 14, ..., bit 0, users can convert the value to binary
format (from left to right).
Parameter
Name
CardNo
Data
Example
U16 Status = 0;
U16 CardNo, Data;
CardNo = 0;
Status= _ECAT_GPIO_Get_Input( CardNo, &Data );
March, 2017
Data type
Property
U16
Number
U16*
Value
Description
Card number
The input status of GPIO
Operation of Local Digital I/O
26
26-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents