Hello,
I am troubleshooting intermittent duplicate label printing in a system running Ignition 8.3.1.
Due to confidentiality requirements, I can only provide a generic technical description.
The normal workflow is:
-
A scanner reads a product code once and correctly.
-
A tag-change script uses the identifier to retrieve label content from an API.
-
The label content is written to a tag.
-
A printing script sends the content to a network printer over a TCP socket.
-
The correct label is printed.
This process runs continuously during automatic operation. Products are normally scanned approximately every 5–20 seconds.
The issue is that, at some point, the printer receives a burst of 5–6 print jobs associated with previously scanned codes. All these jobs arrive within just 15–25 milliseconds.
The labels for these codes have already been printed correctly, and the corresponding products are no longer being processed by the machine. The scanner does not scan these codes again.
We have not yet established whether old identifiers are being retransmitted or rewritten within the system, or whether previously retrieved label content is being sent again.
Observations and checks so far:
-
A limited test involving only the final identifier reading and printing workflow completed without duplicates.
-
The issue has occurred during operation of the complete system.
-
Switching to another printer did not eliminate the issue in earlier tests.
-
Disabling a separate label-related script was followed by two runs without duplicates, but the issue later returned. This does not establish that script as the cause.
-
I checked the references to the
box_idtag using Cross Reference and confirmed that it is used to trigger label printing in only one location. -
Only one scanner is associated with this printer.
We are trying to distinguish between three possible scenarios:
-
Old identifiers are being written to the triggering tag again.
-
Another script is sending previously used label content.
-
Previously received jobs are being retained or repeated downstream of Ignition.
What diagnostic approach would you recommend to identify exactly where these repeated jobs originate?
In particular, what information should be logged at the tag-change event and immediately before the TCP socket send to distinguish repeated tag events, overlapping script executions, and calls to the printing function from different locations?
I can provide anonymized script excerpts and log samples if needed.
Thank you.