Parameterising 1xcounter/16xdigital input module
Parameter data
13
Parameter setting via PROFIBUS−DP
13.4
13.4.1
L
13.4−1
EDSPM−TXXX−9.0−11/2009
13.4 Parameterising 1xcounter/16xdigital input module
13.4.1 Parameter data
l For the 1xcounter/16xdigital input, 3 bytes of parameter data are available.
The parameter data can be used to assign a mode to the internal counter
and to configure the digital input filter.
l The module can be parameterised with the configuration tool or via slot and
index.
– To set the parameters via slot and index, the function blocks SFB 52 (read)
and SFB 53 (write) are required.
( 10.5−3)
Slot number
Index Access Description
1 ... 32 00
h
R Read out diagnostic data record 0
W Write parameters to the module
01
h
R The corresponding diagnostic data record of the electronic module can be
read out via the index.
· Example:
– Index 01
h
: read out diagnostic data record 1
– Index 02
h
: read out diagnostic data record 2
F1
h
R Read out the module parameters
F2
h
R Read out the process image of the module
R = read
W = write
The parameter data follows the assignment below:
Byte Assignment Lenze setting
0 Counter mode
00
h
Encoder with 4 edges
00
h
01
h
32−bit counter
02
h
Clock up/clock down evaluation
03
h
Measuring the frequency
04
h
Measuring the period
05
h
... FF
h
Reserved
1
Filter factor A 0 ... 255
Configuration of the digital input filters for
counter inputs E.0 and E.1
00
h
2 Filter factor B 0 ... 255 00
h