
34 (136)
5.3
Diagnostic Object (02h)
Category
Basic
Object Description
This object provides a standardised way of handling host application events & diagnostics, and is thoroughly
described in the general Anybus CompactCom 40 Software Design Guide.
An EMCY Object (Emergency Object) is sent on the network each time a diagnostic instance is created or
deleted.
Supported Commands
Object:
Get_Attribute
Create
Delete
Instance:
Get_Attribute
Object Attributes (Instance #0)
#
Name
Access
Type
Value
1... 4
-
-
-
Consult the general Anybus CompactCom 40 Soft-
ware Design Guide for further information.
11
Max no. of instances
Get
UINT16
5 + 1 (one instance is reserved for a major unrecover-
able event)
12
Supported functionality
Get
BITS32
Bit 0: 0 (The module does not support latching
events)
Bits 1 - 31: 0
Instance Attributes (Instance #1)
Basic
#
Name
Access
Type
Value
1
Severity
Get
UINT8
See Anybus CompactCom 40 Software Design Guide
2
Event Code
Get
UINT8
3
NW specific extension
Get
Array of UINT8
CANopen specific EMCY code (2 bytes)
4 -7
(not used)
When an instance is created (i.e. a diagnostic event is entered), the following actions are performed:
1.
A new entry will be created in object entry 1003h (pre-defined error field) in one of two possible ways:
–
If the Event Code is 00h — FEh:
MSB
(UINT32)
LSB
(Not used)
(Not used)
Event Code
00h
–
If the Event Code is FFh (network specific):
MSB
(UINT32)
LSB
(Not used)
(Not used)
Error Code (low byte)
Anybus
®
CompactCom
™
40 EtherCAT
®
Network Guide
SCM-1202-034 1.1