Language Objects for Explicit Exchange
Original instructions
Introduction
This topic describes the explicit exchange language objects for the RTU module.
System Words
The following table describes the system word (%MW, READ) language objects:
Object
Description
%MWr.m.0.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
exchange report (EXCH_RPT):
  • bit 0 = 1: the channel status cannot be read (STS_ERR)
  • bit 1 = 1: a command cannot be written to the channel (CMD_ERR)
Note: Always 0 for the BMX P34 20•0
Status Words
The following table describes the status word (%MW or %MD, READ) language objects:
Object
Description
%MWr.m.0.2
CH_FLT bits:
  • bit 4 (%MWr.m.0.2.4) = 1: internal error detected or self-test cannot complete (INTERNAL_FLT)
  • bit 7 (%MWr.m.0.2.7) = 1: application cannot be run (APPLI_FLT)
%MWr.m.0.3
Ethernet Port Global status (ETH_PORT_STATUS)
%MDr.m.0.4
IP address (IP_ADDR)
%MWr.m.0.6
number of denied Port 502 connections (P502_NB_CONN_DENIED)
%MWr.m.0.7
number of received messages on the Ethernet port per second (BW_NB_MSG_IN)
%MWr.m.0.8
number of useless messages filtered by the Ethernet port per second (BW_NB_MSG_FILTER)
%MWr.m.0.9
number of messages dropped by the Ethernet port per second (BW_NB_MSG_DROP)
%MWr.m.0.10
maximum number of received messages on the Ethernet port per second (BW_MAX_MSG_IN)
%MWr.m.0.11
maximum number of useless messages filtered by the Ethernet port per second (BW_MAX_MSG_FILTER)
%MWr.m.0.12
maximum number of messages dropped by the Ethernet port per second (BW_MAX_MSG_DROP)
%MWr.m.0.13
maximum number of Multicast messages received per second (BW_MAX_MSG_MC)
%MWr.m.0.14
maximum number of broadcast messages received per second (BW_MAX_MSG_BC)
%MWr.m.0.15
reserved for future use
Command Words
The following table describes the command word (%MW, WRITE) language objects:
Object
Description
%MWr.m.0.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
reserved for modulo 4 address alignment