how to send a modbus value

Forum Home Forums Understanding the Software how to send a modbus value

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #3754
    jjdesarrollo
    Participant

    Hello,

    First of all i would like to thank to the rapid scada team. This is a really powerful tool.

    Well, I am use to work with some commercial SCADAs, so that is why i am going ask something that perhaps somebody else already asked, but sadly i could not find it.

    How do i send a modbus value directly from scada Web Screen. I mean, does rapid scada have a text box where i can set a value and then send it to the Modbus Device.

    Thanks in Advanced

    • This topic was modified 5 years, 11 months ago by Mikhail.
    #3756
    manjey73
    Participant

    Standard command in control channels in Administrator settings-control Lines
    The command input window will be called. Using formulas, you can make a range from which the minimum or maximum value of the range will be sent when an input error occurs

    #3760
    Mikhail
    Moderator

    does rapid scada have a text box where i can set a value and then send it to the Modbus Device

    Yes. You need:
    1. Create an output channel.
    2. Specify this channel in a scheme or a table view.
    3. Configure a command in your Modbus template.

    Also read this article.
    In case of follow up questions, ask here.

    #4214
    ngiussani
    Participant

    Hi,

    I’m new to this forum. Is there a way to use a control like a spinbox to send values to a device? Or am I required to use the popup implemented in the Schemes?

    I’m trying to configure a setpoint for an HVAC system in my office, but it seems I need to input the data manually.

    I know it may be a little to much to include in the same question, but is there a way (maybe with formulas) to limit the value to send with the value from other input channels?

    Thanks in advance

    #4216
    Mikhail
    Moderator

    Hi,

    Is there a way to use a control like a spinbox to send values to a device? Or am I required to use the popup implemented in the Schemes?

    Could you provide an example image of spinbox? If a value is a number, you should input it manally. However, you can create several buttons with different values.

    I know it may be a little to much to include in the same question, but is there a way (maybe with formulas) to limit the value to send with the value from other input channels?

    It’s better to create a new topic.
    Yes, use formula for an output channel.
    For example: Math.Max(Math.Min(Cmd, 10), 0)

    #4218
    ngiussani
    Participant

    Hi Mikhail,

    Thank you very much for your answer. The spinbox control is as it follows:

    Spinbox Control

    I understand from your comments that is not an option, at least now.

    I’m sorry for mixing questions. I have a lot and didn’t want to open a lot of topics, but I’ll be patient and ask one at a time.

    #4219
    Mikhail
    Moderator

    Hi,

    Thank you for the screenshot. Currently, you should input a value in a popup window or create several buttons to set different values. Or both.

    #10422
    Sergei
    Participant

    Yes. You need:
    1. Create an output channel.
    2. Specify this channel in a scheme or a table view.
    3. Configure a command in your Modbus template.

    The available Command values are just binary/discrete (On/Off, Arm/Disarm, Run/Stop). How do I send a float value to the device?
    Do I have to set a formula to write to the Modbus device using an output channel?

    Using the Communicator Command window and the interface both reset the register to zero (a pulse-driven flow-meter counter that needs to be manually synchronized to a physical value in the field), but no one actually write the desired value to the register.

    As a side note, I tried a modbus utility and the value is correctly written.

    #10423
    Mikhail
    Moderator

    How do I send a float value to the device?

    Usually writing a float requires 0x10 Modbus function. Set the Multiple checkbox, specify data type, and try sending command without any formula.
    If something goes wrong, provide logs and screenshots.

    #10424
    Sergei
    Participant

    Thanks. It worked ok with 0x10 (Multiple). Tried this yesterday although didn’t know why Single didn’t work.

    Thanks for replying.

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.