Schneider Electric LUFP7 user manual Configuring the Query, Configuration Description Element

Page 72

6. Configuring the Gateway

6.11.2.2. Configuring the Query

Select the “Query” element from the Modbus command. The various elements of the configuration of the query for this command are shown opposite. The values displayed correspond to the default values for any new command.

These elements allow you to configure how the whole command is managed, including how degraded modes are managed (number of re-transmissions, for example).

Each of these elements is described, in order, in the table below. When a unit is assigned to an element, it is shown in brackets after the name of the element.

Configuration

Description

element

 

Minimum time

This element is only relevant if you have added a “Broadcaster” node (see chapter 6.13

between

Adding a Broadcaster Node, page 85). This parameter then allows you to specify a waiting

broadcasts

time following the transmission of the selected broadcast command. The next Modbus

(10ms)

message, whatever it is, will only be transmitted by the gateway once this time has elapsed.

 

So it needs to be long enough to allow the slowest Modbus slave to process the command

 

which has been broadcast. This parameter is not used by commands which do not belong

 

to a broadcaster node.

 

With the LUFP7 gateway’s default configuration, this feature has not been used, so as to

 

control the Modbus slaves individually.

Offline options

This element affects the data sent to the Modbus slave, but only in the query to which this

for fieldbus

element belongs to, whenever the gateway is disconnected from the Profibus-DP network.

 

This element takes one of the following three values:

 

- Clear ..............From now on all data sent to the Modbus slave using this query is set to

 

16#0000 (resetting of the output data in the gateway’s memory).

 

- Freeze ...........All data sent to the Modbus slave using this query retains its current values

 

(the output data in the gateway’s memory is frozen).

 

- NoScanning ...The query is no more transmitted to the Modbus slave by the gateway

Offline options

This element affects the data sent to the Profibus-DP master PLC whenever the query to

for sub-network

which this element belongs to has not been answered with a response by the Modbus slave

 

(no response). This element takes one of the following two values:

 

- Clear ..............From now on the data sent to the Profibus-DP master PLC is set to

 

16#0000 (resetting of the input data in the gateway’s memory).

 

- Freeze ...........From now on the data sent to the Profibus-DP master PLC retains its current

 

values (the input data in the gateway’s memory is frozen).

 

N.B. exception responses issued by the Modbus slaves do not trigger the use of these “Offline options!”

Reconnect time

If there is no response from the Modbus slave to a query, or following the receipt of an

(10ms)

incorrect response, the gateway uses the “Retries” and “Timeout time (10ms)” elements to

 

carry out re-transmissions. If the Modbus slave has still not responded correctly following

 

these re-transmissions, the gateway stop sending it the corresponding query for a period of

 

time which can be adjusted using “Reconnect time (10ms)”.

 

When this period is over, the gateway attempts to restore communication with the Modbus

 

slave.

73

