Ecat_Slave_Dio_Get_Input_Value - Delta EtherCAT Programming Manual

Table of Contents

Advertisement

EtherCAT Programming Guide

18.1 _ECAT_Slave_DIO_Get_Input_Value

Syntax
U16 PASCAL_ECAT_Slave_DIO_Get_Input_Value (U16 CardNo, U16 NodeID, U16 SlotNo,
U16 *Value)
Purpose
This is for acquiring the DI status of the DI module. To acquire the status of X15, X14, ..., X1, X0
(from left to right), users can convert the value to binary format.
Parameter
Name
CardNo
NodeID
SlotNo
Value
Example
U16 Status;
U16 CardNo=16, NodeID=1, SlotNo=0;
U16 Value;
Status=_ECAT_Slave_DIO_Get_Input_Value (CardNo, NodeID, SlotNo, &Value)
March, 2017
Data type
Property
U16
Number
U16
Number
U16
Number
U16*
Value
Description
Card No.
Node ID
Slot ID
Data received by the DI module
Operation of DI/DO Module
18-3
18

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents