10/23/2017
Has anyone run into a problem with setting the scan time for items in KEPServer? I have a PLC sending data to the server, and through RSLogix I can see that values are coming from the device every 30 or so milliseconds, but KEPServer is only able to refresh the values coming in every ~2.5 seconds. I’ve changed the Item Update Interval and Update Rate to 10 ms in every setting section I could find within KEPServer, but nothing changes how often it refreshes its data. Any advice? I’m running KEPServerEx 6.2.
10/02/2014
There are several factors involved.
1. The client can set the update rate to the as fast as 10 msec but that does not mean that the driver will be able to get all pf the data from the device at that interval. For example, if it takes 5msec to process a single request for data to the device and return it to the server.driver and it tales more than 1 requsst to get all the data then the server will go into what is called a continuous poll mode. where the data is allways stale so is soon as one poll cycle completes it is immediately restarted. Device polling and client updating occur on different threads so it miight take 2 plus seconds poll certain data in the device however the server will check for changed data and update the client every 10 msec. So the server updates the client as soon as it gets the data or very soon after.
1. Writes and Discrete Reads take priority over polling. If you are frequently writing to the device that will take priority of the polling which will cause it to take longer to complete. Sync Reads and Writes block all client processing until they complete. Async Reads and Writes do not block client processing but they do override data change polling.
1 Guest(s)