beautypg.com

Profibus communication – Lenze I/O system 1000 System Manual User Manual

Page 439

background image

PROFIBUS communication

Parameterising the counter

Two counters 32 bits, 24 V DC − EPM−S601

9

l

439

EDSIO1000 EN 7.0

Lenze

Description/value

Name

Data set

Lenze

Description/value

Name

Byte

No.

2

Comparator
counter 1

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 7 ... 4: Reserved

00

h

3

Signal evaluation
counter 1

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

0...3

Set value counter 1

Counting method:
0x3111: byte 3 (high byte)
0x3112: byte 2
0x3113: byte 1
0x3114: byte 0 (low byte)

00

h

4...7

Final value counter 1

Counting method:
0x310D: byte 3 (high byte)
0x310E: byte 2
0x310F: byte 1
0x3110: byte 0 (low byte)

00

h

8...11 Loading value

counter 1

Counting method:
0x3109: byte 3 (high byte)
0x310A: byte 2
0x310B: byte 1
0x310C: byte 0 (low byte)

00

h

12

Hysteresis counter 1

The hysteresis for instance serves to avoid frequent
switching operations of the output and/or triggering of
the alarm when the count value is within the range of the
comparison value. For the hysteresis you can select a
range between 0 and 255. With the settings 0 and 1 the
hysteresis is switched off.
The hysteresis has an effect on the zero crossing,
comparison, overflow/underflow.

00

h

13

Reserved

82

h

0

Alarm response
counter 2

See counter 1

00

h

1

Counter function
counter 2

See counter 1

00

h

2

Comparator
counter 2

See counter 1

00

h

3

Signal evaluation
counter 2

See counter 1

00

h

83

h

0...3

Set value counter 2

See counter 1

00

h

4...7

Final value counter 2

See counter 1

00

h

8...11 Loading value

counter 2

See counter 1

00

h