Language Objects for Explicit Exchange
Original instructions
Introduction
This topic describes the explicit exchange language objects for the BMX NOE 01x0 module and BMX P34 20x0 CPUs.
System Words
The following table describes the system word (%MW, READ) language objects:
Object
Description
BMX NOE 01x0
BMX P34 20x0
%MWr.m.0.0
%MWr.m.3.0
exchange status (EXCH_STS):
  • bit 0 = 1: reading of status words of the channel in progress (STS_IN_PROGR)
  • bit 1 = 1: command write in progress (CMD_IN_PROGR)
%MWr.m.0.1
%MWr.m.3.1
exchange report (EXCH_RPT):
  • bit 0 = 1: error while reading channel status (STS_ERR)
  • bit 1 = 1: error while writing a command to the channel (CMD_ERR)
Note: Always 0 for the BMX P34 20x0
Status Words
The following table describes the status word (%MW or %MD, READ) language objects:
Object
Description
BMX NOE 01x0
BMX P34 20x0
%MWr.m.0.2
%MWr.m.3.2
Standard channel faults (CH_FLT):
  • bit 4 (%MWr.m.0.2.4) = 1: Internal or channel self-test fault (INTERNAL_FLT)
  • bit 7 (%MWr.m.0.2.7) = 1: Application fault (APPLI_FLT)
%MWr.m.0.3
%MWr.m.3.3
Ethernet Port Global status (ETH_PORT_STATUS)
%MDr.m.0.4
%MDr.m.3.4
IP address (IP_ADDR)
%MWr.m.0.6
%MWr.m.3.6
number of denied Port 502 connections (P502_NB_CONN_DENIED)
%MWr.m.0.7
%MWr.m.3.7
number of received messages on the Ethernet port per second (BW_NB_MSG_IN)
%MWr.m.0.8
%MWr.m.3.8
number of useless messages filtered by the Ethernet port per second (BW_NB_MSG_FILTER)
%MWr.m.0.9
%MWr.m.3.9
number of messages dropped by the Ethernet port per second (BW_NB_MSG_DROP)
%MWr.m.0.10
%MWr.m.3.10
maximum number of received messages on the Ethernet port per second (BW_MAX_MSG_IN)
%MWr.m.0.11
%MWr.m.3.11
maximum number of useless messages filtered by the Ethernet port per second (BW_MAX_MSG_FILTER)
%MWr.m.0.12
%MWr.m.3.12
maximum number of messages dropped by the Ethernet port per second (BW_MAX_MSG_DROP)
%MWr.m.0.13
%MWr.m.3.13
maximum number of Multicast messages received per second (BW_MAX_MSG_MC)
%MWr.m.0.14
%MWr.m.3.14
maximum number of broadcast messages received per second (BW_MAX_MSG_BC)
%MWr.m.0.15
%MWr.m.3.15
reserved for future use
Command Words
The following table describes the command word (%MW, WRITE) language objects:
Object
Description
BMX NOE 01x0
BMX P34 20x0
%MWr.m.0.16
%MWr.m.3.16
Ethernet command word (ETH_CMD):
  • bit 0 = 1 for Ethernet Component Reset (ETH_RESET)
  • bit 1 = 1 for Max Message Counters reset (BW_CNT_RESET)
  • bit 2 = 1 for Messaging counters reset (P502_CNT_RESET)
%MWr.m.0.17
%MWr.m.3.17
reserved for modulo 4 address alignment
Parameter Words
The following table describes the parameter word (%MW or %MD, R/W) language objects, please note that parameters are accessible in read using the READ_STATUS function:
Object
Description
BMX NOE 01x0
BMX P34 20x0
%MWr.m.0.18
%MWr.m.3.18
PARAM_NET_CONF:
  • 0 = disabled (not supported)
  • 1 = from screen configuration (default)
  • 2 = from a server (DHCP server)
%MWr.m.0.19
%MWr.m.3.19
PARAM_DRIVER_CONF: (TBD)
Bit 0: FRAME_TYPE
%MDr.m.0.20
%MDr.m.3.20
IP address (PARAM_IP_ADDR)
%MWr.m.0.22
%MWr.m.3.22
subnetwork mask (PARAM_IP_NETMASK)
%MWr.m.0.24
%MWr.m.3.24
default gateway (PARAM_IP_GATEWAY)
%MWr.m.0.26
%MWr.m.3.26
device name (character 1 and 2) – PARAM_IP_DEVICE_NAME1
%MWr.m.0.27
%MWr.m.3.27
device name (character 3 and 4) – PARAM_IP_DEVICE_NAME2
%MWr.m.0.28
%MWr.m.3.28
device name (character 5 and 6) – PARAM_IP_DEVICE_NAME3
%MWr.m.0.29
%MWr.m.3.29
device name (character 7 and 8) – PARAM_IP_DEVICE_NAME4
%MWr.m.0.30
%MWr.m.3.30
device name (character 9 and 10) – PARAM_IP_DEVICE_NAME5
%MWr.m.0.31
%MWr.m.3.31
device name (character 11 and 12) – PARAM_IP_DEVICE_NAME6
%MWr.m.0.32
%MWr.m.3.32
device name (character 13 and 14) – PARAM_IP_DEVICE_NAME7
%MWr.m.0.33
%MWr.m.3.33
device name (character 15 and 16) – PARAM_IP_DEVICE_NAME8
NOTE: For explicit exchanges, the READ_PARAM function is not available for the following modules:
  • BMX P34 20x0
  • BMX NOE 0100