![background image](http://html1.mh-extra.com/html/omron/cp1l-el20dr-d/cp1l-el20dr-d_operation-manual_743755227.webp)
193
Socket Services
Section 6-6
6-6-3
Socket Services and Socket Status
When using socket services, it is important to consider the timing of the status
changes in the Socket Status Area. The diagram below shows a flowchart for
opening UDP. The flow is similar for other socket services. Replace the names
of the appropriate flags in the flowchart to adapt it to other socket services.
Note
For details about timing charts, refer to SECTION 6 Socket Services in the
Ethernet Units Construction of Applications Operation Manual (Cat. No.
W421-E1).
Socket services cannot support CMND command.
Check TCP Connection/UDP Open Flag.
The specified UDP socket is
already open.
Turn ON UDP Open Request Switch.
Start UDP Open.
OFF?
Program Flow
Is Bit 15 (Open Flag) in the socket status word for
the socket being used OFF?
(Checks to see if the socket is open before com-
munications and close processing.)
YES
Error Evaluation
UDP socket opened.
NO
This Socket Service Request Switch is used to request
opening of a UDP socket to the Ethernet Unit.
Confirm end of processing.
0000?
YES
NO
ON/OFF?
OFF
This Socket Service Request Switch that was turned
ON will be turned OFF by the Ethernet Unit when
processing has been completed.
Check response code.
Is the response code 0000, indicating a normal end?
An error occurred. The specified
socket could not be opened.
Содержание CP1L-EL20DR-D
Страница 3: ...CP1L EL20D CP1L EM30D CP1L EM40D CP1L EL EM CPU Unit Operation Manual Produced July 2017...
Страница 4: ...iv...
Страница 10: ...x...
Страница 22: ...xxii...
Страница 34: ...xxxiv Software Licenses and Copyrights 7...
Страница 178: ...144 Connecting the CX Programmer Section 5 1 Click the Connect button to connect and then connection online is completed...
Страница 192: ...158 Trial Operation and Debugging Section 5 3...
Страница 250: ...216 Automatic Clock Adjustment and Specifying Servers by Host Name Section 6 7...
Страница 666: ...632 Trouble Shooting Section 11 7...
Страница 696: ...662 Standard Models Appendix A...
Страница 805: ...771 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Страница 806: ...772 Connections to Serial Communications Option Boards Appendix F...
Страница 836: ...802 PLC Setup Appendix G...
Страница 838: ...804 TCP Status Transitions Appendix H...
Страница 840: ...806 Ethernet Network Parameters Appendix I...
Страница 842: ...808 Buffer Configuration CP1L EL EM Appendix J...
Страница 844: ...810 Ethernet Specifications Appendix K...
Страница 851: ...Index 817 work words 118 write protection 447...
Страница 852: ...818 Index...
Страница 854: ...820 Revision History...
Страница 855: ......