Is the PLCNext scan cycle synchronized with logic analyzer & internal webserver?
Hello,
I've made a small PLC program where I have multiple function arrays. At the beginning of each PLC cycle I clear all the values in those arrays. After this the program is writing data to certain places in that array depending on the enabled functions. This is done every PLC cycle. I clear all the arrays to make sure the values are restored/reset after disabling an function. I've already checked the execution order which is correct:
1. Clear all the array's;
2. Inputs; (Write to array's)
3. Proces; (Read from & Write to array's)
4. Outputs; (Read from array's)
When I use the values in the array's in the internal webserver I see the value blinks every now and then. When I add the values to the logic analyzer window I see the same behaviour(Screenshot_logic_analyzer.png). I think the PLC cycle isn't synced with the logic analyzer and the internal webserver (so it doesn't read the value at the end of every PLC Cycle) . Can anyone confirm this? if yes, is there a way to use a synchronized mode?
Thanks in advance.
I've made a small PLC program where I have multiple function arrays. At the beginning of each PLC cycle I clear all the values in those arrays. After this the program is writing data to certain places in that array depending on the enabled functions. This is done every PLC cycle. I clear all the arrays to make sure the values are restored/reset after disabling an function. I've already checked the execution order which is correct:
1. Clear all the array's;
2. Inputs; (Write to array's)
3. Proces; (Read from & Write to array's)
4. Outputs; (Read from array's)
When I use the values in the array's in the internal webserver I see the value blinks every now and then. When I add the values to the logic analyzer window I see the same behaviour(Screenshot_logic_analyzer.png). I think the PLC cycle isn't synced with the logic analyzer and the internal webserver (so it doesn't read the value at the end of every PLC Cycle) . Can anyone confirm this? if yes, is there a way to use a synchronized mode?
Thanks in advance.