
118
6
F
3
B
0
3
6
2
c.
TCP close request
This program issues a TCP close request for socket number 8 on the Ethernet Port.
This ladder program is executed by turning on the A contact on the R0633.
Parameters: 12544: 3100H, 00057: 0039H
| /* TCP close request: executed when R0633 is set on. */ |
| |
|R0633 |
1|-| |-+[12544 MOV RW000][00057 MOV RW001]----------------------------|
| | /* Module designation, CMD number setup */
| | |
| +[00008 MOV RW002]---------------------------------------------|
| | /* Socket identifier setup */
| | |
| +[RW000 SEND RW010][RST R0633]---------------------------------|
| /* Turn R0633 off after request setup and completion. */
| |