105
W&T
TCP / UDP - Binary
Subject to errors and modifications:
value
correspond to the matching outputs. This structure is
only used by the user program.
SetBit
WORD
send_sequenz
always 0
(PC -> Web-IO)
WORD
rec_sequenz
always 0
WORD
struct_type
0x0009
WORD
length
0x000C
WORD
set_bits
mask of bits to set
WORD
value
value of bits to set
Example.:
set_bits
=
0x0124
/
value
=
0x0104
Output 2 and Output 8 (counting from Output0..11) are set to
ON and Output 5 to OFF. All other outputs remain unchanged.
The IO structure Register Request
This structure is sent by the user program to the Web-IO in order
to be able to read the content of inputs and outputs in overview
form. The Web-IO always replies with the I/O structure
REG_STATE.
RegisterRequest
WORD
send_sequenz
always 0
(PC -> Web-IO)
WORD
rec_sequenz
always 0
WORD
struct_type
0x0021
WORD
length
0x0008
The IO structure Register State
The Web-IO sends the content of the inputs and outputs with
this structure. This structure is only sent if the user program
has sent the structure
Register Request
to the Web-IO.
RegisterState
WORD
send_sequenz
always 0
(PC <- Web-IO)
WORD
rec_sequenz
always 0
WORD
struct_type
0x0031
WORD
length
0x000E
WORD
driver_id
always 2
WORD
input_reg
Input State
WORD
output_reg
Output State
Содержание 57630
Страница 8: ...8 W T Content...
Страница 22: ...22 W T Assigning the IP address...
Страница 44: ...44 W T configuring the network parameters...
Страница 194: ...194 W T Diacnostics and testing...
Страница 211: ...211 W T Decalration of conformity Subject to errors and modifications 7 9 Declaration of Conformity...