W&T 57630 Manual page 106

Web-io series 12+12 digital
Table of Contents

Advertisement

W&T
The IO structure Send Mode
This structure is used to specify the trigger conditions with
which the Web-IO sends the state of the inputs to the user pro-
gram. There are basically three possibilities, but they can all be
combined with each other:
1. The user program polls the Web-IO by sending the READ
structure
2. The Web-IO sends the WRITE structure with the state of the
inputs at a configurable interval
3. The Web-IO sends the WRITE structure with the state of the
inputs after a state change of the configured inputs
SendMode
(PC -> Web-IO)
The IO structure ReadCounter
The user program sends this structure to the Web-IO to request
the counter state of a certain input counter. Which input is intended
is sent in the variable counter_index. The Web-IO always replies
with the COUNTER structure.
ReadCounter
(PC -> Web-IO)
The IO-Structure ReadClearCounter
The application program sends this structure to the Web-IO in
order to request the counter status of a particular input counter
and then immediately set to counter to 0. Which input this
involves is transmitted in the variable counter_index. The Web-
IO always replies with the structure COUNTER.
ReadClearCounter
(PC -> Web-IO)
106
WORD
send_sequenz
WORD
rec_sequenz
WORD
struct_type
WORD
length
WORD
ea_bits
WORD
interval
WORD
send_sequenz
WORD
rec_sequenz
WORD
struct_type
WORD
length
WORD
counter_index
WORD
send_sequenz
WORD
rec_sequenz
WORD
struct_type
WORD
length
WORD
counter_index
TCP / UDP - Binary
always 0
always 0
0x0010
0x000C
bit mask of input trigger
polling interval in 100ms
always 0
always 0
0x00B0
0x000A
Input 0..11 (23 for Web-IO 24)
always 0
always 0
0x00C0
0x000A
Input 0..11 (23 for Web-IO 24)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

57631

Table of Contents