Mikhail

Forum Replies Created

Viewing 15 posts - 2,791 through 2,805 (of 6,146 total)
  • Author
    Posts
  • in reply to: IEC61107 Protocol driver #9180
    Mikhail
    Moderator

    It’s an English language forum. Messages on all other languages will be deleted. Use forum.rapidscada.ru

    in reply to: Administrator Channel pane on LInux #9179
    Mikhail
    Moderator

    Using Administrator on Linux is deprecated and should be avoided. Microsoft killed this path.

    in reply to: 2 or more instances of Rapid SCADA on the same server #9162
    Mikhail
    Moderator

    Hi,

    So you successfully installed the services different than the default?

    Important note:
    You need only one ScadaAgentService on the server. I suggest to install it in C:\SCADA\ScadaAgent as usual.

    “Unable to login – Error validating user” and “Unable to create session” for both

    Check that the name of the instances are the same in the agent settings and in the deployment profiles. Also check ScadaAgent.log for error details.

    in reply to: Shared variables #9159
    Mikhail
    Moderator

    SetVal(5050, Cmd) should work.

    in reply to: 2 or more instances of Rapid SCADA on the same server #9153
    Mikhail
    Moderator

    Hi Matt,

    To be honest, you are the 1st who asked about that non-official feature.
    I can try to fix it via remote connection. But this is a paid service.

    in reply to: Database SQL usage #9150
    Mikhail
    Moderator

    Hi,

    May be the new DB export module can help you. But I’m not sure that it’s compatible with your version of Rapid SCADA. And there is no manual for the module. Anyway, let’s try.

    in reply to: Shared variables #9149
    Mikhail
    Moderator

    The output channel 5051 neither has “Command number” nor “Formula”. That’s why it does nothing.

    If you want the output channel 5051 to change input channel 5050, you have to use a formula SetVal(5050). And don’t forget to channel input channel type to Calculated discrete/real.

    Mikhail
    Moderator

    I don’t remember the details of the source code of the KpModbus driver.
    If you can provide an example of Rapid SCADA configuration that causes wrong Modbus data packets, we could consider them here.

    in reply to: Event on change while using formula of stat #9147
    Mikhail
    Moderator

    what’s the proper way to pass an array to a formula as input, while the size of array is not constant

    In addition to the good approach that @Romiros provided, you can create similar formulas with different number of parameters. Sometimes Microsoft does like that.

    in reply to: 2 or more instances of Rapid SCADA on the same server #9146
    Mikhail
    Moderator

    Hi,
    Is there ScadaServerService-Cus1 if you run services.msc ?

    in reply to: Shared variables #9134
    Mikhail
    Moderator

    Could you provide screenshots of the channel properties for the case #2?

    in reply to: Database SQL usage #9133
    Mikhail
    Moderator

    Variable names are case sensitive. Just copy them from the manual.

    Mikhail
    Moderator

    Device error: [03] ILLEGAL DATA VALUE!

    It’s a valid answer returned by the controller. You can check it by this parser or other parsers.

    Did you write that requests are broken in case of using Linux?

    in reply to: Event on change while using formula of stat #9131
    Mikhail
    Moderator

    Q1:
    Cnl is come from the PLC.
    Val() is stored in the channel.
    For calculated channels Cnl is meaningless.

    Q2:
    It will be included in v6.

    in reply to: Event on change while using formula of stat #9130
    Mikhail
    Moderator

    I suppose, events created twice, because LeakStat returns different statuses.
    The idea is the formulas like that:

    int LeakStat(int leak)
    {
    // your calculations
    }

    In the channel: LeakValList(210, 220); LeakStat(LeakValList(210, 220))
    Note: now you create a new array (formula argument) on every loop. It’s not efficient, because memory is allocated and cleaned too active.

Viewing 15 posts - 2,791 through 2,805 (of 6,146 total)