EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026
<== Date ==> <== Thread ==>

Subject: OPC UA Device Support - Limit in the number of PVs
From: eusebio_naif AL-SOLIMAN FUENTES via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Wed, 18 Mar 2026 10:48:25 +0100
Hello everyone,

I am performing some tests with the OPC UA Device Support, and I have found that there is apparently a limit to the number of PVs that can be added to the IOC.

Specifically, I am adding these two records 1000 times, where {index} is substituted by 0, 1, ... 1000:

record(calcout, "SIM:PV:DOUBLE:{index}") {
  field(SCAN, ".2 second")
  field(DESC, "counter")
  field(EGU, "Counter")
  field(HOPR, "100000")
  field(LOPR, "0")
  field(CALC, "A+B")
  field(INPA, "SIM:PV:DOUBLE:{index}.VAL NPP")
  field(INPB, "0.01")
  field(OCAL, "A")
  field(DOPT, "Use OCAL")
  field(OUT , "lo{index} PP")
}

record(ao, "lo{index}") {
    field(DTYP, "OPCUA")
    field(OUT,  "@$(SUBS) ns=2;s=SIM2.DOUBLE_{index}.DOUBLE")
}


When trying to launch the IOC with the index ranging from 0 to 2000, I experience several issues. The following errors appear in the IOC shell console:

OPC UA record lo1199 monitored item ns=2;s=SIM2.DOUBLE_1199.DOUBLE failed with error BadConnectionClosed
OPC UA record lo1200 monitored item ns=2;s=SIM2.DOUBLE_1200.DOUBLE failed with error BadConnectionClosed
OPC UA record lo1201 monitored item ns=2;s=SIM2.DOUBLE_1201.DOUBLE failed with error BadConnectionClosed
OPC UA record lo1202 monitored item ns=2;s=SIM2.DOUBLE_1202.DOUBLE failed with error BadConnectionClosed
OPC UA record lo1203 monitored item ns=2;s=SIM2.DOUBLE_1203.DOUBLE failed with error BadConnectionClosed
OPC UA record lo1204 monitored item ns=2;s=SIM2.DOUBLE_1204.DOUBLE failed with error BadConnectionClosed
OPC UA record lo1205 monitored item ns=2;s=SIM2.DOUBLE_1205.DOUBLE failed with error BadConnectionClosed
OPC UA record lo1206 monitored item ns=2;s=SIM2.DOUBLE_1206.DOUBLE failed with error BadConnectionClosed
OPC UA record lo1207 monitored item ns=2;s=SIM2.DOUBLE_1207.DOUBLE failed with error BadConnectionClosed


...

lo1054 : unsupported conversion from epicsFloat64 to Null for outgoing data
lo1054 : value out of range
lo1055 : unsupported conversion from epicsFloat64 to Null for outgoing data
lo1055 : value out of range
lo1056 : unsupported conversion from epicsFloat64 to Null for outgoing data
lo1056 : value out of range
lo1057 : unsupported conversion from epicsFloat64 to Null for outgoing data
lo1057 : value out of range
lo1058 : unsupported conversion from epicsFloat64 to Null for outgoing data
errlog: lost 191 messages


I have also observed this behavior when the index limit is as low as 1005.

Thanks in advance.

Best regards,
Eusebio.

--

Eusebio N. Al-Soliman

PhD Student

Departamento de Ingeniería de Computadores, Automática y Robótica


University of Granada

18008, Granada, Spaineunaif at go.ugr.es



Replies:
Re: OPC UA Device Support - Limit in the number of PVs Ralph Lange via Tech-talk

Navigate by Date:
Prev: [ANN] e3 - major architectural update Anders Lindh Olsson via Tech-talk
Next: Re: EPICS SNMP compile error Majer Karel via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026
Navigate by Thread:
Prev: [ANN] e3 - major architectural update Anders Lindh Olsson via Tech-talk
Next: Re: OPC UA Device Support - Limit in the number of PVs Ralph Lange via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026
ANJ, 19 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·