7 data types, 1 l_etc_coe_emergency, 2 l_etc_coe_emergency_buffer_data – Lenze EtherCAT Controller-based Automation User Manual
Page 155: 3 l_etc_coe_flags, Data types, L_etc_coe_emergency, L_etc_coe_emergency_buffer_data, L_etc_coe_flags, L_etc_coe_flags ( 155), 9function library l_iodrvethercat.lib
Lenze · Controller-based Automation · EtherCAT® Communication Manual · DMS 6.4 EN · 04/2014 · TD17
155
9
Function library L_IODrvEtherCAT.lib
9.7
Data types
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
9.7
Data types
The Lenze-specific data types described in the following are used in some functions and function
blocks of the function library L_IODrvEtherCAT.lib.
9.7.1
L_ETC_COE_EMERGENCY
The type L_ETC_COE_EMERGENCY describes errors that occur at a particular EtherCAT slave.
9.7.2
L_ETC_COE_EMERGENCY_BUFFER_DATA
The L_ETC_COE_EMERGENCY_BUFFER_DATA type describes a flag for displaying an emergency
buffer overflow.
9.7.3
L_ETC_COE_FLAGS
The L_ETC_COE_FLAGS type controls the behaviour of the function blocks
TYPE L_ETC_COE_EMERGENCY :
STRUCT
uiDevice : UNIT; // Slave address
dwTimestamp : DATE_AND_TIME; // Timestamp UTC (see FUNC SysTimeRtcGet())
wErrorCode : WORD; // Error code, see specification for details
byErrorRegister : BYTE; // Error register
abyData : ARRAY[0..4] OF BYTE; // Error data
END_STRUCT
END_TYPE
TYPE L_ETC_COE_EMERGENCY_BUFFER_DATA :
STRUCT
structEmergency : L_ETC_COE_EMERGENCY; // Struct Emergency
bBufferOverflow : BOOL; // Flag for emergency buffer overflow
END_STRUCT
END_TYPE
TYPE L_ETC_COE_FLAGS :
(
ETC_E_COMPLETEACCESS := 16#00000001
) DWORD;
END_TYPE