W&T 57630 Manual page 101

Web-io series 12+12 digital
Table of Contents

Advertisement

W&T
Type
Determines the type in which the binary mode shall be used.
The application must enter 0x04 here to open a TCP
connection.
In its reply the Web-IO enters
0x02 if the connection request was accepted.
0x03 if the connection request was rejected..
SubType
Gives additional details on the status of the connection
request..
The application always sends 0x00.
The Web-IO replies with
0x01
BINSUBTYPE_OK,
0x02
BINSUBTYPE_NO_ACCESS, // if a connection is already open
0x04
BINSUBTYPE_WAIT,
0x07
BINSUBTYPE_PW_MISMATCH,
0x08
BINSUBTYPE_DEST_PORT_MISMATCH,
0x09
BINSUBTYPE_MODUS_MISMATCH,
If 0x01 or 0x04 was received, the actual data connection can
be opened.
SrcPort
The client application always enters a 0 here.
The Web-IO returns here the opened server port (e.g., 49153
for binary 1). If the login attempt fails, the Web-IO enters 80.
DestPort
The client application enters here which port the connection is
to be opened on. (e.g. 49153 for Binary 1 or 49154 for Binary
2)
Subject to errors and modifications:
// if the connection request was accepted..
// If the connection is only allowed to be opened
// after a timeout
// if wrong password
// if wrong Destination Port
// if wrong mode
TCP / UDP - Binary
101

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

57631

Table of Contents