Operation of Local Digital I/O
26.2 _ECAT_GPIO_Get_Output
Syntax
26
U16 PASCAL _ECAT_GPIO_Get_Output (U16 CardNo, U16* Data)
Purpose
This is for reading the output status of the GPIO on the motion card. To get the output 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_Output( CardNo, &Data );
26-4
Data type
Property
U16
Number
U16*
Value
EtherCAT Programming Guide
Description
Card number
The output status of GPIO
March, 2017