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

 

 

 

1- -+[12544

MOV RW000][00055 MOV RW001]----------------------------

/*

Module designation, CMD number setup

*/

 

 

 

 

+[00008

MOV RW002]---------------------------------------------

/*

Socket identifier setup */

 

 

 

 

 

+[01000

MOV RW003]---------------------------------------------

/*

Transmission data word count setup

*/

 

 

 

 

+[00004

MOV RW004][00000 MOV RW005]----------------------------

/*

Transmission data storage register type, storage register

number setup

*/

 

 

 

 

 

+[RW000

SEND RW010][RST R0632]---------------------------------

 

 

/* Turn R0632 off after request setup and completion. */

 

 

 

 

 

 

 

 

 

 

119

Page 120
Image 120
Toshiba T2N instruction manual TCP send request