DeviceDiagnosis (FB)¶
FUNCTION_BLOCK DeviceDiagnosis EXTENDS AC.Module
The function block corresponding to the device diagnosis module. An instance of this function block is created by the application composer when generating a device diagnosis for an application as a result of a module instance of the device diagnosis module in the module tree.
The Device-Diagnosis-Generator fills the pointer of this function block with an array of readily initialized DeviceDiagnosisInfo s equalling the existing corresponding to the module’s target applications parent PLC’s devices during generation.
- InOut:
Scope
Name
Type
Initial
Comment
Input
pDDIs
POINTER TO DeviceDiagnosisInfo
The pointer getting filled by the application composer during generation
uiNumDDIs
UINT
0
The number of DeviceDiagnosisInfo s filled into the pointer pDDIs in form of an array.
Methods:
Structure: