Ecat_Slave_Aio_Get_Input_Value - Delta EtherCAT Programming Manual

Table of Contents

Advertisement

EtherCAT Programming Guide

19.1 _ECAT_Slave_AIO_Get_Input_Value

Syntax
U16 PASCAL_ECAT_Slave_AIO_Get_Input_Value (U16 CardNo, U16 NodeID, U16 SlotNo,
U16 *Value)
Purpose
This is for acquiring analog input value.
Note: Delta analog input module only allows users to measure voltage signal.
To measure the input current, you need to modify the wriing of the analog input module first. (Please refer to
the user manual of Delta analog input model regarding the wiring for current measurement.) After finishing
the wiring, users can convert the measurement into current by using the circuit with 250Ω- resistor.
Parameter
Name
CardNo
NodeID
SlotNo
Value
Example
U16 Status=0;
U16 CardNo=16, NodeID=1, SlotNo=0;
U16 Value;
Status=_ECAT_Slave_AIO_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
Acquire the data from AI remote module. The value is
0 ~ 65535.
Operation of AI/AO Module
19
19-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents