
Chapter 7 Application Interface
6F8C1566
58
58
7.4 Socket interface communication
7.4.1 Socket interface communication
Information on the 8 user sockets of EN655 can be found in the module’s shared memory
space and can be read out using “MREAD” instruction. The following are included in the socket
interface information:
・Partner’s TCP/UDP port number
・Partner’s IP address
・Own TCP/UDP port number
・Socket status
The shared memory space is shown below. Refer to section 3.5.1 for EN655’s shared
memory map.
Table 7-3 Socket Interface Information Storage Address (Word Address)
Socket Identifier
1
2
3
4
5
6
7
8
Reserved area (3 words)
16#3E40 16#3E48
16#3E50
16#3E58
16#3E60
16#3E68
16#3E70
16#3E78
Partner's port number (TCP
only)
16#3E43 16#3E4B
16#3E53
16#3E5B
16#3E63
16#3E6B
16#3E73
16#3E7B
Partner's IP address (TCP
only)
16#3E44
16#3E45
16#3E4C
16#3E4D
16#3E54
16#3E55
16#3E6C
16#3E4D
16#3E64
16#3E65
16#3E6C
16#3E6D
16#3E74
16#3E75
16#3E7C
16#3E7D
Own TCP/UDP port number
16#3E46 16#3E4E
16#3E56
16#3E5E
16#3E66
16#3E6E
16#3E76
16#3E7E
Socket status
16#3E47 16#3E4F
16#3E57
16#3E5F
16#3E67
16#3E6F
16#3E77
16#3E7F
In the case of UDP socket, data entering the partner’s port number and IP address is invalid.
◆
IMPORTANT
・ The socket interface information is read only. Please don’t try to write data with “MWRITE”
as this may affect the accuracy of the data read.
Содержание EN655
Страница 1: ...Unified Controller nv series type1 light Ethernet Module EN655 Instruction Manual 6F8C1566 ...
Страница 14: ... 6F8C1566 xii ...
Страница 53: ...39 Chapter 5 Troubleshooting This chapter describes troubleshooting for the EN655 module ...
Страница 62: ...Chapter 5 Troubleshooting 6F8C1566 48 ...
Страница 80: ...Chapter 7 Application Interface 6F8C1566 66 66 Figure 7 4 UDP send example available variables ...
Страница 89: ...75 Appendix A Specifications A 1 General Specifications 76 A 2 EthernetTransmission Specifications 77 ...
Страница 92: ...Appendix A Specifications 6F8C1566 78 ...
Страница 93: ...79 Appendix B Outside Dimensions ...
Страница 95: ...81 Appendix C Related Products ...
Страница 97: ...83 Appendix D Reference Calculation Table D 1 Decimal hexadecimal conversion table 84 D 2 ASCII Code Table 86 ...
Страница 102: ...Appendix D Reference Calculation Table 6F8C1566 88 ...
Страница 104: ...1566 2 1906 ...