modb_do_write_regcmd
Modbus function to generate command to write digital output register
Arguments
- Integer, device address 0 - 255
- Integer, digital output starting address 0x0-0xFFFF
- Integer, quantity of outputs 0x0-0x7B0
- Integer, output bit values
Output
Integer vector, command