![](/images/new-backgrounds/1300968/300968239x1.webp)
6 F 3 B 0 3 6 2
d.TCP send request
This program issues a TCP send request for socket number 8 on the Ethernet Port. |
| ||||
This ladder program is executed by turning on the A contact on the R0632. |
| ||||
| Parameters: | 12544: 3100H, 00055: 0037H |
|
| |
| Transmission data word count: 1000 |
|
| ||
| Transmission data storage registers: D1000 and above |
|
| ||
|
|
| |||
/* TCP send request: executed when R0632 is set on. */ | |||||
|
|
|
| ||
R0632 |
|
|
| ||
MOV RW000][00055 MOV | |||||
/* | Module designation, CMD number setup | */ |
| ||
|
|
| |||
+[00008 | MOV | ||||
/* | Socket identifier setup */ |
|
| ||
|
|
| |||
+[01000 | MOV | ||||
/* | Transmission data word count setup | */ |
| ||
|
|
| |||
+[00004 | MOV RW004][00000 MOV | ||||
/* | Transmission data storage register type, storage register | ||||
number setup | */ |
|
| ||
|
|
| |||
+[RW000 | SEND RW010][RST | ||||
|
| /* Turn R0632 off after request setup and completion. */ | |||
|
|
|
| ||
|
|
|
|
|
|
⎯ 119 ⎯