roni

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: Use of the buttons #6180
    roni
    Participant

    It seems to me that the problem I had was caused by the way the tabs are saved in my Rapid Scada installation.
    These inconveniences would have to consult them in another post.
    Thanks for the help.

    in reply to: Use of the buttons #6164
    roni
    Participant

    Thank you very much for your help.
    I have managed to solve the problem. I think it was the selection of the number of bytes used in multiple mode.
    I think this option had already been selected, but as sometimes the save is not executed at first, it would not be saved well. Can it be a problem with my configuration?
    Regard.

    in reply to: Use of the buttons #6152
    roni
    Participant

    In dynamic text (input 401-output 3101), I enter a decimal value, for example 8.30. By means of a formula, I separate Hours=8 and Minutes= 30 and verify that the values ​​are in their respective ranges.

    The modbus device stores the H in address 513 and the M in address 514, if I manually enter in binary format with the formula new byte[]{0x00,0x08,0x00,0x1E}, the data is send correctly.

    If I apply the functions you sent me, the value obtained is 524,318.000, (8 001E) hex, but only part 001E is stored in the H register if it does not exceed 23 (0x17) and the register M is saves with 0.

    My intention is to send that value to those values ​​in standard format after entering the output in the dynamic text.

    in reply to: Use of the buttons #6144
    roni
    Participant

    Thank you very much for the help.
    Two clarifications:
    1- the code sends the error:
    -the operator ‘&&’ cannot be applied to operands of type ‘int’ and ‘uint’
    2-this code is to obtain the value of Hours and Minutes, which I had already solved, what I need is to know if there is a function to send a single value formed by the two data and that can be sent to the device as It is done in binary format.
    I have tried to work with the automatic control module, but it does not give me time to verify the options.
    Regard.

    in reply to: Use of the buttons #6139
    roni
    Participant

    Hi, Mikhail.
    My device has two records that can be read and written. These records are of time, Reg1 maximum 23, Reg2 maximum 59.
    In my application I take those values ​​and show them in dynamic text, then if I want to modify them, I select the text, enter a command value, check that the value entered is in the range of HH for Reg1 and MM for Reg2.
    My problem is that when I send the value to the device I can only send it to the register that has the output channel activated. I have placed the commands as multiple.
    I am looking for a formula to send the two values ​​in one action. If I enter them directly in binary format if they are entered correctly.
    Regard.

    in reply to: Use of the buttons #6120
    roni
    Participant

    Thank you. I think I have not explained myself well. I have a decimal value (X.Y), obtained by means of a dynamic text, I convert it into two integers (X) (Y) and what I need is to be automatically sent to two different registers of a device modbus (X = Reg1) (Y = Reg2). Thank you.

    in reply to: Use of the buttons #6086
    roni
    Participant

    Hi Mikhail, continuing with the inputs and outputs, I would like to know how to access two output channels from one dynamic text box.
    Once a value has been entered, I need to analyze it with two different formulas and show each value in an output.
    Regard.

    in reply to: Get time from two channels #6077
    roni
    Participant

    Thanks, it works perfectly, now I only have to eliminate the seconds.

Viewing 8 posts - 1 through 8 (of 8 total)