Skip to main content

Diagnosis

Each persistence channel has a submodule which allows data access (interface IDataStorage). The following outputs provide diagnostic information:

Output

Data Type

Description

xActionOngoing

BOOL

TRUE if the Persistence Manager reads or writes data

udiDataMemSize

UDINT

Data size of the persistent data in bytes

xReadingDone

BOOL

Reading of persistent data finished

dtLastReading

DT

Date and time of the last reading

uiNumberVarsNotOk

UINT

Number of variables which have not been read correctly

uiNumberVarsOk

UINT

Number of variables which have been read correctly

tTimeForReading

TIME

Time duration for reading

dtLastSaving

DT

Date and time of the last reading

tTimeForWriting

TIME

Time duration for writing

uiWritingCycles

UINT

Number of storages till start of application

The information about the number of variables read and about the success of the storage are also displayed in the PLC logger.

Figure 31. PLC logging¶
PLC logging¶