WAGO-I/O-SYSTEM 750 XTR
Commissioning 47
750-404/040-003 Counter Adjust XTR
Manual
Version 1.1.0
7.2
Examples for Commissioning in the Different
Operating Modes
7.2.1
Frequency Counter
Measurement method, frequency and representation
can be changed as
follows:
In this example, the I/O module should be set to a measurement range from
1 Hz to 100 kHz, with a resolution of 1/10 Hz and 16 measuring periods.
1.
Set the new measurement range in the control byte with bits 0 and 1
(request for measurement range change):
Control Byte
Output Bit
B7
W 6
W 5
W 4 W 3 W 2 W 1
B0
Value
0
X
*)
X
*)
X
*)
X
*)
X
*)
0
1
*)
Value has no relevance at this position.
2.
Wait for feedback from the counter in status byte bits 0 and 1 (confirmation
of measurement range change):
Status Byte
Input Bit
B7
W 6
W 5
W 4 W 3 W 2 W 1
B0
Value
X
*)
X
*)
X
*)
X
*)
X
*)
X
*)
0
1
*)
Value has no relevance at this position.
After the delay time has elapsed, the current frequency value with the set
resolution is written to the input data words D0 to D3:
Data Bytes
Input Data
D3
D2
D1
D0
Value
0x..
0x..
0x..
0x..
The
watchdog time
can be changed as follows:
In this example, the counter watchdog time should be changed to 5000 ms
(hexadecimal 0x1388).
1.
Write the new watchdog time in the output data:
Data Bytes
Output Data
D3
D2
D1
D0
Value
0x00
0x00
0x13
0x88