What version of CODESYS do you use? Some improvements were introduced with CODESYS V3.5 SP4.
But as I wrote earlier, the IOs are indeed getting populated but can't be fetched. If this would've been a communication buffer limitation then how come the inputs are all getting pushed in?
I talked to my colleague and there is no difference in the way the online mode of the editor fetches the values. You can add as many expression as you want but only the ones which fit into the buffer are fetched. The others return an exception if you request its value.
So even if you use the method read_values(<list of expressions>) you can't fetch more than the limit of the buffer. The bug in the scripting prevents you from reading a single value until you use a new instance of the online application.
Do you think using HFX48m instead of HFX12 controller would help?
Sorry, I can't help you with that.
Have you thought about using IEC Unit Tests for that problem? Or a combination of both?
Check out the CODESYS store: http://store.codesys.com/CODESYS® a trademark of 3S-Smart Software Solutions GmbH
Inspiring Automation Solutions