{}

Our Brands

Schneider Electric Gulf Countries and Pakistan Website

Welcome to our website.
Search FAQs
How to calculate the ‘Delay Between Frames’ value for the inter-character gap time on a Unity Momentum serial Modbus port
Issue
The Modbus slave RS232 serial port of a legacy Momentum (Concept based program) does NOT adhere to the inter-character gap timing in RTU mode.  The Modbus slave RS232 serial port of a Unity Momentum (Unity based program) does adhere inter-character gap timing in RTU mode.

Because of this difference, a Unity Momentum that replaces a legacy Momentum PLC used in radio/modem communications, may result in an increase in communication errors or limited operation.


Product Line
171CBU78090
171CBU98090
171CBU98091



Resolution
One solution may be to increase the Delay Between Frames, aka 'inter-character gap', timing of the slave port.  For example, to achieve an inter-character gap of 20ms, the Delay Between Frames value must be changed from its default value of 4 to 47.  This does not mean the delay was increased from 4ms to 47ms.  It is a value that results in a specific inter-character gap time calculation.

To determine the value required for a specific inter-character gap time, the following equation is used.  The example below shows how a value of 47 was calculated for a 20ms inter-character gap requirement.

(Delay Between Frames value = (7 x intercharacter gap required in ms) / 3)

Delay Between Frames value = [7 x 20ms] / 3)
Delay Between Frames value = [140 / 3)
Delay Between Frames value = 46.6  (47)

The result is then entered into the 'Delay between frames' field (as indicated below).


Configuration screen




Schneider Electric United Arab Emirates

How to calculate the ‘Delay Between Frames’ value for the inter-character gap time on a Unity Momentum serial Modbus port
Issue
The Modbus slave RS232 serial port of a legacy Momentum (Concept based program) does NOT adhere to the inter-character gap timing in RTU mode.  The Modbus slave RS232 serial port of a Unity Momentum (Unity based program) does adhere inter-character gap timing in RTU mode. 
 
Because of this difference, a Unity Momentum that replaces a legacy Momentum PLC used in radio/modem communications, may result in an increase in communication errors or limited operation. 


Product Line
171CBU78090
171CBU98090
171CBU98091



Resolution
One solution may be to increase the Delay Between Frames, aka 'inter-character gap', timing of the slave port.  For example, to achieve an inter-character gap of 20ms, the Delay Between Frames value must be changed from its default value of 4 to 47.  This does not mean the delay was increased from 4ms to 47ms.  It is a value that results in a specific inter-character gap time calculation.

To determine the value required for a specific inter-character gap time, the following equation is used.  The example below shows how a value of 47 was calculated for a 20ms inter-character gap requirement. 
 
(Delay Between Frames value = (7 x intercharacter gap required in ms) / 3)

Delay Between Frames value = [7 x 20ms] / 3)
Delay Between Frames value = [140 / 3)
Delay Between Frames value = 46.6  (47)

The result is then entered into the 'Delay between frames' field (as indicated below).


  Configuration screen




 

Schneider Electric United Arab Emirates

Explore more
Range:
Explore more
Range:
Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Explore more
Range:
Explore more
Range:
Your browser is out of date and has known security issues.

It also may not display all features of this website or other websites.

Please upgrade your browser to access all of the features of this website.

Latest version for Google Chrome, Mozilla Firefox or Microsoft Edgeis recommended for optimal functionality.
Your browser is out of date and has known security issues.

It also may not display all features of this website or other websites.

Please upgrade your browser to access all of the features of this website.

Latest version for Google Chrome, Mozilla Firefox or Microsoft Edgeis recommended for optimal functionality.