This functionality is only available for certain module packages.

You are here: Tutorial > EPLAN Pro Panel > Expanding the mechatronic model with EPLAN Pro Panel components > Setting a disabler for digital input cards

Setting a disabler for digital input cards

The modular system for the tutorial has been built following the maximum principle. This means that it contains all of the components that might occur in the Feeder station. In this tutorial, the Inspect function group is an option that can be selected or deselected in the configuration. This is accomplished using the Option_Inspect_available parameter in the Feeder station. If the value of the parameter is true, then the function group is a part of the station (previous version used during the tutorial) and there are ten sensors, for which five input cards are required If the value of the parameter is set to false, then the function group is hidden in the configuration, and eight sensors still remain, for which only four input cards are required. Consequently, an input card must be equipped with a disabler that reflects this option exactly.

  1. Open the Engineering perspective.
  2. Open the Feeder station.

  1. Select the installed PxC_IL_24_DI5 component.
  2. Enter the following formula in the Disabler field:
=not(mc.$Option_Inspect_available)

Use not to negate the return value of the following method: mc.$Option_Inspect_available. This trick allows you to use positive logic with the Option_Inspect_available parameter (Option_Inspect_available = true: Inspect is enabled; Option_Inspect_available = false: Inspect is disabled).

In the formula, mc (mechatronic component) refers to the (superordinate) mechatronic component – in this case, Feeder. From this, $Option_Inspect_available takes the value of the parameter of the same name. The point is used as the path separator, similar to the file path whose folders and subfolders are separated by slashes.