# OPC Item Path Binding Issue

**URL:** <https://forum.inductiveautomation.com/t/opc-item-path-binding-issue/111303>\
**Category:** Ignition\
**Tags:** ignition81, scripting\
**Created:** [October 8, 2025, 10:37pm UTC](https://forum.inductiveautomation.com/t/opc-item-path-binding-issue/111303 "2025-10-08T22:37:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sameer\_Ambegaonkar](https://avatars.discourse-cdn.com/v4/letter/s/41988e/32.png) [@Sameer\_Ambegaonkar](https://forum.inductiveautomation.com/u/Sameer_Ambegaonkar)\
**Post date:** [October 8, 2025, 10:37pm UTC](https://forum.inductiveautomation.com/t/opc-item-path-binding-issue/111303/1 "2025-10-08T22:37:24Z")

</div>

Trying the write to the OPC item path through the script console using the following script

```python
system.tag.write("a/b/c/d/IO-01/SLOT1/ch0.OpcItemPath","{PLCPath}DB500,X0.0")

The path does not bind when written through the console. The tag is in error.

```

 ![error](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/e/8efff19dfd731e84f644ddc29283e23c3b3b218e.png)

 ![opc_path](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/4/4486e802a086bdfd8a683b1bfd61cab6b3d9b888.png)

However when the OPC item path is manually edited, binding is successful.

Need to bind a lot of tags so thought this was a better way rather than doing is manually.

Appreciate any help in this regard.

Cheers,

Sameer

---

<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:** [October 8, 2025, 11:53pm UTC](https://forum.inductiveautomation.com/t/opc-item-path-binding-issue/111303/2 "2025-10-08T23:53:11Z")

</div>

The curly braces are only interpreted as substitutions when entered into the tag editor **by a human**. If you want to set bindings programmatically, you need to construct a "bindType" object and assign with `system.tag.configure()`. Review a properly bound tag's JSON for reference on constructing a proper binding object.
