# Using OPC-UA Historical Access in Ignition scripting

**URL:** <https://forum.inductiveautomation.com/t/using-opc-ua-historical-access-in-ignition-scripting/86940>\
**Category:** Ignition\
**Tags:** scripting\
**Created:** [March 6, 2024, 10:36pm UTC](https://forum.inductiveautomation.com/t/using-opc-ua-historical-access-in-ignition-scripting/86940 "2024-03-06T22:36:42Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dan\_Lozie](https://avatars.discourse-cdn.com/v4/letter/d/ac91a4/32.png) [@Dan\_Lozie](https://forum.inductiveautomation.com/u/Dan_Lozie)\
**Post date:** [March 6, 2024, 10:36pm UTC](https://forum.inductiveautomation.com/t/using-opc-ua-historical-access-in-ignition-scripting/86940/1 "2024-03-06T22:36:42Z")

</div>

I'm looking for a way to use OPC-UA Historical Access from Ignition to pull historical data from a third party HA enabled OPC-UA server. I know this is possible from other clients, but I can't seem to find a way to do it within Ignition.

Is anyone aware of a way to do this?

Thanks

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [March 6, 2024, 11:25pm UTC](https://forum.inductiveautomation.com/t/using-opc-ua-historical-access-in-ignition-scripting/86940/2 "2024-03-06T23:25:37Z")

</div>

I don't think there's anything you can do to get this working, we don't support OPC UA HA in any capacity.

---

<div class="post-metadata">

**Author:** ![Dan\_Lozie](https://avatars.discourse-cdn.com/v4/letter/d/ac91a4/32.png) [@Dan\_Lozie](https://forum.inductiveautomation.com/u/Dan_Lozie)\
**Post date:** [March 7, 2024, 3:36pm UTC](https://forum.inductiveautomation.com/t/using-opc-ua-historical-access-in-ignition-scripting/86940/3 "2024-03-07T15:36:51Z")

</div>

Thanks for the reply Kevin. Is there any particular reason for not supporting OPC UA HA?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [March 7, 2024, 3:46pm UTC](https://forum.inductiveautomation.com/t/using-opc-ua-historical-access-in-ignition-scripting/86940/4 "2024-03-07T15:46:33Z")

</div>

I've never actually seen a server that supports it. I'm guessing you have one, but I don't even know what I'd use to develop against. It's just not common in the market yet.

---

<div class="post-metadata">

**Author:** ![jose.granero](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jose.granero/32/11190_2.png) [@jose.granero](https://forum.inductiveautomation.com/u/jose.granero)\
**Post date:** [May 10, 2024, 2:55pm UTC](https://forum.inductiveautomation.com/t/using-opc-ua-historical-access-in-ignition-scripting/86940/5 "2024-05-10T14:55:53Z")

</div>

I have the exact same need.

---

<div class="post-metadata">

**Author:** ![Gerald\_Rodberg](https://avatars.discourse-cdn.com/v4/letter/g/dec6dc/32.png) [@Gerald\_Rodberg](https://forum.inductiveautomation.com/u/Gerald_Rodberg)\
**Post date:** [July 18, 2024, 6:33pm UTC](https://forum.inductiveautomation.com/t/using-opc-ua-historical-access-in-ignition-scripting/86940/6 "2024-07-18T18:33:39Z")

</div>

Phoenix Contact PLCNext PLC's support it for internally configured IO, as do several other things I've used (B&R, Beckhoff, Weintek cMT HMI's). I haven't been able to determine if any of the current generation of stand alone OPC-UA bus couplers can do onboard HDA. One once promised but seems to have backed out of that.

Let me provide a use case.

My personal application use deals with a burst mode batch recording I have to do in a standalone application. It can be deployed without a PLC or talks to a PLC as a process controller. The process needs to be recorded on multiple analog channels as fast as 10ms with minimal capture jitter, and the length is undetermined, so a traditional PLC would struggle at doing this data capture and normal IO access for Ignition may not be regular enough. We have to do some configured post-capture analysis for pass/fail, so the memory space flexibility is important. The data is usually discarded, but can be stored for future review, especially in the case of a fail.

We currently do this with a competitor's Windows SCADA package and a specific purpose USB capture device with onboard buffering and custom drivers. This results in hardware vendor lockin and inability to do this via any form of distributed IO.

I know in my case I could configure a PLC to alleviate these issues (specifically via a ping-pong buffer), but for such data recording applications, being able to run at a lower sampling rate would help reduce traffic and simplify or eliminate PLC based compensation schemes.

---

<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:** [July 18, 2024, 6:46pm UTC](https://forum.inductiveautomation.com/t/using-opc-ua-historical-access-in-ignition-scripting/86940/7 "2024-07-18T18:46:14Z")

</div>

> [@Gerald\_Rodberg](#):
>
> so a traditional PLC would struggle at doing this data capture and normal IO access for Ignition may not be regular enough

Sorry, simply not true. Modern PLC brands have large memory spaces that can be configured (with suitable code) as ring buffers. Ignition can efficiently gulp down huge arrays of structures upon triggers, and, in cases with high repetition rates for the bursts, supports 3rd party modules (like mine) that can do I/O type high-speed I/O.

**You** may struggle getting a PLC to do this, but it is not true in general.

---

<div class="post-metadata">

**Author:** ![Andre\_Hennecke](https://avatars.discourse-cdn.com/v4/letter/a/e95f7d/32.png) [@Andre\_Hennecke](https://forum.inductiveautomation.com/u/Andre_Hennecke)\
**Post date:** [August 18, 2025, 1:44pm UTC](https://forum.inductiveautomation.com/t/using-opc-ua-historical-access-in-ignition-scripting/86940/8 "2025-08-18T13:44:31Z")

</div>

Any chance that Historical Data Access will be supported by Ignition. We do also have server which supports Historical Data Access which is great to request missing data.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [August 18, 2025, 1:53pm UTC](https://forum.inductiveautomation.com/t/using-opc-ua-historical-access-in-ignition-scripting/86940/9 "2025-08-18T13:53:12Z")

</div>

Some day maybe, but it's not even on a current roadmap.
