Detailed Description of T_ANA_IN_T_BMX-type IODDT Objects
Original instructions
At a Glance
The following tables describe the T_ANA_IN_T_BMX-type IODDT objects applicable to BMX ART 0414/0814 analog input modules.
Input Measurement
The analog input measurement object is as follows:
Standard symbol
Type
Access
Meaning
Address
VALUE
INT
R
Analog input measurement.
%IWr.m.c.0
%Ir.m.c.ERR error bit
The %Ir.m.c.ERR error bit is as follows:
Standard symbol
Type
Access
Meaning
Address
CH_ERROR
BOOL
R
Error bit for analog channel.
%Ir.m.c.ERR
MEASURE_STS Measurement Status Word
The various meanings of the MEASURE_STS (%IWr.m.c.1) measurement status word bits are as follows:
Standard symbol
Type
Access
Meaning
Address
CH_ALIGNED
BOOL
R
Aligned channel.
%IWr.m.c.1.0
CH_FORCED
BOOL
R
Forced channel.
%IWr.m.c.1.1
LOWER_LIMIT
BOOL
R
Measurement within lower tolerance area.
%IWr.m.c.1.5
UPPER_LIMIT
BOOL
R
Measurement within upper tolerance area.
%IWr.m.c.1.6
INT_OFFSET_ERROR
BOOL
R
Internal offset error.
%IWr.m.c.1.8
INT_REF_ERROR
BOOL
R
Internal reference error.
%IWr.m.c.1.10
POWER_SUP_ERROR
BOOL
R
Not used.
%IWr.m.c.1.11
SPI_COM_ERROR
BOOL
R
SPI communication error.
%IWr.m.c.1.12
Cold Junction Compensation
The value of the cold junction compensation is as follows:
Standard symbol
Type
Access
Meaning
Address
CJC_VALUE
INT
R
Cold junction compensation value (1/10°C).
%IWr.m.c.2
Explicit Exchange Execution Flag: EXCH_STS
The meaning of the exchange control bits of the channel EXCH_STS (%MWr.m.c.0) is as follows:
Standard symbol
Type
Access
Meaning
Address
STS_IN_PROGR
BOOL
R
Read channel status words in progress.
%MWr.m.c.0.0
CMD_IN_PROGR
BOOL
R
Command parameter exchange in progress.
%MWr.m.c.0.1
ADJ_IN_PROGR
BOOL
R
Adjustment parameter exchange in progress.
%MWr.m.c.0.2
Explicit Exchange Report: EXCH_RPT
The meaning of the EXCH_RPT (%MWr.m.c.1) report bits is as follows:
Standard symbol
Type
Access
Meaning
Address
STS_ERR
BOOL
R
Read error for channel status words.
%MWr.m.c.1.0
CMD_ERR
BOOL
R
Error during command parameter exchange.
%MWr.m.c.1.1
ADJ_ERR
BOOL
R
Error while exchanging adjustment parameters.
%MWr.m.c.1.2
RECONF_ERR
BOOL
R
Error while reconfiguring the channel.
%MWr.m.c.1.15
Standard Channel Status: CH_FLT
The following table explains the meaning of the CH_FLT (%MWr.m.c.2) status word bits. Reading is performed by a READ_STS (IODDT_VAR1).
Standard symbol
Type
Access
Meaning
Address
SENSOR_FLT
BOOL
R
Sensor connection error.
%MWr.m.c.2.0
RANGE_FLT
BOOL
R
Range under/overflow error.
%MWr.m.c.2.1
CH_ERR_RPT
BOOL
R
Channel error report.
%MWr.m.c.2.2
INTERNAL_FLT
BOOL
R
Inoperative channel.
%MWr.m.c.2.4
CONF_FLT
BOOL
R
Different hardware and software configurations.
%MWr.m.c.2.5
COM_FLT
BOOL
R
Problem communicating with the PLC.
%MWr.m.c.2.6
APPLI_FLT
BOOL
R
Application error (adjustment or configuration error).
%MWr.m.c.2.7
NOT_READY
BOOL
R
Channel not ready.
%MWr.m.c.3.0
COLD_JUNCTION_FLT
BOOL
R
Cold junction compensation error.
%MWr.m.c.3.1
CALIB_FLT
BOOL
R
Calibration error.
%MWr.m.c.3.2
INT_OFFS_FLT
BOOL
R
Internal calibration offset error.
%MWr.m.c.3.3
INT_REF_FLT
BOOL
R
Internal calibration reference error.
%MWr.m.c.3.4
INT_SPI_PS_FLT
BOOL
R
Internal serial link or power supply error.
%MWr.m.c.3.5
RANGE_UNF
BOOL
R
Range underflow.
%MWr.m.c.3.6
RANGE_OVF
BOOL
R
Range overflow.
%MWr.m.c.3.7
Command Controls
The following table explains the meaning of the COMMMAND_ORDER (%MWr.m.c.4) status word bit. Reading is performed by a READ_STS:
Standard symbol
Type
Access
Meaning
Address
FORCING__UNFORCING_ORDER
BOOL
R/W
Forcing/unforcing command.
%MWr.m.c.4.13
Parameters
The table below presents the meaning of the %MWr.m.c.5, %MWr.m.c.8 and %MWr.m.c.9 status words. Queries used are those associated with parameters (READ_PARAM, WRITE_PARAM).
Standard symbol
Type
Access
Meaning
Address
CMD_FORCING_VALUE
INT
R/W
Forcing value to be applied.
%MWr.m.c.5
FILTER_COEFF
INT
R/W
Value of filter coefficient.
%MWr.m.c.8
ALIGNMENT_OFFSET
INT
R/W
Alignment offset value.
NOTE: Offset=Target value - Mesured value, for instance, if you want to see a value of 3000 when the measured value is 2400 you have to set an offset of 600.
%MWr.m.c.9
NOTE: In order to force a channel, you have to use the WRITE_CMD (%MWr.m.c.5) instruction and set the %MWr.m.c.4.13 bit to 1.
NOTE: To unforce a channel and use it normally, you have to set the %MWr.m.c.4.13 bit to 0.