A SERVICE OF

logo

115
6 F 3 B 0 3 6 2
d. UDP receive request
This program issues a UDP send request for socket number 2 on the Ethernet Port.
This ladder program is executed by turning on the A contact on the R0621.
Parameters: 12544: 3100H, 00051: 0033H
0341995909: 14627185H
Transmission source IP address: 133.113.98.20
Transmission source object socket UDP port number: 3000
Reception data word count: 1000
Reception data storage registers: D2500 and above
Reception timeout time: 1800 seconds
| /* UDP receive request: executed when R0621 is set on. */ |
| |
|R0621 |
1|-| |-+[12544 MOV RW000][00051 MOV RW001]----------------------------|
| | /* Module designation, CMD number setup */
| | |
| +[00002 MOV RW002]---------------------------------------------|
| | /* Socket identifier setup */
| | |
| +[0341995909 DMOV RW004RW003][03000 MOV RW005]----------------|
| | /* Remote port IP address, port number setup */
| | |
| +[01000 MOV RW006]---------------------------------------------|
| | /* Reception data word count setup */
| | |
| +[00004 MOV RW007][02500 MOV RW008][18000 MOV RW009]-----------|
| | /* Reception data storage register type, storage register
|number, timeout time setup */
| | |
| +[RW000 RECV RW010][RST R0621]---------------------------------|
| /* Turn R0621 off after request setup and completion. */
| |