(0)| 1/20/2026 4:50 PM | |
|
Joined: 3/16/2014 Last visit: 1/20/2026 Posts: 6 Rating:
|
I am attempting to track production data through multiple shifts using a shift register based off of a UDT. The shifting is being done through SCL. I have tested the code itself on a test bench PLC with no issues. When implementing it on the actual production machine I receive the area length error as soon as the code attempts to access the DB with the UDT array. The DB is optimized. There is more than enough memory available in the PLC (code work memory 27% used, all others below 5% used). I originally had the data in retentive memory but tried using volatile when that didn't work. This did not help. All variables referenced in the FB are declared in the UDT. I have attached the diagnostic file with the error highlighted. Any help would be appreciated. AttachmentDiagnostics.doc (1 Downloads) |
Follow us on