Toshiba T2N Instruction Manual page 118

Cpu module ethernet port
Hide thumbs Also See for T2N:
Table of Contents

Advertisement

b.
TCP open request (active)
This program issues a TCP open request (active) for socket number 8 on the Ethernet Port.
This ladder program is executed by turning on the A contact on the R0640.
Parameters:
12544: 3100H, 00053: 0035H
341995909: 14627185H
Remote port IP address: 133.113.98.20
Remote port object socket TCP port number:
Local port specified socket TCP port number:
Open request timeout time: 1800 seconds
|
/* TCP active open request: executed when R0640 is set on. */
|
|R0640
1|-| |-+[12544 MOV RW000][00053 MOV RW001]----------------------------|
|
|
/* Module designation, CMD number setup */
|
|
|
+[00002 MOV RW002][00001 MOV RW003]----------------------------|
|
|
/* Socket identifier, open type setup
|
|
|
+[RW106 RW105 DMOV RW005 RW004][RW107 MOV RW006]---------------|
|
|
/* Remote port IP address and port number setup */
|
|
|
+[RW107 MOV RW007][18000 MOV RW008]----------------------------|
|
|
/* Local port number, timeout time setup
|
|
|
+[RW000 SEND RW010][RST R0640]---------------------------------|
|
/* Turn R0640 off after request setup and completion. */
|
4000
4000
117
6 F 3 B 0 3 6 2
|
|
|
|
*/
|
|
*/
|
|

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pu235nPu245n

Table of Contents