Schneider Electric LUFP7 user manual Content of the Gateway’s Dpram Memory, Input Data Memory Area

Page 95

10. Appendix C: Default Configuration

10.2. Content of the Gateway’s DPRAM Memory

The LUFP7 gateway’s DPRAM memory contains all of the data exchanged between the gateway and the 8 TeSys U motor starters, as well as two special registers only exchanged between the gateway and the Profibus-DP master (words used for managing the downstream Modbus network).

The flow of data exchanged between the TeSys U motor starters, the gateway and the Profibus-DP master is shown below, in order to highlight the role of the gateway’s memory in these exchanges:

TeSys U motor starters

c d e

j

Outputs

Modbus

Inputs

LUFP7 Gateway

OUTPUT data memory zone

INPUT data

memory zone

 

 

 

 

Profibus-DP master

 

Outputs

 

(TSX 57353 + TSX PBY 100)

 

 

 

 

 

 

Profibus-DP

 

 

 

 

 

 

 

 

Inputs

 

 

N.B.: The total number of input and output bytes should be less than or equal to 416 bytes. It is therefore not possible to configure both the maximum number of input bytes and the maximum number of output bytes, which are both equal to 244 bytes.

10.2.1. Input Data Memory Area

The gateway has 244 input bytes. Only the first 32 bytes are used. Byte 12#0012 is used for adjusting the following 16-bit data, so that they can be aligned on even addresses, and for obtaining a total size of 32 input bytes. One should therefore configure only one 32-byte input/output module using a Profibus-DP configuration device such as SyCon.

Service

Address

Size

Description

Managing the downstream Modbus network

16#0000

1 word

Gateway status word

 

16#0002

1 word

Value of the motor starter c status register

Periodic communications

16#0004

1 word

Value of the motor starter d status register

16#0006

1 word

Value of the motor starter e status register

16#0008

1 word

Value of the motor starter f status register

Monitoring of

16#000A

1 word

Value of the motor starter g status register

TeSys U motor starters

16#000C

1 word

Value of the motor starter h status register

 

16#000E

1 word

Value of the motor starter i status register

 

16#0010

1 word

Value of the motor starter j status register

——

16#0012

1 byte

Free memory location

Aperiodic communications

16#0013

1 byte

