It is not in the PLC. Depending on the system, it may be in the tag definition or in the screen element properities. Basically, something has to tell the data server how often to poll the PLC for an update on the each tag. Some things change slowly and can be updated infrequently without losing anything significant. An example could be the temperature of a tank of oil.
Some systems will update on exception, such as a large DCS, where a change of more than a few % would trigger an automatic update. But in this case, you have computers running the system and other computers writing the screens and there is a lot of computational capacity available.
I usually start out with slow update times, say 3 - 5 seconds. Then once you see the system run, all the things that are too slow can be sped up a little at a time while observing the performance. Some systems will automatically take tags off scan (or slow them way down) when they are not on a screen that is being observed.
In the old days, we sometimes had to lay out this scheme as part of the development process.
After a while, you will develop a feel for the size and speed of the system and the bandwidth requirement of your screens. One thing to bear in mind, the operator has to look at the screen all day. Fast screen updates on things that he does not care about will likely be ignored. I have had to go back and slow screen updates down to get the operators off my back!
Best Regards,
Bob A.