66 Ethernet module User’s Manual
Chapter 5 Computer Link Protocol and the PC Link Protocol Transmission
5
/**************************************************************************************************************/
/* */
/* SAMPLE.H */
/* */
/* */
/* Write/Read requests can be issued to other T3H units by modifying this definition file. */
/* */
/* */
/* */
/* */
/* (C) Copyright TOSHIBA Corporation 1995 */
/* All Rights Reserved */
/* */
/**************************************************************************************************************/
/*------------------------------*/
/* Define declarations */
/*------------------------------*/
#define MY_PORT 3001 /* Local port number */
#define DST_PORT 3001 /* Remote port number */
#define DST_IP "133.113.98.10" /* Remote IP address */
#define LOOP 10 /* Data send/receive execution counts */
#define DATASIZ 32 /* Data size */
/* Computer link function = word units */
#define RECVTOUT 30 /* RECVFROM timeout time */
#define REG_TYPE "D" /* Register type */
#define REG_ADR "0000" /* Register start address */