
Parameterising 1xcounter/16xdigital input module
Parameter data
12
Parameter setting via system bus (CAN) / CANopen
12.6
12.6.1
L
12.6−1
EDSPM−TXXX−9.0−11/2009
12.6 Parameterising 1xcounter/16xdigital input module
12.6.1 Parameter data
The parameter data can be used to assign a mode to the internal counter and to
configure the digital input filter.
For the 1xcounter/16xdigital input, three bytes of parameter data are available,
which are assigned via SDOs.
Parameter setting via Global Drive Control (GDC):
Depending on the plug−in station, the module is parameterised via the indices
3001
h
... 3010x
h
(maximum 8 counter modules). The parameter data is stored in
the subindex 1.
Parameter setting via CoDeSys:
The max. 8 counter modules are addressed via index I3401
h
. The parameter data
are assigned in the subindices 1 ... 64 (4 bytes per subindex). The counter module
assigns 1 subindex.
Index
Subindex
1
00
h
00
h
00
h
00
h
I3xxx
h
Byte 0Byte 1Byte 2
epm−t176
Fig. 12.6−1 Display of the parameter data of 1xcounter/16xdigital input
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
) Note!
Store changed parameters in the EEPROM via index I2003
h
. The
settings are maintained after switching off the supply voltage.
Kommentare zu diesen Handbüchern