Slave no. (16#01 to 16#08)

16#0014

1 byte

Function number (16#03)

Reading the value of a

16#0015

1 byte

Number of bytes read (16#02)

motor starter parameter

16#0016

1 word

Value of the parameter read (16#xxxx)

(RESPONSE)

Aperiodic communications

16#0018

1 byte

Slave no. (16#01 to 16#08)

16#0019

1 byte

Function number (16#06)

Writing the value of a

 

 

 

16#001A

1 word

Address of the parameter written (16#xxxx)

motor starter parameter

16#001C

1 word

Value of the parameter written (16#xxxx)

(RESPONSE)

Aperiodic communications

16#001E

1 byte

Read parameter response counter

(“Trigger bytes” for the responses)

16#001F

1 byte

Write parameter response counter

——

16#0020

1 byte

Free input area

(212 bytes)

 

16#00F3

1 byte

 

16#00F4

1 byte

Unusable input area

——

(268 bytes)

 

16#01FF

1 byte

96

Image 95
Contents LUFP7 Page LUFP9 Page Table of Contents Introduction to the User Guide IntroductionTerminology Introduction to the LUFP7 GatewayDPM1 Notational ConventionsModbus Additional DocumentationIntroduction to the Communication System Architecture Profibus-DP Master Upstream network Profibus-DPPrinciple Used to Configure and Operate the LUFP7 Gateway Modbus Network ABC ConfiguratorProfibus-DP LUFP7 gatewayHilscher On Receipt Configuration Modbus RTUHardware Implementation of the LUFP7 Gateway Mounting the gateway Powering the GatewayMounting the Gateway on a DIN Rail Examples of Modbus Connection Topologies Connecting the Gateway to the Modbus NetworkLU9GC03 LUFP7 Gateway Pin Outs TSXCSA00Hubs, drops, taps, and line terminations Wiring Recommendations for the Modbus Network120 Ω Pin Outs LUFP7 plug --- 9-point SUB-D female Connecting the LUFP7 gateway to the Profibus-DP NetworkNAD 911 04/03 connector Point SUB-D male CablesGND Wiring Recommendations for the Profibus-DP NetworkNAD 911 04 or 03 connector No Internal Line Termination Address = Configuring the Profibus-DP Communication FeaturesEncoding the Gateway Address Signalling Profibus-DP Software Implementation of the GatewayIntroduction System ArchitectureManaging Degraded Modes Configuring the Motor StartersModbus Cycle Time Setting Up the Hardware Configuration under PL7 PRO Gateway Configuration under PL7 PRO and SyConSelecting and Adding the Profibus-DP Master Station Creating a Profibus-DP Network under SyConSetting up the Gateway Description Files Selecting and Adding the Gateway to the Profibus-DP Network Editing and Configuring the GatewaySoftware Implementation of the Gateway Possible values Saving and Exporting the Profibus-DP Network ConfigurationDiagnostic length OptionalConfiguring the Gateway I/O under PL7 PRO IW4.0.1 Service PLC input DescriptionService PLC output Description IW4.0Sample reading of a motor starter parameter Description of Services Assigned to Gateway Inputs/OutputsAllocating Symbols to the Gateway Inputs and Outputs Developing a Profibus-DP Application Using and Monitoring the TSX PBY 100 Coupler ConfigurationControl/Status Byte field Gateway Initialization and DiagnosticsDisabled 5.3.2 Profibus-DP Master Control Word Full ManagementProfibus-DP Master Control Word Fbdu 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 OnlyBits Description Abcdu Modbus exchanges activated Simplified Operation Connecting the Gateway to the Configuration PC Configuring the GatewayRS-232 Link Protocol GNDImporting 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 slaveAdding a new type of Modbus slave Copying a previously configured Modbus slaveAdding a Modbus Slave Importing/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 Configuring the Gateway IW4.0.19 IW4.0.16IW4.0.17 IW4.0.18Configuring the Gateway Configuring the Gateway Configuring the Gateway Configuring the Gateway QW4.0.17 Deleting Aperiodic Parameter DataQW4.0.16 Configuring the Gateway Configuring the Gateway Managing the downstream Changing the Address of a Modbus slave Changing a Modbus Slave ConfigurationChanging the name of a Modbus slave With the TeSys U Motor Starters Adding and Setting Up a Modbus CommandModbus response Name of the Modbus command Modbus queryWith a Generic Modbus Slave CPU stop/failure LUFP7 gateway Profibus-DP Modbus RTU Configuration Description Element Configuring the QueryConfiguring the Gateway Default communication mode. The query is transmitted Configuring the Response Configuring the Content of the Query Frame Field Size Description Frame Configuring the Content of the Response Frame Mode. The default value, CRC, should not be changedStart byte fields Modbus Commands which Can Be Completely Changed by the User Adding a Special Modbus CommandModbus Commands Based on Standard Commands 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 Communications between other stations Performance Results Inputs General data Identification number Name of the related GSD file GSD File ContentAppendix B LUFP7 Gateway GSD File Identification NumberMaximum response time of the gateway Input Appendix C Default Configuration 16#06 Configuring Modbus Exchanges16#10 Input Data Memory Area Content of the Gateway’s Dpram MemoryService Address Size Description Output Data Memory Area Overview of the LUFP7 Tutorial Example Appendix D Sample Use under PL7 PROLUFP7 Gateway Initialization and Diagnostics See note TeSys U status register IEC61915 IEC61915 command registerControlling and Supervising the 8 TeSys U Motor Starters Reading and Writing any TeSys U Motor Starter Parameter Appendix D Sample Use under PL7 PRO Appendix D Sample Use under PL7 PRO Bytes Structure Description Appendix E Profibus-DP Data and DiagnosticsGateway Profibus-DP Diagnostics Bytes Name Description Gateway Configuration DataBytes Name Value General Gateway Information108 Appendix F 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 LUFP7 Quantum Appendix F Concept and Quantum PLCLeft intentionally blank 114 Page User’s Manual LUFP7 V1.1 2003-05