Using Socket Services by Manipulating Dedicated Control Bits | Section | |
Program Memory Map | The send and receive data and bits (flags) used by the program are shown in | |
| the following diagram. |
|
DM Area
Send data, 100 bytes (100 = 0064 Hex)
Receive data, 100 bytes (100 = 0064 Hex)
CIO Area
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 to | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
|
|
|
|
|
|
|
|
|
|
|
|
|
CIO 0000 |
|
|
|
|
|
|
|
| TCP | TCP | TCP | TCP |
|
|
|
|
|
|
|
| Receive | Send | Close | Open | |
|
|
|
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
| Bit | Bit | Bit | Bit |
|
|
|
|
|
|
|
|
|
|
|
|
|
CIO 0001 |
|
|
|
|
|
|
|
| TCP | TCP | TCP | TCP |
|
|
|
|
|
|
|
| Receive | Send | Close | Open | |
|
|
|
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
| Error | Error | Error | Error |
|
|
|
|
|
|
|
|
| Flag | Flag | Flag | Flag |
|
|
|
|
|
|
|
|
|
|
|
|
|
CIO 0002 |
|
|
|
|
|
|
|
| TCP | TCP | TCP | TCP |
|
|
|
|
|
|
|
| Receiving | Sending | Closing | Opening | |
|
|
|
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
| Flag | Flag | Flag | Flag |
|
|
|
|
|
|
|
|
|
|
|
|
|
128