Serial Port Monitor - Software Serial Port sniffer, logger & protocol analyzer for Windows
Download Device Monitoring Studio Hide this button

IModbusManager Interface

interface IModbusManager {

    // Methods
    ${createBuilder}(address: number, asciiMode: boolean): ${IModbusBuilder};
}
// This interface is not available in managed environment
// This interface is not available in native environment

IModbusManager Methods

createBuilder

createBuilder(address: number, asciiMode: boolean): ${IModbusBuilder};
// This method is not available in managed environment
// This method is not available in native environment
address
MODBUS destination address.
asciiMode
True if ASCII protocol is required, false for RTU.

This method creates new MODBUS Builder Object. It accepts an address and protocol mode. The created builder object will internally store these values and will then use them in construction of MODBUS requests and responses.