Image 72
Contents LUFP7 Page LUFP9 Page Table of Contents Introduction Introduction to the User GuideIntroduction to the LUFP7 Gateway TerminologyNotational Conventions DPM1Additional Documentation Introduction to the Communication System ArchitectureProfibus-DP Master Upstream network Profibus-DP ModbusPrinciple Used to Configure and Operate the LUFP7 Gateway ABC Configurator Modbus NetworkLUFP7 gateway HilscherProfibus-DP Configuration Modbus RTU Hardware Implementation of the LUFP7 GatewayOn Receipt Powering the Gateway Mounting the Gateway on a DIN RailMounting the gateway Connecting the Gateway to the Modbus Network LU9GC03Examples of Modbus Connection Topologies LUFP7 Gateway TSXCSA00 Pin OutsWiring Recommendations for the Modbus Network 120 ΩHubs, drops, taps, and line terminations Connecting the LUFP7 gateway to the Profibus-DP Network NAD 911 04/03 connector Point SUB-D maleCables Pin Outs LUFP7 plug --- 9-point SUB-D femaleWiring Recommendations for the Profibus-DP Network GNDNAD 911 04 or 03 connector Configuring the Profibus-DP Communication Features Encoding the Gateway AddressNo Internal Line Termination Address = Signalling Software Implementation of the Gateway IntroductionSystem Architecture Profibus-DPConfiguring the Motor Starters Modbus Cycle TimeManaging Degraded Modes Gateway Configuration under PL7 PRO and SyCon Setting Up the Hardware Configuration under PL7 PROCreating a Profibus-DP Network under SyCon Selecting and Adding the Profibus-DP Master StationSetting up the Gateway Description Files Editing and Configuring the Gateway Selecting and Adding the Gateway to the Profibus-DP NetworkSoftware Implementation of the Gateway Saving and Exporting the Profibus-DP Network Configuration Diagnostic lengthOptional Possible valuesConfiguring the Gateway I/O under PL7 PRO Service PLC input Description Service PLC output DescriptionIW4.0 IW4.0.1Description of Services Assigned to Gateway Inputs/Outputs Sample reading of a motor starter parameterAllocating Symbols to the Gateway Inputs and Outputs Using and Monitoring the TSX PBY 100 Coupler Configuration Developing a Profibus-DP ApplicationGateway Initialization and Diagnostics Disabled 5.3.2 Profibus-DP Master Control WordFull Management Control/Status Byte fieldProfibus-DP Master Control Word Fbdu Modbus exchange startup Bits Description Abchssend New gateway diagnostic 11EC Error code associated with the Modbus networkED Error data item associated with the Modbus network Gateway Status WordDiagnostic Only Description of the errorBits Description Abcdu Modbus exchanges activated Simplified Operation Configuring the Gateway Connecting the Gateway to the Configuration PCGND RS-232 Link ProtocolInstalling AbcConf Importing the Gateway ConfigurationTransferring a Configuration to the Gateway Monitoring the Content of the Gateway’s MemoryConfiguring the Gateway Procedure for deleting a Modbus slave Deleting a Modbus SlaveCopying a previously configured Modbus slave Adding a Modbus SlaveAdding a new type of Modbus slave Importing/exporting a Modbus slave configuration Changing the Periodic Data Exchanged with a Modbus Slave Replacing a periodic input data elementReplacing an Output Periodic Data Element Increasing the Amount of Periodic Input Data Configuring the Gateway Configuring the Gateway Configuring the Gateway IW4.0.16 IW4.0.17IW4.0.18 IW4.0.19Configuring the Gateway Configuring the Gateway Configuring the Gateway Configuring the Gateway Deleting Aperiodic Parameter Data QW4.0.16QW4.0.17 Configuring the Gateway Configuring the Gateway Managing the downstream Changing a Modbus Slave Configuration Changing the name of a Modbus slaveChanging the Address of a Modbus slave Adding and Setting Up a Modbus Command With the TeSys U Motor StartersName of the Modbus command Modbus query Modbus responseWith a Generic Modbus Slave CPU stop/failure LUFP7 gateway Profibus-DP Modbus RTU Configuring the Query Configuration Description ElementConfiguring the Gateway Default communication mode. The query is transmitted Configuring the Response Configuring the Content of the Query Frame Field Size Description Frame Mode. The default value, CRC, should not be changed Configuring the Content of the Response FrameStart byte fields Adding a Special Modbus Command Modbus Commands Based on Standard CommandsModbus Commands which Can Be Completely Changed by the User Configuring the General Characteristics of the Gateway Fieldbus ElementABC Element Sub-Network Element Configuring the Gateway Adding a Broadcaster Node Appendix a Technical Characteristics Communication CharacteristicsEnvironment Communications between other stations Performance Results Inputs General data GSD File Content Appendix B LUFP7 Gateway GSD FileIdentification Number Identification number Name of the related GSD fileMaximum response time of the gateway Input Appendix C Default Configuration Configuring Modbus Exchanges 16#1016#06 Content of the Gateway’s Dpram Memory Service Address Size DescriptionInput Data Memory Area Output Data Memory Area Appendix D Sample Use under PL7 PRO Overview of the LUFP7 Tutorial ExampleLUFP7 Gateway Initialization and Diagnostics See note IEC61915 command register Controlling and Supervising the 8 TeSys U Motor StartersTeSys U status register IEC61915 Reading and Writing any TeSys U Motor Starter Parameter Appendix D Sample Use under PL7 PRO Appendix D Sample Use under PL7 PRO Appendix E Profibus-DP Data and Diagnostics Gateway Profibus-DP DiagnosticsBytes Structure Description Gateway Configuration Data Bytes Name DescriptionGeneral Gateway Information Bytes Name Value108 Appendix F Modbus Commands Read Holding Registers Command 16#03 Preset Single Register Command 16#06Frame Field Value or properties Preset Multiple Registers Command 16#10 Modbus Protocol Exception ResponsesCode Name Description of the exception Exception Appendix F Concept and Quantum PLC LUFP7 QuantumLeft intentionally blank 114 Page User’s Manual LUFP7 V1.1 2003-05