# Scan Class clairification

**URL:** <https://forum.inductiveautomation.com/t/scan-class-clairification/6022>\
**Category:** Ignition\
**Created:** [March 12, 2013, 6:38pm UTC](https://forum.inductiveautomation.com/t/scan-class-clairification/6022 "2013-03-12T18:38:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![WKetcham](https://avatars.discourse-cdn.com/v4/letter/w/c57346/32.png) [@WKetcham](https://forum.inductiveautomation.com/u/WKetcham)\
**Post date:** [March 12, 2013, 6:38pm UTC](https://forum.inductiveautomation.com/t/scan-class-clairification/6022/1 "2013-03-12T18:38:17Z")

</div>

Could someone please confirm/clarify the following:

If a sqlTag is assigned to a scan class with Mode direct, if it is not an alarm tag or logged historically then the PLC will only be polled for that data when the tag is being used on an active client window, correct?

I just want to make absolutely sure that I am not going to be hammer the PLC for a bunch of data that will only need to be looked at every couple of months. I know I could put my occasional use tags in a driven scan class but if they are not being polled for when the window is not open then it is just extra work.

Thanks

---

<div class="post-metadata">

**Author:** ![dave.fogle](https://avatars.discourse-cdn.com/v4/letter/d/43a26b/32.png) [@dave.fogle](https://forum.inductiveautomation.com/u/dave.fogle)\
**Post date:** [March 12, 2013, 8:26pm UTC](https://forum.inductiveautomation.com/t/scan-class-clairification/6022/2 "2013-03-12T20:26:28Z")

</div>

What you are describing and likely want is a Leased Scan Class. Leased tags will poll at the fast rate when on an active window and then at the slow rate when not on an active window.

---

<div class="post-metadata">

**Author:** ![WKetcham](https://avatars.discourse-cdn.com/v4/letter/w/c57346/32.png) [@WKetcham](https://forum.inductiveautomation.com/u/WKetcham)\
**Post date:** [March 12, 2013, 8:56pm UTC](https://forum.inductiveautomation.com/t/scan-class-clairification/6022/3 "2013-03-12T20:56:24Z")

</div>

After rereading the manual on scan classes my initial post sounds silly, but for some reason I thought I had read that the sqlTags were only updated when the they were subscribed to ❓

One follow up question: If a tag is configured for alarm, does that change the behavior of the leased scan class?

---

<div class="post-metadata">

**Author:** ![dave.fogle](https://avatars.discourse-cdn.com/v4/letter/d/43a26b/32.png) [@dave.fogle](https://forum.inductiveautomation.com/u/dave.fogle)\
**Post date:** [March 12, 2013, 9:13pm UTC](https://forum.inductiveautomation.com/t/scan-class-clairification/6022/4 "2013-03-12T21:13:37Z")

</div>

All tags are subscribed, and the scan class determines the subscription rate (basically).

No, the behavior of the scan classes are not affected by configured alarms on tags (for the most part).
