Skip to content

Vfdmod is a LinuxCNC user space component designed to control any VFD that supports standard MODBUS RTU protocol

License

Notifications You must be signed in to change notification settings

mikemacwillie/vfdmod

 
 

Repository files navigation

About

Vfdmod is a LinuxCNC user space component designed to control any VFD that supports standard MODBUS RTU protocol.

Features

  • Setting command speed with MODBUS function codes 0x06 (write holding register) and 0x10 (write multiple holding registers).
  • Setting control word with MODBUS function codes 0x06, 0x10, 0x05 (write coil) and 0x0F (write multiple coils).
  • Reading any count of user defined parameters with MODBUS function codes 0x01 and 0x03.
  • Four types of user defined parameters are supported: bit, float, s32 and u32.
  • Built-in PyVcp generator.
  • RS485 connection state monitoring including total error count and last error code.
  • Auto reconnection attempts when USB-to-RS485 adapter was physically re-plugged.
  • Huanyang VFDs are not supported because they use non-standard MODBUS function codes.

Screenshots

Documentation

See vfdmod wiki: https://github.com/aekhv/vfdmod/wiki

Downloads

Latest DEB-packages: https://github.com/aekhv/vfdmod/releases

Support

English support forum: https://forum.linuxcnc.org/

Russian support forum: http://www.cnc-club.ru/

History

Vfdmod 0.3.2:

  • User defined HAL pins may be boolean (bit type):
    • Function code 0x01 (read coils) supported.
    • Function code 0x03 (read holding registers, used by default) may be used to get any single bit within returned 16-bit data.

Vfdmod 0.3.1:

  • Function codes 0x05 (write single coil) and 0x0F (write multiple coils) are supported.
  • PyVcp generator: fault reset button fixed.
  • Blank config file now includes all parameters and short description of each.

Vfdmod 0.3.0:

  • Reconnection feature added, it's useful when serial device has been re-attached.
  • Fault reset added.
  • Function codes 0x06 (write single register) and 0x10 (write multiple registers) are supported.

Vfdmod 0.2.0:

  • PyVcp generator added.

Vfdmod 0.1.0:

  • First release.

About

Vfdmod is a LinuxCNC user space component designed to control any VFD that supports standard MODBUS RTU protocol

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 89.2%
  • C 9.9%
  • QMake 0.9%