Lenze · I/O system 1000 · Reference Manual · DMS 5.0 EN · 09/2016 · TD17 136
5 CANopen communication
5.10 Parameterising the counter
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
5.10 Parameterising the counter
5.10.1 Commissioning examples
The indices for signal setting in the following examples refer to the EPM-S600.
Parameter data
( 140)
In the case of different counters, the function selection can be assigned to a different index.
Example 1: Counting upwards
Example 2: Accept set value
Example 3: Set comparison bit
If the count value is 255 (= comparison value), the digital output is set.
Step Setting Comment
1 Set signal evaluation:
Index 0x310A/x, bit 2 ... 0 = 0b100
(direction)
A signal evaluation has to be specified, otherwise the
counting process is not started.
2 Accept parameter setting:
0x31FF = 255
No storage into the EEPROM of the bus coupler.
3 Enable of the software gates via
control word : Bit 2 (SW_GATE_SET) =
HIGH
Transfer control word to the counter via PDO.
Step Setting Comment
1 Set signal evaluation:
Index 0x310A/x, bit 2 ... 0 = 0b100
(direction)
A signal evaluation has to be specified, otherwise the
counting process is not started.
2 Accept parameter setting:
0x31FF = 255
No storage into the EEPROM of the bus coupler.
3 Transmit set value to the counter via
PDO: e.g.
2147483583Tx-PDO= 7F|FF|FF|BF
4 Activating the set value via control
word: Bit 5 (COUNTERval_SET) =
HIGH
Transfer control word to the counter via PDO.
Step Setting Comment
1 Set signal evaluation:
Index 0x310A/x, bit 2 ... 0 = 0b100
(direction)
A signal evaluation has to be specified, otherwise the
counting process is not started.
2 Set comparator:
Index 0x3109/x, bit 2 ... 0 = 0b010
(count value comparison value)
3 Accept parameter setting:
0x31FF = 255
No storage into the EEPROM of the bus coupler.
4 Transfer the comparison value to the
counter via PDO: e.g.
255Tx-PDO= FF|00|00|00|00
5 Enable digital output via control
word :
Bit 1 (CTRL_DO_SET) = HIGH
Transfer control word to the counter via PDO.