modbus_master 2.1.2 copy "modbus_master: ^2.1.2" to clipboard
modbus_master: ^2.1.2 copied to clipboard

An easy to use package using which a dart program can work as a Modbus/TCP master device.

1.0.0 #

  • Initial version.

2.0.0 #

  • Simplified read and write method:- Now only two methods are provided for reading and writing (i.e. read and write) as opposed to 6 methods previously.
  • Intuitive method names for object creation. "start" method creates object & initializes all resouces. "stop" method shuts down all resources & disconnects all TCP connections.
  • Asynchronous isStoppedAsync method to check whether object is stopped.
  • Bug fixes.

2.0.1 #

  • Updated README.md file
  • Provided docstrings
  • updated modbus_slave.py file

2.1.0 #

  • Updated README.md file
  • Added two more fields isReadResponse and isWriteResponse in class SlaveResponseConnectionError as well as class SlaveResponseTimeoutError

2.1.1 #

  • Bug fixes:- In case of Error Response, field isReadResponse/isWriteResponse is true and readValue/writeValue is null of object of class SlaveResponseDataReceived is true.

2.1.2 #

  • Bug fixes:-
    • Inside Worker Isolate :- When UserRequestShutdown is received in worker isolate, then all sockets are now closed using await socket.close() instead of socket.destroy().
    • Inside Main Isolate:- When SlaveResponseShutdownComplete is received in main isolate, then receive port of main isolate is also closed.
5
likes
0
points
6
downloads

Publisher

unverified uploader

Weekly Downloads

An easy to use package using which a dart program can work as a Modbus/TCP master device.

Repository (GitHub)
View/report issues

Topics

#modbus #tcp #embedded #plc #scada

License

unknown (license)

Dependencies

equatable, simple_logger

More

Packages that depend on modbus_master