Home

mlamp

Download project

CAA Device Diagnosis Example

This sample project demonstrates how to use the ‘CAA Device Diagnosis’ library for
generic diagnostics for devices available in the project.

Product description

The example use cases demonstrate how to use the ‘CAA Device Diagnosis’ library for the following:

  • Starting, stopping, and resetting devices
  • Activating and deactivating devices
  • Traversing the device tree
  • Collecting device and bus information

Range of functions

Two controllers are configured in the sample project. In the first one, the Device Diagnose functions are displayed,
while the second one can be downloaded to another controller as a remote partner to the EtherNet/IP scanner so that
at least on device can be commissioned.

The first controller contains two function blocks:

  • DeviceChecker: Traverses the device tree and counts the number of devices and their states (DED.Device_State).
  • DeviceController: Provides methods for starting, stopping, and resetting a device, as well as for activating and deactivating individual devices or entire subtrees.

System requirements and restrictions

System requirements and restrictions Info
Programming System CODESYS Development System Version 3.5.14.0 or higher
Runtime System CODESYS Control Version 3.5.14.0
Required Accessories -