BMXERT1604T/H Device DDT
Original instructions
Overview
The Device DDT is predefined DDT that describes the I/O language elements of the I/O module. This data type is presented in a structure which provides bits and register view.
This topic describes the structure of the implicit and explicit structures for the BMXERT1604T/H module.
Implicit Device DDTs
The following table shows the structure of the T_M_DIS_ERT implicit device DDT:
Standard Symbol
Type
Access
Meaning
MOD_HEALTH
BOOL
R
Function type
  • 0: the module has a detected error
  • 1: the module is operating correctly
MOD_FLT
BYTE
R
ERT_SYNC
T_M_TIME_SYNC_ERT
See detailed structure in the table below.
ERT_CH
ARRAY [0...15] of T_M_DIS_ERT_CH
See detailed structure in the table below
The following table shows the structure of T_M_TIME_SYNC_ERT:
Standard Symbol
Type
Access
Meaning
TS_TIME_STAMP_RECORDS
UINT
R
Current events number in buffer
TS_DIAGNOSTIC_FLAGS
WORD
R
Event buffer flags
TIME_VALID
BOOL
R
Time OK and synchronized
CLOCK_FAILURE
BOOL
R
Same as ClockFailure indication in the TimeQuality
CLOCK_NOT_SYNC
BOOL
R
Same as ClockNotSynchronized in the TimeQuality
BUFF_FULL
BOOL
R
Buffer full
UMAS_COM_ERR
BOOL
R
UMAS communicator
DECHATTER_ACT_0
BOOL
R
Dechatter active on channels 0...3
DECHATTER_ACT_1
BOOL
R
Dechatter active on channels 4...7
DECHATTER_ACT_2
BOOL
R
Dechatter active on channels 8...11
DECHATTER_ACT_3
BOOL
R
Dechatter active on channels 12...15
TS_BUF_FILLED_PCTAGE
BYTE
R
Percentage of the buffer filled (0...100)
TS_EVENTS_STATE
BYTE
R
Main state of the TS events service (debug purpose)
SOE_UNCERTAIN
BOOL
R
SOE uncertain variable
CLR_EVT_BUF
EBOOL
R/W
Clear event buffer
NOTE: Only available for applicative time stamping mode.
The following table shows the structure of T_M_DIS_ERT_CH:
Standard Symbol
Type
Access
Meaning
FCT_TYPE
WORD
R
Function type
  • 0: Discrete Input
  • 1: Counter
  • 2: Time Stamping
CH_HEALTH
BOOL
R
Channel health
DIS_VALUE
EBOOL
R
Discrete value
CNT_VALUE
UDINT
R
Counting value for channel [4..15] (Not usable for channel [0..3])
CLR_CNT
EBOOL
R/W
Clear counter value for channel [4..15] (Not usable for channel [0..3])
DDT for Explicit Exchanges
Optional explicit DDT types are proposed in the data editor to support Status or Command data used by explicit exchanges on a channel of an IO module in device DDT data model. Explicit DDT instances are created manually by the user in the data editor and used as Output parameter with the function block managing the explicit exchange (READ_STS_QX).
The following table shows the meaning of T_M_DIS_ERT_CH_STS explicit DDT:
Explicit DDT type
Standard Symbol
Type
Access
Meaning
T_M_DIS_ERT_CH_STS
CH_FLT
INT
R
Standard channel errors
EXT_PWS_FLT
BOOL
R
External power supply error
INTERNAL_FLT
BOOL
R
Inoperable channel or module missing
CONF_FLT
BOOL
R
Hardware or software configuration detected error
COM_FLT
BOOL
R
Communication error with PLC