W&T 57630 Manual page 86

Web-io series 12+12 digital
Table of Contents

Advertisement

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.
86

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

57631

Table of Contents