Device DDT for BMECXM Modules
Original instructions
Overview
Use the device derived data type (DDDT) for diagnosis. There is one device DDT for each BMECXM module.
The device DDT, contains:
NOTE: To access these parameters, refer to device DDT Variables.
Input Parameters
Parameter
Type
Bit
Description
DEVICE_NAME
STRING [16]
Device name of the CXM module
CXM_OP_STATE
BYTE
Module state operating mode: 0 INITIALIZATION 1 UNCONFIGURED 2 CONFIGURED 3 CONNECTED STOP 4 CONNECTED RUN 5 FALLBACK
CXM_REDUND_STATE
BYTE
Reserved
FB_STATE
BYTE
Fieldbus operating mode: 0 IDLE 1 NO-CONF 2 BUS OFF 3 STOPPED 4 PRE-OPERATIONAL 5 OPERATIONAL 6 CLEAR
FB_HEALTH
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
SLAVE_PROG_LIST
ARRAY [0...15] OF BYTE
Slave list for programmed state. 1 bit per slave device.
SLAVE_LIVE_LIST
ARRAY [0...15] OF BYTE
Slave list for responding state. 1 bit per slave device.
SLAVE_DIAG_LIST
ARRAY [0...15] OF BYTE
Slave list for error state. 1 bit per slave device.
SLAVE_WAIT_LIST
ARRAY [0...15] OF BYTE
Slave list that indicates if the device is waiting for explicit order to operate or not. 1  bit per slave device.
FB_MAX_SCAN
UDINT
Maximal time period of field devices scanning (by 100 µs resolution).
FB_LAST_SCAN
UDINT
Last time period of field devices scanning (by 100 µs resolution).
FB_MIN_SCAN
UDINT
Minimal time period of field devices scanning (by 100 µs resolution).
CXM_DISPLAY
UINT
8 LEDs A, B, C, D, E, F, G, and H located in 2 bits (high, low): A = RUN: bits (1, 0) B = ERR: bits (3, 2) C = I/O: bits (5, 4) D = BS: bits (7, 6) E = CAN RUN: bits (9, 8) F = CAN COM: bits (11, 10) G = CAN ERR: bits (13, 12) H = Not used: bits (15, 14)
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
ETH_STATUS
BYTE
Status information for Ethernet:
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
SERVICE_STATUS
BYTE
Status information of Ethernet services:
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
ETH_PORT_1_AND_2_STATUS
BYTE
Not applicable.
ETH_PORT_3_STATUS
BYTE
Not applicable.
SYSLOG_STATUS
BYTE
0: Set to 1 if the syslog client does not receive the acknowledgment of the TCP messages from the syslog server.
Other Parameters
Parameter
Type
Description
Freshness
Global freshness
Health
BOOL
Global I/O health reports a default in the update of the device DDT due to connection issues:
  • 0: when a detected fault is reported by FB_HEALTH in block 1 or a wrong I/O signature is detected
  • 1: OK