Device DDT for BMXETM0200H Module
Original instructions
Introduction
The Device DDT is a predefined DDT that describes the I/O language elements of the I/O module. This data type is represented in a structure which provides bits and register view.
This topic describes the structure of the implicit Control Expert Device DDT for the frequency meter module BMXETM0200H.
T_M_CPT_FLM_IN2 Device DDT Description
The following table gives the structure of the T_M_CPT_FLM_IN2 Device DDT:
Name
Type
Description
MOD_HEALTH
BOOL
0 = the module has a detected error
1 = the module is operating correctly
MOD_FLT
BYTE
Internal detected errors of the module.
CPT_CH_IN
Array [0...1] of T_M_CPT_FLM_CH_IN
I/O data for channel 0 and channel 1
T_M_CPT_FLM_CH_IN
The following table gives the structure of T_M_CPT_FLM_CH_IN:
Name
Type
Bit
Description
Access
FCT_TYPE
WORD
1 = Frequency
Read
CH_HEALTH
BOOL
0 = the channel has a detected error
Read
1 = the channel is operating correctly
ST_OUTPUT
EBOOL
State of the physical output
Voltage level applied to the 24 Vdc channel output:
  • 0 = 0 Vdc
  • 1 = 24 Vdc
Read
ST_LATCH_OUTPUT
EBOOL
State of the output function block
Read
ST_SENSOR_INPUT
EBOOL
State from the sensor
Read
ST_DUAL_INPUT
EBOOL
State from the sensor on concurrent channel
Read
ST_ALARM_STOPPED
EBOOL
Alarm input frequency stopped
Read
ST_ALARM_UNDER_LIMIT
EBOOL
Alarm input frequency too low
Read
ST_ALARM_OVER_LIMIT
EBOOL
Alarm input frequency too high
Read
ST_ALARM_FREQUENCY_LESS
EBOOL
Alarm frequency value less than limits
Read
ST_ALARM_FREQUENCY_WINDOW
EBOOL
Alarm frequency value within limits
Read
ST_ALARM_FREQUENCY_GREAT
EBOOL
Alarm frequency value greater than limits
Read
COUNTER_STATUS
INT
Main status register.
Read
VALIDITY_FREQUENCY
BOOL
0
Frequency, acceleration, and jerk values guaranteed
VALIDITY_RATIO
BOOL
1
Ratio value done
VALIDITY_ANGLE
BOOL
2
Angle value done
PATTERN_LEARN_RUNNING
BOOL
3
Process learning on going
PATTERN_LEARNT
BOOL
4
Pattern profile recorded
STOPPED
BOOL
5
Input frequency stopped
UNDER_LIMIT
BOOL
6
Input frequency too low
OVER_LIMIT
BOOL
7
Input frequency too high
SENSOR_SUP_FLT
BOOL
8
Sensor supply fault
ACTUATOR_SUP_FLT
BOOL
9
Actuator supply fault
MPU_BROKEN_LINE
BOOL
10
MPU broken input line
SHORT_CIRCUIT_OUTPUT
BOOL
11
Short circuit or overload on the output
COMPARE_STATUS
INT
Field of comparison result bits.
Read
FREQUENCY_LESS
BOOL
0
Frequency value less than limits
FREQUENCY_WINDOW
BOOL
1
Frequency value within limits
FREQUENCY_GREAT
BOOL
2
Frequency value greater than limits
FREQUENCY_VALUE
UDINT
Frequency value in pulses per 1000 seconds
Read
ACCELERATION_VALUE
INT
Frequency value variation per pulses per s2
Read
JERK_VALUE
INT
Acceleration value variation per 1000 pulses per s3
Read
RATIO_VALUE
UINT
Number pulses within concurrent channel period
Read
ANGLE_VALUE
UINT
Delay of sensor on concurrent channel
Read
ENABLE_OUTPUT_LATCH
EBOOL
Make the output function active
Read/Write
FORCE_OUTPUT
EBOOL
Force the physical output to active
Read/Write
ENABLE_PATTERN_RECOGNITION
EBOOL
Enable the pattern recognition corrector
Read/Write
FORCE_PATTERN_LEARN
EBOOL
Request for pattern learning
Read/Write
COMPARE_ENABLE
EBOOL
Enable comparator
Read/Write
COMPARE_SUSPEND
EBOOL
Hold comparator at latest result
Read/Write
RESET_ALARMS
EBOOL
Reset all alarm bits
Read/Write
RESET_ALARM_STOPPED
EBOOL
Reset alarm bit stopped
Read/Write
RESET_ALARM_UNDER_LIMIT
EBOOL
Reset alarm bit frequency too low
Read/Write
RESET_ALARM_OVER_LIMIT
EBOOL
Reset alarm bit frequency too high
Read/Write
RESET_ALARM_FREQUENCY_LESS
EBOOL
Reset alarm bit frequency value less than limits
Read/Write
RESET_ALARM_FREQUENCY_WINDOW
EBOOL
Reset alarm bit frequency value within the limits
Read/Write
RESET_ALARM_FREQUENCY_GREAT
EBOOL
Reset alarm bit frequency value greater than the limits
Read/Write
MINIMUM_FREQUENCY
UDINT
Low limit for acceptable frequency values
Read/Write
MAXIMUM_FREQUENCY
UDINT
High limit for acceptable frequency values
Read/Write