Examples - WAGO 750-404 Manual

Wago-i/o-system 750 fieldbus independent counter modules
Table of Contents

Advertisement

Set Outputs:
Bits 2 and 3 set the digital outputs DO 1 and DO 2 of the counter module. If
bits 2 or 3 are also set, they have priority before bits 0 and 1, so that the
corresponding output is set independent of the counter reading.

2.1.2.8 Examples

2.1.2.8.1 750-404
Set Counter:
First of all the counter reading is set to 100 by "Setting counter", i. e. to the
hexadecimal value: 0x64.
1. Enter the counter reading in the output data.
Output data
Value
2. Validate the counter reading in the control byte with bit 5 (setting counter)
Output bit
Value
3. Wait for the feedback from the counter module in the status byte, bit 5
Input bit
Value
4. Delete bit 5 (setting counter) in the control byte in order to finish the
Output bit
Value
5. The set counter reading then appears in the input data with the following
Input bit
Wert
X is used if a value is not relevant.
WAGO-I/O-SYSTEM 750
I/O Modules
The data bytes D0 to D3 of the output data then read as follows:
to have it adopted as an output value. The control byte has the following
bits:
B7
0
(counter set). The status byte has the following bits:
B7
X
Handshake. The bits in the control byte read as follows:
B7
0
data bytes D0 to D3:
750-404 [Up/Down Counter /100 kHz]
Data bytes
D3
D2
0x00
0x00
Control byte
B6
B5
B4
X
1
X
Status byte
B6
B5
B4
X
1
X
Control byte
B6
B5
B4
X
0
X
Data bytes
D3
D2
0x00
0x00
Examples
D1
D0
0x00
0x64
B3
B2
B1
X
X
X
B3
B2
B1
X
X
X
B3
B2
B1
X
X
X
D1
D0
0x00
0x64
• 21
B0
X
B0
X
B0
X

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

I/o-system 750

Table of Contents