Analog Input Settings (For R1-EC8124D0) EtherCAT Programming Guide
23-6 March, 2017
23
23.4 _ECAT_Slave_R1_EC8124_Get_Input_RangeMode
Syntax
U16 PASCAL _ECAT_Slave_R1_EC8124_Get_Input_RangeMode (U16 CardNo,
U16 NodeID, U16 SlotNo, U16* RangeMode)
Purpose
This is for aquiring the sampling range of Delta analog input module.
Note: Delta analog input module only allows users to measure voltage signal.
To measure the input current, you need to modify the wiring 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 Data type Property Description
CardNo U16 Number Card number
NodeID U16 Number Node ID
SlotNo U16 Number Slot ID
RangeMode U16* Option
Output range setting:
0: -5 V ~ 5 V (default)
1: -10 V ~ 10 V
Example
U16 Status = 0;
U16 CardNo=16, NodeID =1, SlotNo=0;
U16 RangeMode;
Status= _ECAT_Slave_R1_EC8124_Get_Input_RangeMode (CardNo, NodeID,SlotNo,
&RangeMode);