69
CIO Area Allocations Section 4-3
Status of UDP/TCP Sockets 1 to 8 (Ethernet Unit to CPU Unit)
Note The status of these flags can also be checked using the software switch set-
tings on the CX-Programmer.
Opening Flag (Bit 0)
Turns ON when an open request is received either by control switch manipula-
tion or the CMND(490) instruction, and turns OFF again when the open pro-
cessing has been completed. When CMND(490) is used, the Results Storage
Error Flag (bit 14) will turn ON at the same time as the Opening Flag turns
OFF if there is an error in the Results Storage Area designation.
Receiving Flag (Bit 1)
Turns ON when a receive request is received either by control switch manipu-
lation or the CMND(490) instruction, and turns OFF again when the receive
processing has been completed. When CMND(490) is used, the Results Stor-
age Error Flag (bit 14) will turn ON at the same time as the Receiving Flag
turns OFF if there is an error in the Results Storage Area designation.
Bit Flag Status Manipulated
by
Unit operation Reference
0 Opening Flag ON Unit ON during open processing. (Turns ON when
open request is received.)
Section 6
Socket Ser-
vices
OFF Unit Turns OFF when open processing has been
completed.
1 Receiving Flag ON Unit ON during receive processing. (Turns ON when
receive request is received.)
OFF Unit Turns OFF when receive processing has been
completed.
2 Sending Flag ON Unit ON during send processing. (Turns ON when
send request is received.)
OFF Unit Turns OFF when send processing has been
completed.
3 Closing Flag ON Unit ON during close processing. (Turns ON when
close request is received.)
OFF Unit Turns OFF when close processing has been
completed.
4 to 13 (Not used.) --- --- --- ---
14 Results Storage Error
Flag
ON Unit Turns ON if there is an error in storing the results
when socket services are used by means of the
CMND(490) instruction.
Section 6
Socket Ser-
vices
OFF Unit Turns OFF when the next request is received.
(Connected by TCP.)
15 TCP/UDP Open Flag ON Unit Turns ON when open processing has been com-
pleted.
OFF Unit Turns OFF when close processing has been
completed. (Stays OFF for abnormal open pro-
cessing completion.)
Opening Flag
Receiving Flag
Sending Flag
Closing Flag
Results Storage Error Flag
TCP/UDP Open Flag
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
n+1 to n+16