Advantech EDG-4508R+ Instrukcja Użytkownika Strona 103

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 108
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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;
Przeglądanie stron 102
1 2 ... 98 99 100 101 102 103 104 105 106 107 108

Komentarze do niniejszej Instrukcji

Brak uwag