Access to the diagnostic history

You can directly access the diagnostic history from the I/O module as well as other CoE data. The following call is required for this:


  IF fbXtsEnvironment.XpuTcIo(1)PartTcIo(1).ModuleTcIo(1).CoE.DiagHistoryData.UpdateDiagHistory() THEN
     stAT2xxxI2TDiagHistory:= fbXtsEnvironment.XpuTcIo(1).PartTcIo(1).ModuleTcIo(1).CoE.DiagHistory-
     Data.DiagHistory;
  END_IF