Software "Aus der Praxis, für die Praxis"
TOUR32 für Reiseveranstalter, MSR32 für die Messtechnik

Startseite
» Wir über uns
» Touristik
» Messtechnik
» Fernwartung
» Tobit Reseller
» Impressum

» MSR32 (deutsch)
» MSR32 (english)
    » Overview
    » History
    » Form. Interpreter
        » TSC (time step control)
        » BIT (bit operation)
        » If Then Else
        » Integrator
        » Wet bulb temperature
        » Gruop
    » Download
    » First Steps
    » Reference
    » Pricelist
    » Picturelist
    » Contact

TOUR32
Suchen:
nur in » Form. Interpreter - » Gruop


Startseite | » MSR32 (english) | » Form. Interpreter | » Gruop
» Gruop


Function Gruppe

With this formula you can examine a list of channels and the result is a number which depends on the type of the first parameter. The formula is

    GRUPPE( Typ , Override , Selection , [Difference] )

e.g.: GRUPPE(P,J,1..15,17,23..510,512,[50

The possible types of T are:

H The result is the mean value of all selected channels calculated by the value from the hardware Hxxx
K
The result is the mean value of all selected channels calculated by the actual value Kxxx
M
The result is the mean value of all selected channels calculated by the floating mean value Mxxx
I
The result is the minimum value of all selected channels calculated by the floating min value Ixxx
J
The result is the channel number of the minimum value from all selected channels
P The result is the maximum value of all selected channels calculated by the floating max value Pxxx
Q
The result is the channel number of the maximum value from all selected channel
R The result is the maximum value of all selected channels calculated by the actual value Kxxx
S
The result is the maximum value of all selected channels calculated by the actual value Kxxx, the channel number used with the override flag is calculated by the floating maximum value Pxxx

Override:

J If the override flag is set to "J", the title, comment and unit of this channel is set to the title, unit and comment of the channel with the minimum or maximum value. All other override flags will do nothing.This option is only available when using type "I" ,"P", "R" or "S".

Selection:

Enter a selection of channels as a simple list of integers ( without K,P etc). All channelnumbers from K00 to K512 are allowed. Even the following examples can be used:

    1..1,..  10..1,..   1,512,323,6

The calculation only takes place with defined channels

    [Difference]

If you use the optional maximum difference [100] you can prevent the group-function from using a channel value as a result of e.g. a broken thermocouple. If a new calculated result of a group function is smaller or greater than the amount of maximum difference and the last value, the new value will be ignored and the result will be set to the last value. If you add this option to a defined group function, make sure that the last value is not set to a maximum value greater/smaller than the maximum difference allready. In this case you have to reset the "wrong" maximum channel value to set the group function to a correct value.

Error codes:

9000 Wrong channel number(s) (only 0..512 )
9001 no defined channel in selection

Use for:

Getting the maximum temperature of a huge number of temperature inputs


 
© 2010 Kohlenberg Software GmbH