Introduction

The T_U_DIS_SIS_OUT_4 device derived data type (DDDT) is the interface between the BMXSRA0405 relay output module and the application running in the CPU. The T_U_DIS_SIS_OUT_4 DDDT incorporates the data types T_SAFE_COM_DBG_OUT and T_U_DIS_SIS_CH_ROUT.

All of these structures are described, below.

T_U_DIS_SIS_OUT_4 DDDT Structure

The T_U_DIS_SIS_OUT_4 DDDT structure includes the following elements:

Element

Data Type

Description

Access

MOD_HEALTH1

BOOL

  • 1: The module is operating correctly.

  • 0: The module is not operating correctly.

RO

SAFE_COM_STS1

BOOL

  • 1: Module communication is valid.

  • 0: Module communication is not valid.

RO

CONF_LOCKED

BOOL

  • 1: Module configuration is locked.

  • 0: Module configuration is not locked.

RO

APPLI

UINT

Relay application configuration: 1, 2, 3, 4, 5, 6, 7 or.

RO

TIME_PERIOD

UINT

Timer period for relay automatic monitoring (in minutes).

RO

S_COM_DBG

T_SAFE_COM_DBG_OUT

Safe communication debug structure.

RO

CH_OUT

ARRAY[0...3] of T_U_DIS_SIS_CH_ROUT

Array of structure of channel.

S_TO

UINT

Safety timeout before module enters fallback state.

RO

MUID2

ARRAY[0...3] of DWORD

Module unique ID (auto-assigned by Control Expert)

RO

RESERVED_1

ARRAY[0...7] of INT

RESERVED_2

ARRAY[0...6] of INT

1. When the SAFE task on CPU is not in running mode, the data exchanged between the CPU and the module are not updated and MOD_HEALTH and SAFE_COM_STS are set to 0.

2. This auto-generated value can be changed by executing the Build > Renew Ids & Rebuild All command in the Control Expert main menu.

T_SAFE_COM_DBG_OUT Structure

The T_SAFE_COM_DBG_OUT structure includes the following elements:

Element

Data Type

Description

Access

S_COM_EST

BOOL

  • 1: Communication with the module is established.

  • 0: Communication with the module is not established or corrupted.

RO

M_NTP_SYNC

BOOL

With CPU firmware 3.10 or earlier:

  • 1: The module is synchronized with the NTP server.

  • 0: The module is not synchronized with the NTP server.

NOTE: With CPU firmware 3.20 or later, the value is always 1.

RO

CPU_NTP_SYNC

BOOL

With CPU firmware 3.10 or earlier:

  • 1: The CPU is synchronized with the NTP server.

  • 0: The CPU is not synchronized with the NTP server.

NOTE: With CPU firmware 3.20 or later, the value is always 1.

RO

CHECKSUM

BYTE

Communication frame checksum.

RO

COM_DELAY

UINT

Communication delay between two values received by the module:

  • 1...65534: The time, in ms, since the last communication was received by the CPU from the module.

  • 65535: The CPU did not receive a communication from the module.

RO

COM_TO

UINT

Communication time-out value for communications coming from the module.

R/W

STS_MS_IN

UINT

Safe timestamp value for the fraction of a second, to the nearest ms, of the data received from the module.

RO

S_NTP_MS

UINT

Safe time value for the fraction of a second, to the nearest ms, for the current cycle.

RO

STS_S_IN

UDINT

Safe timestamp value in seconds of the data received from the module.

RO

S_NTP_S

UDINT

Safe time value in seconds for the current cycle.

RO

CRC_IN

UDINT

CRC value for data received from the module.

RO

STS_MS_OUT

UINT

Safe timestamp value for the fraction of a second, to the nearest ms, of the data to be sent to the module.

RO

STS_S_OUT

UDINT

Safe timestamp value in seconds of the data to be sent to the module.

RO

CRC_OUT

UDINT

CRC value for data to be sent to the module.

RO

T_U_DIS_SIS_CH_ROUT Structure

The T_U_DIS_SIS_CH_ROUT structure includes the following elements:

Element

Data Type

Description

Access

CH_HEALTH1

BOOL

  • 1: The channel is operational.

  • 0: An error has been detected on the channel, which is not operational.

Formula:

CH_HEALTH = not (IC) and SAFE_COM_STS and not (module in Fallback state)

RO

VALUE

EBOOL

Safe command of output channel:

  • 1: Command the output closed (energized).

  • 0: Command the output open (de-energized).

R/W

TRUE_VALUE2

BOOL

Read back value of the relay output channel:

  • 1: The output is closed (energized).

  • 0: The output is open (de-energized).

RO

IC

BOOL

  • 1: Invalid channel detected by the module.

  • 0: The channel is declared internally operational by the module.

RO

CH_FBC

BOOL

Configuration of the Channel fallback setting:

  • 1: User defined value.

  • 0: Hold last value.

RO

CH_FBST

BOOL

Configuration of the channel fallback state when user defined is selected:

  • 1: Energized.

  • 0: De-energized.

RO

1. When the SAFE task on CPU is not in running mode, the data exchanged between the CPU and the module are not updated and CH_HEALTH is set to 0.

2. The TRUE_VALUE element can be time-stamped by the BMX CRA or the BME CRA.