modb_bits_write

Modbus function to write internal bits

Arguments

  1. COM port handle
  2. Integer, device address
  3. Integer, address to write
  4. Integer, data to be written to internal bit 0xFF00 for ON and 0x0000 for OFF
  5. Integer, timeout interval in ms

Output

Boolean, true if command is successful