16 #ifndef _RL_MODBUS_CLIENT_H_ 17 #define _RL_MODBUS_CLIENT_H_ 31 rlModbusClient(
const char *mbxname,
const char *shmname,
int shmsize);
33 int write(
int slave,
int function,
const unsigned char *data,
int len);
35 int writeMultipleCoils(
int slave,
int adr,
const unsigned char *values,
int num_coils);
38 int readBit(
int offset,
int number);
39 int readByte(
int offset,
int number);
int writePresetMultipleRegisters(int slave, int adr, const int *values, int num_values)
int writeMultipleCoils(int slave, int adr, const unsigned char *values, int num_coils)
int writeSingleCoil(int slave, int adr, int value)
virtual ~rlModbusClient()
int readByte(int offset, int number)
int readBit(int offset, int number)
int write(int slave, int function, const unsigned char *data, int len)
int readShort(int offset, int number)
int writePresetSingleRegister(int slave, int adr, int value)
rlModbusClient(const char *mbxname, const char *shmname, int shmsize)