SMGM-SC: EQUIPMENT CONFIGURATION IN THE TIA PORTAL
128
12.2.5.3 DB DB_VAHLE_SMGM_SC_DEV_STAT
This database includes information on over 256 SMGM devices.
[x] represents the data of the possible devices (up to 256). All data [x] exist for each of the possible devices
(256).
Parameter
Data type
Description
f_dev_stat_updating
BOOL
TRUE = Device status update is per-
formed
ui_dev_stat_entries
UInt
Number of entries
ast_dev_stat[x].w_index
WORD
Index of entries
ast_dev_stat[x]_st_timestamp.ui_year
UInt
Year time stamp
ast_dev_stat[x]_st_timestamp.usi_month
USint
Month time stamp
ast_dev_stat[x]_st_timestamp.usi_day
USint
Day time stamp
ast_dev_stat[x]_st_timestamp.usi_hour
USint
Hour time stamp
ast_dev_stat[x]_st_timestamp.usi_minute
USint
Minute time stamp
ast_dev_stat[x]_st_timestamp.usi_second
USint
Second time stamp
ast_dev_stat[x].ac_dev_name
Array of char.
Device name as array of char.
ast_dev_stat[x].s_dev_name
string
Device name as string
ast_dev_stat[x].st_dev_sat_flags.f_valid
BOOL
Status flags are valid
ast_dev_stat[x].st_dev_sat_flags.f_online
BOOL
Device online
ast_dev_stat[x].st_dev_sat_flags.f_time_syn-
c_err
BOOL
Time synchronization error
ast_dev_stat[x].st_dev_sat_flags.f_diag_segm_-
SI-warn
BOOL
Segment diagnosis: SI warning
ast_dev_stat[x].st_dev_sat_flags.f_diag_segm_-
SI-err
BOOL
Segment diagnosis: SI error
ast_dev_stat[x].st_dev_sat_flags.f_diag_seg-
m_DI_ANT1_warn
BOOL
Segment diagnosis: DI Antenna 1 Warn-
ing
ast_dev_stat[x].st_dev_sat_flags.f_diag_seg-
m_DI_ANT1_err
BOOL
Segment diagnosis: DI Antenna 1 Defect
ast_dev_stat[x].st_dev_sat_flags.f_diag_seg-
m_DI_ANT2_warn
BOOL
Segment diagnosis: DI Antenna 2 Warn-
ing
ast_dev_stat[x].st_dev_sat_flags.f_diag_seg-
m_DI_ANT2_err
BOOL
Segment diagnosis: DI Antenna 2 fault
ast_dev_stat[x].st_dev_sat_flags.f_SD_card_err
BOOL
SD card faulty
ast_dev_stat[x].st_dev_sat_flags.f_CPU_-
temp_low
BOOL
CPU temperature too low
ast_dev_stat[x].st_dev_sat_flags.f_CPU_-
temp_high
BOOL
CPU temperature too high
ast_dev_stat[x].st_dev_sat_flags.f__dev_-
temp_low
BOOL
Device temperature too low
ast_dev_stat[x].st_dev_sat_flags.f_dev_-
temp_high
BOOL
Device temperature too high
st_dev_stat[x].st_dev_sat_flags.f_software_up-
date_required
BOOL
Software update is required