EasyManua.ls Logo

Toshiba V Series - Socket Information Generation Timing

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...
74 model 3000 Ethernet Module / DS Connection Module Operation Manual
Chapter 7 Application Interface
7
7.1.4 Socket information generation timing
A timing chart for setting and clearing information on each socket is shown below,
provided that it is opened by TCP/IP and closed after sending/receiving data.
Note: When a running controller is halted (RUN -> HALT), the controller basic software
requests the socket used by the controller to be closed.
Socket information
TCP open request
(Command:35H, kind=1)
Active (Client)
(Note: The server first sends an open request
t
o be ready for a connecti on request
from the client)
Passive (Server)
TCP open request
(Command:35H, kind=2)
socket (*1)
<TCP>= 1
bind
listen
socket
<TCP>= 1
bind
connect
<AOP>=1,<CON>=1
accept (New socket generated)
<TCP> =1, <POP> =1 ,<CON > =1
(Note: The socket gen erated by *1
is closed by instruction)
TCP send request
(Command:37H)
(Data received)
<RCV>=1
TCP receive request
(Command:38H)
recv
<RCV> =0
(Note: RCV ON if data is received,
OFF if no data is received
TCP close request
(Command:39H)
shutdown
close
All bits=0
(Remote close detected)
<RCL>=1 , <CON>= 0
TCP close request
(Command:39H)
shutdown
close
All bits=0
select

Table of Contents

Other manuals for Toshiba V Series

Related product manuals