This article describes, how the ToolScope can mathematically process recorded sensor signals and import the calculation result into the monitoring as a virtual signal.
This function is only intended for one-time configuration, at the time of commissioning the machine. It can perform signal processing, which, on monitoring systems from some other manufacturers, has to be resolved using external switching cabinet electronics (measuring transducers, signal filters).
This feature requires intervention in the internal settings on the "Service" tab page. If incorrect entries are made, it may be necessary to restore the factory defaults via the service console, in individual cases.
There are various software modules that can be connected in a modular fashion. These include, for example, modules for:
- RMS calculation
- Offset correction and signal amplification
- Embedding manually written scripted logics in the signal flow
- High-pass filtering
- Addition of two signals
Each of these modules is hereinafter referred to as a filter. For each filter, you must define which are the input signals and how it should name its output signals in the user interface of the device.
The output signal of one filter can be used as the input signal of another filter. In this way, filters can be linked together in a chain.
The filters have been implemented in the ToolScope as hardware drivers. They must be planned in the hardware configuration of the device under "Service" / "Hardware". Functionally, they only differ very slightly from other hardware drivers in the ToolScope. The most important difference between a signal filter and classical "drivers" is that signal filters do not read their data from external hardware but from the data of other drivers.
Each filter must:
- Be configured so that it is displayed in the hardware configuration.
- Be added to the hardware configuration.
- Have the input signals to be read by it defined.
- Have the name under which it should deliver its output signal defined.
Each filter also has settings that are specific to that filter. So, for example, the 3 dB limit frequency must be set for a low-pass.
The following image shows an example based on the configuration of a low-pass.
Provisioning filters as data source
The ToolScope offers a significantly larger number of filters than can be displayed in the hardware configuration.
The internal setting "ShowDriverFILTERNAME" determines whether or not a filter is displayed, with "FILTERNAME" being replaced with the name of the filter.
For many filter types, (such as "low-pass"), several filters of the same type can be active in parallel. Filters for which this is not possible have a number after the specification of the filter type. This results in filter names such as "Low-pass0", for example. The number of filters that can be activated in parallel is determined in this case by the internal setting "CountOfFILTERNAME".
The following image illustrates possible settings for the above-mentioned configurations based on low-passes. The settings below result in:
- A total of four settings ("ShowDriverLow-pass0", "…Low-pass1", "…Low-pass2", "…Lowpass3") being provided, which can be set to "true" by the user.
Exactly one low-pass ("Low-pass0") being available for selection in the hardware configuration.
After changing the "CountOf…" or "ShowDriver…" settings, a partial restart of the ToolScope must be performed in order for the setting to be applied.
Adding signal filters in the hardware configuration
For every filter, a hardware driver must be installed. As shown the following figure, the drivers are added on the hardware configuration tab page under "Service" / "Hardware".
Drivers are started and called up in exactly the order in which they were set up in the user interface. Each driver can only access the data that a driver to the "left" of it has read out. If, for example, an "Addition" driver is intended to set up a virtual signal that adds two position target values from the machine control, then the "Addition" driver must be set up to the "right" of the "Machine control" driver.
Definition of input data of filters
The input signals of a filter are defined by a character string in each case, on the basis of which the filter recognizes the corresponding data channel. In this character string, the contents of the internal "Signal", "Axis", "Machine" fields are written one after the other. For example, the torque of a spindle would be described by the character string "Torque / C1 / Machine control".
The corresponding channels must be selected from the drop-down menu in the settings for "Input: Full signal designation". All signals known to the ToolScope are contained here. This prevents the input of unknown signals or typing mistakes.
Definition of output data
Each filter has four internal settings, which define the designations of its output signals in the user interface. These designations are:
- The machine designation
- The axis designation
- The signal designation
- The unit of the resulting signal.
This data must be entered in the "Output: Machine", "Output: Axis", "Output: Signal", "Output: Unit" fields and can be freely selected.