EasyManua.ls Logo

Delta EtherCAT - Ecat_Slave_Dio_Get_Single_Input_Value

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...
Operation of DI/DO Module EtherCAT Programming Guide
18-6 March, 2017
18
18.4 _ECAT_Slave_DIO_Get_Single_Input_Value
Syntax
U16 PASCAL_ECAT_Slave_DIO_Get_Single_Input_Value (U16 CardNo, U16 NodeID,
U16 SlotNo, U16 BitNum, U16 *Value)
Purpose
This is for acquiring the input value of the specified channel.
Parameter
Name Data type Property Description
CardNo U16 Number Card No.
NodeID U16 Number Node ID
SlotNo U16 Number Slot ID
BitNum U16 Number Channel number of digital input
Value U16* Value The input value of the specified channel on DI module
Example
U16 Status;
U16 CardNo=16, NodeID=1, SlotNo=0, BitNum=1;
U16 Value;
Status=_ECAT_Slave_DIO_Get_Single_Input_Value (CardNo, NodeID, SlotNo, BitNum,
&Value);

Table of Contents

Related product manuals