KEPServer Data Scan Time|Classic OPC: DA, A&E, HDA, XML-DA, etc.|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
KEPServer Data Scan Time
Avatar
Pat
New Member
Members
Forum Posts: 1
Member Since:
10/23/2017
sp_UserOfflineSmall Offline
1
10/23/2017 - 11:21
sp_Permalink sp_Print sp_EditHistory

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.

Avatar
Frederick Loveless
Member
Members
Forum Posts: 20
Member Since:
10/02/2014
sp_UserOfflineSmall Offline
2
10/30/2017 - 08:19
sp_Permalink sp_Print

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.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 47
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1445
Posts: 4889