Modbus TCP send floats

Forum Home Forums Communicating with Devices Modbus Modbus TCP send floats

Tagged: , ,

This topic contains 4 replies, has 2 voices, and was last updated by Mikhail Mikhail 2 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2646

    svoicum
    Participant

    Hello!

    I am fairly new to RapidSCADA (it is my first project).
    I have managed to configure an interface that communicates with an Arduino, via Modbus TCP and read all the sensors data from it (I primarily read floats from Arduino and managed to do that by byte swapping, when defining the input channels in the Device Template Editor).
    Now, I want to send data to the Arduino (setpoints for each measurement) so that the Arduino knows what to do with each measurement. Problem is I can’t figure out where and what to write in order to write the holding registers to Arduino, via Modbus TCP.

    Could you please help me?

    Thank you in advance!

    #2647
    Mikhail
    Mikhail
    Moderator

    Hi,

    Currently, you should use formulas of output channels to swap bytes.
    But the new version of the driver, which supports swapping bytes for commands, is under construction now.
    If you can wait for a week, we can send you a new version. In this case, please write an email to our info@…org
    Otherwise, please translate this answer by Google Translate.

    #2648

    svoicum
    Participant

    Hi Mikhail,
    Thank you for the fast response.
    I can wait a week. Will send you an email just shortly.
    But, I still don’t know how to define an output channel, to write into the registers. Should I add commands in the Device Template Editor? Like so?[img]http://savepic.net/10148875.htm[/img]
    And where can I find the formula table?

    #2649

    svoicum
    Participant

    Also, how do I create a control where I can enter the value of the new SetPoint for the output channel?

    #2650
    Mikhail
    Mikhail
    Moderator

    Hi,
    You should create commands in Template Editor and create output channels by Administrator.

    Also, how do I create a control where I can enter the value of the new SetPoint for the output channel?

    You should define output channel number for dynamic text or picture of a scheme and choose action – Send command. If you use table views, define output channel for a row.

    • This reply was modified 2 months ago by Mikhail Mikhail.
Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.