86
W&T
Controlling the Web-IO with TCP/UDP Sockets
the Web-IO responds with
diaglist2;Formatfehler
in
der
DNS
Anfrage
With a
for next
loop the
diaglist
command can be used to read
out all possible error messages and save them as a static list.
In binary mode, for example, you can only determine how many
errors there are currently. The associated error numbers are also
sent. By using the static error list a readable error can be
output.
Direct evaluation of the current errors
To get the current error status of the Web-IO you can use the
command
GET
/diagnosis?PW=password&
The Web-IO responds with
diagnosis;zzzz;yyyyyyyy;xxxxxxxx
In
zzzz
the Web-IO returns the number of current errors in 4-
place hex format.
yyyyyyyy; xxxxxxxx
may be ignored for normal, standard
applications.
For expert programmers
:
yyyyyyyy; xxxxxxxx
are two 32-bit
values, each in 8-place hex format. THe resulting 64 bits
substitute for the 64 possible error types. By using the static
error list (see GET /diaglist...) the individual bits can be
decoded. The LSB appears to the right in the x range and the
MSB to the left in the y range.
To get the current errors as an error text, the Web-IO provides
the command
GET
/diagnosisx?PW=&
Here x is the index for the error in decimal format beginning
with 1.
Summary of Contents for 57630
Page 8: ...8 W T Content...
Page 22: ...22 W T Assigning the IP address...
Page 44: ...44 W T configuring the network parameters...
Page 194: ...194 W T Diacnostics and testing...