Skip to main content

Device Diagnosis

CODESYS provides general and fieldbus-specific function blocks for performing a diagnosis on the connected devices.

General diagnosis

You can perform a diagnosis on devices regardless of the fieldbus. The function blocks from the CAA Device Diagnosis library are provided for this purpose.

Before you can work with these function blocks, you have to select the Enable diagnosis for devices option in the PLC settings. This causes CODESYS to automatically create instances of the diagnosis functions blocks. These function blocks can be used for your diagnosis.

Tip

Work exclusively with the automatically generated instances of the diagnosis function blocks. Do not create your own instances.

Bus-specific diagnosis

For bus-specific diagnosis options, see the diagnosis chapters of the individual fieldbuses.