Introduction
The T_U_ANA_SIS_IN_4
device derived data type (DDDT) is the interface between the BMXSAI0410 analog input module and the application running in the CPU.
The T_U_ANA_SIS_IN_4
DDDT incorporates
the data types T_SAFE_COM_DBG_IN
and T_U_ANA_SIS_CH_IN
.
All of these structures are described, below.
T_U_ANA_SIS_IN_4
DDDT Structure
The T_U_ANA_SIS_IN_4
DDDT structure includes the following elements:
Element |
Data Type |
Description |
Access |
---|---|---|---|
MOD_HEALTH1 |
BOOL |
|
RO |
SAFE_COM_STS1 |
BOOL |
|
RO |
S_COM_DBG |
T_SAFE_COM_DBG_IN |
Safe communication debug structure. |
RO |
CONF_LOCKED |
BOOL |
|
RO |
CH_IN |
ARRAY[0...3] of T_U_ANA_SIS_CH_IN |
Array of structure of channel. |
– |
MUID2 |
ARRAY[0...3] of DWORD |
Module unique ID (auto-assigned by Control Expert) |
RO |
RESERVED |
ARRAY[0...9] 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 Control Expert main menu. command in the |
T_SAFE_COM_DBG_IN
Structure
The T_SAFE_COM_DBG_IN
structure includes the following elements:
Element |
Data Type |
Description |
Access1 |
---|---|---|---|
S_COM_EST |
BOOL |
|
RO |
M_NTP_SYNC |
BOOL |
With CPU firmware 3.10 or earlier:
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:
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:
|
RO |
COM_TO |
UINT |
Communication time-out value for communications coming from the module. NOTE: You may
want to edit this read/write value to equal or exceed the actual communication
time for the module (for example, in a remote RIO drop).
|
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 |
T_U_ANA_SIS_CH_IN
Structure
The T_U_ANA_SIS_CH_IN
structure includes the following elements:
Element |
Data Type |
Description |
Access |
---|---|---|---|
FCT_TYPE |
WORD |
|
RO |
CH_HEALTH1 |
BOOL |
Formula: CH_HEALTH = not (OOR or IC) and SAFE_COM_STS |
RO |
VALUE |
INT |
Analog input value. Formula: VALUE = if (SAFE_COM_STS and not (IC)) then READ_VALUE else 0 |
RO |
OOR |
BOOL |
|
RO |
IC |
BOOL |
|
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. |