Expand description
Mapping of modbus function codes and routines to read and check them
The main way to interact with modbus function codes is to construct ModbusFunction instances The PublicModbusFunction enum maps publicly documented function codes. For reference see https://www.modbus.org/docs/Modbus_Application_Protocol_V1_1b3.pdf
Structs§
- Modbus
Function - A modbus function. This struct may store public as well as custom functions. The only invalid function is 0.
Enums§
- Public
Modbus Function - An enum mapping all publicly documented modbus function codes
Functions§
- get_
function - Gets the function code of the given modbus data.
- get_
function_ ⚠unchecked - Gets the function code of the given modbus data.