J
J
jtag2021-06-14 11:45:55
Modbus
jtag, 2021-06-14 11:45:55

Through what command can you send 400 bytes of data?

Can modbus be used to transfer information?, for example, send 100 em-marine cards to the device, 4 bytes each = 400 bytes, many examples describe commands for reading or setting inputs / outputs, I have no idea how this can be implemented.

01 (0x01)	Чтение DO	Read Coil Status	Дискретное	Чтение
02 (0x02)	Чтение DI	Read Input Status	Дискретное	Чтение
03 (0x03)	Чтение AO	Read Holding Registers	16 битное	Чтение
04 (0x04)	Чтение AI	Read Input Registers	16 битное	Чтение
05 (0x05)	Запись одного DO	Force Single Coil	Дискретное	Запись
06 (0x06)	Запись одного AO	Preset Single Register	16 битное	Запись
15 (0x0F)	Запись нескольких DO	Force Multiple Coils	Дискретное	Запись
16 (0x10)	Запись нескольких AO	Preset Multiple Registers	16 битное	Запись

Or you still have to write your own command for this, but then it's not Modbus anymore

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Ananiev, 2021-06-14
@SaNNy32

You can use it, but you cannot transfer more than 120 bytes in one request.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question