LuaModbus
LuaModbus provides a wrapper over libModbus (see libmodbus (github.com), LGPL-2.1) to access Modbus-TCP/UDP-Devices from LUA. In addition to wrapping the libModbus library, LuaModbus also adds a background thread to cyclically read/write a set of registers and automatically reconnect the connection. Using this thread, after the connection is (re)established, a register can automatically be set to a given value (e.g. for setting a "startup" bit as seen in the Rexroth/Phoenix Contact I/O modules). The actual LUA wrapper is based on the etactica/lua-libmodbus (github.com) LUA bindings (MIT-License), but heavily modified for use with OGS.
Unless otherwise noted, LuaModbus implements the same set of features as the original lua-libmodbus, so the library documentation (Reference (etactica.github.io)) is a very good source of information.
Content will follow soon...