9 PROFINET communication
9.8 Parameterising the counter
515
Lenze · I/O system 1000 · Reference Manual · DMS 5.0 EN · 09/2016 · TD17
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0x80 0 Alarm response Setting activates process alarm
Bit 0: Proc. alarm HW gate open
Bit 1: Proc. alarm HW gate closed
Bit 2: Proc. alarm overflow
Bit 3: Proc. alarm underflow
Bit 4: Proc. alarm comparison value
Bit 5: Proc. alarm final value
Bit 6: Proc. alarm latch value
Bit 7: Reserved
0x80
1 Numerator function Bit 5 ... 0:
0b000000 = continuous counting
0b000001 = single counting, main counting direction is
forward
0b000010 = single counting, main counting direction is
backward
0b000100 = single counting, no main counting direction
0b001000 = periodic counting, main counting direction is
forward
0b010000 = periodic counting, main counting direction is
backward
0b100000 = periodic counting, no main counting direction
Bit 7 ... 6: Reserved
0x40
2 Comparator Bit 2 ... 0: output switches (... if condition is met)
0b000 = never
0b001 = count value comparison value
0b010 = count value comparison value
0b100 = count value = comparison value
Bit 3: Invert counting direction track B
0 = no (do not invert)
1 = yes (invert)
Bit 6 ... 4: Reset
0b000 = deactivated
0b001 = HIGH level
0b011 = rising edge
0b101 = one-time rising edge
Bit 7: Reserved
0x00
3 Signal evaluation Bit 2 ... 0: Signal evaluation
• 0b000 = counter deactivated (the other parameter data
details for the counter are ignored)
• 0b001 = rotary transducer 1-fold (connection to "A/pulse"
input)
• 0b010 = rotary transducer 2-fold (connection to "A/pulse"
input)
• 0b011 = rotary transducer 4-fold (connection to "A/pulse"
input and "B/direction")
• 0b100 = direction (pulse at "A/pulse" input and direction
at "B/direction" input)
Bit 6 ... 3: Hardware gate (HW gate)
• 0b000 = deactivated (counter starts by setting SW gate)
• 0b001 = activated (HIGH level at gate activates the HW
gate. Counter starts if HW and SW gate are set.)
Bit 7: Gate function (internal gate)
• 0= abort (counting process starts again from loading
value)
• 1 = interrupt (counting process is continued with counter
content)
Data set Name Description/value Lenze
No. Byte