Pack Table to String

txt = mbo:ft2s(tfmt, t)
txt = modbus.ft2s(tfmt, t)

Packs a set of values into a binary block for Modbus.

Parameter Type Description
mbo object table Modbus Object
tmft string Format string ([Modbus Format Strings])
t table Values
Returns Type Description
txt string Binary data
Note

This function is provided as a utility, and forms a building block for modbus.cmd etc.