# Configure DX80N9X6S-PM8 for counting

Out of the box, DX80N9X6S-PM8 sensors are only configured to show as an on/off signal and not a count. To create a count, we will configure the gateway to monitor the on/off signal and have it create a counter.

### You will need

* DXM Configuration Software - <https://info.bannerengineering.com/cs/groups/public/documents/software/b_4496867.exe>
* Ethernet connection to the Gateway

### Steps

1. Open the DXM Configuration Software and connect to the DXM gateway.

<figure><img src="https://352909507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrNT40XJFAFlAhUX8CcQS%2Fuploads%2Fgit-blob-4e632366ccd5a9360441eafb5640126cf59efd75%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

2. Load the DXM config in the toolbar using DXM > Get Configuration
3. Navigate to Local Registers > Action Rules > Trackers

<figure><img src="https://352909507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrNT40XJFAFlAhUX8CcQS%2Fuploads%2Fgit-blob-89a063f3131b283c4458f83b7dc495344ecb7cef%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

4. Here, we configure a tracker to watch the Register that signal on/off and record the number of times this happens in a Result Register. Input 1 of each node is the ***1 + (NodeID x 16)***

<figure><img src="https://352909507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrNT40XJFAFlAhUX8CcQS%2Fuploads%2Fgit-blob-92fea04d210859bc60bb2e471cc5debda2b07e01%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

5. Now save this configuration to the DXM using the toolbar menu at the top of the screen. DXM > Send XML Configuration to DXM

<figure><img src="https://352909507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrNT40XJFAFlAhUX8CcQS%2Fuploads%2Fgit-blob-67826c02eb66f05d88dd29254ad3c3ec755a7e43%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

6. Observe that the registers are counting by navigating to Tools > Register View. Read from register 100 and see that the count value is present

<figure><img src="https://352909507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrNT40XJFAFlAhUX8CcQS%2Fuploads%2Fgit-blob-2e0bb27ee91b0485f9a2a8079e21b3d1cc66da3a%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>
