W&T 57630 Manual page 105

Web-io series 12+12 digital
Table of Contents

Advertisement

W&T
value correspond to the matching outputs. This structure is
only used by the user program.
SetBit
(PC -> Web-IO)
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
(PC -> Web-IO)
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
(PC <- Web-IO)
Subject to errors and modifications:
WORD
send_sequenz
WORD
rec_sequenz
WORD
struct_type
WORD
length
WORD
set_bits
WORD
value
WORD
send_sequenz
WORD
rec_sequenz
WORD
struct_type
WORD
length
WORD
send_sequenz
WORD
rec_sequenz
WORD
struct_type
WORD
length
WORD
driver_id
WORD
input_reg
WORD
output_reg
TCP / UDP - Binary
always 0
always 0
0x0009
0x000C
mask of bits to set
value of bits to set
always 0
always 0
0x0021
0x0008
always 0
always 0
0x0031
0x000E
always 2
Input State
Output State
105

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

57631

Table of Contents