Download Print this page

Timing Of Generation Of Information By Socket - Toshiba TC-net 100 Instruction Manual

Connecting to the unified controller nv series
Hide thumbs

Advertisement

7.1.3 Timing of generation of information by socket

The timing of setting and clearing information by socket when opened as
TCP/IP and closed after data transmission is shown below.
Information by socket
ソケット単位情報
アクティブ(クライアント)
TCP open request
TCP オープン要求
(Command: 35H, kind=1)
(コマンド:35H、kind=1)
socket
<TCP>=1
bind
connect
<AOP>=1,<CON>=1
TCP transmission
TCP 送信要求
(コマンド:37H)
(Command: 37H)
TCP close request
TCP クローズ要求
(Command: 39H)
(コマンド:39H)
shutdown
close
All bits=0
全ビット=0
(Note) When running the controller and then halting it, close is requested by the controller basic
software for the socket used by the controller.
Figure 7-3
Active (client)
Note: The server side makes an open
(注:サーバ側は先にオープン要求を行い、
request first to prepare for the
クライアントからの接続要求に備えます)
connection request from the client.
request
Information by socket and clear timing (1)
Unified Controller nv series TC-net 100 (TN8) Module Operation Manual
7.1 Information by Socket
Passive (server)
パッシブ(サーバ)
TCP open request
TCP オープン要求
(Command: 35H, kind=2)
(コマンド:35H、kind=2)
socket (*1)
<TCP>=1
bind
listen
select
(New socket is generated)
accept
(新しいソケットを生成)
<TCP>=1,<POP>=1,<CON>=1
Note: The socket generated at
(注:*1 にて生成したソケットは
*1 is closed by the instruction
命令語にてcloseされます)
word.
(Data reception)
(データ着信)
<RCV>=1
TCP reception request
TCP 受信要求
(Command: 38H)
(コマンド:38H)
recv
<RCV>=0
Note: RCV is ON when there
(注:RCV は着信データが有る場
is received data and OFF
合に ON、無い場合に OFF)
otherwise.
(Remote close detected)
(リモートクローズ検出)
<RCL>=1,<CON>=0
TCP close request
TCP クローズ要求
(Command: 39H)
(コマンド:39H)
shutdown
close
全ビット=0
61

Advertisement

loading

  Also See for Toshiba TC-net 100

  Related Manuals for Toshiba TC-net 100

This manual is also suitable for:

Tn8