Mikhail

Forum Replies Created

Viewing 15 posts - 1,276 through 1,290 (of 6,323 total)
  • Author
    Posts
  • in reply to: Add calculated channels to OPC UA Server #14135
    Mikhail
    Moderator

    Hello,

    OPC UA server works on the Communicator level, so it has no access to values of calculated channels. Do solve the task as you described, there should be an OPC UA module working on the Server level.

    Consider alternative solutions:
    1. MQTT Publisher driver (DrvMqttPublisher.dll) can publish channel values.
    2. Send Telegram/email/SMS notifications using Rapid SCADA.

    in reply to: Internal Server Error with Map Plugin #14129
    Mikhail
    Moderator

    You downloaded the latest version, and helped to find a bug. Thank you.
    The bug is related to our recent upgrade from .NET 6 to .NET 8.

    in reply to: Internal Server Error with Map Plugin #14127
    Mikhail
    Moderator

    To fix the issue, upgrade PlgMap to the latest version 6.1.0.0.

    in reply to: Internal Server Error with Map Plugin #14126
    Mikhail
    Moderator

    Thank you for the report.
    We will check and let you know.

    in reply to: Formula lowestValue #14125
    Mikhail
    Moderator

    When Server starts, it loads channel values that saved before it Server stop. Value is reset because of your function. Using DayStarted() may help not to reset lowest value on start.

    in reply to: How to use EveryPeriod Function? #14124
    Mikhail
    Moderator

    Hi,
    Add a function like that:

    public CnlData Every5Sec(Func getDataFunc)
    {
        return EveryPeriod(getDataFunc, TimeSpan.TicksPerSecond * 5, TimeSpan.TicksPerMillisecond * 500 * 5);
    }
    

    > I’m still confusing why we still need execSpan argument?
    It is needed to avoid unnecessary calls of getDataFunc.

    in reply to: Mail settings #14123
    Mikhail
    Moderator

    Hello,
    Check the videos: link 1, link 2
    Note that currently Gmail does not support sending emails from 3rd party apps. You need another mail server to do that.

    in reply to: Where is the Computer Code? #14122
    Mikhail
    Moderator

    Hello,
    OK

    in reply to: How to config “Event”? #14121
    Mikhail
    Moderator

    Hello,
    Specify the channel limits, and configure event mask of the channel.

    in reply to: How to use PlgSchExtraComp plugin #14118
    Mikhail
    Moderator

    Hi,
    This video can help.

    in reply to: Scheme Editor cannot load from Administrator app V6.0.2 #14117
    Mikhail
    Moderator

    Hi,
    Open Administrator – Options – File Associations and make sure that ScadaSchemeEditor.exe exists there. It should be by default.

    in reply to: Formula lowestValue #14107
    Mikhail
    Moderator

    Hi,
    There is a ready to use DayStarted() function. It equals to true in the beginning of the day. Probably, using this function inside your formulas can fix the issue.
    If you provide screenshots of your channels, I can check them.

    in reply to: Uploading Product Recipe files #14106
    Mikhail
    Moderator

    Thank you for the description.
    It is possible to develop a plugin that provides a web page that uploads a file and save it somewhere on the server side if it solves your task. It can be done by a .NET developer. Be careful, because uploaded files may harm the system if it is available from the global internet.

    in reply to: How to use EveryPeriod Function? #14105
    Mikhail
    Moderator

    Probably, it’s better to create your own function that uses the EveryPeriod method.
    execSpan can be equal to period / 10

    in reply to: How to use EveryPeriod Function? #14104
    Mikhail
    Moderator

    Hi,
    EveryPeriod is defined as protected. You can change it to public and try using it directly. The period argument would be taken from a channel value, for example.
    The execSpan parameter provides a flexible period when getDataFunc can be executed. Note that EveryPeriod is called many times a second by the Server engine, and you don’t know the particular moment when it is called.

Viewing 15 posts - 1,276 through 1,290 (of 6,323 total)