Schneider Electric TSXCUSBMBP user manual Configuring the Slave Response Timeout

Page 24

Configuring the TSXCUSBMBP Driver

Configuring the Slave Response Timeout

Introduction

The Slave Response Timeout is used by the TSXCUSBMBP each time it sends a

 

request from an application out the Modbus Plus network to a slave device.

Slave Response

 

This timeout is variable due to the possibility of a radio link or serial link somewhere

Timeout

in between the TSXCUSBMBP device and the slave device it is communicating with:

 

z The interface between the application and the TSXCUSBMBP driver has the

 

same characteristics of an actual serial port.

 

z One request must be completed before another request can be sent out.

 

z If the slave device does not respond to the TSXCUSBMBP, it must time out from

 

waiting on the response before it can accept another request from the application.

Timeout Value The value for the Slave Response Timeout needs to be determined by adding together the following times:

1.The maximum amount of time it can take for a request to be sent to any slave device that the TSXCUSBMBP will be communicating with. This time must include any delays induced by modems, RF links, network bridges, etc.

2.The maximum amount of time it can take for any slave device to process a request. Note: Start operations on certain PLCs can take as long as 4 seconds or more to process. If the Slave Response Timeout value is lower than this, timeouts may occur.

3.The maximum amount of time it can take for a response to be sent from any slave device back to the TSXCUSBMBP. This time must include any delays induced by modems, RF links, network bridges, etc.

4.Some additional time to provide a ‘safety zone’ to allow for the ‘unexpected’. A value of 500 ms is adequate if all slave devices are connected on the local Modbus Plus network or through a high-speed bridge. If any slower network interfaces are in the communication path between the TSXCUSBMBP and any slave device, an adequate value is usually between 1000 and 2000 ms.

Note: When performing a Modbus network scan using ProWorx or Concept, changing the Slave Response Timeout value from its default of 5000 ms to 600 ms before the scan will greatly improve performance. However, the Slave Response Timeout must be set back to the proper value before attaching to a PLC in programming mode and performing Start operations.

24

35011984 02/2006

Image 24
Contents Tsxcusbmbp Page Table of Contents Connecting to a Modbus Plus Network Using the Tsxcusbmbp with an ApplicationModbus Plus Network Diagnostic Functions Appendix a Tsxcusbmbp Settings for UnitySafety Information Important InformationSchneider Electric. All Rights Reserved About the Book At a GlanceAbout the Book Glossary of Abbreviations Acronyms Introduction Glossary Abbreviations AcronymsAbbreviation/Acronym Expansion Abbreviations & Acronyms Overview Subject of this chapter Whats in this Chapter?Topic Modbus Plus Communication for Applications IntroductionVirtual Serial Port VSPModbus Plus Network Diagnostics Tsxcusbmbp HardwareDescription Overview Installation Subject of thisChapter? Installation Requirements Upgrading From Previous VersionInstalling the Tsxcusbmbp Driver Software Installing the Tsxcusbmbp HardwareIntroduction How to install Tsxcusbmbp Driver? How to install Tsxcusbmbp Hardware Establishing a Connection to StatusDriver Icon Color Status of the driverHow to rescan? Rescan AdaptersShow Interface If the iconConfiguring the Tsxcusbmbp Driver Tsxcusbmbp Driver Interface Window InterfaceWindow Display Select Show InterfaceConfiguring the Modbus Plus Node Address AddressAddress Changing Process Configuring the Slave Response Timeout TimeoutSlave Response Configuration Configured as follows Configuring the Virtual Serial COM Port AssignmentThen Configuring the Modbus Plus Routing ConfiguringAddressing MethodsExplicit DirectImplicit Routing Example Routing example Modbus + Slave IDModbus Plus Routing Path Node Used by Routing Table Address Application EntryTsxcusbmbp Entering Routing Paths into the Routing Table Configuring the Tsxcusbmbp Driver Connecting to a Modbus Plus Network Modbus Plus Network Status IndicatorFlash Codes LED Flash Code DescriptionConnecting to a Modbus Plus Network Using the Tsxcusbmbp with an Application Tsxcusbmbp with an Application Whats in this Chapter?Start the Tsxcusbmbp Driver Configure the Application Software Introduction Typical ConfigurationConnect Using the Tsxcusbmbp with an Application Modbus Plus Network Diagnostic Functions Section TopicModbus Plus Network Diagnostic Functions Starting the Diagnostic Functions Procedure for Starting the Diagnostic FunctionsProcedure for Scanning the Modbus Plus Network Scanning the Modbus Plus NetworkScanning Local or Complete Network Displaying Diagnostic Information Introduction Whats in this Section?Procedure for Displaying Diagnostic Information Modbus Plus Network Diagnostics screenProcedure ResultsNode Error Statistics Node Personality ScreennodeInternal Path Transactions Transactions Selected node ScreenScreen Green when active and gray when inactive Token Owner Work TableMap screen. This section describes this screen Node TokenActive Station Table Token Station Table Global Data Present Table Present TableRead Global Data Global DataModbus Plus Network Diagnostic Functions Appendices Introduction Whats in this Appendix?Appendices Tsxcusbmbp Settings for Unity Tsxcusbmbp Settings for UnityThis situation from occurring Configuring Unity Make sure both drivers are running You should now be able to Connect Tsxcusbmbp Settings for Concept & ProWORX32 SettingConfiguring Concept ProWORX32 TsxcusbmbpStep Action