EasyManua.ls Logo

Delta EtherCAT

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...
EtherCAT Programming Guide Operation of DI/DO Module
March, 2017 18-3
18
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 Data type Property Description
CardNo U16 Number Card No.
NodeID U16 Number Node ID
SlotNo U16 Number Slot ID
Value U16* Value Data received by the DI module
Example
U16 Status;
U16 CardNo=16, NodeID=1, SlotNo=0;
U16 Value;
Status=_ECAT_Slave_DIO_Get_Input_Value (CardNo, NodeID, SlotNo, &Value)

Table of Contents

Related product manuals