107
W&T
TCP / UDP - Binary
Subject to errors and modifications:
The IO structure Counter
With this structure the Web-IO sends the counter state of the
input counter specified in
counter_index
.
ClearCounter
WORD
send_sequenz
always 0
(PC -> Web-IO)
WORD
rec_sequenz
always 0
WORD
struct_type
0x00B2
WORD
length
0x000A
WORD
counter_index
Input 0..11 (23 for Web-IO 24)
The IO structure ReadAllCounter
The user program sends this structure to the Web-IO to request
the counter states of all the inputs in a data packet. The Web-IO
always replies with the structure
ALL_COUNTER
.
ReadAllCounter
WORD
send_sequenz
always 0
(PC -> Web-IO)
WORD
rec_sequenz
always 0
WORD
struct_type
0x00B1
WORD
length
0x0008
The IO-Structure ReadClearAllCounter
The application program sends this structure to the Web-IO in
order to request the counter states of all inputs in a data pa-
cket and then immediately sets the counters to 0. The Web-IO
always replies with the structure
ALL_COUNTER
.
ReadClearAllCounter
WORD
send_sequenz
always 0
(PC -> Web-IO)
WORD
rec_sequenz
always 0
WORD
struct_type
0x00C1
WORD
length
0x0008
The IO structure AllCounter
The Web-IO uses this structure to send the counter states of all
the inputs at one time.
AllCounter
WORD
send_sequenz
always 0
(PC <- Web-IO)
WORD
rec_sequenz
always 0
WORD
struct_type
0x00B5
WORD
length
0x003A for Web-IO 12xDigital
0x006A for Web-IO 24xDigital
WORD
counter_count
number of Counters
LONG
counter_value
Counter 0
LONG
.........
..
LONG
counter_value
Counter 11 ( 23 for Web-IO 24)
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...