Ecat_Slave_Dio_Set_Output_Error_Mode - Delta EtherCAT Programming Manual

Table of Contents

Advertisement

EtherCAT Programming Guide

18.7 _ECAT_Slave_DIO_Set_Output_Error_Mode

Syntax
U16 PASCAL_ECAT_Slave_DIO_Set_Output_Error_Mode (U16 CardNo, U16 NodeID,
U16 SlotNo, U16 BitMode)
Purpose
This is for enabling/disabling the retentive function of each output channel on remote DO module
when EtherCAT communication is disconnected.
Note:
1.
Please use _ECAT_Slave_DIO_Set_Output_Error_Value (see section 18.8) to set the output value
when EtherCAT communication is disconnected.
2.
Retentive function is only supported by R1-EC70E2D0 and R1-EC70F2D0.
Parameter
Name
CardNo
NodeID
SlotNo
BitMode
Example
U16 Status;
U16 CardNo=16, NodeID=1, SlotNo=0;
// Enable the retentive function for the first 8 channels.
U16 BitMode=0x0F;
Status=_ECAT_Slave_DIO_Set_Output_Error_Mode (CardNo, NodeID, SlotNo, BitMode);
March, 2017
Data type
Property
U16
Number
U16
Number
U16
Number
U16
Value
Description
Card No.
Node ID
Slot ID
Bit 0 ~ 15 represent the output channels Y0 ~ Y15
respectively.
0: Disable
1: Enable
Operation of DI/DO Module
18-9
18

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents