Ecat_Gpio_Set_Output - Delta EtherCAT Programming Manual

Table of Contents

Advertisement

EtherCAT Programming Guide

26.1 _ECAT_GPIO_Set_Output

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents