6F8C0904
159
6.5 Sample Programs
6
(*SOCKET STATUS CHECK "SOCKET 1"*)
(*TCP CLOSE REQUEST*)
MOVE_WORD
7
LD
SLOTW
ST
RX_CMP
E
T
SLOTW
LD
MREAD
TADDR
16#7E47
LD
P
SOCKSTS
LD
( )
MREAD_CMP5
N
1
LD
ERR_STS2
SOCKSTS
LD
AND_WORD
16#0A00
LD
( )
SOCKSTS
ST
ERR_STS2
SOCKSTS
LD
NE_WORD
16#0200
LD
( )
OK_STS3
SOCKSTS
LD
EQ_WORD
16#0200
LD
MREAD_CMP5
OK_STS3
REQ
CMD
%MW3.760
LD
USEND_T
USEND_T_6
P
%MW3.290
LD
N
%MW3.290
LD
(S)
CLOSE_CMP
(S)
DONE
STATUS
CLOSE_STS
ST
ERROR
CLOSE_ERR
16#0339
LD
MOVE_WORD
%MW3.761
ST
%MW3.762
ST
1
LD
%MW3.760
ST
7
LD
MOVE_UINT
MOVE_UINT
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: ......