EtherCAT Programming Guide Operation of Pulse Module (R1-ECx62xD0 Series)
March, 2017 21-13
21
21.11 _ECAT_Slave_R1_ECx62x_Get_Single_IO_Status
Syntax
U16 PASCAL _ECAT_Slave_R1_ECx62x_Get_Single_IO_Status (U16 CardNo, U16 NodeID,
U16 SlotNo, U16 BitNo, U16 *IOStatus)
Purpose
This is for acquiring single status of single I/O point.
Parameter
Name Data type Property Description
CardNo U16 Number Card No.
NodeID U16 Number Node ID
SlotNo U16 Number Slot ID
BitNo U16 Number I/O point number
IOStatus U16* Numeric value Status of single I/O point
Example
U16 Status = 0;
U16 CardNo=16, NodeID =7, SlotNo=0;
U16 IOStatus, BitNo=1;
Status= _ECAT_Slave_R1_ECx62x_Get_Single_IO_Status (CardNo, NodeID, SlotNo, BitNo,
&IOStatus);