manjey73

Forum Replies Created

Viewing 15 posts - 346 through 360 (of 856 total)
  • Author
    Posts
  • in reply to: Installing Licensed Plugins in v.6.1 Beta #13346
    manjey73
    Participant

    When working with a remote server, you need to install and configure a PC with an Administrator and on a remote server for the settings functionality to work correctly. In this case, it is necessary to register only on a remote server, where the plug-in, module or driver will work directly

    in reply to: Installing Licensed Plugins in v.6.1 Beta #13345
    manjey73
    Participant

    Copy the plugin according to the folders. Run the Administrator, do download the configuration from the server. You will see all the configuration files in the WEB tree. Open the Plugins section in the WEB tree and connect the required one.

    in reply to: Dashboard Plugin #13344
    manjey73
    Participant

    The plugin is configured for the amount that you need. The question about kits is not quite clear? It starts working in full on one web server without restrictions.

    in reply to: plugin install no activation in web #13274
    manjey73
    Participant

    In version 6
    Download the configuration from the server – to get all the configuration files in the project.
    Go to the WEB settings in the Administrator, Plugins – enable (connect) the plugin

    in reply to: add new condition ins scada scheme V5 #13215
    manjey73
    Participant

    It is better to do it through a plugin, for the possibility of transferring later to version 6. But given that version 5 is no longer being developed, you can do it directly, but it will only work in version 5. If you write directly in version 6, then after updates you will have to integrate the code again and again after each update.

    in reply to: Add new conditions #13201
    manjey73
    Participant

    Now it is not very convenient, since it is necessary to develop for the Schema Editor in the 5th version, and at the same time make the plugin for the 6th version. It will be easier when the schema editor is ported to the 6th version.

    in reply to: Copy automatic control module configurations #13189
    manjey73
    Participant

    you have to copy the configuration between the project folders

    in reply to: Convert decimal to hexadecimal from web browser #13155
    manjey73
    Participant

    It seems there were publications on the Russian forum. As far as I understand, there is a difficulty only in transferring the database

    in reply to: Convert decimal to hexadecimal from web browser #13153
    manjey73
    Participant

    Tip: upgrade to version 6, it is somewhat more flexible

    in reply to: Convert decimal to hexadecimal from web browser #13152
    manjey73
    Participant

    On the 5th version, there is no channel display as a HEX number, as in the 6th version. Most likely only using ASCII String with the corresponding transformations using formulas.

    in reply to: Convert decimal to hexadecimal from web browser #13149
    manjey73
    Participant

    Then you probably need a trigger to change the channel and specify “Send command” in the command.

    And if necessary, use the formula in the command to check the value for the range 0-100 and, if it goes beyond the range, return Double.NaN to cancel the command

    in reply to: Convert decimal to hexadecimal from web browser #13147
    manjey73
    Participant

    Trigger parameters check Value. Edit Value = 15
    Command Value = 15

    in reply to: Convert decimal to hexadecimal from web browser #13144
    manjey73
    Participant
    public byte[] NewFreq1()
    {
    string tes = Encoding.UTF8.GetString(CmdData);
    uint teu = uint.Parse(tes)*100;
    byte[] teb = BitConverter.GetBytes(teu);
    return new byte[] { 0x00, 0x01, teb[1], teb[0]};
    }

    We use the Binary command type and enter 30 and so on in string mode (not Hex)

    in reply to: Convert decimal to hexadecimal from web browser #13141
    manjey73
    Participant

    test

    test script

    public byte[] NewFreq1()
    {
    return new byte[] { 0x00, 0x01, CmdData[0], CmdData[1]};
    }

    Using string input, with the Binary command type, you can accurately convert the entered digits to uint and add them to the block of data being sent.

    • This reply was modified 2 years, 2 months ago by manjey73.
    • This reply was modified 2 years, 2 months ago by manjey73.
    in reply to: Convert decimal to hexadecimal from web browser #13140
    manjey73
    Participant

    So it’s strange to me that when sending a Cmd command, it is a double, and in theory, returning a double formed from the required bytes, we should send something other than say 30, which we enter. But for some reason nothing happens.

    However, if we use Binary, we can send anything in a byte array, but then we need to somehow convert the received value first into a string, then again into the required bytes, etc.

    I don’t know if it is available for formulas in the 5th version of the ScadaUtils function to do this.
    Via string here (not Hex) I haven’t tried it yet, there you can use the language to form an array according to the idea.

Viewing 15 posts - 346 through 360 (of 856 total)