ST_LON_SNVT_log_status

Used by: SNVT_log_status

TYPE ST_LON_SNVT_log_status :
STRUCT
  eStatus                      : E_LON_log_status_t;
  uiLog_number                 : UINT;
  rLevel                       : REAL;
  diRecord_count               : DINT;
  diByte_count                 : DINT;
  diTotal_record_count         : DINT;
  diRecords_since_notification : DINT;
  stCurrent_notify_time        : TIMESTRUCT;
  stPrevious_notify_time       : TIMESTRUCT;
END_STRUCT
END_TYPE

eStatus: Log state. State of the selected data log (see E_LON_log_status_t).

uiLog_number: Min: 1 / Max: 65535 / Selected log number. The log number of the reported data log. Logs are numbered from 1 to number_of_logs.

rLevel: Min: 0 / Max: 100 / Log level (Percent). The percent of maximum records in the selected data log.

diRecord_count: Min: -2147483648 / Max: 2147483647 / Record count.(records). Number of records in the selected data log. A record is a logged value and any associated data such as a timestamp.

diByte_count: Min: -2147483648 / Max: 2147483647 / Byte count. (bytes). Number of bytes in the selected data log.

diTotal_record_count: Min: -2147483648 / Max: 2147483647 / Total record count. (records). Total records collected in the selected data log since the data log was created. Wraps to 0 on overflow.

diRecords_since_notification: Min: -2147483648 / Max: 2147483647 / Records since notification. (records). The number of log records collected since the last notification.

stCurrent_notify_time: Current notify time (see TIMESTRUCT). Timestamp of the most recently collected data point.

stPrevious_notify_time: Previous notify time (seconds) (see TIMESTRUCT). Timestamp of the most recently collected data point in the previous update to the log status.

Requirements

Development Environment

TwinCAT 3 PLC library to be integrated

TwinCAT from v3.1.4020.14

Tc2_LON from 3.3.4.0