S71500Driver Error


IF I Use This Tag ,other tag in the Device Connection will be bad, after remove it ,other tags will be good . and Logs has Error Contents.

Error Contents

/////////
java.lang.IllegalArgumentException: Cannot fit item of size 230 into bin with capacity 226.

at com.inductiveautomation.xopc.drivers.siemens.optimizer.constraints.AbstractCapacityConstraint$Bin.add(AbstractCapacityConstraint.java:51)

at com.inductiveautomation.xopc.drivers.siemens.optimizer.constraints.AbstractCapacityConstraint.constrain(AbstractCapacityConstraint.java:23)

at com.inductiveautomation.xopc.drivers.siemens.optimizer.constraints.ConstraintProcessor.process(ConstraintProcessor.java:54)

at com.inductiveautomation.xopc.drivers.siemens.optimizer.S7ReadOptimizer.optimizeReads(S7ReadOptimizer.java:66)

at com.inductiveautomation.xopc.drivers.siemens.S7Driver.optimizeRead(S7Driver.java:455)

at com.inductiveautomation.xopc.driver.api.AbstractDriver.optimizeSubscribe(AbstractDriver.java:994)

at com.inductiveautomation.xopc.driver.api.AbstractDriver$RequestSchedule.lambda$createNewSchedule$1(AbstractDriver.java:1138)

at java.base/java.util.HashMap.forEach(Unknown Source)

at com.inductiveautomation.xopc.driver.api.AbstractDriver$RequestSchedule.createNewSchedule(AbstractDriver.java:1137)

at com.inductiveautomation.xopc.driver.api.AbstractDriver$RequestSchedule.subscriptionChanged(AbstractDriver.java:1103)

at com.inductiveautomation.xopc.driver.api.BasicTransactionProcessor.notifyCallback(BasicTransactionProcessor.java:180)

at com.inductiveautomation.xopc.driver.api.BasicTransactionProcessor.processTransactions(BasicTransactionProcessor.java:56)

at com.inductiveautomation.xopc.driver.api.BatchingTransactionProcessor$TransactionRunnable.run(BatchingTransactionProcessor.java:102)

at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

at java.base/java.util.concurrent.FutureTask.run(Unknown Source)

at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.base/java.lang.Thread.run(Unknown Source)

That looks like an optimizer bug. You should report this to support. (This forum is not support.)

I've found issues when if a tag read from a DB is configured incorrectly everything read from that DB fails. Makes a fun whack-a-mole game of disabling tags in a UDT to find the errored tag.

I'm going to guess the tag is bad as trying to read a word as a string is causing some kind of configuration error that then breaks the whole DB reading process

If you want to read STRING from DB, you must specify correct format...
Like this:

DB1,STRING0.210

Ignition Siemens driver can read only up to 210 long strings...

1 Like