Ecat_Slave_Dio_Set_Output_Error_Value - Delta EtherCAT Programming Manual

Table of Contents

Advertisement

Operation of DI/DO Module

18.8 _ECAT_Slave_DIO_Set_Output_Error_Value

Syntax
18
U16 PASCAL_ECAT_Slave_DIO_Set_Output_Error_Value (U16 CardNo, U16 NodeID,
U16SlotNo, U16 Value)
Purpose
This is for setting the retentive status of each channel on remote DO module when EtherCAT
communication is disconnected.
Note: Please use _ECAT_Slave_DIO_Set_Output_Error_Mode (see section 18.7) to enable the retentive
function when EtherCAT communication is disconnected.
Parameter
Name
CardNo
NodeID
SlotNo
Value
Example
U16 Status;
U16 CardNo=16, NodeID=1, SlotNo=0;
// Change the function of the first 8 channels to retentive function when communication is
disconnected.
U16 Value=0x0F;
Status=_ECAT_Slave_DIO_Set_Output_Error_Value (CardNo, NodeID, SlotNo, Value);
18-10
Data type
Unit
U16
Number
U16
Number
U16
Number
U16
Value
EtherCAT Programming Guide
Description
Card No.
Node ID
Slot ID
Bit0 ~ 15 represent the output channels Y0~Y15
respectively.
0: Output channel is off
1: Output channel is on
March, 2017

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents