Calculate the full Modbus string (including CRC/LRC) for RTU, ASCII, or TCP.
Value mismatch: Expected number of values does not match Register Count.
For Coils (FC 15), use **FF00** for ON/Set and **0000** for OFF/Reset.
Format: RTU (Hex Bytes)
Error: Invalid input or data length.