EtherCAT Programming Guide Analog Input Settings (For R1-EC8124D0)
March, 2017 23-5
23
23.3 _ECAT_Slave_R1_EC8124_Set_Input_Enable
Syntax
U16 PASCAL _ECAT_Slave_R1_EC8124_Set_Input_Enable (U16 CardNo, U16 NodeID, U16
SlotNo, U16 Enable)
Purpose
This is for enabling/disabling the analog input
sampling function of Delta analog input module..
This API has to be executed before measuring or acquiring the input value.
Parameter
Name Data type Property Description
CardNo U16 Number Card number
NodeID U16 Number Node ID
SlotNo U16 Number Slot ID
Enable U16 Option
0: Disable
1: Enable
Example
U16 Status = 0;
U16 CardNo=16 , NodeID =1, SlotNo=0;
U16 Enable=1;
Status= _ECAT_Slave_R1_EC8124_Set_Input_Enable (CardNo, NodeID,SlotNo, Enable);