On 2022-03-09 17:07, Christofer Dutz wrote:
Hi Lukas,

I think that Modbus+ is a completely different thing. Seems to be
related to routing of Modbus traffic ... haven't looked too deep at
it.

I think it was an attempt to modernize Modbus for the 21st century, but I have not seen any devices on the field with it. I suggest it can be ignored.

From the Spec side there are 3 variants:
- Modbus TCP
- Modbus RTU
- Modbus ASCII

Yes, that is the norm. Sometimes written Modbus/RTU or Modbus/TCP.


In general Modbus RTU and ASCII are sort of the same (Serial) ... the
main difference is the encoding of the payload and the termination of
frames. That's why I'll leave the ModbusSerialAdu as topmost packet in
both Modbus RTU and ASCII, as the difference is handled on the level
between the transport and the driver.

Practically all Modbus devices on RS-485 supports RTU, and a huge number of them supports ASCII as well. But the only times I have seen Modbus ASCII used, is long ago (1980s ?) with hand terminals where astute operators entered the arbitrary packets by hand. Landis&Gyr followed that "fashion" and also had a line-by-line, near-human operatable, protocol format (with CRC for computers, and without CRC if typed by hand). That skill slowly disappeared as hand terminals and/or troubleshooting software became more sophisticated and hid such low-level stuff and typically just run RTU mode. I doubt anyone would truly miss ASCII if it is not available. OTOH, basically just encoding difference.

Please correct me if I'm wrong,

You got it right.


Niclas

Reply via email to