EasyManua.ls Logo

Toshiba V Series - Page 111

Toshiba V Series
126 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6F8C0878 97
E
<Example of TCP transmission>
The program shown here for reference sends data from S3 of STN1 through the Ethernet
TCP port 30004 of STN1 to S2 of STN2 where the data is received through the Ethernet
TCP port 30003.
Variable definition (TCP transmission)
VAR
OPEN_COMPLETE: BOOL;
OPEN_ERROR: BOOL;
OPEN_REQ: BOOL;
TX_COMPLETE: BOOL;
TX_ERROR: BOOL;
TX_REQ: BOOL;
OPEN_STATUS1: INT;
TS_DUMMY: WORD;
USEND_T_1: USEND_T;
USEND_T_2: USEND_T;
SEND_STATUS: INT;
CLOSE_REQ: BOOL;
TS_DATA:ARRAY[0..511] OF WORD;
T_O: typeTCP_OPEN;
T_S: typeTCP_SEND;
END_VAR
STN1 STN2
0
1
S3
2
3
Ethernet
4
172.16.64.7 172.16.64.4
(slot number) 5
6
7
0
1
S3
2
3
4
Ethernet
5
6
7

Table of Contents

Other manuals for Toshiba V Series

Related product manuals