詹森

Forum Replies Created

Viewing 10 posts - 46 through 55 (of 55 total)
  • Author
    Posts
  • in reply to: InitScripts() use #15911
    詹森
    Participant

    public override void InitScripts()
    {
    // Put your initialization code here
    // Поместите сюда код инициализации

    SetData(1153, 0, 1);
    SetData(1154, 0, 1);
    SetData(1155, 0, 1);
    SetVal(1031, 0);
    SetVal(1032, 1);
    }

    hello, I now call SetVal(), but it doesn’t have any effect.

    GetDefaultData(Val)

    Judging that the state is 1, I will not initialize it again, and I need the channel to default to 0 every time I turn on, what else can I do? Thank you for your help.

    in reply to: InitScripts() use #15903
    詹森
    Participant

    How to achieve that the initial value of the channel is 0 every time the program service restarts (even if the value of the last run is not 0, it is reset to 0), and why does the default initial value of channel 11 not write?

    public override void InitScripts()
    {
    SetData(11, 0, 1);
    }

    in reply to: InitScripts() use #15896
    詹森
    Participant

    Okay, thank you. That solved my problem, and I want to know more

    public override void InitScripts ()
    {

    }

    How to use this method? Thank you!

    in reply to: InitScripts() use #15893
    詹森
    Participant

    As if there is no call, or how to use it

    in reply to: After using Rapid Scada, individual ideas make suggestions #15891
    詹森
    Participant

    OKay,Thank you.

    in reply to: Script use #15890
    詹森
    Participant

    Okay, thank you.

    in reply to: Script use #15869
    詹森
    Participant

    Hi, I need your help. Thank you

    1. How can I modify the corresponding channel value directly on the Viwe page? I use command-rapid SCADA to set, should only send the Command to the server, will not write to the Channel, I need to directly modify the Channel value in the View, what can I do?

    2. In addition, how can the automatic control module write a value to the channel when sending a command?

    Thank you so much for your help!

    in reply to: User Input on Table View #15868
    詹森
    Participant

    Hello, how can I directly modify the corresponding channel value on the Viwe page? I use command-rapid SCADA to set, should only send the Command to the server, will not write to the Channel, I need to directly modify the Channel value in the View, what can I do?

    in reply to: Script use #15867
    詹森
    Participant

    Greetings,
    1. I would like to ask how the two Every functions are used, is it directly called in the channel? For example, if the EveryMin() function is executed once per second on the channel, how often is the argument passed to EveryMin() executed?
    EveryMin()
    EveryHour()

    2. What count is this? Is it correct to input data (or calculated) into the channel to calculate pulse once?
    CountPulse() // Counts a pulse of the specified channel.

    3. How does this function work? Do you need the user to make the call? Where can I make the call?
    HourStarted() // Indicates that a new hour has started. The result is true once for each channel.

    Thank you for your help.
    Thanks & Respect!

    詹森
    Participant

    How can I achieve the led flashing state in the automatic control module? That is, when the led display mode is blinking, the automatic control module controls the led flashing,Thanks, respect

Viewing 10 posts - 46 through 55 (of 55 total)