Hi, I’m struggling with a problem around an SQO instruction. I’m not sure what is going on but I’m NOT always getting the correct output into my destination word? I have an array of DINT setup that moves the values into a destination word when a switch activates. Any ideas? Thanks.
Hi Chris and welcome back!
Have you checked to make sure your SQO instruction is not exceeding the amount of elements in the source array?
Check out my example image, since there is no position 10 in the sqo_test_source tag the data in the sqo_test_dest tag reads (2075180). This is basically garbage data. Care should be taken when setting up an SQO Instruction position, not to exceed the amount of elements in a Source array.
That was it. Thanks!
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.