Socket Information Generation Timing - Toshiba V Series Operation Manual

Integrated controller, ethernet module
Hide thumbs Also See for V Series:
Table of Contents

Advertisement

Chapter 7 Application Interface
7.1.4

Socket information generation timing

7
s o c k e t
< T C P > = 1
b i n d
c o n n e c t
< A O P > = 1 , < C O N > = 1
s h u t d o w n
c l o s e
A l l b i t s = 0
72
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.
S o c k e t i n f o r m a t i o n
Active (Client)
( N o t e : T h e s e r v e r f i r s t s e n d s a n o p e n r e q u e s t
T C P o p e n r e q u e s t
( C o m m a n d : 3 5 H , k i n d = 1 )
T C P s e n d r e q u e s t
( C o m m a n d : 3 7 H )
T C P c l o s e r e q u e s t
( C o m m a n d : 3 9 H )
Note: When a running controller is halted (RUN -> HALT), the controller basic software
requests the socket used by the controller to be closed.
t o b e r e a d y f o r a c o n n e c t i o n r e q u e s t
f r o m t h e c l i e n t )
Passive (Server)
T C P o p e n r e q u e s t
( C o m m a n d : 3 5 H , k i n d = 2 )
s o c k e t ( * 1 )
< T C P > = 1
b i n d
l i s t e n
s e l e c t
a c c e p t ( N e w s o c k e t g e n e r a t e d )
< T C P > = 1 , < P O P > = 1 , < C O N > = 1
( N o t e : T h e s o c k e t g e n e r a t e d b y * 1
i s c l o s e d b y i n s t r u c t i o n )
( D a t a r e c e i v e d )
< R C V > = 1
T C P r e c e i v e r e q u e s t
( C o m m a n d : 3 8 H )
r e c v
< R C V > = 0
( N o t e : R C V O N i f d a t a i s r e c e i v e d ,
O F F i f n o d a t a i s r e c e i v e d
( R e m o t e c l o s e d e t e c t e d )
< R C L > = 1 , < C O N > = 0
T C P c l o s e r e q u e s t
( C o m m a n d : 3 9 H )
s h u t d o w n
c l o s e
A l l b i t s = 0
model 2000 Ethernet Module Operation Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents