Skip to main content
Version: 7.9

Direct Scan Class

Inductive University

Direct Scan Class

Watch the video

The Direct scan class executes at a fixed rate, which is defined by the slow polling rate setting. Every Tag that uses the Direct scan class will poll the PLC at the Slow Rate setting at all times (24x7x365).

Ignition comes with two default Direct scan classes called Default and Default Historical. You can use any Tags in your system, including multiple Tags, for creating a Direct scan class.

To Add a Direct Scan Class

  1. Open the Designer, in the Tag Browser, click on the Timer (" ") icon to open the Scan Class Editor.

    " "

    On the left side of the window, you can see the default scan classes: Default and Default Historical. They are both Direct scan classes. The Default scan class polls at a slow rate of 1 second, and Default Historical polls at a 10 second rate.

    " "

  2. To create a new scan class, click the green + icon on the bottom-left of the window.

  3. Enter the name of your new scan class: Direct 5 Second.

    • From the Mode dropdown, select Direct.
    • Set the Slow Rate (ms) to the number of milliseconds you want to poll at. This example sets the slow rate at 5,000 ms or 5 seconds.
    • Click OK.

    " "

  4. Once you have your Direct scan class created, let's add multiple Tags to this scan class.

    Go to your Tag Browser, find some Tags you want to add to the scan class. This example uses several Ramp Tags.

    Right click on the selected Tags, and click on Edit tag(s).

    " "

  5. This opens the Tag Editor window. Select the Direct scan class from the dropdown, and click OK.

    " "

You created a new Direct scan class and added your Tags. Just make sure you want to poll those values all the time (24/7) when you use a Direct scan class.