Device DDT for the BMENOC0321
Original instructions
Introduction
Accessing the Device DDT
View the Device DDT variables for the BMENOC0321 control network module:
Step
Action
1
Open a Control Expert project that includes a BMENOC0321 module on the local rack.
2
In the Project Browser, expand (+) Variables and Feedback Instances.
3
Double-click Device DDT Variables.
4
On the Variables tab, expand (+) the name that corresponds to your BMENOC0321 module.
Objects
The Ethernet communication module contains two objects:
NOTE: This content applies to the T_BMENOC0321_2 DDDT only. This DDDT can’t be localized and it is supported in Unity Pro 11.1 or later.
Input Parameters
The following tables describe the input parameters in the device DDT for the module:
ETH_STATUS: This table describes the bits associated with the ETH_STATUS (word):
Parameter
Type
Bit
Description
PORT1_LINK
BOOL
0
0: Ethernet port 1 (ETH 1) link is down.
1: Ethernet port 1 (ETH 1) link is up.
PORT2_LINK
BOOL
1
0: Ethernet port 2 (ETH 2) link is down.
1: Ethernet port 2 (ETH 2) link is up.
PORT3_LINK
BOOL
2
0: Ethernet port 3 (ETH 3) link is down.
1: Ethernet port 3 (ETH 3) link is up.
ETH_BKP_PORT_LINK
BOOL
3
0: Backplane port link is down.
1: Backplane port link is up.
SCANNER_OK
BOOL
6
0: I/O scanner operations are not normal.
1: At least one configured device is scanned.
GLOBAL_STATUS
BOOL
7
0: At least one service is not operating normally.
1: All services are operating normally.
NETWORK_HEALTH
BOOL
8
0: A potential network broadcast storm is detected.
NOTE: Check your wiring and your CPU and BMENOC0321 configurations.
1: A network broadcast storm is not detected.
SERVICE_STATUS: This table describes the bits associated with the SERVICE_STATUS (word):
Parameter
Type
Bit
Description
RSTP_SERVICE
BOOL
0
0: The RSTP service is not operating normally.
1: The RSTP service is operating normally or is disabled.
PORT502_SERVICE
BOOL
2
0: Port 502 is not operating normally.
1: Port 502 is operating normally or is disabled.
SNMP_SERVICE
BOOL
3
0: SNMP is not operating normally.
1: SNMP service is operating normally or is disabled.
MAIN_IP_ADDRESS_STATUS
BOOL
4
0: The main IP address is duplicated or not assigned.
1: The main IP address is unique and valid.
EIP_SCANNER
BOOL
7
0: The EtherNet/IP scanner service is not operating normally.
1: The EtherNet/IP scanner service is operating normally or is disabled.
MODBUS_SCANNER
BOOL
8
0: The Modbus scanner service is not operating normally.
1: The Modbus scanner service is operating normally or is disabled.
SNTP_CLIENT
BOOL
10
0: The SNTP client service is not operating normally.
1: The SNTP client service is operating normally or is disabled.
WEB_SERVER
BOOL
11
0: The web server service is not operating normally.
1: The web server service is operating normally or is disabled.
FIRMWARE_UPGRADE
BOOL
12
0: The firmware upgrade service is not operating normally.
1: The firmware upgrade service is operating normally or is disabled.
FTP
BOOL
13
0: The FTP server service is not operating normally.
1: The FTP server service is operating normally or is disabled.
FDR_SERVER
BOOL
14
0: The FDR server service is not operating normally.
1: The FDR server service is operating normally or is disabled.
EIP_ADAPTER
BOOL
15
0: The EtherNet/IP adapter service is not operating normally.
1: The EtherNet/IP adapter service is operating normally or is disabled.
SERVICE_STATUS2: This table describes the parameters associated with the SERVICE_STATUS2 (word):
Parameter
Type
Bit
Description
LLDP_SERVICE
BOOL
1
0: The LLDP service is not operating normally.
1: The LLDP service is operating normally or is disabled.
EVENT_LOG_STATUS
BOOL
2
0 = Event log service is not operating normally.
1 = Event log service is operating normally or is disabled.
LOG_SERVER_NOT_REACHABLE
BOOL
3
1 = No acknowledgment received from the syslog server.
0 = Acknowledgment received from the syslog server
SMTP
BOOL
4
1 = This service is operating normally or is disabled.
0 = This service is not operating normally.
IP_Forwarding
BOOL
5
1 = This service is operating normally or is disabled.
0 = This service is not operating normally.
Fieldbus_network_IP_ADDRESS_STATUS
BOOL
6
1 = The main IP address is unique.
0 = There is a duplicate address (for the main IP address) or there is no address assignment.
Extended_network_IP_ADDRESS_STATUS
BOOL
7
1 = The main IP address is unique.
0 = There is a duplicate address (for the main IP address) or there is no address assignment.
Other Input Parameters: The scanner device DDT contains these other parameters:
Parameter
Type
Description
ETHERNET_PORT_1_2_STATUS
(BYTE)
Bits 1...0
0: ETH 1 disabled
1: ETH 1 access port
2: ETH 1 port mirroring
3: ETH 1 extended network port
Bits 3...2
reserved (0)
Bits 5...4
0: ETH 2 disabled
1: ETH 2 access port
2: ETH 2 port mirroring
3: ETH 2 control network port
Bits 7...6
0: ETH 2 alternate RSTP port
1: ETH 2 backup RSTP port
2: ETH 2 designated RSTP port
3: ETH 2 root RSTP port
ETHERNET_PORT3_BKP_STATUS
(BYTE)
Bits 1...0
0: ETH 3 disabled
1: ETH 3 access port
2: ETH 3 port mirroring
3: ETH 3 control network port
Bits 3...2
0: ETH 3 alternate RSTP port
1: ETH 3 backup RSTP port
2: ETH 3 designated RSTP port
3: ETH 3 root RSTP port
Bits 5...4
0: The Ethernet backplane port is disabled.
3: The Ethernet backplane port is enabled to support Ethernet communications.
Bits 7...6
Reserved (0)
FIRMWARE_VERSION
WORD
MSB = major revision; LSB = minor revision
FDR_USAGE
BYTE
% of FDR sever usage
IN_PACKETS
UINT
Number of packets received by the module
IN_ERRORS
UINT
Number of inbound packets that contain detected errors
OUT_PACKETS
UINT
Number of packets sent from the module
OUT_ERRORS
UINT
Number of packets from the module that contain detected errors
CONF_SIG
UDINT
Signature of all PRM files on the local module FDR server
Device Health Bits
This table describes the health bits for the BMENOC0321 that is scanned by a remote device:
Parameter
Type
Bit
Description
LS_HEALTH
BOOL
0: Local slaves and distributed equipment are not operating normally.
1: Local slaves and distributed equipment are operating normally or are disabled.
local slave health bits (local slave 1 to 12)
ARRAY [1...12] of BOOL
DIO_HEALTH
BOOL
distributed equipment health bits (1 bit per distributed device up to 128 devices)
ARRAY [0...127] of BOOL
Output Parameters
This table describe the output parameters in the device DDT for the module:
Parameter
Type
Bit
Description
DIO_CTRL
BOOL
0: Enable normal communications to the DIO device.
1: Disable communications to the device. In this case, outputs are not be written and inputs are not updated.
distributed equipment control bits (1 bit per distributed device up to 128 devices)
ARRAY [0...127] of BOOL
NOTE: The array index for the DIO device is mapped to the device number in the request/connection summary of the BMENOC0321 module’s Device List.