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

discontinued
outdated

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:

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
0
points
30
downloads

Publisher

unverified uploader

Weekly Downloads

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

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

byte_util, flutter

More

Packages that depend on modbus_protocol