# LGF_typeDiagnostics (UDT / V1.0.1)

Overview

## Description

Diagnostic structure to store and transfer diagnostic information from blocks through the interface.

## Parameter description

Identifier | Data type | Default value | Description
--- | --- | --- | ---
status | Word | 16#0000 | Status of the Block or error identification when error occurred
subfunctionStatus | Word | 16#0000 | Status or return value of called FB's, FC's and system blocks
stateNumber | DInt | 0 | State in the state machine of the block where the error occurred