modbus_protocol 2.0.1 copy "modbus_protocol: ^2.0.1" to clipboard
modbus_protocol: ^2.0.1 copied to clipboard

Modbus is a data communications protocol originally published in 1979 for use with PLCs.

modbus_protocol #

Modbus is a data communications protocol originally published by Modicon (now Schneider Electric) in 1979 for use with its programmable logic controllers (PLCs).

Modbus has become a de facto standard communication protocol and is now a commonly available means of connecting industrial electronic devices.


Usage:

// use lib: byte_util: ^1.1.0
void testModbusProtocol() {
  final bytes = [1, 2, 3, 4, 5, 6, 7, 0xff, 0xa1, 0xdd];
  final modbus = ModbusProtocol(bytes);
  final crc = modbus.crc;
  // got:[175, 61]
  print(crc.word);
}


Reference:

MODBUS Protocol Specification

C language Modbus CRC16

Wiki Modbus

3
likes
120
pub points
59%
popularity

Publisher

unverified uploader

Modbus is a data communications protocol originally published in 1979 for use with PLCs.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

byte_util, flutter

More

Packages that depend on modbus_protocol