Technical FAQs

Ask a Question

Performance issues with serial devices after a migration from SMS to SPM or PME (Communication Optimizations)

Issue
The SMS migration tool is setting the Receive Timeout for serial devices to 20,000 ms (20 seconds) and the Offline Timeout to 30,000 ms (30 seconds). 

Product Line
Power Monitoring Expert (PME) 8.0
Power Monitoring Expert (PME) 7.2.x 
StruxureWare Power Monitoring (SPM) 7.x 

Environment
SPM and PME serial communication performance enhancement
Communication Optimizations

Cause
The SMS migration tool is setting the Receive Timeout for serial devices to 20,000 ms (20 seconds) and the Offline Timeout to 30,000 ms (30 seconds).
These settings will result in extremely poor performance on daisy chains that have any devices that are not communicating. It is very important that these settings be updated on any existing SMS migration sites.

Explanation of these settings:
Receive Timeout - this is how long the software will wait for a response from a device before it declares a timeout. If the device times out three times in succession, and then goes through this timeout sequence three times, i.e. nine straight timeouts, it gets marked offline.
Offline Timeout - this is how long a device stays marked offline before an attempt is made to contact it again.

Resolution 
- Open Management Console
- Right click on the meter and select Configure device, or select multiple meters to change the setting at the same time.
- Go to Advanced Properties by  right clicking on the blank space at the bottom of the window and modify the settings as described below:

       Receive Timeout - 10000 (10 seconds)
       Offline Timeout - 600000 (10 minutes)

 - Close the windows, and ensure sure the devices are still online in the diagnostic viewer
 

Also, when older versions of the MDI added a a new device type to the database, it sets the IONBufferSize_bytes column to 4096. It should be set to 32768. To correct this, execute the following query on the ION_Network database:

UPDATE DeviceType
SET IONBufferSize_bytes = 32768
WHERE TranslatorID IN (SELECT ID FROM Translator WHERE Name = 'MODRTU' OR Name = 'MODTCP')

To Open SQL Management studio go to
- Start> All Programs> SQL Management studio, or Type SQL Management studio after clicking Start.
- Login to SQL using Windows credential, or SQL credentials.
- Click on New Query
- Select the ION_Network database and copy paste the query above.
- Click on the Exclamation mark to execute the query
- Close the windows once the query is executed successfully

Was this helpful?
What can we do to improve the information ?