- be
Backend be;
Undocumented in source.
- Backend
interface Backend
Undocumented in source.
- needCheckCRC
bool needCheckCRC;
Undocumented in source.
- write
void write(ubyte dev, ubyte func, Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
- read
const(void)[] read(size_t bytes, ubyte dev, ubyte fnc)
Undocumented in source. Be warned that the author may not have intended to support it.
- readCoils
const(BitArray) readCoils(ubyte dev, ushort start, ushort cnt)
Undocumented in source. Be warned that the author may not have intended to support it.
- readDiscreteInputs
const(BitArray) readDiscreteInputs(ubyte dev, ushort start, ushort cnt)
Undocumented in source. Be warned that the author may not have intended to support it.
- readHoldingRegisters
ushort[] readHoldingRegisters(ubyte dev, ushort start, ushort cnt)
Undocumented in source. Be warned that the author may not have intended to support it.
- readInputRegisters
ushort[] readInputRegisters(ubyte dev, ushort start, ushort cnt)
Undocumented in source. Be warned that the author may not have intended to support it.
- writeSingleCoil
void writeSingleCoil(ubyte dev, ushort addr, bool val)
Undocumented in source. Be warned that the author may not have intended to support it.
- writeSingleRegister
void writeSingleRegister(ubyte dev, ushort addr, ushort value)
Undocumented in source. Be warned that the author may not have intended to support it.
- writeMultipleRegisters
void writeMultipleRegisters(ubyte dev, ushort addr, ushort[] values)
Undocumented in source. Be warned that the author may not have intended to support it.
Modbus with RTU backend based on existing serial port