Default tab

Figure 1. "Default" tab

When creating a PowerConfig for the master data point, this tab can be used to pre-configure the attributes (i.e. to preset values). The set values correspond to the defined default values for the variables used (see Variables tab). The script can be edited using the lower button on the right or by double-clicking in the script field.

If everything is written into a single line in the dpSet() function of the types (meaning without line break between the invocation arguments) problems can occur when adding PowerConfigs. Therefore it is necessary to add line breaks at several type information when defining scripts using this tab. The following example should clarify this:

dpSet(Datenpunkt+Leaf_TestDPE1+":_default.._type",DPCONFIG_DEFAULTVALUE,

Datenpunkt+Leaf_TestDPE2+":_smooth.._type",DPCONFIG_SMOOTH_SIMPLE_MAIN,

Datenpunkt+Leaf_TestDPE3+":_pv_range.._type",DPCONFIG_MINMAX_PVSS_RANGECHECK,

Datenpunkt+Leaf_TestDPE4+":_pv_range.._type",DPCONFIG_MINMAX_PVSS_RANGECHECK);

If all arguments would stand in one line, like in the example above (what is syntactically right), only one type information would be found. The other three are ignored. This behavior occurs only when creating DPT-PCs.

When a PowerConfig is created, the first step performed is always to execute the script defined on this tab (you can also see this in the Configuration screen for the PowerConfig, which already contains values for the attributes).