DIAG_FXM_Diagnostic Object
Original instructions
Overview
Basic diagnostic of the CANopen X80 master module can be done via explicit message using the DIAG_FXM_Diagnostic object.
The diagnostic object presents the instances, attributes, and services described below.
Class ID
301 hex
Instance IDs
The diagnostic object presents two instance values:
Attributes
The diagnostic object presents the following attributes.
Instance ID = 0 (class attributes):
Attribute ID (hex)
Type
Description
01
WORD
Version high
02
WORD
Version low
03
WORD
Number of instance
Instance ID = 1 (instance attributes):
Attribute ID (hex)
Parameter
Type
Bit
Description
01
DWORD
Ethernet MAC address of the module
NOTE: only the 4 Least Significant Byte (LSB), for completing the MAC address add 00-80 on the Most Significant Byte (MSB).)
02
PBA version
DWORD
4 bytes for major, minor, intermediate, and release (reserved)
03
Micro FW1 Version
WORD
2 bytes for major, and minor
04
Micro FW2 Version
WORD
2 bytes for major, and minor
05
Firmware Version
DWORD
4 bytes for major, minor, intermediate, and release (reserved)
06
Configuration Supported
DWORD
2 bytes for major, and minor
07
Device Name(16)
DWORD
Device name of the module
08
IP address
DWORD
Current Ethernet IPV4 address (format is xxx.xxx.xxx.xxx)
09
Subnet Mask
DWORD
Current Ethernet IPV4 subnet (format is xxx.xxx.xxx.xxx)
0A
Default Gateway
DWORD
Current Ethernet IPV4 Gateway address (format is xxx.xxx.xxx.xxx)
0B
CPU Rate Available
DUINT
Percentage (%) of CPU time available
0C
FxmOpState
BYTE
0: INITIALIZATION 1: UNCONFIGURED 2: CONFIGURED 3: CONNECTED RUN 4: CONNECTED STOP 5: FALLBACK
0D
FxmRedundState
BYTE
Reserved
0E
FxmDisplay
WORD
2 bits (high, low) per LED: RUN: bits (1, 0) ERR: bits (3, 2) I/O: bits (5, 4) BS: bits (7, 6) CAN RUN: bits (9, 8) CAN COM: bits (11, 10) CAN ERR: bits (13, 12)
Off 
bit high = 0 and bit low = 0
Green 
bit high = 0 and bit low = 1
Red 
bit high = 1 and bit low = 0
Yellow 
bit high = 1 and bit low = 1
0F
Ethernet Status
BYTE
Main Ethernet status:
0
PORT1_LINK:
  • 0: Link down for Ethernet port 1
  • 1: Link up for Ethernet port 1
4
RPI_CHANGE:
  • 0: EtherNet/IP RPI not in progress
  • 1: EtherNet/IP RPI in progress
5
REDUNDANCY_STATUS:
  • 0: Backup path not available
  • 1: Backup path available
6
REDUNDANCY_OWNER:
  • 0: Redundant owner not present
  • 1: Redundant owner present
7
GLOBAL_STATUS:
  • 0: One or more services not operating normally
  • 1: All services operating normally
10
Ethernet Services
BYTE
Detailed Ethernet status:
1
SNTP_SERVICE:
  • 0: Service not operating normally
  • 1: Service operating normally or disabled
3
SNMP_SERVICE:
  • 0: Service not operating normally
  • 1: Service operating normally or disabled
4
FDR_SERVICE:
  • 0: Unable to download PRM file
  • 1: Service operating normally or disabled
5
FIRMWARE_UPGRADE
  • 0: Firmware upgrade unauthorized
  • 1: Service operating normally
6
WEB_PAGE
  • 0: Webpage not available
  • 1: Service operating normally or disabled
7
EVENT_LOG_STATUS
  • 0: Service not operating normally
  • 1: Service operating normally or disabled
11
Syslog_Status
BYTE
0
Set to 1 if the syslog client does not receive the acknowledgment of the TCP messages from the syslog server.
12
Syslog_Buffer_Free
DUINT
Free place in % of the events buffer.
13
Syslog_Lost_Events
DUINT
Number of events lost since the last restart.
14
FxmFBState
BYTE
Fieldbus operating mode: 0 IDLE 1 NO-CONF 2 BUS OFF 3 STOPPED 4 PRE-OPERATIONAL 5 OPERATIONAL 6 CLEAR
15
FxmFBHealth
BYTE
Status information of the network manager for diagnosing fieldbus: 0 = Idle 1 = Fieldbus error detected 2 = Device fault detected 3 = Device error detected 4 = Device fault detected and error detected
16
SlavesProgList
BOOL [128]
Slave list for programmed state.
1 bit per slave device:
  • 0: Programmed (in configuration file)
  • 1: Not expected (not configured or disabled)
17
SlavesLiveList
BOOL [128]
Slave list for responding state.
1 bit per slave device:
  • 0: Responding
  • 1: Not responding or disabled
18
SlavesDiagList
BOOL [128]
Slave list for error state.
1 bit per slave device:
  • 0: Detected error or fault on expected slave
  • 1: No reported error
19
SlavesWaitList
BOOL [128]
Slave list that indicates if the device is waiting for explicit order to operate or not.
1 bit per slave device:
  • 0: Slave device is waiting for explicit message to operate
  • 1: No action required
1A
FxmFBMaxScan
UDINT
Maximal time period of field devices scanning (by 100 µs resolution).
1B
FxmFBLastScan
UDINT
Last time period of field devices scanning (by 100 µs resolution).
1C
FxmFBMinScan
UDINT
Minimal time period of field devices scanning (by 100 µs resolution).
1D
Pending Acyclic request
UINT
Number of pending explicit requests.
1F
FxmFB Bandwidth
UINT
Current Fieldbus bus load in %
Service Supported
The DIAG_FXM_Diagnostic object performs the following service:
Service ID (hex)
Service Name
Class
Instance
01
Get_Attributes_All
X
X