In spite of all the care taken over the writing of this document, Schneider Electric SA does not give
any guarantees in relation to the information contained in it, and may not be held liable for any
errors, nor for any damage which might result from its use or its application.
The characteristics and operation of the products and additives presented in this document may
change at any time. The description is in no way contractually binding.
Chapter 1 Introduction (page 6) describes the gateway, the user guide that comes with it and the terms used in it.
Chapter 2 Hardware Implementation of the LUFP7 Gateway (page 13) gives an introduction to the gateway
and describes all the items used when setting it up, both inside (thumb wheels) and outside (cables and
connectors) the gateway.
Chapter 3 Signalling (page 23) describes the six LEDs on the front of the gateway.
Chapter 4 Software Implementation of the Gateway (page 24) describes the successive steps for setting the
gateway up with its default configuration, with a PLC using Profibus-DP. LUFP7 gateways are shipped preconfigured to allow you to interface a Profibus-DP master with 8 predefined Modbus slaves (TeSys U motor
starters).
Chapter 5 Gateway Initialization and Diagnostics (page 37) describes two registers in the gateway’s memory
reserved for initializing and carrying out diagnostics on the gateway. They are only exchanged between the
Profibus-DP master and the gateway.
Chapter 6 Configuring the Gateway (page 44) describes how to use the “ABC-LUFP Configurator” software
application, which allows you to modify or create a new configuration for the gateway and shows the various features of
this software (add or remove a Modbus slave, add or change a Modbus command, etc.).
This chapter also shows the changes to be made to software implementation operations in SyCon and
PL7 PRO.
Appendix A: Technical Characteristics (chapter 7, page 86) describes the technical aspects of both the
gateway and the Profibus-DP and Modbus RTU networks it is interfaced with.
Appendix B: LUFP7 Gateway GSD File (chapter 8, page 90) details and describes the content of the GSD file
shipped with the gateway. The file can be used for the setup tools to recognize the LUFP7 gateway as a
Profibus-DP subscriber with communication features of its own.
Appendix C: Default Configuration (chapter 10, page 94) describes the main features of the default
configuration of the LUFP7 gateway. However, it does not go into AbcConf in detail.
Appendix D: Sample Use under PL7 PRO (chapter 11, page 97) gives an advanced example using the
LUFP7 gateway’s default configuration. This example exploits the command and monitoring registers for
8 TeSys U motor starters and uses the aperiodic read and write services used to access the value of any motor
starter parameter.
Appendix E: Profibus-DP Data and Diagnostics (chapter 12, page 104) repeats the information described in
the Implementation manual of the TSX PBY 100 coupler for Premium PLCs. It also provides the values of
these data and the results of these diagnostics for the LUFP7 gateway.
Appendix F: Modbus Commands (chapter 13, page 108) describes the content of the Modbus command
frames supported by the LUFP7 gateway.
7
1. Introduction
1.2. Introduction to the LUFP7 Gateway
The LUFP7 gateway allows a master located on a Profibus-DP network to enter into a dialogue with the slaves
on a Modbus RTU network. This is a generic protocol converter operating in a way which is transparent to the
user.
This gateway allows you to interface many products marketed by Schneider Electric with a Profibus-DP network.
These include TeSys U motor starters, Altivar drivers and Altistart soft start- soft stop units.
1.3. Terminology
Throughout this document, the term “user” refers to any person or persons who may need to handle or use the
gateway.
The term “RTU”, which refers to the Modbus RTU communication protocol, will be omitted most of the time. As a
result, the simple term “Modbus” will be used to refer to the Modbus RTU communication protocol.
As is still the case with all communication systems, the terms “input” and “output” are somewhat ambiguous. To
avoid any confusion, we use a single convention throughout this document. So the notions of “input” and “output”
are always as seen from the PLC, or the Profibus-DP master.
Hence, an “output” is a command signal sent to a Modbus slave, whereas an “input” is a monitoring signal
generated by this same Modbus slave.
The diagram below shows the flows of “inputs” and “outputs” exchanged between a Profibus-DP master and
Modbus RTU slaves via the LUFP7 gateway:
Profibus-DP Master
INPUTS
OUTPUTS
LUFP7
Gateway
490 NAE 911 00
Altistart 48
Modbus RTU Slaves
8
1. Introduction
1.4. Notational Conventions
16#••••............... Value expressed in hexadecimal, which is equivalent to the H••••, ••••h and 0x•••• notations,
sometimes used in other documents. N.B. The AbcConf softwre uses the 0x•••• notation.
e.g. 16#0100 = 0x0100 = 256.
02#•••• ••••......... Value expressed in binary. The number of ‘•’ digits depends on the size of the item of data
represented. Each nibble (group of 4 bits) is separated from the other nibbles by a space.
Examples: byte 2#0010 0111 = 39, word 2#0110 1001 1101 0001 = 16#69D1 = 27089.
AbcConf............ Abbreviation taht refers to the tool used to configure and implement the LUFP7 gateway: “ABC-
LUFP Configurator”.
ASIC ................. Integrated circuits specific to a given user and application, covering two major families: pre-
characterised processes and pre-distributed networks.
ATS................... Abbreviation of “Altistart” (soft start- soft stop unit).
ATV................... Abbreviation of “Altivar” (drive).
CRC.................. Cyclical Redundancy Check.
LED................... Light-Emitting Diode.
DP..................... Decentralised Periphery (remote I/O). Profibus version or protocol meant for quick communication
with remote I/O. This is the only Profibus protocol supported by the LUFP7 gateway.
DPM1................ Class 1 DP master: the central automatic control of a Profibus-DP network. It resets and controls I/O
transfers and slave diagnostics on the network. One can have several DPM1 stations on a given
Profibus-DP network, each one steering its own slaves.
DPM2................ Class 2 DP master: The programming, configuration, and diagnostic device of a Profibus-DP network.
Fieldbus ............ A term referring to the upstream Profibus-DP network in AbcConf.
FMS .................. Profibus-FMS messaging system that defines the objects and application services applicable to these
objects. By extension, the Profibus version or protocol dedicated to complex and advanced
communication tasks at the cell level. This protocol is not supported by the LUFP7 gateway.
GSD.................. Electronic equipment database, also called GSD file. This term designates the format of the files
(“.gsd” extension) that are used by a Profibus master configuration and adjustment tool to configure
their exchanges according to that same protocol.
Handshake ....... An old term referring to the two registers used for initialising and carrying out diagnostics of the
LUFP7 gateway. This term has been replaced by the expression “Control/Status Byte”.
Node ................. A term referring to the connection point of a Modbus slave under AbcConf.
PA..................... Profibus version or protocol dedicated to process automation. This protocol is not supported by the
LUFP7 gateway.
PDP .................. Profibus-DP (see “DP” above).
LSB:.................. Least significant byte in a 16-bit word.
MSB:................. Most significant byte in a 16-bit word.
PI ...................... Profibus International. This term designates the international organization for users of the Profibus
protocol. It is responsible for federating Profibus skills centres, scattered throughout the 20 largest
industrial countries. The list of user groups of the Profibus protocol is available on the Profibus web
site, at http://www.profibus.com/. To get general-purpose support on Profibus, please email to PI, at:
Profibus_international@compuserve.com.
PNO.................. This term designates the national and local associations of Profibus protocol users.
PPO .................. Parameter Process data Object. This term designates the type and size of the data exchanged
between a Profibus master and slave. In the case of the LUFP7 gateway, PPOs are not used to
configure its exchanges on the Profibus network.
Profibus ............ PROcess Field BUS.
Sub-Network..... A term referring to the downstream Modbus network under AbcConf.
TSDI ................. Initiating station request time.
TSDR................ Answering station response time.
XML .................. EXtensive Markup Language. The language used by AbcConf to import/export the configuration of a
Modbus slave.
9
1. Introduction
A
1.5. Additional Documentation
In the case of Modbus slaves, the features, services and adjustment of the Modbus communications are not
dealt with in this document.
1.6. Introduction to the Communication “System” Architecture
Profibus-DP
Master
Total of 16
motor starters
Upstream network (Profibus-DP)
Downstream
network no.1
(Modbus)
(TeSys U model)
10
Downstream
network no.2
(Modbus)
ATS48
VW33-A48
VW3-G46301
Downstream network no.3 (Modbus)
TS46
1. Introduction
Each LUFP7 Profibus-DP / Modbus RTU gateway allows one of the PLCs on the Profibus-DP network to
command, control and configure up to 8 Modbus slaves. Other Profibus-DP masters on that same network can
only control them. If there are more than 8 Modbus slaves, you will need to use an appropriate number of LUFP7
gateways. In the same way, if the exchanges with the Modbus slaves require more than 25 Modbus commands
(that is to say more than 50 queries and responses), you will have to distribute the Modbus slaves over several
gateways.
The LUFP7 gateway behaves both as a Profibus-DP slave on the upstream network and as a Modbus RTU
master on the downstream network.
See chapter 7.2 Communication Characteristics, page 86 if you would like to read about the technical
communication characteristics of the LUFP7 gateway.
The gateway can carry out its data exchanges (inputs and outputs of all types) with the Modbus slaves cyclically,
aperiodically or in an event-driven way. All of these Modbus exchanges make up the gateway’s “Modbus
scanner” and we use the “ABC-LUFP Configurator” software application to configure this scanner’s exchanges.
Every data element exchanged in that manner is made available for the Profibus-DP master, who may access it
on a periodic basis. The only aperiodic interchange possible with the LUFP7 gateway is the explicit Profibus-DP
diagnostic interchange.
The diagram on the left page illustrates the distribution of several slaves throughout three Modbus RTU
downstream networks, each one being interfaced with the Profibus-DP master PLC using a LUFP7 gateway.
1.7. Principle Used to Configure and Operate the LUFP7 Gateway
The gateway is part of a family of products (referred to as LUFPz) designed to meet generic needs for
connection between two networks using different communication protocols.
The software elements common to all these gateways (a configuration tool known as “ABC-LUFP Configurator”
and the on-board Modbus software) cohabit with the specific features of the network upstream of each of them
(Profibus-DP in the case of the LUFP7 gateway) generically. This is one of the reasons why the interfacing
between the upstream network and the Modbus network is carried out entirely via the gateway’s physical memory.
Ö The exchanges between the gateway (which operates as a Modbus master) and the Modbus slaves are
wholly configured using the “ABC-LUFP Configurator”. This configuration tool goes into great detail (setting
timers for exchanges, communication modes, frame content, etc.), which makes it all the more delicate to
use. So a whole chapter in this guide (chapitre 6 Configuring the Gateway, page 44) has been devoted to this
tool.
By configuring the queries and responses for Modbus commands via this tool the user can create links
between a part of the content of the corresponding Modbus frames and the content of the gateway’s physical
memory (input memory for the content of the Modbus responses and output memory for the content of the
queries).
Ö The exchanges between the Profibus-DP master PLC and the LUFP7 gateway should be configured in such
a way that the Profibus-DP master can read the input data and write the output data from the gateway, but
only the data used for the Modbus exchanges (see previous point).
11
1. Introduction
A
y
)
)
y
)
)
–––––––
–
Ö Each LUFP7 gateway is shipped pre-configured so as to make it easier to operate and the factory settings
can be used as a basis for a configuration which will best meet the user’s expectations. The typical
operations applicable to this default configuration are described in chapter 6 Configuring the Gateway,
page 44.
The Profibus-DP network is totally separate from the Modbus network. The frames on a network are not directly
“translated” by the gateway to generate frames on the other network. Instead, the exchanges between the content
of the gateway’s memory and the Modbus slaves make up a system which is independent of the one which is
entrusted with managing the exchanges between this same memory and the Profibus-DP master.
So the user must ensure that the size of the Profibus-DP data corresponds to the size of the memory used for
the Modbus exchanges, because the gateway configures its Profibus-DP exchanges on the basis of the memory
used by the Modbus frames.
The two synopses which follow illustrate the independent management of each of the two networks:
Configuration of the Profibus-DP exchanges for the
master PLC by the user (excluding programming)
Hilscher
Configuration of Profibus-DP exchanges :
♦ Type and address of the LUFP7 gateway
♦ Size of the input Profibus-DP data
♦ Size of the output Profibus-DP data
Export of the configuration
PL7 PRO
Direct transposition of the content of the gateway's
memory to programming objects :
• Input Modbus data → %IW objects
• Output Modbus data → %QW objects
Transfer of the configuration
Profibus-DP
Master PLC
13
2. Hardware Implementation of the LUFP7 Gateway
2.1. On Receipt
After opening the packaging, check that the following element is there:
• One LUFP7 Profibus-DP / Modbus RTU gateway.
2.2. Introduction to the LUFP7 Gateway
The cables and other accessories for connecting to Profibus-DP and Modbus networks need to be ordered
separately.
f
g
h
cde
Modbus RTUConfiguration
Legend:
c Detachable power connector for the
gateway (
24V ±10%).
d Female RJ45 connector to a PC
running AbcConf configuration
software.
e Female RJ45 connector for the
downstream Modbus RTU network.
f Six diagnostic LEDs.
g Removable cover for the coding
wheels used to configure the gateway,
shown and described in chapter 2.7
Configuring the Profibus-DP
Communication Features, page 22.
The label describing the LEDs is stuck
onto this cover.
h Female Profibus-DP connector.
14
2. Hardware Implementation of the LUFP7 Gateway
2.3. Mounting the Gateway on a DIN Rail
Mounting the gateway
1
2
Start by fitting the rear base of the gateway to the
upper part of the rail, pushing downwards (1) to
compress the gateway’s spring. Then push the
gateway against the DIN rail (2) until the base of the
gateway box fits onto the rail.
Removing the gateway
1
2
Start by pushing the gateway downwards (1) to
compress the gateway’s spring. Then pull the
bottom of the gateway box forwards (2) until the box
comes away from the rail.
N.B. The spring is also used to earth the gateway (Protective Earth).
2.4. Powering the Gateway
Profibus-DP / Modbus RTU gateway – View from underneath
–
+
Power supply
24V isolated (±10%)
95 mA max.
N.B. The negative 24V power supply terminal should be connected to the installation’s earth.
15
2. Hardware Implementation of the LUFP7 Gateway
2.5. Connecting the Gateway to the Modbus Network
Three typical examples of Modbus connection for the gateway and its slaves are shown below. There are many
other possible Modbus connections, but they are not covered in this document.
2.5.1. Examples of Modbus Connection Topologies
•“Star” topology: This topology uses LU9GC03 Modbus hubs, which have 8 female RJ45 connectors.
These hubs should be placed close to the Modbus slaves to which they are connected using
VW3 A8 306 R•• cables. On the other hand, the nature of the cable connecting the LUFP7 gateway to one
of these hubs will depend on the network architecture, so long as there is a male RJ45 connector at each
end. If necessary, one or two line terminations may be directly connected to the hubs.
The connections are shown below:
LUFP7 gateway
Modbus
Line
termination
VW3 A8 306 R••
Modbus hubs
LU9GC03
Line
termination
16
Towards 8 Modbus slaves
2. Hardware Implementation of the LUFP7 Gateway
•“Bus” topology with VW3 A8 306 TF3 drop boxes: This topology uses VW3 A8 306 TF3 drop boxes to
connect each of the Modbus slaves to the main section of the Modbus network. Each box should be placed in
the immediate vicinity of the Modbus slave it is associated with. The cable for the main section of the Modbus
network must have male RJ45 connectors (like the VW3 A8 306 R•• cable used for the “star” topology). The
lead between the drop box and the slave or the Modbus gateway is an integral part of this box. The
connections are shown below:
LUFP7 Gateway
Modbus
VW3 A8 306 TF3
Line
termination
Towards 2 Modbus slaves
Towards 3 Modbus slaves
Towards 3 Modbus slaves
Line
termination
17
2. Hardware Implementation of the LUFP7 Gateway
•“Bus” topology with tap boxes: This topology is similar to the previous one, except that it uses
TSXSCA62 subscriber connectors and/or TSXCA50 subscriber connectors. We recommend using a
VW3 A68 306 connection cable and the TSXCSA•00 Modbus cables. Connect the RJ45 connector on the
VW3 A68 306 cable to the Modbus connector on the LUFP7 gateway.
The connections are shown below:
VW3 A68 306
Modbus
TSXSCA62
LUFP7 Gateway
TSXCSA•00
2.5.2. Pin Outs
In addition to the pin out for the connector on the gateway, the one on the VW3 A68 306 cable is also shown
below, as it is the only Modbus cable which does not exclusively use RJ45 connections.
2.5.3. Wiring Recommendations for the Modbus Network
• Use a shielded cable with 2 pairs of twisted conductors,
• connect the reference potentials to one another,
• maximum length of line: 1,000 metres
• maximum length of drop line / tap-off: 20 metres
• do not connect more than 9 stations to a bus (slaves and one LUFP7 gateway),
• cable routing: keep the bus away from power cables (at least 30 cm), make crossings at right angles if
necessary, and connect the cable shielding to the earth on each unit,
• adapt the line at both ends using a line terminator (see diagram and VW3 A8 306 RC termination below).
D(B)
D(A)
— Line termination recommended at both ends of the line —— VW3 A8 306 RC line termination —
To make it easier to connect the units using the topologies described in chapter 2.5.1 Examples of Modbus
Connection Topologies, page 15, various accessories are available in the Schneider Electric catalogue:
1) Hubs, drops, taps, and line terminations:
LU9GC03 hub .....................
(“star” topology)
VW3 A8 306 TF3 drop box......................
(“bus” topology with VW3 A8 306 TF3 drop boxes)
2-way TSXSCA62 subscriber connector.
(“bus” topology with tap boxes)
4
120 Ω
1 nF
5
This passive box has 8 female RJ45 connectors. Each of these connectors can
be connected to a Modbus slave, to a Modbus master, to another Modbus hub,
or to a line termination.
This passive box includes a short lead with a male RJ45 connecto
allowing it to be connected directly to a Modbus slave, without
having to use a different cable. It is fitted with 2 female RJ45
connectors for the connection of two Modbus cables of the
VW3 A8 306 R•• type.
This passive box has a printed circuit fitted with screw terminals
and allows the connection of 2 subscribers to the bus (2 female
15 point SUB-D connectors). It includes the line termination when
the connector is located at the end. It is fitted with 2 screw terminals
for the connection of two double twisted pair Modbus cables.
TSXCA50 tap box....................................
(“bus” topology with tap boxes)
VW3 A8 306 RC double termination .......
(all topologies)
This passive box allows a Modbus unit to be connected to a screw
terminal. It includes the line termination when the connector is
located at the end. It is fitted with 2 screw terminals for the
connection of two double twisted pair Modbus cables.
Each of these two red passive boxes is a male RJ45 connecto
3 cm long containing an RC line termination (see diagram and
illustration above). Only the abbreviation “RC” is shown on these
boxes.
Shielded cable with a male RJ45 connector at each
end.
Shielded cable with a male RJ45 connector and a
male 15 point SUB-D connector. It is used to connect
a Modbus subscriber (slave or master) to a
TSXSCA62 or TSXCA50 box.
Bare cable (without connectors) used to make up the
main section of the Modbus network. There are three
items available: TSXCSA100 (100 m), TSXCSA200
(200 m), and TSXCSA500 (500 m).
2.6. Connecting the LUFP7 gateway to the Profibus-DP Network
Connect the SUB-D 9-point male plug on
the Profibus-DP connector to the
Profibus-DP plug on the LUFP7 gateway.
Connections are illustrated here:
cg
hk
SUB-D
9 points
female
connector
SUB-D 9-point male
490 NAD 911 04 (or 03)
Type
Profibus-DP cables
Ref. : TSX PB SCA100
Modbus
2.6.1. Pin Outs
—— LUFP7 plug ——–— 490 NAD 911 04/03 connector—
9-
oint SUB-D female9-point SUB-D male
11Incomin
2
D(B)3
RTS4
GND5
+5V6
2
3B-line / RxD/TxD +
4Re
uest To Send(1
5GND Réseau
+5V Réseau (2)
6
—Type A cables ——
PB SCA100
A cable
Outgoing A cable
7
D(A)8
9
Grounding / Shielding
-line / RxD/TxD –
9
Shieldin
/ Groundin
(1) This signal is not mandatory and may be ignored for the LUFP7 gateway.
(2) The “GND” and “+5V” pins are meant to supply the line termination if it is present in the connector being used.
20
2. Hardware Implementation of the LUFP7 Gateway
2.6.2. Wiring Recommendations for the Profibus-DP Network
• Use a shielded cable with a twisted pair of copper conductors, preferably a type A Profibus-DP cable.
• Connect the reference potentials to one another,
• You may choose the transmission rate, within limits ranging from 9.6 kbit/s to 12 Mbit/s. The choice is made
at network startup and applies to all network subscribers.
• The maximum length of the line (segment) is inversely proportional to the transmission rate.
Transmission rate (bit/s)9,6 k19,2 k93,75 k187,5 k500 k1,5 M3, 6 or 12 M
Experience shows that these lengths may be doubled using lines with a section of 0.5 mm².
• Do not connect more than 32 master or slave stations per segment without a repeater, 127 maximum
(repeaters included) with the 3 repeaters; don't use more than 3 repeaters
• Cable routing: keep the bus away from power cables (at least 30 cm), make crossings at right angles if
necessary and connect the cable shielding to the earth on each unit,
• The network ends on an active line termination, at each segment end (see diagram below); many suppliers
have provided their cables with switchable line terminations. The LUFP7 gateway has no internal line
termination and therefore applies a 5V voltage between pins 5 and 6 of its Profibus-DP plug in order to allow
for the use of an external line termination when the gateway is at the end of the line.
D(A)
5386
390 Ω
220 Ω390 Ω
D(B)GND
+5V
Active line
termination
recommended
at both ends
N.B. if you use a 490 NAD 911 03 connector on each of the two stations located at segment end, you won't
have to use an external line termination, since a line termination is integrated to that type of connector.
However, if you must disconnect a station to which such a connector is connected, move the connector to
another station on the same network so that the line termination continues to be supplied. If you do not wish
to make that type of arrangement, preferably use connectors featuring a switchable line termination.
21
2. Hardware Implementation of the LUFP7 Gateway
To connect stations to the Profibus-DP network more easily, several accessories are offered in the Schneider
Electric catalogue:
– Single twisted pair type A Profibus-DP cable
(100 m long): TSX PB SCA100. If you use a
different cable, please check that its electric
characteristics are as close as possible to those
of type A cables (see chapter 7.2
Communication Characteristics, page 86).
– Line connector: 490 NAD 911 04. The SUD-D
9-point male plug on that connector should not
be connected to a station located at the
segment end, as the connector has no line
termination. This passive box contains a printed
circuit fitted with one or two terminal boxes with
screws for connecting one incoming ProfibusDP cable and one outgoing Profibus-DP cable.
– End of line connector: 490 NAD 911 03. The
SUB-D 9-point male plug on that connector
must be imperatively connected to a station
located at segment end, since the connector
has a line termination. This passive box
contains a printed circuit fitted with one terminal
box with screws for connecting one incoming
Profibus-DP cable.
490 NAD 911 04 (or 03) connector
A
A
B
B
Red
Green
e
c
Legend:
c Incoming A cable.
d Outgoing A cable (absent in the case of the
490 NAD 911 03 connector).
e Cable collar; the cable sheath must be uninsulated,
at the most, in the middle of the collar.
d
22
2. Hardware Implementation of the LUFP7 Gateway
2.7. Configuring the Profibus-DP Communication Features
This configuration should be carried out when the gateway is powered off.
This task is limited to configuring the gateway's Profibus address, as the communication speed on the Profibus
network (9.6 kbits/s to 12 Mbits/s) is automatically detected by the gateway.
The two coding wheels used for configuring the gateway’s address are hidden behind the gateway cover
illustration in chapter 2.2 Introduction to the LUFP7 Gateway, page 13). To remove this cover, all you have to do
is insert the end of a small flat screwdriver between the top of the hood and the gateway box, and then to pull it
out delicately.
The power supply of the gateway must be turned off before opening the cover.
Once the cover has been removed, make sure that you touch neither the electrical circuits nor
the electronic components.
2.7.1. Encoding the Gateway Address
The LUFP7 gateway is identified on the Profibus-DP bus by its address, ranging from 1 to 99.
Units
Tens
The gateway's Profibus-DP address depends on the position of the two
coding wheels represented on the left, in their factory-setting positions
(default address = 2).
This address is the sum of the decimal values given by the angular
positions of the bottom coding wheel (tens) and the top coding wheel
(units).
g
(see
Any change to the gateway's address shall be taken into account only once it is powered on again.
Examples:
Address = 19Address = 73
Units
Tens
2.7.2. No Internal Line Termination
The LUFP7 gateway has no active line termination. You must therefore use a Profibus-DP connector with such a
termination if you place the gateway at one of the ends of a bus segment.
Units
Tens
23
3. Signalling
The gateway’s 6 LEDs and the descriptive label on the removable cover which hides its two coding wheels
(gateway address) allow you to diagnose the status of the gateway:
telm
d
c
f
e
h
g
LUFP7
n
p
r
NLINE
1 O
FFLINE
2 O
OT USED
3 N
IELDBUS DIAG
4 F
ODBUS
5 M
ATEWAY
6 G
o
q
s
DELLED Æ Gateway state
Off: Profibus-DP bus:
Gateway off-line
ONLINE
n
NOT
p
USED
MODBUS
r
(1) Specific errors indicated by the LED q FIELDBUS DIAG:
• Flashing red LED (1 Hz): input and/or output data length is invalid.
Check the overall length of the gateway data, under AbcConf (“Monitor” option from the “S
menu), then adjust exchanges with the gateway accordingly, using the Profibus-DP network configuration
software (e.g.: SyCon).
• Flashing red LED (2 Hz): User parameter data length and/or content is invalid.
• Flashing red LED (4 Hz): Error when resetting the ASIC in charge of Profibus-DP communications.
(2) The LED
queries of the two aperiodic services designed to read/write the value of any parameter of a Modbus slave (see
chapter 4.2.10 Description of Services Assigned to Gateway Inputs/Outputs, page 34). This LED will only revert to
its former green state if you reuse these very same services, but with correct values. More generally, this LED
becomes red, then reverts to a green state, on loss and recovery of the communications with any Modbus slave.
Green: Profibus-DP bus:
Gateway on-line
(exchanges are possible)
Off: —
Off: No power
Flashing (green): No
Modbus communications
Green: Modbus
communications OK
Red: Loss of communication
with at least one Modbus
slave (2)
MODBUS becomes red whenever you use incorrect values in the outputs corresponding to the
r
LEDLED Æ Gateway state
Off: Profibus-DP bus: gateway on-line
OFFLINE
o
q
s
FIELDBUS
DIAG
GATEWAY
Red: Profibus-DP bus: Gateway off-line
(exchanges are impossible)
Off: Gateway initialization achieved
Flashing red (1 or 2 Hz): Gateway
configuration error. (1)
Flashing red (4 Hz): Error when resetting the
gateway on Profibus-DP. (1)
Off: No power
Flashing (red/green): Configuration absent / not valid
Use AbcConf to load a valid configuration
Green: Gateway currently being initialized
and configured
Flashing (green): Gateway is in running
order: Configuration OK
ub-Network”
24
N.B. If the LED s DEVICE STATUS is flashing following a sequence beginning with one or
more red flashes, we advise you to note down the order of this sequence and give this
information to the Schneider Electric support service.
4. Software Implementation of the Gateway
4.1. Introduction
This chapter gives an introduction to a quick implementation of the LUFP7 gateway, using its default
configuration. All LUFP7 gateways ship pre-configured.
This pre-configuration means that the user does not have to configure the LUFP7 gateway using AbcConf. This
configuration is described in order to allow the gateway to be used with a configuration tool for Profibus-DP master
PLCs. As an example this implementation will use Sycon (version ≥ V2.5.0.0), the multi-network configuration
software marketed by Hilscher (Réf.: TLX L FBC 10 M), PL7 PRO (version ≥ V3.0) and a Telemecanique PLC
from the Premium range (e.g. TSX 57353 v5.1) to which the appropriate Profibus-DP communication board shall
be added (TSX PBY 100 coupler).
4.1.1. System Architecture
The default configuration for an LUFP7 gateway allows it to control, monitor and configure 8 TeSys U motor
starters:
Configuration
PC
(PL7 PRO
+ SyCon)
490 NAE 911 00
Profibus-DP
master PLC
TSX 57353 v5.1
+ TSX PBY 100
Profibus-DP
(upstream network)
Modbus
addresses
LUFP7
gateway
Total of 8
motor starters
(TeSys U model)
cdefghij
Modbus (downstream network)
Line
termination
Connection
boxes
Please see chapter 2 Hardware Implementation of the LUFP7 Gateway, page 13, for the hardware
implementation of the default configuration.
If you are using fewer than 8 TeSys U motor starters, you will need to adapt the gateway
configuration using the “ABC-LUFP Configurator” software (see chapter 6 Configuring the
Gateway, page 44, and chapter 6.6 Deleting a Modbus Slave, page 49).
25
4. Software Implementation of the Gateway
4.1.2. Configuring the Motor Starters
Each motor starter should be configured as follows:
Protocol:Modbus RTU slaveStart bits1
Modbus address1 to 8ParityNone
Bitrate19,200 bits/sParity bit0
Data bits8Stop bits1
When using a TeSys U motor starter with a Modbus communication module (LULC031 module), the
configuration parameters for the RS485 connection are automatically detected, only the Modbus address of the
motor starter needs to be configured.
4.1.3. Modbus Cycle Time
The LUFP7 gateway’s default configuration sets a cycle time of 300 ms on Modbus commands for each of the
8 TeSys U motor starters.
4.1.4. Managing Degraded Modes
The default management for degraded modes is described below. This description only applies to a Premium
PLC fitted with a TSX PBY 100 coupler. Please refer to chapter 6.11.2.1 Managing degraded modes, page 71, if
you want to change the degraded mode management of one or several Modbus commands.
Event
Desired
behaviour
Reset
Output
Hold
InputsReset
(1) The “Outputs” option is described in chapter 4.2.8 Importing the Configuration of the Profibus-DP Network under
PL7 PRO, page 31. Under PL7 PRO, it can be accessed from the configuration screen for the TSX PBY 100 board.
(2) The desired behaviour with regard to the outputs should be directly configured on each of the TeSys U motor starters.
Premium PLC:
CPU stop or failure
“Outputs” option
equal to “Reset” (1)
“Outputs” option
equal to “Hold” (1)
——Yes
Disconnection
of the upstream
Profibus-DP network
Yes
——
Failure of the
LUFP7 gateway
Depending on the configuration of the
TeSys U motor starters (2)
Disconnection of
the downstream
Modbus network
You may also refer to chapter 4.2 Degraded application mode of the Implementation manual – TSX PBY 100 –
PROFIBUS-DP (ref.: TSX DM PBY 100E) for further details regarding the processing of degraded modes by the
TSX PBY 100 board.
26
4. Software Implementation of the Gateway
4.2. Gateway Configuration under PL7 PRO and SyCon
The Profibus-DP master must be configured so that it has access to all of the data described in chapters 10.2.1 Input
Data Memory Area, page 95, and 10.2.2 Output Data Memory Area, page 96.
The following chapters describe the steps in PL7 PRO (version ≥ V3.0) and SyCon (version ≥ V2.5.0.0) which you will
need to go through so that the gateway is correctly recognised by the Profibus-DP master PLC.
The Profibus-DP network which is described in the following chapters only includes one
master (TSX 57353 v5.1 + TSX PBY 100) and one slave (LUFP7 gateway). So you will need
to adapt the addressing of the inputs and outputs shown below (%IW and %QW) according to
any other slaves on the Profibus-DP network which you need to configure.
4.2.1. Setting Up the Hardware Configuration under PL7 PRO
Under PL7 PRO, create a new application or open an application for which you want to add a Profibus-DP
network.
Edit the hardware configuration of this application, add a PBY 100 board and then edit its configuration by
double-clicking on its location in the rack.
Click on the “hilscher” button (enclosed in a red box above) to start the SyCon configuration tool.
N.B. This button is not displayed if you have not installed SyCon on your PC.
27
4. Software Implementation of the Gateway
4.2.2. Creating a Profibus-DP Network under SyCon
Select the “New” option from the “F
configuration, by selecting the “PROFIBUS” network.
This option creates an empty network segment in the SyCon main
window.
In this guide, we shall immediately save this configuration and name
it “LUFP7 - Tutorial Example.pb”.
4.2.3. Selecting and Adding the Profibus-DP Master Station
Select the “Master…” option from
the “Insert” menu (or click on the
button). Move the mouse
pointer (which now looks like a
to the position where you want to
add the Profibus-DP master, and
left-click.
Select the “TSX PBY 100” master,
then click “Add >>”. If need be, edit
its address and name.
ile” menu to create a new
)
Once back to the SyCon main window, the selected master appears in the selected insertion position:
28
4. Software Implementation of the Gateway
Double-click on the line that corresponds to the
Profibus-DP master to open the “Master
Configuration” window.
In the “DP Support” frame, verify that the "Auto
addressing" box has been checked.
Lastly, select the Profibus-DP master and run the “Bus
Parameter…” option from the “Settings” menu to configure the
Profibus-DP network baud rate.
The “Optimize” option must remain equal to
“standard”, except in case of knowledgeable
users who want to edit critical Profibus-DP
network settings (accessible via the “Edit…”
button).
4.2.4. Setting up the Gateway Description Files
The GSD file that describes the gateway must be located on the PC hard drive so that SyCon can access it any
time. Preferably place the file inside the directory that contains all the GSD files used by SyCon. The description
and content of that GSD file are both in chapter 8 Appendix B: LUFP7 Gateway GSD File, page 90.
This file can be found on the CD LU9CD1 : “Tele071F.gsd”.
Î To import that file under SyCon, run the “Copy GSD” option from the “F
mentioned above from the CD. If the command completes successfully, the following message is displayed:
“The import of the GSD file was successful.”
Then, install the symbols representing the gateway under SyCon. The corresponding files are on the CD
LU9CD1 : “LUFP7_S.DIB”, “ LUFP7_R.DIB”, and “ LUFP7_D.DIB”.
Î Copy these files into “C:\Program Files\Hilscher\SyCon\Fieldbus\PROFIBUS\BMP”, if this is the
path where you have installed SyCon on your PC. All these operations should be conducted using Windows
Explorer, for example, as SyCon cannot proceed to their installation.
The symbols that represent each of these three files are given below:
ile” menu and select the GSD file
29
4. Software Implementation of the Gateway
4.2.5. Selecting and Adding the Gateway to the Profibus-DP Network
Run the “Slave…” option from the “I
looks like a ) to the position where you want to add the LUFP7 gateway, then left-click.
In the window that appears,
select the “LUFP7” slave, then
click the “Add >>” button. If
need be, edit its address and
name. Gateway address
configuration is detailed in
chapter 2.7.1 Encoding the
Gateway Address, page 22.
Once back to the SyCon main window, the selected slave appears in the selected insertion position:
nsert” menu (or click on the button). Move the mouse pointer (which now
4.2.6. Editing and Configuring the Gateway
Double-click on the line that corresponds to the LUFP7 gateway. The "Slave Configuration" window appears.
Conduct the following operations:
• In the list of available modules, select the module called “IN/OUT: 32 Byte (16 word)”. Click the “Append
Module” button to add it to the list of modules configured for the gateway. This module occupies one “Slot” and
consists of a 16-word I/O module (both in IW and OW). It is intended to allow the exchange of the various data
presented in chapters 10.2.1 Input Data Memory Area, page 95, and 10.2.2 Output Data Memory Area,
page 96.
30
4. Software Implementation of the Gateway
• In the “Assigned master” frame, check that the Profibus-DP master previously configured is selected. If not,
select it. N.B. Only the "Assigned master" can control the DP slave to which it has been allocated during the
configuration phase. Other DPM1 masters can only read its I/O values.
• In the "General" frame, verify that the two boxes "Activate device in actual configuration" and "Enable
watchdog control" are both checked. If not, please check both.
• Validate the operations conducted by clicking on “OK”.
The left-hand
portion of this area
specifies the
gateway's
maximum capacity,
whilst the right-
hand portion lists
the currently
configured
"Modules".
N.B. Don't use the “Symbolic Names” option to name the I/O exchanged with the gateway. This operation is
useless because the symbols you shall define under SySon would not be exported and retrieved under
PL7 PRO!
If you create or edit a configuration using AbcConf (see chapter 6 Configuring the Gateway,
page 44), you should be aware that the total size of the inputs and outputs, for all the
configured modules, should be identical to the size of the data configured under AbcConf.
They correspond to all the bytes exchanged with the Modbus slaves via the “Data” fields of the
Modbus frames, to the two words reserved for downstream Modbus network management
(see chapter 5 Gateway Initialization and Diagnostics, page 37), if it has not been disabled,
and also to the two read parameter read/write counters . Any “free memory location” inserted
between two data elements, regardless of its size, is included in the bytes exchanged.
N.B. If the "Length of input data" or the "Length of output data" configured for the gateway
(under SyCon) differs from the total size of the gateway input memory area or the total size of
the gateway output memory area (under AbcConf), the gateway shall refuse going on line
(LED n off and LED o red) and the configuration error shall be indicated (LED q flashing
red, at 1 Hz). Please see chapter 3 Signalling, page 23.
31
Loading...
+ 85 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.