how i can write data into modbus registers

Просмотр 4 сообщений - с 1 по 4 (из 4 всего)
  • Автор
    Записи
  • #2329
    Jasurbek
    Участник

    how i can write data into modbus registers

    data size 16, 32, … or long size string.

    and wich type command must be choose {standart, binary, .. or other}

    thank you for support

    #2330
    Jasurbek
    Участник

    while reading no problem

    if i choose command type standart to REG write only «1»
    if i choose command type binary nothing

    #2332
    Jasurbek
    Участник

    if i choose binary type command i must enter data (string) to TextBox what i want.

    for sample: for writing binary data into REG can I use keycharts like these

    0x00 0d00 write one byte
    0x0000 or 0x00 0x00 write two byte (hex)

    %f:127.35 write 32bit float data

    #2333
    Mikhail
    Модератор

    Modbus command number (code) have to be specified in the device manual made by the manufacturer.
    Float value can be sent as a standard command.
    If you send a binary command, you can enter hexadecimal data, e.g., AABBCCDD

    Номер (код) команды Modbus должен быть указан в документации от производителя устройства.
    Число типа Float может быть отправлено как стандартная команда.
    При отправке бинарной команды Вы можете указывать данные в 16-ричном виде, например, AABBCCDD

Просмотр 4 сообщений - с 1 по 4 (из 4 всего)
  • Для ответа в этой теме необходимо авторизоваться.