Ethernet Units Operation Manual

145
Using Socket Services with CMND(490) Section 6-3
SEND REQUEST
RECEIVE REQUEST
CLOSE REQUEST during RECEIVE REQUEST
Note The timing shown in the above diagram occurs if a CLOSE REQUEST com-
mand is executed during SEND REQUEST command execution. The timing
1
0
1
0
1
0
Running Running
Error response code Normal response code
Error
end
Port Enabled Flag
CMND(490) response code
Send Flag
Opening Flag
Results storage area
SEND REQUEST
command received
Send complete
(normal end)
SEND REQUEST
command received
Store normal response code
1
0
1
0
1
0
Running Running
Error response code Normal response code
Error
end
Port Enabled Flag
CMND(490) response code
Receive Flag
Opening Flag
Results storage area
RECEIVE REQUEST
command received
RECEIVE REQUEST
command received
Receive complete
(normal end)
Store normal response code
1
0
1
0
1
0
1
0
Port Enabled Flag
RECEIVE REQUEST command received CLOSE REQUEST command received
Running Running
Normal response code
Results storage area for
RECEIVE REQUEST
Normal response code
CMND(490) (RECEIVE
REQUEST) response command
CMND(490) (CLOSE
REQUEST) response command
Receive Flag
Opening Flag
Close Flag
Results storage area for
CLOSE REQUEST
Store error response code
Store normal response code