modb_do_write
Modbus function to write digital output
Arguments
- COM port handle
- Integer, device address
- Integer, channel address
- Integer, data to be written at digital output channel 0xFF00 for ON and 0x0000 for OFF
- Integer, timeout interval in ms
Output
Boolean, true if command is successful