Counter example, Nanodac, 82 7.1 counter example – Carbolite nanodac User Manual

Page 84

Advertising
background image

nanodac™

MC27 –EN– 1.04

82

7.1 COUNTER EXAMPLE

This example shows how to set up a counter to be incremented each time Channel 1 Alarm 1 becomes
active, and reset each time channel 2, alarm 1 is acknowledged. For this example, Virtual Channel 3 will be
configured as the counter, with a preset value of 0.
1.

At Channel.1.Main, set:

Type = test
Test Signal = Sine 4 min.
Scale Low = 0
Scale High = 100

2.

At Channel.1.Alarm1, set:

Type = Abs Hi
Threshold = 50
Latch = None

3.

At Channel.2.Main, set:

Type = Test
Test Signal = Sine 40 min.
Scale Low = 0
Scale High = 100

4.

At Channel.2.Alarm 1, set:

Type = Abs Hi
Threshold = 90
Latch = Manual

5.

At Virtual Channel.3.Main, set:

Type = Counter

Operation = On

Input = 1

All the other parameters can be left at their defaults.
6.

Still at Virtual Channel 3 (Main), use the up/down arrow buttons to highlight ‘Trigger’. Press and hold
the scroll key. The top level User Wiring page appears, this time with a ‘From Source’ tab as well as
the ‘To Destination’ tab of example 1. This is because this parameter is read/write, whereas Alarm
Active is read only (i.e. its value may be read but not changed).

7.

Use the up (or down) arrow button to select the ‘From Source’ tab.




















Figure 4.2a Wiring a counter: part 1

Status

Resolution

Units

Input

Preset

Preset Value

Trigger

Virtual Channel.3.Main

Good

0

1

No

0

No

Virtual Channel.3.Main Trigger

User Wiring

From source

To destination

Add new wire

Virtual Channel.3.Main Trigger

User Wiring

To destination

Add new wire

From source

Advertising