Technical data
59
W&T
Subject to errors and modifications
ReadDiagnosis WORD send_sequence always 0
(PC -> Web-IO) WORD rec_sequence always 0
WORD struct_type 0x00D1
WORD length 0x0008
In reply the Web-IO sends a Diagnosis type structure.
IO structure Diagnosis
The Web-IO sends the Diagnosis structure in reply to the
ReadDiagnosis structure.
Diagnosis WORD send_sequence always 0
(Web-IO -> PC) WORD rec_sequence always 0
WORD struct_type 0x00D0
WORD length 0x001C
LONG word_anz in this version 4
LONG diag_error_count quantity of pending errors
LONG diag_errorbits0 binary error encoding
LONG diag_errorbits1
LONG diag_errorbits2
The variable diag_error_count returns how many different
errors are currently in the error log. The Web-IO differentiates a
variety of different error states, whereby each set bit in the vari-
ables diag_errorbits0, diag_errorbits1 and diag_errorbits2
stands for an error type.
The exact text description can be opened using TCP Port 80.
IO structure ClearDiagnosis
This structure is used to clear the error log in the Web-IO.
ClearDiagnosis WORD send_sequence always 0
(PC -> Web-IO) WORD rec_sequence always 0
WORD struct_type 0x00D2
WORD length 0x0008
IO structure Options
This structure is used to set certain options in the Web-IO. 32
bits are available for this in the options variable.
Options WORD send_sequence always 0
(PC -> Web-IO) WORD rec_sequence always 0
WORD struct_type 0x01F0
WORD length 0x0010
LONG word_anz in this version 1
LONG options binary option encoding
In the current version of the Web-IO only Bit 0 in the options
variable is used.