# Comm OFF and Comm Read-Only doesn't stop scripts

**URL:** <https://forum.inductiveautomation.com/t/comm-off-and-comm-read-only-doesnt-stop-scripts/81334>\
**Category:** Ignition\
**Created:** [November 1, 2023, 9:20pm UTC](https://forum.inductiveautomation.com/t/comm-off-and-comm-read-only-doesnt-stop-scripts/81334 "2023-11-01T21:20:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dmitrii\_Lysenkov](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dmitrii_lysenkov/32/53728_2.png) [@Dmitrii\_Lysenkov](https://forum.inductiveautomation.com/u/Dmitrii_Lysenkov)\
**Post date:** [November 1, 2023, 9:20pm UTC](https://forum.inductiveautomation.com/t/comm-off-and-comm-read-only-doesnt-stop-scripts/81334/1 "2023-11-01T21:20:07Z")

</div>

Hi All,

Comm OFF and Comm Read-Only prevent me to change Tags value manually, but when I run script it can change value. Is it any idea how to limit scripts to access Tags value for testing period?

---

<div class="post-metadata">

**Author:** ![Joshua\_Benjamin](https://avatars.discourse-cdn.com/v4/letter/j/e56c9b/32.png) [@Joshua\_Benjamin](https://forum.inductiveautomation.com/u/Joshua_Benjamin)\
**Post date:** [November 14, 2023, 11:51pm UTC](https://forum.inductiveautomation.com/t/comm-off-and-comm-read-only-doesnt-stop-scripts/81334/2 "2023-11-14T23:51:02Z")

</div>

Hey @Dmitrii_Lysenkov,

In terms of scope, where is the script being called located? If the script's definition is within the project library and you're calling it from the Designer, cutting the comms should prevent the script from ever being executed.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [November 14, 2023, 11:52pm UTC](https://forum.inductiveautomation.com/t/comm-off-and-comm-read-only-doesnt-stop-scripts/81334/3 "2023-11-14T23:52:20Z")

</div>

Perspective scripts run in the gateway, and therefore do not respect the designer's comm setting.

---

<div class="post-metadata">

**Author:** ![ggross](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ggross/32/12668_2.png) [@ggross](https://forum.inductiveautomation.com/u/ggross)\
**Post date:** [November 15, 2023, 12:33am UTC](https://forum.inductiveautomation.com/t/comm-off-and-comm-read-only-doesnt-stop-scripts/81334/4 "2023-11-15T00:33:52Z")

</div>

At this time, Perspective does no honor the `Comm Off` or `Comm Read-Only` settings in the Designer for the following items:

1. Scripts executed in a Perspective Designer Session
2. Tag Expressions in a Perspective Designer Session

There are open feature tickets to support this at some point in the future.

As of 8.1.29, these modes are supported for tag and polling bindings.

Garth

---

<div class="post-metadata">

**Author:** ![Dmitrii\_Lysenkov](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dmitrii_lysenkov/32/53728_2.png) [@Dmitrii\_Lysenkov](https://forum.inductiveautomation.com/u/Dmitrii_Lysenkov)\
**Post date:** [November 15, 2023, 6:47pm UTC](https://forum.inductiveautomation.com/t/comm-off-and-comm-read-only-doesnt-stop-scripts/81334/5 "2023-11-15T18:47:04Z")

</div>

Hi @Joshua_Benjamin,  
I'm running the script with push button at Perspective. But looks like all scripts don't respect Comm Off.  
It will be interesting which actions respects Comm Off and which are not.
