122
Ethernet module User’s Manual
Chapter 6 Socket Interface Communication
6
(a) Defining the variables
(*========================================
EN311 UDP SOCKET TEST PROGRAM (SEND)
========================================*)
VAR
SLOTW:
WORD; (* Slot specification *)
OPEN_READ:
BOOL;
MREAD_CMP:
BOOL;
MREAD_CMPX:
BOOL;
STN_STS:
WORD; (* Station status *)
SOCKSTS:
WORD; (* Socket status *)
STBY_REQ:
BOOL;
PARA_REQ:
BOOL;
REQ_MODE:
BOOL;
CMP_MODE:
BOOL;
ERR_MODE:
BOOL;
STS_MODE:
INT; (* Standby request error status *)
CMP_RESET:
BOOL;
ERR_RESET:
BOOL;
STS_RESET:
INT; (* Reset request error status *)
CMP_PARA:
BOOL;
ERR_PARA:
BOOL;
STS_PARA:
INT; (* Parameter setup request error status *)
CMP_MODE2:
BOOL;
ERR_MODE2:
BOOL;
STS_MODE2:
INT; (* Run request error status *)
MREAD_CMP2:
BOOL;
NOT_RUN:
BOOL;
RUN1:
BOOL;
MREAD_CMP3:
BOOL;
OK_STS:
BOOL;
OPEN_CMP:
BOOL;
OPEN_ERR:
BOOL;
OPEN_STS:
INT; (* UDP open request error status *)
TX_REQ:
BOOL;
TX_CMP:
BOOL;
TX_ERR:
BOOL;
TX_STS
INT; (* UDP send request error status *)
CLOSE_CMP:
BOOL;
CLOSE_ERR:
BOOL;
CLOSE_STS:
INT; (* UDP close request error status *)
Summary of Contents for V Series
Page 1: ...6F8C0904 Integrated Controller V Series Ethernet module EN311 User s Manual Sep 30 2004 ...
Page 12: ......
Page 16: ......
Page 34: ......
Page 40: ......
Page 106: ......
Page 180: ......
Page 199: ...6F8C0904 179 7 5 RAS Information Readout 7 Figure 7 1 Packet Format IP Datagram ...
Page 200: ...180 Ethernet module User s Manual Chapter 7 RAS Information 7 ...
Page 224: ......
Page 240: ......
Page 244: ......
Page 248: ......
Page 250: ......
Page 256: ......
Page 258: ......