Advantech EDG-4508R+ Uživatelský manuál Strana 103

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 108
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 102
97 Chapter 7
mbtcp.h
File name of mbtcp means Modbus TCP; we provide the easier definition
of necessary parameter. For example,
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.
#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;
Zobrazit stránku 102
1 2 ... 98 99 100 101 102 103 104 105 106 107 108

Komentáře k této Příručce

Žádné komentáře