Modbus.Packet
Handle Modbus packet creation and parsing.
Summary
Functions
Parse a ModbusTCP response packet
Read status from a contiguous range of coils.
starting_address
is 0-indexed
Read status from a contiguous range of discrete inputs.
starting_address
is 0-indexed
Read the contents of a contiguous block of holding registers.
starting_address
is 0-indexed
Read the contents of a contiguous block of input registers.
start_address
is 0-indexed
Write a single coil. Possible values are :on
and :off
Functions
Read status from a contiguous range of coils.
starting_address
is 0-indexed.
Read status from a contiguous range of discrete inputs.
starting_address
is 0-indexed.
Read the contents of a contiguous block of holding registers.
starting_address
is 0-indexed.
Read the contents of a contiguous block of input registers.
start_address
is 0-indexed.