modb_do_writecmd
Modbus function to generate command to write digital output
Arguments
- Integer, device address
- Integer, channel address
- Integer, data to be written at digital output channel 0xFF00 for ON and 0x0000 for OFF
Output
Integer vector, command