Create a Machine State Tag
First, you need to create a driving Tag if you don't already have one.
- In the Tag Browser, right-click on the Tags folder, then go to New Tag > Memory Tag to create a memory Tag.
The Tag Editor window is displayed.
- In Tag Editor, enter the following:
Name: Machine On
Tag Group: Default
Enabled: true
Data Type: Boolean
Value: false
- Click OK to add the Machine On Tag to the Tag Browser.

Add a Driven Tag Group Based on the Machine State
Once you have your driving Tag created, add a Driven Tag Group that updates the Tags based on when the machine is ON.
- In the Tag Browser, click on the Edit Tag Groups
icon to open the Tag Group Editor. - To create a new Tag Group, click Add
icon. - Enter the name of the Tag Group. For example, you can name it Driven Machine State, and set the Mode to Driven.
- Set the Rate to 10,000 (10 seconds) and the Leased/Driven Rate to 1000 (1 second).
- This Tag Group executes based on the condition you set on the Driving Expression. Set the Driving Expression by clicking the Edit
icon.

- This Tag Group executes based on the condition you set on the Driving Expression. Set the Driving Expression by clicking the Edit
icon. - Click the Tag
icon and choose the Tag you want to set the condition on (i.e., Machine On). - Click OK on the popup and apply changes in the upper right of the Tag Group Editor.

While still in the Tag Group Editor, set the following values:
Driving Comparison: =
Comparison Value: 1
Click OK in the lower right of the Tag Group Editor.

When the machine is on, it will use the Leased/Driven Rate (1 second). When the machine is off, it will use the Rate (10 seconds)
Next, select all the Tags that you want to use for the Drive Machine State Tag Group. This example uses Sine7, Sine8, and Sine9 Tags.
Right click on the selected Tags and choose Edit Tag.

The Tag Editor will open showing you are editing multiple Tags. From the Tag Group dropdown list, choose Drive Machine State, and click OK.

- Now let's turn the machine on. In the Tag Browser, mark the checkbox next to the Machine On Tag that we created earlier.
Now, when the machine is on, polling will be a at the 1 second rate for the Sine Tags. When the machine is off, polling will be at the 10 second rate for the Sine Tags. Test it by toggling the Machine On Tag on and off.

You can also set the Rate (slow rate) to a value of 0, which means polling is stopped when the condition is false. So for example, when the machine is off, you will see the Tags stay at the last known value.

Once the machine is turned back on, the Tags resume polling.