Out of Range Channel Data Mask

Forum Home Forums Communicating with Devices Modbus Out of Range Channel Data Mask

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #16121
    cooldjmc
    Participant

    Hi,

    Is it possible for Rapid SCADA to handle out-of-range channel data read from a device? For example, if a channel reads 0xFFFFFFFF (4294967295), could it display “–” or another designated character instead of the numerical value?

    The desired behavior is to display a mask, such as “++++” or “—-“, whenever a received value falls outside the expected range for that channel.

    Thank you

    #16122
    manjey73
    Participant

    Send a channel to the double.NaN and you will see ---

    #16123
    cooldjmc
    Participant

    Hi, please can you be more specific, where I must set the double.NaN in comunicator or a channel formula?

    Thank you.

    #16124
    manjey73
    Participant

    In the input formula of the channel, you can check for an input value greater than 100 example
    Cnl > 100 ? double.NaN : Cnl

    Or write a more complex formula and add it to the Script tables and call it in the input formula.

    Scripts & Formulas Documentation

    #16125
    Mikhail
    Moderator

    Hi,
    Conversion should be made using channel formulas as written above.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.