197
Socket Services
Section 6-6
Note
Do not forcibly manipulate the above status flags during socket service is
used.
Socket Service Request
Switches 1 to 3
Bit
Flag
Status
Manipulated
by
Unit operation
Access
0
Opening Flag
ON
Unit
ON during open processing. (Turns
ON when open request is received.)
Read only
OFF
Unit
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
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
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
OFF when close processing has
been completed.
4 to 12
(Not used.)
---
---
---
---
13
Data Received Flag ON
Unit
ON when data from a remote node
has been received at an open TCP
socket.
Read only
OFF
Unit
OFF when receive processing has
been requested for an open TCP
socket.
14
Results Storage
Error Flag
ON
Unit
ON if there is an error in storing the
results when socket services are
used.
OFF
Unit
Turns OFF when the next request is
received.
15
TCP/UDP Open
Flag
ON
Unit
ON when open processing has been
completed.
OFF
Unit
OFF when close processing has
been completed. (Stays OFF for
abnormal open processing comple-
tion.)
15 14
13 12
11
10
9 8
7 6 5
4 3 2
1 0
UDP Open Request Switch
TCP Passive Open Request Switch
TCP Active Open Request Switch
Send Request Switch
Receive Request Switch
Close Request Switch
A571 to A572
Summary of Contents for CP1L-EL20DR-D
Page 3: ...CP1L EL20D CP1L EM30D CP1L EM40D CP1L EL EM CPU Unit Operation Manual Produced July 2017...
Page 4: ...iv...
Page 10: ...x...
Page 22: ...xxii...
Page 34: ...xxxiv Software Licenses and Copyrights 7...
Page 192: ...158 Trial Operation and Debugging Section 5 3...
Page 250: ...216 Automatic Clock Adjustment and Specifying Servers by Host Name Section 6 7...
Page 666: ...632 Trouble Shooting Section 11 7...
Page 696: ...662 Standard Models Appendix A...
Page 805: ...771 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 806: ...772 Connections to Serial Communications Option Boards Appendix F...
Page 836: ...802 PLC Setup Appendix G...
Page 838: ...804 TCP Status Transitions Appendix H...
Page 840: ...806 Ethernet Network Parameters Appendix I...
Page 842: ...808 Buffer Configuration CP1L EL EM Appendix J...
Page 844: ...810 Ethernet Specifications Appendix K...
Page 851: ...Index 817 work words 118 write protection 447...
Page 852: ...818 Index...
Page 854: ...820 Revision History...
Page 855: ......