# Custom Properties and Tags

**URL:** <https://forum.inductiveautomation.com/t/custom-properties-and-tags/65279>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [October 17, 2022, 1:58pm UTC](https://forum.inductiveautomation.com/t/custom-properties-and-tags/65279 "2022-10-17T13:58:36Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![CMuecke](https://avatars.discourse-cdn.com/v4/letter/c/df705f/32.png) [@CMuecke](https://forum.inductiveautomation.com/u/CMuecke)\
**Post date:** [October 17, 2022, 1:58pm UTC](https://forum.inductiveautomation.com/t/custom-properties-and-tags/65279/1 "2022-10-17T13:58:36Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/8/d8705dd19a0255471b758fe95748798b73969e66.png)

Is it possible to bind Custom Properties and Tags together?

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [October 17, 2022, 2:03pm UTC](https://forum.inductiveautomation.com/t/custom-properties-and-tags/65279/2 "2022-10-17T14:03:06Z")

</div>

Sure!  
Click n the column below the CUSTOM arrow and select the _Tag_ binding type. Hit the tag icon on the right of the _Tag Path_ field and the rest should be obvious.

Were you trying to do something more than that?

* * *

> Is it possible to bind Custom Properties and Tags together?

Technically, you're binding the control property to the tag. You can't bind the tag to a component. (That's why the binding is created in the component property dialog.)

---

<div class="post-metadata">

**Author:** ![CMuecke](https://avatars.discourse-cdn.com/v4/letter/c/df705f/32.png) [@CMuecke](https://forum.inductiveautomation.com/u/CMuecke)\
**Post date:** [October 17, 2022, 2:07pm UTC](https://forum.inductiveautomation.com/t/custom-properties-and-tags/65279/3 "2022-10-17T14:07:04Z")

</div>

I may have worded it in a bad way.

I do not need the Custom Property to read the tag, but rather the Tag to read the Custom Property?

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [October 17, 2022, 2:10pm UTC](https://forum.inductiveautomation.com/t/custom-properties-and-tags/65279/4 "2022-10-17T14:10:13Z")

</div>

> [@CMuecke](#):
>
> ... but rather the Tag to read the Custom Property?

No. The tags exist separately to any project. They're on the gateway. Remember that you might not even have a project running for the tag to read and that, at the opposite end of the spectrum, you could have very many clients running.

You _can_ make a binding bidirectional so that the tag will store the status of the property but that will affect all clients that refer to that tag.

Explain more what problem you are trying to solve. It's not clear from your question.

---

<div class="post-metadata">

**Author:** ![CMuecke](https://avatars.discourse-cdn.com/v4/letter/c/df705f/32.png) [@CMuecke](https://forum.inductiveautomation.com/u/CMuecke)\
**Post date:** [October 17, 2022, 2:15pm UTC](https://forum.inductiveautomation.com/t/custom-properties-and-tags/65279/5 "2022-10-17T14:15:21Z")

</div>

Gladly!

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/8/988b0053d75d7d90ba9ed508e22bcbe5a0e0029f.png)

So I have a table with ingredients that need to be ran. My plan was to send down the information from SQL down to the PLC.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [October 17, 2022, 2:25pm UTC](https://forum.inductiveautomation.com/t/custom-properties-and-tags/65279/6 "2022-10-17T14:25:21Z")

</div>

> [@CMuecke](#):
>
> ... need to be ran. My plan was to send down the information from SQL down to the PLC.

When a recipe needs to be run you would do something like this:

- When the _Recipe Download_ button is pressed (or sequence initiated) check that the machine is ready to start a new batch so that you don't write over a running recipe.
- Have your script read the recipe from SQLBatchData1 and update the PLC tags. See  
[system.tag.writeBlocking - Ignition User Manual 8.0 - Ignition Documentation](https://docs.inductiveautomation.com/display/DOC80/system.tag.writeBlocking)

1 SQLBatchData isn't a great name for a recipe. It suggests to me the results at the _end_ of a batch.

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [October 17, 2022, 2:49pm UTC](https://forum.inductiveautomation.com/t/custom-properties-and-tags/65279/7 "2022-10-17T14:49:21Z")

</div>

> [@Transistor](#):
>
> 1 SQLBatchData isn't a great name for a recipe. It suggests to me the results at the _end_ of a batch.

I agree. If it's a recipe, call it recipe.

---

<div class="post-metadata">

**Author:** ![CMuecke](https://avatars.discourse-cdn.com/v4/letter/c/df705f/32.png) [@CMuecke](https://forum.inductiveautomation.com/u/CMuecke)\
**Post date:** [October 17, 2022, 3:04pm UTC](https://forum.inductiveautomation.com/t/custom-properties-and-tags/65279/8 "2022-10-17T15:04:33Z")

</div>

I agree. It just named that for testing purposes.

Thank you for the help!
