20 #ifndef _RL_SIEMENS_TCP_CLIENT_H_ 21 #define _RL_SIEMENS_TCP_CLIENT_H_ 48 int write(
int slave,
int org,
int dbnum,
int start,
int len,
const unsigned char *
buf,
int function);
49 int writeBit(
int slave,
int org,
int dbnum,
int start,
int offset,
int len,
const unsigned char *
buf);
50 int writeByte(
int slave,
int org,
int dbnum,
int start,
int len,
const unsigned char *val);
51 int writeFloat(
int slave,
int org,
int dbnum,
int start,
int len,
const float *val);
52 int writeDword(
int slave,
int org,
int dbnum,
int start,
int len,
const int *val);
53 int writeShort(
int slave,
int org,
int dbnum,
int start,
int len,
const short *val);
54 int writeUDword(
int slave,
int org,
int dbnum,
int start,
int len,
const unsigned int *val);
55 int writeUShort(
int slave,
int org,
int dbnum,
int start,
int len,
const unsigned short *val);
56 int read(
int offset,
int len);
57 float Float(
int index);
60 unsigned int UDword(
int index);
61 unsigned int UShort(
int index);
62 unsigned char buf[2048];
int writeByte(int slave, int org, int dbnum, int start, int len, const unsigned char *val)
unsigned int UDword(int index)
int write(int slave, int org, int dbnum, int start, int len, const unsigned char *buf, int function)
int writeUShort(int slave, int org, int dbnum, int start, int len, const unsigned short *val)
int writeFloat(int slave, int org, int dbnum, int start, int len, const float *val)
int writeShort(int slave, int org, int dbnum, int start, int len, const short *val)
int writeDword(int slave, int org, int dbnum, int start, int len, const int *val)
int writeUDword(int slave, int org, int dbnum, int start, int len, const unsigned int *val)
int read(int offset, int len)
rlSiemensTCPClient(const char *mbxname, const char *shmname, int shmsize, int have_to_swap=1)
unsigned int UShort(int index)
virtual ~rlSiemensTCPClient()
int writeBit(int slave, int org, int dbnum, int start, int offset, int len, const unsigned char *buf)