mbtcp.h
File name of mbtcp means Modbus TCP; we provide the easier definition of necessary parameter. For example,
#define MODBUSTCPMAXMSGLENGTH | 288 |
#define MODBUSTCPMSGHDRLENGTH | 6 |
typedef struct __MODBUSTCPMSG { unsigned short wTransactionId; unsigned short wProtocolId; unsigned char byteMsgLenHigh; unsigned char byteMsgLenLow; unsigned char Data[2];
} TMODBUSTCPMSG;
MODBUSTCPMAXMSGLENGTH
MODBUS TCP Max Message Length
MODBUSTCPMSGHDRLENGTH
MODBUS TCP Message Header Length
*The programming I/O sample programs are for programmer's reference to make the event I/O program for their own environment. Program- mers can open the file as a template file to make a new project of event.
92 |