EasyManua.ls Logo

Toshiba V Series - TCP Socket Sample Programs

Toshiba V Series
258 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...
138 Ethernet module User’s Manual
Chapter 6 Socket Interface Communication
6
6.5.2 TCP socket sample programs
Two EN311 modules are mounted, one to Slot 6 and another to Slot 7 on the base. The
program for each module is to be registered as separate program.
• Transmission is performed via Slot 6, Socket 1 (Port number = 4000) ••• Active open
(timeout is 30 seconds) Æ Send Æ Close first
• Reception is performed via Slot 7, Socket 1 (Port number = 4001) ••• Passive open
(timeout is 30 seconds) Æ Receive Æ Close when RCLOSE is set to 1
• Number of send/receive words: 100 words
• Socket status address of Socket 1: 16 # 7E47 (word address)
(1) Initialization routine
Slot 6 Local station IP address: 133.113.90.10
Local station message transmission UDP port number: 4000
Slot 7 Local station IP address: 133.113.90.20
Local station message transmission UDP port number: 4001

Table of Contents

Other manuals for Toshiba V Series

Related product manuals