Schneider Electric LUFP9 Appendix B Default Configuration, Configuring Modbus exchanges, 16#10

Page 83

8. Appendix B: Default Configuration

The configuration described below corresponds to the LUFP9 gateway’s default configuration.

This chapter mainly gives the user information about the performances obtained on the downstream Modbus network. It allows the user to decide whether, for example, he should change the period for cyclical exchanges with one or more of the TeSys U motor starters (see chapter 6 Configuring the Gateway, page 40).

8.1. Configuring Modbus exchanges

The LUFP9 gateway carries out four types of exchanges with each of the 8 TeSys U motor starters. The first two exchanges are cyclical and allow you to control and monitor the motor starter. The last two exchanges are aperiodic (only when there is a change in the values of the data to be transmitted to the motor starter) and allow you to read and change the value of any motor starter parameter.

Function

Modbus function

Number of

Exchange between the LUFP9 gateway

 

 

bytes (1)

and the TeSys U motor starter

 

 

 

 

 

 

16#03

Read Holding

11,5 + 10,5

Periodic reading (300 ms period) of the

TeSys U

motor

Registers

starter’s status register (address 455 = 16#01C7) only

 

 

 

 

16#10

Preset Multiple

14,5 + 11,5

Periodic writing (300 ms period) of the

TeSys U

motor

Registers

starter’s status register (address 704 = 16#02C0) only

 

 

 

 

 

(Read Holding

 

Aperiodic reading of the value of a single parameter, for a

(16#03)

11,5 + 10,5

single TeSys U motor starter at a time

(function and

Register)

 

 

address supplied by the user)

 

 

 

 

 

 

 

 

(Preset Single

 

Aperiodic writing of the value of a single parameter, for a

(16#06)

11,5 + 11,5

single TeSys U motor starter at a time

(function and

Register)

 

 

address and value supplied by the user)

 

 

 

 

 

 

 

(1)Number of bytes in the Query + number of bytes in the Response, plus a period of silence of 3.5 characters for each of these two frames (see description of the “Message delimiter (10ms)” parameter in chapter 6.12.3 “Sub-Network” Element, page 77). Each byte will be transmitted in the form of a group of 10 bits (8 data bits, 1 start bit and 1 stop bit). These values allow you to calculate the approximate amount of traffic on the downstream Modbus network as follows:

Volume of periodic traffic (300 ms period)

[ (11.5 + 10.5) + (14.5 + 11.5) ] × (8 + 1 + 1) = 480 bits

For 1 TeSys U motor starter

1 × 480 × (1,000 ÷ 300) =

1,600 bits/s

For 8 TeSys U motor starters

8 × 480 × (1,000 ÷ 300) =

12,800 bits/s

As a result, on a network operating at 9,600 bits/s, you will need to considerably increase the cycle time for all or part of the periodic Modbus commands. On the other hand, at a speed of 19,200 bits/s (default speed), the available bandwidth is sufficient to allow proper communications, even in occasional degraded mode (frames re-transmission), and to allow the use of aperiodic setup exchanges.

83

Image 83
Contents LUFP9 Page LUFP9 Page Table of contents Introduction to the user guide IntroductionAltistart Introduction to the LUFP9 GatewayTerminology Additional Documentation Notational ConventionsDownstream network no.1 ModbusModbus VW33-A48 Downstream network no.3 ModbusPrinciple Used to Configure and Operate the LUFP9 Gateway Modbus network ABC ConfiguratorDeviceNet Network LUFP9 gatewayRSNetWorx RSLogixOn Receipt Configuration Modbus RTUHardware Implementation of the LUFP9 Gateway Mounting the gateway Dismounting the gateway Powering the gatewayMounting the Gateway on a DIN Rail Examples of Modbus connection topologies Connecting the Gateway to the Modbus NetworkLUFP9 gateway Pin outs TSXCSA00Hubs, drops, taps, and line terminations Wiring recommendations for the Modbus network120 Ω Pin Connecting the LUFP9 gateway to the DeviceNet networkWire colour CablesSelector Switches DeviceNet speed 3 4 5 6 7 Configuring DeviceNet Communication FeaturesEncoding the Gateway Address Selector DeviceNet Switches Address 3 4 5 6 7Speed Address Mac ID Signalling DeviceNet Master PLC SLC500 DeviceNet upstream network Software Implementation of the GatewayIntroduction System ArchitectureManaging degraded modes Configuring the Motor StartersModbus cycle time Selecting and adding the master PLC’s DeviceNet scanner Configuring the Gateway in RsNetWorxInstalling the Gateway Description File Editing gateway parameters Selecting and Adding the Gateway to the DeviceNet NetworkSoftware Implementation of the Gateway Configuring the DeviceNet Scanner I1.2 Configuring Inputs from the GatewayService PLC input Description I1.1O1.2 Configuring Outputs Intended for the GatewayService PLC output Description O1.1Input Value Meaning MSB + LSB Description of Services Assigned to Gateway Inputs/OutputsOutput Value Meaning MSB + LSB Developing a DeviceNet Application Transferring the DeviceNet Scanner ConfigurationControl/Status Byte field Sub-chapter Gateway Initialization and DiagnosticsFull Management SummaryBits Description Fbhssend New DeviceNet master command wordFbdu Modbus exchange startup Gateway Status Word Bits Description Abchssend New gateway diagnostic11EC Error code associated with the Modbus network ED Error data item associated with the Modbus networkDescription of the error Diagnostic only DeviceNet Master Command Word Simplified Operation Connecting the Gateway to the Configuration PC Configuring the GatewayPC COM Male 9 point SUB-D LUFP9 Configuration Female RJ45RS-232 link protocol Male RJ45Importing the Gateway Configuration Installing AbcConfMonitoring the Content of the Gateway’s Memory Transferring a Configuration to the GatewayConfiguring the Gateway Deleting a Modbus Slave Procedure for deleting a Modbus slaveKeyboard shortcut Ctrl Copying a previously configured Modbus slaveAdding a Modbus Slave Adding a new type of Modbus slaveImporting/exporting a Modbus slave configuration Replacing a Periodic Input Data Element Changing the Periodic Data Exchanged With a Modbus SlaveReplacing an Output Periodic Data Element Increasing the Amount of Periodic Input Data Configuring the Gateway Configuring the Gateway I1.20 I1.17I1.18 I1.19Configuring the Gateway Configuring the Gateway Configuring the Gateway O1.18 O1.17Deleting Aperiodic Parameter Data Configuring the Gateway Changing the Name of a Modbus Slave Changing a Modbus slave ConfigurationChanging the Address of a Modbus Slave Modbus response Adding and Setting Up a Modbus CommandName of the Modbus command Modbus query With TeSys U Motor StartersWith a Generic Modbus Slave Configuring the Gateway DeviceNet Configuration Description Element Configuring the QueryConfiguring the Gateway Default communication mode. The query is transmitted Configuring the Response Field Size Description Frame Configuring the Content of the Query FrameFrame FieldSize Configuring the Content of the Response Frame Mode. The default value, CRC, should not be changedModbus Commands Based on Standard Commands Adding a Special Modbus CommandModbus Commands which Can Be Completely Changed by the User Fieldbus element Configuring the General Characteristics of the GatewayABC Element Sub-Network Element Configuring the Gateway Adding a Broadcaster Node Environment Appendix a Technical CharacteristicsCommunication Characteristics Input data area InputsGeneral data area OutputsGeneral data Output data area16#06 Appendix B Default ConfigurationConfiguring Modbus exchanges 16#10Input Data Memory Area Content of the Gateway’s Dpram Memory16#0200 Main Program LAD 2 MAINLUFP9 Appendix C Practical Example RSLogixScanvalidation Address Symbol DescriptionAddress Symbol Display Cmdreset ModuleAppendix C Practical Example RSLogix Numparam Appendix C Practical Example RSLogix Wrrunning Reserves relating to the RSLogix 500 example Address Symbol DisplayClass Required Instances Interfaces Appendix D DeviceNet ObjectsIntroduction to the Gateway’s DeviceNet Objects List of the Gateway’s DeviceNet ObjectsIdentity Object class 16#01 Graphical Representation of the Gateway’s DeviceNet ObjectsAttributes of instance 16#01 of class 16#01 Services of instance 16#01 of class 16#01DeviceNet Object class 16#03 Message Router Object class 16#02Revision index of the Assembly Object class Assembly Objects Class 16#04Services of instance 16#01 of class 16#03 Services in class 16#04Attributes of instance 16#96 of class 16#04 Modbus Outputs Services of instances 16#64 and 16#96 of class 16#04Connection Object Class 16#05 Attributes of instance 16#64 of class 16#04 Modbus InputsAttributes of class 16#05 Services in class 16#05Produced connection ID Initial comm. characteristicsWatchdog timeout action 16#83Type Value 16#01 Get State Access Name16# 20 04 24 64 30 Type ValueGet / Set Produced connection path Type Value 16#07 Get / Set Produced connection size #0 xx Type Value 16#04 Get / Set Produced connection IDAttributes of class 16#2B Services in class 16#2BAcknowledge Handler Object class 16#2B Attributes of instances 16#01 to 16#04 of class 16#05Data with ack path list Services of instance 16#01 of class 16#2BType Value 16#06 Get Data with ack path list size Attributes of class 16#A0 Services in class 16#A0Services of instance 16#01 of class 16#A0 10.10. I/O Data Input Mapping Object Class 16#A0Attributes of class 16#A1 Services in class 16#A1Services of instance 16#01 of class 16#A1 10.11. I/O Data Output Mapping Object Class 16#A1Attributes of instance 16#01 of class 16#AA Diagnostic Object Class 16#AAServices in class 16#AA Attributes of class 16#AAChanged data field Access Name Need Type Value 16#09 Get LED statusModule type DeviceNet module statusServices of instance 16#01 of class 16#AA Appendix E Modbus Commands Frame Field Value or properties Read Holding Registers Command 16#03Preset Single Register command 16#06 Modbus Protocol Exception Responses Preset Multiple Registers Command 16#10Code Name Description of the exception Exception Page User’s manual V1.0 2003-03