Profibus communication – Lenze I/O system 1000 System Manual User Manual
Page 446
PROFIBUS communication
Parameterising the counter
One counter 32 bits, 5 V DC − EPM−S602
l
446
EDSIO1000 EN 7.0
Lenze
Description/value
Name
Data set
Lenze
Description/value
Name
Byte
No.
2
Comparator
Bits 2 ... 0: Comparison bit is set (... if condition is met)
000
b
= never
001
b
= count value
³ comparison value
010
b
= count value
£ comparison value
100
b
= count value = comparison value
Bit 3: Invert counting direction track B
0 = no (do not invert)
1 = yes (invert)
Bits 6 ... 4: Reset
000
b
= deactivated
001
b
= HIGH level
011
b
= rising edge
101
b
= rising edge, once
Bit 7: Reserved
00
h
3
Signal evaluation
Bits 2 ... 0: Signal evaluation
000
b
= counter deactivated (the other parameter
details for the counter are ignored)
001
b
= rotary transducer single (at A and B)
010
b
= rotary transducer double (at A and B)
011
b
= rotary transducer quadruple (at A and B)
100
b
= direction (pulse at A and direction at B)
Bits 6 ... 3: Reserved
Bit 7: Gate function (internal gate)
0= abort (counting process starts again from loading
value)
1 = interrupt (counting process is continued with
counter content)
00
h
81
h
4...7
Final value
Counting method:
0x310D: byte 3 (high byte)
0x310E: byte 2
0x311F: byte 1
0x3110: byte 0 (low byte)
00
h
8...11 Loading value
Counting method:
0x3109: byte 3 (high byte)
0x310A: byte 2
0x310B: byte 1
0x310C: byte 0 (low byte)
00
h
12
Hysteresis
00
h