Chapter 6 Socket Interface Communication
6
152
(b) Program
(*STATION STATUS CHECK*)
7
MOVE_WORD
LD
OPEN_READ
E
SLOTW
T
LD
16#7EFF
TADDR
LD
STN_STS
P
LD
1
N
LD
MREAD_CMP
STBY_REQ
PARA_REQ
MREAD_CMPX
STN_STS
16#1000
STN_STS
16#1000
STN_STS
16#1000
SLOTW
ST
MREAD_CMP
MREAD
( )
MREAD_CMPX
( )
STN_STS
AND_WORD
ST
LD
LD
STBY_REQ
EQ_WORD
(S)
LD
LD
PARA_REQ
NE_WORD
(S)
LD
LD
Ethernet module User's Manual