The manual is part of the product and contains important information on operation and
service. The manual is written for all employees who assemble, install, startup, and
service the product.
The manual must be accessible and legible. Make sure that persons responsible for the
system and its operation, as well as persons who work independently on the unit, have
read through the manual carefully and understood it. If you are unclear about any of the
information in this documentation, or if you require further information, contact SEWEURODRIVE.
1.2Structure of the safety notes
The safety notes in this manual are structured as follows:
PictogramSIGNAL WORD
Type and source of danger.
Possible consequence(s) if the safety notes are disregarded.
•Measure(s) to prevent the danger.
PictogramSignal wordMeaningConsequences if
disregarded
Example:
General danger
Specific danger,
e.g. electric shock
DANGERImminent dangerSevere or fatal injuries
WARNINGPossible dangerous situationSevere or fatal injuries
CAUTIONPossible dangerous situationMinor injuries
NOTICEPossible damage to propertyDamage to the drive system or its
environment
TIPUseful information or tip.
Simplifies the handling of the
drive system.
6
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
A requirement of fault-free operation and fulfillment of any rights to claim under limited
warranty is that you adhere to the information in the manual. Therefore, read the manual
before you start operating the device!
1.4Exclusion of liability
You must comply with the information in the manual and the documentation of the units
connected to the fieldbus gateway to ensure safe operation and to achieve the specified
product characteristics and performance features. SEW-EURODRIVE assumes no
liability for injury to persons or damage to equipment or property resulting from nonobservance of the operating instructions. In such cases, any liability for defects is
excluded.
•Installation and startup only by trained personnel observing the relevant accident
prevention regulations and the following documents:
– "MOVIDRIVE
– "MOVITRAC
– "MOVIAXIS
•Read through these documents carefully before you commence installation and
startup of the UFF41B fieldbus gateway.
•As a prerequisite to fault-free operation and fulfillment of warranty claims, you must
adhere to the information in the documentation.
2.2General safety notes for bus systems
This communication system lets you adjust inverters and servo inverters to a variety of
different applications. As with all bus systems, there is a danger of invisible, external (as
far as the inverter is concerned) modifications to the parameters which give rise to
changes in the unit behavior. This may result in unexpected (not uncontrolled) system
behavior.
®
®
®
" operating instructions
MDX60B/61B" operating instructions
B" operating instructions
2.3Safety functions
The inverters and servo drives are not allowed to perform any safety functions unless
they are subordinate to other safety systems. Use higher-level safety systems to ensure
protection of equipment and personnel.
For safety applications, ensure that the information in the following publications is
observed: "Safe Disconnection for MOVIDRIVE
2.4Hoist applications
MOVIDRIVE® MDX60B/61B, MOVITRAC® B and MOVIAXIS® must not be used as a
safety device in hoist applications.
Use monitoring systems or mechanical protection devices as safety equipment to avoid
possible damage to property or injury to people.
2.5Product names and trademarks
The brands and product names contained within this manual are trademarks or registered trademarks of the titleholders.
®
B / MOVITRAC® B / MOVIAXIS®".
8
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
•Startup the UFF41B fieldbus gateway with the DeviceNet and PROFIBUS DP-V1
•Configure the DeviceNet master with EDS files.
•Configure the PROFIBUS DP-V1 master using GSD files.
3.2Characteristics
The powerful, universal fieldbus interfaces of the UFF41B option enable you to use the
option to connect to higher-level automation systems via DeviceNet and PROFIBUS
DP-V1.
and to the MOVIAXIS
fieldbus systems.
®
®
servo inverter.
®
B, MOVITRAC® B and MOVIAXIS® for gateway operation.
B, MOVITRAC® B inverters
3.2.1Process data exchange
The UFF41B fieldbus gateway allows for digital access to most parameters and functions via the DeviceNet and PROFIBUS interfaces. Control is performed via fast, cyclic
process data. Via this process data channel, you can enter setpoints and trigger various
control functions, such as enable, normal stop, rapid stop, etc. At the same time you can
also use this channel to read back actual values, such as actual speed, current, unit
status, error number or reference signals. In DeviceNet operation, process data are
exchanged with polled I/O and bit-strobe I/O. In PROFIBUS operation, they are exchanged via I/O data in the master.
3.2.2Parameter access
In DeviceNet operation, the parameters of the inverter are set solely via explicit
messages.
In PROFIBUS operation, the PROFIBUS DP-V1 parameter mechanisms lets you
access any device information.
10
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Using a fieldbus system requires additional monitoring functions, for example, time
monitoring of the fieldbus (fieldbus timeout) or rapid stop concepts. You can determine,
for instance, which fault responses should be triggered in the event of a bus error. The
parameters for the fault response can be set in the servo inverter / inverter. A rapid stop
is useful for many applications. This is why the fieldbus gateway will stop the lower-level
drives in the event of a fieldbus timeout. As the range of functions for the control terminals is also guaranteed in fieldbus mode, you can continue to implement rapid stop
concepts using the servo inverters/inverters connected to the fieldbus gateway.
Introduction
Characteristics
3
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Voltage supply, system bus and fieldbus interfaces as well as the engineering interface
are located at different potential levels (see chapter 13.1).
Assembly and Installation Instructions
Voltage supply
4
4.2.1Voltage supply in the MOVIAXIS
®
master module
TIP
The MOVIAXIS® master module MXM provides additional connections that are
described in the following section.
Functional description of the terminals, X5a/X5b (MOVIAXIS
MOVIAXIS® master
module MXM
1
X5b
2
3
4
1
X5a
2
3
4
59233AXX
•The terminals X5a and X5b are connected in parallel. In this way, the voltage supply
of the MOVIAXIS
below to X5a. With connection to X5a, further modules can be connected via X5b
(e.g. supply module, axis module). The voltage supply for the brake (X5a/b:3, 4) is
fed through the MOVIAXIS
•The UFF41B fieldbus gateway can be supplied from the MOVIAXIS
power supply (MXS) or from an external voltage source. To do so, connect X5
between the individual units.
•If the UFF41B fieldbus gateway is connected with DC 24 V from the MOVIAXIS
switched-mode power supply, the functioning of the option is maintained after disconnection from the power supply. This is the case if the DC link voltage is maintained or an external DC 24 V supply is present from the MOVIAXIS
power supply.
DesignationTerminalFunction
X5b connectorX5b:1
Terminal X5aX5a:1
®
master module can be provided from the right to X5b or from
X5b:2
X5b:3
X5b:4
X5a:2
X5a:3
X5a:4
®
master module.
®
master module)
DC 24 V
DGND
DC 24 V
BGND
DC 24 V
DGND
DC 24 V
BGND
Voltage supply for control electronics
E
Reference potential for control
electronics
B
Voltage supply for brake
Reference potential for brake
connection
Voltage supply for control electronics
E
Reference potential for control
electronics
B
Voltage supply for brake
Reference potential for brake
connection
®
switched-mode
®
switched-mode
®
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
System bus CAN 1 high
System bus CAN 1 low
Reference potential control/CAN1
-
Reference potential for UFF41B
Voltage supply for controller
Designation
LEDH1
Connector X24:
RJ10 socket
DesignationTerminalFunction
Connector X26:
CAN 1 and voltage supply
(plug-in terminal)
Connection of CAN 1 system bus / voltage supply (terminal X26)
The connections for CAN 1 (X26:1/2/3 and connector X33) are connected in parallel.
The UFF41B fieldbus gateway is supplied with voltage in the UOH21B gateway housing
via X26:6/7.
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
4.3.1Functional description of the terminals, DIP switch es and LEDs of the UFF41B option
Connectors, LEDs and DIP switches in the upper part of the UFF41B fieldbus gateway
allow for connection to the fieldbus systems DeviceNet (see section "Connecting the
UFF41B fieldbus gateway to a DeviceNet network") and PROFIBUS-DP (see section
"Connecting the UFF41B fieldbus gateway to a PROFIBUS network").
Front view
UFF41B fieldbus
gateway
64418AXX
LED
Designation
DIP switch
Terminal
LEDLED 1
LED 2
LED 3
LED 4
LED 5
Terminal X35:
USB connection
X35:1
X35:2
X35:3
X35:4
Terminal X36:
X36
Connection of an
EtherCAT based
system bus (RJ45 socket)
Terminal X37:
X37Ethernet for engineering
Ethernet connection
(RJ45 socket)
Terminal X32:
System bus CAN 2
(electrically isolated)
X32:1
X32:2
X32:3
(plug-in terminals)
Terminal X33:
System bus CAN 1
(plug-in terminals)
X33:1
X33:2
X33:3
DIP switchS1
Memory cardM1
ButtonT1
CAN 1 status
CAN 2 status
Program status
Gateway status
Gateway error
USB+5 V
USBUSB+
DGND
Standard Ethernet
assignment
BZG_CAN 2
CAN 2H
CAN 2L
DGND
CAN 1H
CAN 1L
To p
Bottom
Function
Status of CAN 1 system bus
Status of CAN 2 system bus
Status of gateway program
Status of gateway firmware
Status of gateway error (see section "Error
messages of the fieldbus gateway")
DC 5 V voltage supply
Signal USBSignal USB+
Reference potential
plus
System bus SBUS
(in preparation)
Reference potential for system bus CAN 2
System bus CAN 2 high
System bus CAN 2 low
Reference potential for system bus CAN 1
System bus CAN 1 high
System bus CAN 1 low
Default IP address (192.168.10.4)
IP parameter from SD memory card
Memory for firmware, gateway application, gateway configuration, and inverter parameters
For Bootloader update
(see section "SD memory card OMG4.B")
16
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
4.3.2Connecting CAN 1 system bus (terminal X33) / CAN 2 (terminal X32 )
Do not connect more than 64 units to the CAN 1 or CAN 2 system bus. The system bus
supports the address range 0 to 63.
TIPS
•The CAN 1 system bus is not electrically isolated. Therefore, it is recommended to
use the CAN 1 (X33 or X26 with UFF41B/UOH21B) interface to connect inverters
via the system bus in the control cabinet. Set the P881 SBus address parameter in
increasing order to values 1 - 16 if the slave unit is connected to CAN 1 or the fieldbus gateway.
•The CAN 2 system bus is electrically isolated. Therefore, preferably use interface
CAN 2 (X32) for connecting field units or units in other control cabinets. Set the
P881 SBus address parameter in increasing order to values 17 - 34 if the unit is
connected to CAN 2 or the fieldbus gateway.
4
The CAN system bus supports transmission systems compliant with ISO 11898. For
detailed information on the CAN system bus, refer to the "MOVIDRIVE
®
Communication
and Fieldbus Device Profile" manual. You can order this manual from SEWEURODRIVE.
®
Wiring diagram for MOVIDRIVE
B, MOVITRAC® B on CAN 1 system bus
64714AXX
Cable specification•Use a 2 x 2-core twisted and shielded copper cable (data transmission cable with
braided copper shield). Clamping without conductor end sleeves is possible in accordance with IEC 60999. The cable must meet the following specifications:
2
– Cable cross-section 0.2 to 1.0 mm
(AWG 24 - AWG 18)
– Cable resistance 120 Ω at 1 MHz
Cable length•The permitted total cable length depends on the baud rate setting of the system bus:
– Capacitance per unit length ≤ 40 pF/m at 1 kHz
Suitable cables include CAN bus or DeviceNet cables.
– 125 kBaud→ 500 m
– 250 kBaud→ 250 m
– 500 kBaud→ 100 m
– 1000 kBaud→ 40 m
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
•Switch on the system bus terminating resistor at the start and end of the CAN system
bus connection (MOVIDRIVE
S1 = ON). For all other devices, switch off the terminating resistor (MOVIDRIVE
DIP switch S12 = OFF; MOVITRAC
way is, for example, located at the end of the CAN 2 system bus, you have to connect
a terminating resistor of 120 Ω between pins X32:2 and X32:3 (for CAN 1: Terminating resistor betwee
n pins X33:2 and X33:3).
®
B, DIP switch S12 = ON; MOVITRAC® B, DIP switch
®
B, DIP switch S1 = OFF). If the fieldbus gate-
®
B,
CAUTION
•There must not be any potential displacement between the units connected via the
CAN 2 system bus.
•There must not be any potential displacement between the units connected via the
CAN 1 system bus.
•Take suitable measures to avoid potential displacement, such as connecting the
unit ground connectors using a separate cable.
18
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Terminal X36 is intended for connecting a system bus based on EtherCAT (SBUS
4.3.4Ethernet interface terminal (terminal X37)
You can connect an engineering PC to the Ethernet interface (terminal X37).
UFF41B
X35
342
1
Version
X36
S1
X37
1
1
XML4
2
2
X32X33
3
3
1
1
2
2
3
3
L1L2L3L5
plus
).
64420AXX
The Ethernet interface (X37) supports auto crossing auto negotiation for baud rate and
duplex mode. The IP parameters are defined depending on DIP switch S1 (see section
"DIP switches S1 default IP address").
In addition to the engineering access via terminal X37, there is another engineering
access via PROFIBUS (see section "Operation of MOVITOOLS
®
MotionStudio").
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
4.3.5Pin assignment X37 (Ethernet for engineering)
Use prefabricated, shielded RJ45 plug connectors compliant with IEC 11801 edition 2.0,
category 5.
Figure 1: Pin assignment of an RJ45 plug connector
A = Front view
B = View from back
[1] Pin 1 TX+ Transmit Plus
[2] Pin 2 TX- Transmit Minus
[3] Pin 3 RX+ Receive Plus
[6] Pin 6 RX- Receive Minus
Connecting UFF41B fieldbus gateway to Ethernet
To connect UFF41B to the Ethernet, connect the Ethernet interface X37 (RJ45 plug
connector) to the other network stations using a category 5, class D twisted-pair cable
in accordance with IEC 11801 edition 2.0. The interface supports auto crossing and high
auto negotiation for baud rate and duplex mode.
TIP
According to IEC 802.3, the maximum cable length for 10/100 MBaud Ethernet
(10BaseT / 100BaseT), e.g. between two network stations, is 100 m.
54174AXX
22
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
The LED L1 indicates the status of the CAN 1 system bus.
Status of the L1
LED
OrangeThe CAN 1 system bus is initialized.
GreenThe CAN 1 system bus is initialized.
Flashing green
(0.5 Hz)
Flashing green
(1 Hz)
RedThe CAN 1 system bus is off (BUS-
Flashing red
(1 Hz)
DiagnosticsRemedy
The CAN 1 system bus is currently in
SCOM suspend mode.
The CAN 1 system bus is currently in
SCOM On mode.
OFF).
Warning on the CAN 1 system bus.1. Check and correct the cabling of the
-
1. Check and correct the cabling of the
CAN 1 system bus.
2. Check and correct the baud rate set
for the CAN 1 system bus.
3. Check and correct the terminating
resistors of the CAN 1 system bus.
CAN 1 system bus.
2. Check and correct the baud rate set
for the CAN 1 system bus.
The LED L2 indicates the status of the CAN 2 system bus.
Status of the L2
LED
OrangeThe CAN 2 system bus is initialized.-
GreenThe CAN 2 system bus is initialized.-
Flashing green
(0.5 Hz)
Flashing green
(1 Hz)
RedThe CAN 2 system bus is off (BUS-
Flashing red
(1 Hz)
DiagnosticsRemedy
The CAN 2 system bus is currently in
SCOM suspend mode.
The CAN 2 system bus is currently in
SCOM On mode.
OFF).
Warning on the CAN 2 system bus.1. Check and correct the cabling of the
-
-
1. Check and correct the cabling of the
CAN 2 system bus.
2. Check and correct the baud rate set
for the CAN 2 system bus.
3. Check and correct the terminating
resistors of the CAN 2 system bus.
CAN 2 system bus.
2. Check and correct the baud rate set
for the CAN 2 system bus.
LED L3 (program
status)
LED L3 indicates the status of the gateway program.
Status of L3DiagnosticsRemedy
GreenGateway program is running.-
OffNo gateway program is loaded.Load a gateway program into the controller.
Flashing orange
(1 Hz)
Program has stopped.Bootloader update required (see section
"SD memory card type OMG4.B")
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
LED L4 indicates the firmware status of the fieldbus gateway.
Status of the L4 LED DiagnosticsRemedy
Flashing green
(1 Hz)
Red•No SD card plugged in.
Flashing orange
(1 Hz)
The firmware of the fieldbus gateway
is running properly.
•File system of the SC card corrupt
Program has stopped.Bootloader update required (see section
-
"SD memory card type OMG4.B")
LED L5 (user)LED L5 is lit up red if the gateway program has detected an error and if this error can
only be eliminated after diagnostics with MOVITOOLS
®
MotionStudio.
4.5DIP switch S1 default IP address
With DIP switch S1, you can set a default IP address for the Ethernet connection (X37).
The set IP address is applied in the next boot process.
S1 switch settingMeaning
TopIP p a r a m e t e r :
BottomThe IP parameters defined on the memory card of the UFF41B gateway are used.
•IP address: 192.168.10.4
•Subnet mask: 255.255.255.0
•Standard gateway: 1.0.0.0
The IP parameters for engineering interface X37 are entered in the file "...\System\NetConfig.cfg" in section "Ethernet 2". You can adjust the file using a text
editor (e.g. Notepad).
4.5.1TCP / IP addressing and subnetworks
IntroductionThe settings for the address of the IP protocol are made using the following parameters:
•MAC address
•IP address
•Subnet mask
•Standard gateway
The addressing mechanisms and subdivision of the IP networks into sub-networks are
explained in this chapter to help you set the parameters correctly.
MAC addressThe MAC address (Media Access Controller) is the basis for all address settings. The
MAC address is a worldwide unique 6-byte value (48 bits) assigned to the Ethernet
device. SEW Ethernet devices have the MAC address 00-0F-69-xx-xx-xx. The MAC
address is difficult to handle for larger networks. This is why freely assignable IP
addresses are used.
IP addressThe IP address is a 32 bit value that uniquely identifies a station in the network. An IP
address is represented by four decimal numbers separated by decimal points.
Example: 192.168.10.4
24
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Each decimal number stands for one byte (= 8 bits) of the address and can also be
represented using binary code (see following table).
Byte 1Byte 2Byte 3Byte 4
11000000.10101000.00001010.00000100
The IP address comprises a network address and a station address (see following
table).
Network addressStation address
192.168.104
The part of the IP address that denotes the network and the part that identifies the
station is determined by the network class and the subnetwork mask.
Station addresses cannot consist of only zeros or ones (binary) because they represent
the network itself or a broadcast address.
Network classesThe first byte of the IP address determines the network class and as such represents
the division into network addresses and station addresses.
This rough division is not sufficient for a number of networks. They also use an explicit,
adjustable subnetwork mask.
A subnetwork mask is used to divide the network classes into even finer sections. The
subnetwork mask is represented by four decimal numbers separated by decimal points,
in the same way as the IP address.
Example: 255.255.255.128
Each decimal number stands for one byte (= 8 bits) of the subnetwork mask and can
also be represented using binary code (see following table).
Byte 1Byte 2Byte 3Byte 4
11111111.11111111.11111111.1 0000000
If you compare the IP addresses with the subnetwork masks, you see that in the binary
representation of the subnetwork mask all ones determine the network address and all
the zeros determine the station address (see following table).
Byte 1Byte 2Byte 3Byte 4
IP address
Subnet mask
decimal192.168..10.129
binary11000000.10101000.00001010.10000001
decimal255.255.255.128
binary11111111.11111111.11111111.10000000
The class C network with the address 192.168.10. is further subdivided into
255.255.255.128 using the subnetwork mask. Two networks are created with the
address 192.168.10.0 and 192.168.10.128.
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Standard gatewayThe standard gateway is also addressed via a 32-bit address. The 32-bit address is rep-
Assembly and Installation Instructions
SD memory card type OMG4.B
The following station addresses are permitted in the two networks:
•192.168.10.1 - 192.168.10.126
•192.168.10.129 - 192.168.10.254
The network stations use a logical AND operation for the IP address and the subnetwork
mask to determine whether there is a communication partner in the same network or in
another network. If the communication partner is in a different network, the standard
gateway is addressed for passing on the data.
resented by four decimal numbers separated by decimal points.
Example: 192.168.10.1
The standard gateway establishes a connection to other networks. In this way, a network station that wants to address another station can use a logical AND operation with
the IP address and the subnetwork mask to decide whether the desired station is located
in the same network. If this is not the case, the station addresses the standard gateway
(router), which must be part of the actual network. The standard gateway then takes on
the job of transmitting the data packages.
4.6SD memory card type OMG4.B
The SD memory card type OMG4.B is required for operating the UFF41B fieldbus gate-
Bootloader
update
way and contains the firmware, the gateway program, and the gateway configuration.
With a MOVIAXIS
terization in case an axis needs to be replaced.
The SD memory card type OMG4.B is included in the scope of delivery of the UFF41B
fieldbus gateway.
Only use type OMG4.B memory cards in a UFF41B fieldbus gateway.
When the LEDs L3 and L4 flash orange at a 1 Hz frequency after power-on, a bootloader
update is required. Proceed as follows:
•Do not switch off the power supply during the entire process.
•Press the reset button T1 on the front of the UFF41B fieldbus gateway for 3 seconds.
When the bootloader update starts, only LED 4 is flashing.
•The bootloader update has been successful when L4 flashes green.
®
axis module, it is also used for data backup and automatic parame-
26
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Connecting the UFF41B fieldbus gateway to a DeviceNet network
4.7Connecting the UFF41B fieldbus gateway to a DeviceNet network
The following sections describes the terminals, DIP switches, and LEDs relevant for
DeviceNet fieldbus operation.
4
Front view
UFF41B fieldbus
gateway
64775AXX
LED
Designation
DIP switch
Terminal
LEDLED 18
LED 17
LED 16
LED 15
LED 14
LED 13
LED 12
LED 11
Terminal X30D:
DeviceNet
(plug-in terminals)
X30D:1
X30D:2
X30D:3
X30D:4
X30D:5
DIP switch S2
S2To p
Switching between PROFIBUS
and DeviceNet
For operation via DeviceNet:
DIP switch
for setting
the MAC ID and the baud rate
Terminal X38:
CAN for safety-relevant
communication
0
2
1
2
2
2
3
2
4
2
5
2
6
2
7
2
X38:1
X38:2
X38:3
(plug-in terminals)
Mod/Net
Polled I/O
Bit-strobe I/O
BUSFAULT
-
-
VCAN_L
DRAIN
CAN_H
V+
Bottom
Function
LEDs 17 and 18 are reserved for PROFIBUS.
LED 18 is lit orange: UFF41B option is being
initialized
The two-color LEDs 13 to 16 indicate the current
status of the fieldbus interface and the DeviceNet
system.
Reserved
Reserved
0V24
CAN_L
DRAIN
CAN_H
24 V
Fieldbus interface PROFIBUS (X30P) active
Fieldbus interface DeviceNet (X30D) active
The DIP switches 20 - 25 are used to set the
MAC ID (Media Access Control Identifier). The
MAC ID represents the node address (address
range 0 - 63)
Baud rate setting
Baud rate setting
Reserved
Reserved
Reserved
4.7.1Pin assignment X30D (DeviceNet)
The assignment of connecting terminals is described in the DeviceNet specification
(Volume I, Appendix A).
DFD11B
UFF41B
1
2
3
4
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
5
X30D
The UFF41B option is opto-decoupled on the driver side in accordance with the
DeviceNet specification (Volume I, Chapter 9). This means the CAN bus driver must be
powered with 24 V voltage via the bus cable. The cable to be used is also described in
the DeviceNet specification (Volume I, Appendix B). The connection must be made
according to the color code specified in the following table.
Connecting the UFF41B fieldbus gateway to a DeviceNet network
Pin no. SignalMeaningColor coding
1V-0V24BK
2CAN_LCAN_LBU
3DRAINDRAINblank
4CAN_HCAN_HWH
5V+24 VRD
UFF41B and
DeviceNet
connection
According to the DeviceNet specification, a linear bus structure without or with very short
droplines is required.
The maximum permitted cable length depends on the baud rate setting:
Baud rateMaximum cable length
500 kBaud100 m
250 kBaud250 m
125 kBaud500 m
4.7.2Bus termination
In order to avoid disruptions in the bus system due to reflections, each DeviceNet segment must be terminated with 120 Ω bus terminating resistors at the first and last physical station. Connect the bus terminating resistor between connections 2 and 4 of the
bus plug.
4.7.3Setting the DIP switches
TIP
De-energize the UFF41B fieldbus gateway before you change the DIP switch settings.
The DIP switch settings are adopted during initialization only.
UFF41B
0
2
1
2
2
2
ON
3
2
4
2
5
2
6
2
7
2
64419AXX
20-25 = MAC ID setting
6-27
2
= Baud rate setting
Setting the MAC IDThe MAC ID (Media Access Control Identifier) is set on the UFF41B option using DIP
switches 2
0
- 25 in a binary coded manner. The MAC ID represents the node address
of the UFF41B. The UFF41B supports the address range 0 - 63.
28
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Connecting the UFF41B fieldbus gateway to a DeviceNet network
4
Setting the baud
rate
The baud rate is set using DIP switches 26 and 27.
DIP switch
6
2
00125 kBaud
10250 kBaud
01500 kBaud
11Invalid
7
2
Baud rate
A maximum of 64 DeviceNet data words can be exchanged between the DeviceNet
module and the UFF41B option. The number is set using the DeviceNet scanner.
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Connecting the UFF41B fieldbus gateway to a DeviceNet network
4.7.4Status LED in DeviceNet operation
The UFF41B fieldbus gateway has four two-color LEDs for diagnostic of the DeviceNet
system; they indicate the current status of the UFF41B and the DeviceNet system. The
unit status corresponding to the status of the LED is described in chapter "Error
diagnostics".
DesignationAbbreviationComplete LED designation
L16MOD/NETModule/Network status
L15PIOPolled I/O
L14BIOBit-strobe IO
L13BUS FAULTBUS FAULT
LED
LED L16
(Mod/Net)
The function of the L16 LED (Mod/Net = Module/Network Status) described in the
following table is specified in the DeviceNet specification.
Status of the
L16 LED
OffNot switched on/offline•Unit is offline
Flashing green
(1 s cycle)
Lights up green Online, operational mode
Flashing red
(1 s cycle)
Red lightCritical fault or critical link
StatusMeaning
•Unit performs DUP MAC check
•Unit is switched off
Online and in operational
mode
and connected
Minor fault or connection
timeout
failure
•The unit is online and no connection has been
established
•DUP-MAC check performed successfully
•A connection has not yet been established with a
master
•Missing, incorrect or incomplete configuration
•Online
•Connection to a master has been established
•Connection is active (established state)
•A correctable fault has occurred
•Polled I/O and/or bit strobe I/O connections are in the
timeout status
•DUP-MAC check has detected an error
•A correctable fault has occurred
•BusOff
•DUP-MAC check has detected an error
L15 LED (PIO)The L15 (Polled I/O) LED monitors the polled I/O connection.
Status of the
L15 LED
Flashing green
(125 ms cycle)
OffNot switched on / offline
Flashing green
(1 s cycle)
Lights up green Online, operational mode
Flashing red
(1 s cycle)
Red lightCritical fault or critical link
30
StatusMeaning
DUP-MAC checkUnit is performing DUP-MAC check
but not DUP-MAC check
Online and in operational
mode
and connected
Minor fault or connection
timeout
failure
•Unit is offline
•Unit is switched off
•Unit is online
•DUP-MAC check performed successfully
•A polled IO connection is being established with a
master (configuring state)
•Missing, incorrect or incomplete configuration
•Online
•A polled I/O connection has been established
(established state)
•Invalid baud rate set via DIP switches
•A correctable fault has occurred
•Polled I/O connection is in timeout status
•A fault that cannot be remedied has occurred
•BusOff
•DUP-MAC check has detected an error
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Status of PROFIBUS communication
Status of PROFIBUS bus electronics
Reserved
Reserved
Reference potential for PROFIBUS
Signal receive transmit negative
Terminal unassigned
DC+5 V potential for bus terminator
Reference potential for PROFIBUS
PROFIBUS control signal for repeater
Signal receive transmit positive
Terminal unassigned
Terminal unassigned
Fieldbus interface PROFIBUS (X30P) active
Fieldbus interface DeviceNet (X30D) active
Significance: 1
Significance: 2
Significance: 4
Significance: 8
Significance: 16
Significance: 32
Significance: 64
In PROFIBUS operation without function
Reserved
Reserved
Reserved
4.8.1Pin assignment X30P (PROFIBUS)
Connection to the PROFIBUS system is made using a 9-pin sub D plug according to
IEC 61158. The T-bus connection must be made using a plug with the corresponding
configuration. The following figure shows the PROFIBUS connector that is connected to
X30P of the UFF41B fieldbus gateway.
32
[1] 9-pin D-sub connector
[2] Signal line, twisted
[3] Conductive connection over a large area is necessary between plug housing and
the shield
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Connecting the UFF41B fieldbus gateway to a PROFIBUS network
4
UFF41B gateway
and PROFIBUS
connection
As a rule, the UFF41B fieldbus gateway is connected to the PROFIBUS system using a
shielded twisted-pair cable. Observe the maximum supported transmission rate when
selecting the bus connector.
The twisted-pair cable is connected to the PROFIBUS connector at pin 3 (RxD/TxD-P)
and pin 8 (RxD/TxD-N). Communication takes place using these two pins. The RS485
signals RxD/TxD-P and RxD/TxD-N must all be connected to the same contacts in all
PROFIBUS stations. Else, the bus components cannot communicate via the bus
medium.
The PROFIBUS interface sends a TTL control signal for a repeater or fiber optic adapter
(reference = pin 9) via pin 4 (CNTR-P).
Baud rates
greater than 1.5
The UFF41B fieldbus gateway with baud rates > 1.5 MBaud can only be operated with
special 12-MBaud PROFIBUS connectors.
MBaud
Bus terminationWhen the UFF41B fieldbus gateway is located at the start or end of a PROFIBUS
segment and when there is only one PROFIBUS cable connected to the UFF41B fieldbus gateway, you must use a plug with an integrated bus terminating resistor.
Switch on the bus terminating resistors for this PROFIBUS connector.
0
Setting the
station address
To set the PROFIBUS station address, use DIP switches 2
7
gateway. DIP switch 2
has no function in PROFIBUS operation.
- 26 on the UFF41B fieldbus
The UFF41B fieldbus gateway supports the address range 0 - 125.
UFF41B
0
2
1
2
2
2
3
2
4
2
5
2
6
2
7
2
ON
64419AXX
The default setting for the station address is 4:
0
→ Significance: 1 × 0 = 0
2
1
2
→ Significance: 2 × 0 = 0
2
2
→ Significance: 4 × 1 = 4
3
→ Significance: 8 × 0 = 0
2
4
2
→ Significance: 16 × 0 = 0
5
2
→ Significance: 32 × 0 = 0
6
→ Significance: 64 × 0 = 0
2
Any change of the PROFIBUS station address during ongoing operation does not take
effect immediately. You have to switch the supply voltage of UFF41B off and then on
again for the changes to take effect.
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Connecting the UFF41B fieldbus gateway to a PROFIBUS network
4.8.2Status LED in PROFIBUS operation
The UFF41B fieldbus gateway has two two-color LEDs for diagnostic of the PROFIBUS
system. They indicate the current status of the UFF41B and the PROFIBUS system. The
unit status corresponding to the status of the LED is described in chapter "Error
diagnostics".
LED L17 (FAULT
PROFIBUS)
LED L18 (RUN
PROFIBUS)
LED L17 (FAULT PROFIBUS) indicates that communication via the PROFIBUS inter-
face is working properly.
Status of the
L17 LED
Off•The UFF41B fieldbus gateway exchanges
Red•Connection to the DP master has failed.
Flashing red
(1 Hz)
DiagnosticsRemedy
data with the PROFIBUS-DP master (data
exchange status).
•The UFF41B fieldbus gateway does not
detect the PROFIBUS baud rate.
•Bus interruption has occurred.
•PROFIBUS-DP master not in operation.
•The UFF41B fieldbus gateway does not
detect the baud rate. However, the DP
master does not address the UFF41B
fieldbus gateway.
•The UFF41B fieldbus gateway was not
configured in the DP master or was configured incorrectly.
-
•Check the PROFIBUS connection on
the unit.
•Check project planning of the
PROFIBUS DP master.
•Check all the cables in the
PROFIBUS network.
•Check and correct the PROFIBUS
station address set in the UFF41B
fieldbus gateway and in the configuration software of the DP master.
•Check and correct the configuration
of the DP master.
•Use the GSD file SEW_600D.GSD
with the designation Adv.Gateway UFF for configuration.
LED L18 (RUN PROFIBUS) indicates the proper functioning of the PROFIBUS electron-
ics (hardware).
Status of the
L18 LED
Green•PROFIBUS hardware OK. -
Flashing
green
(1 Hz)
Orange•UFF41B option is being initialized. -
DiagnosticsRemedy
•The PROFIBUS station address set on
the DIP switches exceeds 125. If the
PROFIBUS station address is set to a
value greater than 125, the UFF41B fieldbus gateway will use PROFIBUS station
address 4.
1. Check and correct the PROFIBUS
station address on the DIP switches.
2. Switch on all drive inverters again.
The modified PROFIBUS address
will only take effect after a restart.
34
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Only use shielded cables and connection elements that meet the requirements of
category 5, class D according to IEC 11801 edition 2.0.
Correct shielding of the bus cable attenuates electrical interference that can occur in
industrial environments. The following measures ensure the best possible shielding:
•Manually tighten the mounting screws on the connectors, modules, and equipotential
bonding conductors.
•Use only connectors with a metal housing or a metallized housing.
•Connect the shielding in the connector over a wide surface area.
•Apply the shielding of the bus line on both ends.
•Route signal and bus cables in separate cable ducts. Do not route them parallel to
power cables (motor leads).
•Use metallic, grounded cable racks in industrial environments.
•Route the signal cable and the corresponding equipotential bonding close to each
other using the shortest possible route.
•Avoid using plug connectors to extend bus cables.
•Route the bus cables closely along existing grounding surfaces.
Shielding and routing bus cables
4
CAUTION
In case of fluctuations in the earth potential, a compensating current may flow via the
bilaterally connected shield that is also connected to the protective earth (PE). Make
sure you supply adequate equipotential bonding according in accordance with relevant
VDE regulations in such a case.
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Configuring the UFx41B Fieldbus Gateway and the Inverter
Description of the gateway functions
5Configuring the UFx41B Fieldbus Gateway and the Inverter
5.1Description of the gateway functions
5.1.1Introduction
With the UFF41B and UFR41B fieldbus gateways, SEW-EURODRIVE offers innovative
solutions for integrating SEW inverter technology in fieldbus systems.
For this purpose, process data of the higher-level control in the fieldbus gateway are
processed and sent via CAN (SBus) to the devices connected to the fieldbus gateway.
Type UFx41B fieldbus gateways can transmit up to 64 process data (PD) from the
fieldbus to up to 16 lower-level slave units. The data length per slave unit is limited to 16
process data.
Two different unit configurations are supported:
•Autosetup configuration
For automatic configuration of the fieldbus gateway and connected devices.
•Customized configuration
For individual configuration of the process data length and the CAN connection of the
individual slave units.
Special features of the UFx41B fieldbus gateways are data backup and data restoration
(see chapter "Data Backup", section "Restore mechanism") after replacement of slave
unit
s. For this purpose, all parameters of the connected slave units are saved on the SD
card of the fieldbus gateway and a possible unit replacement is monitored. When a unit
is replaced, the fieldbus gateway automatically loads the unit parameters to the replaced
unit.
The fieldbus gateway is configured in MOVITOOLS
way Configurator" tool.
®
MotionStudio using the "UFx Gate-
5.1.2Autosetup
The "Autosetup" function is activated in the "UFx Gateway Configurator" tool. Autosetup
results in automatic configuration of the fieldbus gateway and the slave units connected
to it, which optimally cover a wide range of applications.
The "autosetup" functions performs the following configurations automatically:
•Stopping process data communication in direction of the SBus
®
axis
®
•Scanning the CAN 1 system bus to detect the connected units (MOVIAXIS
MOVIDRIVE
•Assigning the process data width: 6 process data with MOVIAXIS
data with MOVIDRIVE
•Configuring the necessary process data objects (PDO) of the MOVIAXIS
modules
•Saving the configuration in the UFx41B fieldbus gateway (no data backup)
®
B and MOVITRAC® B; up to max. 16 units)
®
B and MOVITRAC® B
®
and 3 process
,
36
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Configuring the UFx41B Fieldbus Gateway and the Inverter
During unit scan, the first 16 units found in the slave unit configuration saved in the fieldbus gateway will apply.
If the value of 64 PD is exceeded due to the process data lengths set for the individual
slave units, the gateway application will automatically reduce the process data length of
the slave units. In this case, 3 PD are set for MOVIDRIVE
units. The remaining free PD length will be divided by the number of MOVIAXIS
units. This is the resulting process data length for the individual MOVIAXIS
procedure applies no matter whether the autosetup function is enabled or not.
®
B and MOVITRAC® B slave
®
slave
®
units. The
TIP
"Autosetup" assumes that all slave units are connected to the CAN 1 system bus.
Scanning is performed using the CAN 1 system bus only.
The start words in the process image are set in such a way that the data of the slaves
follows one another without overlapping.
The autosetup configuration is saved in the UFx41B fieldbus gateway and is checked
by scanning the slave units each time the power supply is enabled.
To ensure successful communication and configuration of MOVIAXIS
MOVIAXIS
®
parameter setting level must be set to "Planning Engineer".
®
units, the
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Configuring the UFx41B Fieldbus Gateway and the Inverter
Description of the gateway functions
The "customized configuration" function allows for configuring the process data width
individually and for using the CAN 2 terminal on the fieldbus gateway. The CAN cycle
time can be reduced by dividing the slave units among the two CAN interfaces of the
fieldbus gateway. The data transmission performance can be increased in this way.
Customized configuration means that users can configure the process data length for
each slave unit, the start word in the process image in direction of the fieldbus, and the
SBus (CAN 1 or CAN 2). Status word and data length are the same both for the process
input and process output data of the slave unit.
12103AEN
The fieldbus gateway uses these data to automatically determine the cycle time for the
CAN interfaces as well as the number, data length, and CAN-IDs of process data objects
(PDO) on the SBus. The duration of the cycle time is always the same for both CAN
interfaces.
Pressing the [Apply configuration] button saves the configuration data in the fieldbus
gateway. These are the number of slave units, their process data width, their connection
to the CAN1 or CAN2 system bus, and their timeout interval. Additionally, the settings
required for establishing the communication with the fieldbus gateway are made automatically in the MOVIAXIS
of process data" function ("autosetup process data" selection field "off"), the user has to
set the parameters for the process data in the slave units accordingly.
Changes made to the process data configuration in the fieldbus gateway will take effect
in the fieldbus gateway by pressing the [Apply configuration] button.
®
slave units. For MOVIAXIS® units with disabled "autosetup
38
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Configuring the UFx41B Fieldbus Gateway and the Inverter
If the "autosetup" or "customized configuration" functions are performed using the UFx
Gateway Configurator, then the slave unit parameters (MOVIAXIS
B and MOVITRAC
®
servo inverter
®
B) described in the following sections have to be made.
®
, MOVIDRIVE
®
Process data communication is automatically configured in the axis module for each
MOVIAXIS
®
slave unit if the fieldbus gateway was configured using the "autosetup"
function, or, in the case of "customized configuration" of this slave unit, if the "autosetup
process data" function is set to "OFF". Only the process data objects required for
®
communication between fieldbus gateway and MOVIAXIS
axis module are configured.
The unit-internal further processing of process data depends on the application and is
not affected by the configuration by the fieldbus gateway.
TIP
•It is important that no other axis-to-axis communication between the individual
slave units was configured via the same CAN bus in order to ensure process data
exchange and engineering between fieldbus gateway and slave units.
•If the application requires axis-to-axis communication, use the CAN2 bus of the axis
module for MOVIAXIS
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Configuring the UFx41B Fieldbus Gateway and the Inverter
Description of the gateway functions
Setting the MOVIDRIVE® B and MOVITRAC® B inverters
With MOVIDRIVE
cally set the parameters. In this case, the following settings have to be made via the
UFx41B fieldbus gateway for operating the MOVIDRIVE
®
B and MOVITRAC® B, the "autosetup" function does not automati-
®
B or MOVITRAC® B inverters
(see following figure).
11845AXX
®
Before controlling the MOVIDRIVE
B or MOVITRAC® B inverter via the fieldbus gate-
way, you have to set control signal source (P101) and setpoint sou rce (P100) to SBus1.
The SBus setting1 means the inverter parameters are set for control and setpoint entry
via fieldbus gateway. The inverter then responds to the process output data sent by the
master programmable controller.
It is necessary to set the SBus1 timeout interval (P883) to a value other than 0 ms for
the inverter to stop in the event of a faulty SBus communication. We recommend a value
in the range 50 to 200 ms. Activation of the control signal source and setpoint source
SBus is signaled to the higher-level controller using the "SBus mode active" bit in the
status word.
Activation of the control signal source and setpoint source SBus is signaled to the
machine controller using the "Fieldbus mode active" bit in the status word. For safety
®
reasons, you must also enable the MOVIDRIVE
B inverter at the terminals for control
via the fieldbus gateway. Consequently, you must wire and program the terminals in
such a way that the inverter is enabled via the input terminals. The simplest way of
enabling the inverter using terminals is, for example, to connect the DIØØ input terminal
®
(function /CONTROLLER INHIBIT) for MOVIDRIVE
®
MOVITRAC
B to a +24 V signal and to program the remaining terminals to NO
B, and DI01 = CW/stop for
FUNCTION.
40
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Configuring the UFx41B Fieldbus Gateway and the Inverter
•Set the P881 SBus address parameter in increasing order to values 1 - 16 if the
slave unit is connected to the CAN 1 system bus of the fieldbus gateway. Set the
basic address of the CAN 1 system bus of the axis block to values > 0 in particular
when using MOVIAXIS
•Set the P881 SBus address parameter in increasing order to values 17 - 34 if the
slave unit is connected to the CAN 2 system bus of the fieldbus gateway.
•The SBus address 0 is used by the UFx41B fieldbus gateway and therefore must
not be used.
•Set P883 SBus timeout to values between 50 to 200 ms.
•For MOVIDRIVE
®
axis blocks.
®
B, set P889 / P899 Parameter channel 2 to ON
5
The type UFx41B fieldbus gateway allows for saving all parameters of the connected
slave units to the SD memory card of the fieldbus gateway. Besides, the fieldbus gateway monitors a possible unit replacement and in this case loads the unit parameters
automatically to the replaced unit. The parameter sets of the slave units and the configuration data of the UFx41B fieldbus gateway are centrally saved on the SD memory card
of the fieldbus gateway and will be used when replacing a unit.
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Configuring the UFx41B Fieldbus Gateway and the Inverter
Description of the gateway functions
This means the fieldbus gateway serves as data memory for the data sets of the slave
units and of the startup data of the fieldbus gateway.
Once you have taken up operation of the drive system, the data sets are copied to the
data memory (SD card) when pressing the [Data backup] button. This function lets you
save the parameter sets of each slave unit, their UUID (Universally Unique Identifier)
and the configuration data of the fieldbus gateway itself. If the parameters of individual
slave units should change after the data backup, then the change will also have to be
updated in the data backup. This can be easily done by pressing the [Save data] button
of the relevant slave unit.
When restarting the system, the system checks whether an axis has been replaced. If
yes, the data set saved at startup will automatically be loaded into the replaced axis.
This mechanism only works for units with a UUID (Universally Unique Identifier) (so far
only for MOVIAXIS
Automatic unit update is only performed for fieldbus gateway slave units, which means
for units the user has manually entered in the device list of the fieldbus gateway either
using the user interface or during the system bus auto scan. Units that are connected to
the SBus but are not listed in the device list of the fieldbus gateway, will neither be
included in the data backup nor in the unit replacement function.
®
).
Saving data to SD
memory card
The prerequisite for automatic update after a unit replacement is that the system has
been taken into operation and that its data sets are available on the data memory (SD
memory card for UFx) of the fieldbus gateway. These data sets are created by activating
the "Data backup" function using the UFx Gateway Configurator. Make sure that the unit
replacement function of the fieldbus gateway is active. To do so, set the "Unit replacement function" to "ON" on the "Gateway parameters" tab of the UFx Gateway Configurator.
Data backup means the data sets of the connected units are saved as well as their
UUIDs. The configuration of the fieldbus gateway is also saved.
If you want the unit replacement function to be active for all units included in the device
list, you have to enable the relevant parameters before activating data backup.
The user has to restart the SBus process data once data backup is completed. Bit 9
("configured") in the gateway status indicates that the data memory contains valid data.
42
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Configuring the UFx41B Fieldbus Gateway and the Inverter
If the unit replacement function of the fieldbus gateway is active and bit 9 ("configured")
is set, all slave units will be checked for unit replacement during startup. If a replaced
unit is detected and if the axis replacement function for this slave unit is also active, the
unit will be updated with the data set saved in the data memory.
If the unit replacement function for the fieldbus gateway is disabled, the units will not be
checked for replacements and, consequently, the slave units will not be updated.
If an error occurs during automatic update of a slave unit, no process data communication will be established with this unit. This applies for errors occurring during the update
as well as for errors while reading the UUID.
TIPS
When replacing a unit, make sure that the previous SBus address is set on the
replaced units.
This is ensured when replacing a MOVIAXIS
is not changed and the fieldbus gateway is connected to the CAN 1 system bus of the
MOVIAXIS
With MOVIDRIVE
parameters. This also applies to MOVIAXIS
of the axis module.
A possible cause for a slave timeout is a unit replacement while the system is running.
The UUID of the unit is read and compared with the saved UUID as soon as the slave
timeout has elapsed.
If a unit replacement is detected and the unit replacement function is activated for the
fieldbus gateway and the relevant slave, and bit 9 is set in the fieldbus gateway status,
then the replaced slave unit will be updated with the data set in the data memory.
The fieldbus gateway continues to send the timeout status word in the process image of
the relevant slave to the fieldbus master both while the UUID is being transmitted and
during a possible update of the slave unit. The process data on the SBus are not
stopped. The fieldbus gateway sends "0" signals in all process data words to the relevant slave unit.
If errors occur while checking the UUID or downloading the data set, "0" is continued to
be sent to the slave unit via SBus. The fieldbus gateway enters the error bit and an error
code in the process image of this slave.
If timeout monitoring is disabled for a slave, no slave timeout will be signaled. This is the
reason why no unit replacement verification is carried out during gateway operation. The
unit replacement function during startup of the fieldbus gateway is not affected by this
setting.
®
axis block.
®
B and MOVITRAC® B, the addresses have to be set using
®
unit if the address on the supply module
®
when the gateway is connected to CAN 2
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
5. Make sure that all slave units connected to the fieldbus gateway are displayed after
the unit scan. If no slave units are detected, check the installation (CAN bus terminating resistors). Also check whether all slave units have different SBus addresses
with values higher than zero (see following figure).
6. Select the UFx41B gateway you want to configure and open the context menu with
a right mouse click. As a result you will see a number of unit-specific tools to execute
various functions with the units.
7. Open the "UFx Gateway Configurator" tool (see following figure)
5
12105AEN
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
AutosetupIf you want to carry out the configuration using the "autosetup" function, press the
Configuring the UFx41B Fieldbus Gateway and the Inverter
Startup procedure
[Autosetup] button in the UFx Gateway Configurator. All drives will be stopped.
The slave units connected to the CAN 1 system bus will be scanned and configured
automatically in the case of MOVIAXIS
symbol during execution of the "Autosetup" function.
The autosetup function assigns the following process data widths:
•6 process data for MOVIAXIS
•3 process data for MOVIDRIVE
With MOVIAXIS
modules are configured automatically.
With MOVIDRIVE
baud rate have to be configured for the slave units as described in chapter 5.1.4.
The number of slave units and their settings are saved in the fieldbus gateway and are
checked by scanning the slave units each time power supply is enabled.
Observe that the "autosetup" function requires that all slave units are connected to the
CAN 1 system bus. Scanning is performed using the CAN 1 system bus only.
If the "Autosetup" function was executed successfully and if fieldbus communication has
already been established, then the process data are started and the UFx Gateway
Configurator indicates proper operation.
®
, all necessary process data objects (PDO) of the MOVIAXIS® axis
®
B and MOVITRAC® B, the SBus address, SBus timeout, and SBus
®
®
. The UFx Gateway Configurator displays a
, and
®
B and MOVITRAC® B.
Customized
configuration
If you want to carry out the configuration using the "customized" function, press the
[Customized configuration] button in the UFx Gateway Configurator. The UFx Gateway
Configurator opens the "Process data configuration" tab. Press the [Process data - Stop]
button. All drives will be stopped.
The "customized configuration" functions lets you configure the process data width individually and is necessary if slave units are connected to the CAN 2 system bus of the
fieldbus gateway.
The CAN cycle time can be reduced by dividing the slave units among the two CAN
interfaces of the fieldbus gateway. The data transmission performance can be increased
in this way.
12103AEN
46
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Configuring the UFx41B Fieldbus Gateway and the Inverter
•CAN interface (CAN 1 or CAN 2 system bus) to which the slave unit is connected
The entry in the "Start word process image" is determined automatically.
The start word in the process image in direction of the fieldbus as well as the process
data length is the same for the process input and output data of the slave unit.
Pressing the [Apply configuration] button will perform the settings automatically in the
MOVIAXIS
"autosetup process data" parameter is set to "OFF", the settings in the relevant
MOVIAXIS
afterwards.
Pressing the [Process data - Start] button will start communication between fieldbus
gateway and slave unit. The following symbol appears when communication has been
established successfully.
®
units where the "autosetup process data" parameter is set to "ON". If the
®
unit will not be made automatically so they have to be made by the user
5
5.2.4Last settings in the slave units
Now execute the "Startup wizard" tool for every unit as you have access to all parameters of the slave units via the engineering interface of the fieldbus gateway. Doing so will
adjust the inverter to the connected motor and, if required, the control loops will be
adjusted to the load conditions of the application.
If available, you can load a matching parameter file to the inverter / servo inverter. It is
important that the SBus address and in particular the SBus baud rate are not changed.
TIP
In particular with MOVIAXIS®, you have to check the communication settings of the INPDOs and OUT-PDOs. If the communication settings were changed by loading the
parameter set, you can correct these settings by reloading the customized configuration or by executing the "autosetup" function again.
•MOVIAXIS
Process data communication is automatically configured in the axis module for each
MOVIAXIS
unit is set to "ON". Only the process data objects required for communication
between fieldbus gateway and MOVIAXIS
®
®
slave unit if the gateway parameter "autosetup process data" for this
®
axis module are configured.
12107AXX
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Configuring the UFx41B Fieldbus Gateway and the Inverter
Startup procedure
The unit-internal further processing of process data depends on the application and
is not affected by the configuration by the fieldbus gateway.
After having configured the fieldbus gateway, you can now set the parameters for the
individual MOVIAXIS
"Parameter tree" to linking the necessary IN and OUT PDOs used by the fieldbus
gateway to the relevant control and status words.
®
•MOVIDRIVE
Since the fieldbus gateway does not perform an automatic configuration for these
inverters, you have to check the settings again as described in chapter 5.1.4.
Make sure that the following parameters are not changed when setting the inverter
parameters to match your application:
In the UFx Gateway Configurator, open the "Process data monitor" tab (see following
figure).
Check the data between fieldbus gateway and master controller. To apply different
number formats to the individual numerical fields, make a right mouse click.
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Configuring the UFx41B Fieldbus Gateway and the Inverter
Startup procedure
Checking
process data in
slave units
Do the following to check whether communication between fieldbus gateway and slave
unit works properly:
•MOVIAXIS
You can use the PDO Editor to check process data. The input process data objects
(IN-PDO) and output process data objects (OUT-PDO) are displayed (see following
figure).
®
•MOVIDRIVE
In MOVITOOLS
"Parameter tree" tool in parameter group 09 "Bus diagnostics" (see following figure).
The two tools "UFx Gateway Configurator" and "Parameter tree" can be open at the
same time (see following figure).
®
B and MOVITRAC® B
®
MotionStudio, you can check the process data using the
12085AEN
50
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
12086AEN
Configuring the UFx41B Fieldbus Gateway and the Inverter
Manual specification (forcing) of
process output
data
The process data monitor also lets you manually specify process output data without
master controller (referred to as forcing).
Activate force mode and enter the values in the now active fields. Clicking the "Send
process data" button will send the entered values to the slave units via SBus instead of
the valued received via fieldbus. Process input data cannot be specified manually.
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
5.2.6Saving inverter data in the fieldbus gateway and using MOVITOOLS® MotionStudio
Configuring the UFx41B Fieldbus Gateway and the Inverter
Startup procedure
After having successfully configured the fieldbus gateway and after complete and
verified parameterization of the slave units, the inverter parameters of the slave units
can be saved on the SD card of the fieldbus gateway and on your PC using the project
management of MOVITOOLS
®
MotionStudio.
Saving data on
the SD memory
card of the fieldbus gateway
Saving data using
the project
management in
MOVITOOLS
MotionStudio
®
To save the data of the slave units on the SD memory card of the fieldbus gateway, click
on the [Data backup] tab in the UFx Gateway Configurator and click the [Data backup]
button. For this purpose, all drives must be at standstill and process data communication
must be stopped.
Clicking the [Data backup] button of the displayed slave units will copy the parameter
set of this unit to the SD card of the fieldbus gateway.
Setting the "Automatic update" function to "OFF" disables the restore function for this
unit after unit replacement (see also chapter 5.1.5).
Proceed as follows to configure existing units in the network:
1. Switch to the network view with the "Network view" tab.
2. Perform a unit scan.
This will display all units that are physically connected and accessible online.
3. Select the unit you want to configure.
4. Drag the scanned unit from the network view into project view (drag and drop) or
select the [Project unit] command from the context menu.
This opens the "Project unit" window.
5. Use the name (signature) of the unit that is accessible online.
52
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
12116AEN
Configuring the UFx41B Fieldbus Gateway and the Inverter
Configuring the UFx41B Fieldbus Gateway and the Inverter
Startup procedure
5.2.7Error processing and status messages
The fieldbus gateway distinguishes between status and error messages of the fieldbus
gateway a
nd individual slave units. Fo
vidual parameter. The following table gives an overview of the assignment of individual
bits of the slave status word.
Status word slave
BitAssignment
2Slave timeout
3Configuration error in project planning
4Configuration error in process data
5Update error
9Data backup
10Update in progress
11Replaced axis detected
15Error while saving data
17Error while reading UUID during data backup
30Unit update after timeout
r every slave, a status word is stored in an indi-
The status of the fieldbus gateway is stored in a parameter in bit code. The following
table gives an overview of the assignment of individual bits of the fieldbus gateway
status word. The fieldbus gateway status results from ORing the bits in the individual
slave states if the bit assignment in the slave and fieldbus gateway states corresponds.
Fieldbus gateway status word
BitAssignment
0Malfunction
1Fieldbus timeout
2Slave timeout
3Configuration error in project planning
4Configuration error in process data
5Update error
6Process data started
7Process data stopped
8Configured
9Data backup
10Update in progress
11Replaced axis detected
12Bus scan
13Autosetup slaves
14SBus initialization
15Error during data backup
30Unit update after timeout
This allows for detailed error diagnostics. For example, if the fieldbus gateway indicates
a configuration error during configuration (bit 3), the slave where this error has occurred
can be determined from the status of the slaves. Bits indicating an error are reset during
error reset (bits 0 - 5, bit 11, bit 15, bit 30).
54
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Configuring the UFx41B Fieldbus Gateway and the Inverter
Communication
error between
fieldbus gateway
and slave unit
If the fieldbus gateway detects a timeout during communcation with a slave unit, then
the fieldbus gateway automatically shows fault number F111 in the first word of the
process image of the relevant slave unit.
A timeout is detected by monitoring the process data communication between fieldbus
gateway and slave. A communication error is automatically reset as soon as the
malfunction is eliminated.
The following parameters must be set in these units to enable the fieldbus gateway to
signal error states of connected units to the master controller:
•MOVIDRIVE
P873 = Status word 1 or status word 3
•MOVIAXIS
®
B, MOVITRAC® B
®
(see following figure)
12108AEN
Status word settings:
– Selection field "Layout": Progr. layout/fault code
– Selection field
This status word is linked with the corresponding output process data object (see
following figure).
"Bit 5:
Malfunction"
12109AEN
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Configuring the UFx41B Fieldbus Gateway and the Inverter
Startup procedure
TIP
The fieldbus gateway does not verify correct parameter setting of the status word.
A deviating parameter setting will cause the controller to not correctly detect communication timeouts with the slave units or other errors.
Fieldbus timeoutThe fieldbus gateway detects a failed communication with the master controller (fieldbus
master). In this case, the fieldbus gateway sends "0" signals to all slave units in their
process image and in this way stops all drives using the set rapid stop ramp. Fieldbus
communication will automatically be resumed after a fieldbus timeout.
Used CAN IDs
The following CAN IDs are used for communication between fieldbus gateway and slave
units.
Number ofCalculation of CAN IDs of
process data per driveCAN telegramsprocess inputs PIprocess outputs PO
3 process data for
MOVIDRIVE
MOVITRAC
1 to 4 process data for
MOVIAXIS
5 to 8 process data for
MOVIAXIS
9 to 12 process data for
MOVIAXIS
13 to 16 process data for
MOVIAXIS
®
®
®
®
®
®
B and
B
1 CAN telegram8 x SBus address8 x SBus address + 1
1 CAN telegram8 x SBus address + 38 x SBus address + 0
2 CAN telegrams1. CAN telegram:
8 x SBus address + 3
2. CAN telegram:
8 x SBus address + 4
3 CAN telegrams1. CAN telegram:
8 x SBus address + 3
2. CAN telegram:
8 x SBus address + 4
3. CAN telegram:
8 x SBus address + 5
4 CAN telegrams1. CAN telegram:
8 x SBus address + 3
2. CAN telegram:
8 x SBus address + 4
3. CAN telegram:
8 x SBus address + 5
1. CAN telegram:
8 x SBus address + 0
2. CAN telegram:
8 x SBus address + 1
1. CAN telegram:
8 x SBus address + 0
2. CAN telegram:
8 x SBus address + 1
3. CAN telegram:
8 x SBus address + 2
1. CAN telegram:
8 x SBus address + 0
2. CAN telegram:
8 x SBus address + 1
3. CAN telegram:
8 x SBus address + 2
4. CAN telegram:
8 x SBus address + 7
TIPS
A sychronization telegram is also transmitted to ensure data consistency:
SyncID for CAN 1 and CAN 2 = 1
This calculation directive ensures the consistency of IDs calculated for MOVIAXIS
using the "Single-axis positioning" technology editor.
56
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
This chapter provides you with information on project planning for the DeviceNet master
and startup of the UFF41B fieldbus gateway for fieldbus operation.
TIP
The current versions of the EDS files for UFF41B are available on the SEW website
under the heading "Software".
6.1Validity of EDS files for the UFF41B option
TIP
Do not edit or amend the entries in the EDS file. SEW assumes no liability for inverter
malfunctions caused by a modified EDS file!
I
6
00
The current EDS file SEW_GATEWAY_UFF.eds is available for configuring the master
(DeviceNet scanner) for UFF41B:
Install the following files using the RSNetWorx software to build the DeviceNet network
via the UFF41B fieldbus gateway. Proceed as follows:
•Select the menu item [Tools] / [EDS Wizard] in RSNetWorx. You will be prompted to
enter the names of the EDS and icon files.
•The files will be installed. For more details on the installation of the EDS file, refer to
the Allen Bradley documentation for RSNetWorx.
•After installation, the device is available in the device list under the entry
"Vendor/SEW EURODRIVE GmbH".
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
The following examples refer to the usage of an Allen-Bradley-PLC ControlLogix 1756L61 together with the RSLogix 5000 programming software and the DeviceNet RSNetWorx configuration software for DeviceNet.
After adding the DeviceNet Scanner to the I/O configuration, the file *.dnt containing the
DeviceNet configuration is selected. To view and edit the DeviceNet configuration, you
can launch RSNetWorx from this dialog (see following figure).
11744AXX
In RSNetWorx for DeviceNet (see following figure), either perform an online scan or add
the required devices to the graph by drag and drop. The address specified under the
symbol of the device (in the example: 02) must be identical with the MAC ID set on
UFF41B using DIP switches. If the required devices are not in the selection list,
corresponding EDS files have to be registered via [Tools] / [Wizard].
58
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
In online mode, you can check and set the "Pd configuration" (process data configuration) of UFF41B when reading out the device properties (see following figure).
6
11959AXX
The parameter "Pd configuration" indicates the number (1 ... 64) of process data words
set (16-bit) and defines the I/O parameters for the DeviceNet scanner (see following
figure).
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
After adding the IFF41B fieldbus gateway to the scan list, the number of polled I/O Bytes
must be set to 2 × number of PD (e. g. number of PD = 16, number of polled input bytes
= 32 and output bytes = 32) via "Edit I/O Parameters". When the DeviceNet
configuration is saved and downloaded into the scanner, RSNetWorx can be closed.
Depending on the DeviceNet configuration and the mapping rules in the scanner, the
data from and to DeviceNet units is packed into a DINT array that is transferred from the
scanner to the local I/O tags of the Logix processor.
In order not to have to search for the data from a certain device in this array manually,
the "DeviceNet Tag Generator" tool automatically generates copy commands and two
controller tags (input & output as byte arrays) for each DeviceNet device.
The tag name contains the MAC ID of the DeviceNet unit and POL_I for polled input data
or POL_O for polled output data (see following figure).
11961AXX
60
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Make sure that this CPS command is executed after the automatically generated (by
DeviceNet Tag Generator) DNet_ScannerInputsRoutine.
11963AXX
In order to copy the data from the new data structure to the UFF41B fieldbus gateway, CPS commands are added into the "MainRoutine" that writes the data to the
local I/O.
These CPS commands are executed after the automatically generated (by
DeviceNet Tag Generator) DNet_Scanner_OutputsRoutine.
62
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
4. Click onin the MSG instruction to open the "Message Configuration" window
(see following figure).
11767AXX
Select "CIP Generic" as "message type". Fill the other fields in the following order:
A Source Element = ReadParameterRequest.Index
B SourceLength = 12
C Destination = ReadParameterResponse.Index
D Class = 7
E Instance = 1
F Attribute = 4
G Service Code = e
The service type is set automatically.
hex
hex
hex
6
5. The target device is to be specified on the Communication tab (see following figure).
11768AXX
The path consists of:
•Name of the scanner (e. g. DNet_Scanner)
•2 (always 2)
•Slave address (e. g. 11)
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
6. After downloading the changes to the PLC, the index of the parameter to be read can
be entered at ReadParameterRequest.Index. By altering ReadParameterStart to "1"
the read request is executed once (see following figure).
11966BXX
On response to the read request, ReadParameterResponse.Index should indicate
the read index and ReadParameterResponse.Data should contain the read data. In
this example, the timeout interval of the UFF41B fieldbus gateway (index 8606) set
by the scanner has been read (012C
You can check the value in the MOVITOOLS
figure below). The tooltip of a parameter displays for example index, subindex, factor,
etc. of the parameter.
= 0.3 s).
hex
®
MotionStudio parameter tree (see
11969AXX
66
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
6.3.3Access to unit parameters of lower-level units
6
Access to unit parameters of, for example MOVITRAC
fieldbus gateway via SBus, is the same as access to unit parameters of the UFF41B
fieldbus gateway itself (see chapter "Accessing parameters of the UFF41B fieldbus
gateway").
The only difference is that Read/WriteParameterRequest.SubChannel1 is to be set to3 and Read/WriteParameterRequest.SubAddress1 must be set to the SBus address
of MOVITRAC
®
B connected to UFF41B (see figure below).
®
B connected to the UFF41B
In this example, MOVITRAC
with SBus address 7 read the value 150 rpm from P160 Fixed setpoint n11 (index 8489).
For a list of subchannels and subaddresses, refer to the next chapter.
®
B connected to a CAN 1 system bus of the UFF41B option
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
•After downloading the changes to the PLC, index and value to be written into the
parameter can be entered at WriteParameterRequest.Index and WriteParameter-Request.Data. Changing the WriteParameterStart control bit to "1" executes the
write command once (see following figure).
6
11967BXX
On response to the write request, WriteParameterResponse.Index should give the
written index and WriteParameterResponse.Data should contain the written data.
In this example, MOVITRAC
option with SBus address 1 wrote the value 150 rpm toP160 Fixed setpoint n11
(index 8489).
You can check the value in the MOVITOOLS
PLC Editor. The tooltip of a parameter displays for example index, subindex, factor,
etc. of the parameter.
®
B connected to a CAN 1 system bus of the UFF41B
®
MotionStudio parameter tree or the
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Polled I/OThe polled I/O messages correspond to the process data telegrams sent to the UFF41B
fieldbus gateway. Up to a maximum of 64 process data words can be exchanged
between controller and UFF41B fieldbus gateway. The process data length is set using
the DeviceNet scanner.
TIP
The set process data length influences the process data lengths of the polled I/O as
well as of the bit-strobe I/O messages.
The process data length of the bit-strobe I/O messages can include up to four process
data words. If the value for the process data length set via DIP switches is less than
four, it will be accepted. If the value is set greater than four, the process data length
will be automatically limited to four.
Timeout
response with
polled I/O
The timeout is triggered by the UFF41B option. The timeout interval must be set by the
master after the connection has been established. The DeviceNet specification refers to
an "expected packet rate" rather than a timeout interval in this case. The expected packet rate is calculated on the basis of the timeout interval using the following formula:
t
Timeout_inverter
The expected packet rate can be set using the connection object class 5, instance 2,
attribute 9. The range of values runs from 0 ms to 65535 ms in 5 ms steps.
The expected packet rate for the polled I/O connection is converted into the timeout
interval and displayed in the device as timeout interval in index 8606 in the bus diagnostics in the parameter tree.
This timeout interval is retained in the device when the polled I/O connection is disconnected, and the device switches to timeout status after the timeout interval has elapsed.
The timeout interval must only be set via bus.
If a timeout occurs for the polled I/O messages, this connection type enters timeout
status. Incoming polled I/O messages are no longer accepted.
The timeout triggers the timeout response set in the inverter.
The timeout can be reset via DeviceNet using the reset service of the connection object
(class 0x05, instance 0x02, undetermined attribute), by disconnecting the connection,
by using the reset service of the identity object (class 0x01, instance 0x01, undetermined attribute), or by restarting the UFF41B fieldbus gateway.
= t
Timeout_interval_polled_IO
= 4 x t
Expected_packet_rate_polled_IO
70
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Bit-strobe I/OThe SEW fieldbus device profile does not include the bit-strobe I/O messages. The
messages represent a DeviceNet-specific process data exchange. The master sends a
broadcast message that is 8 bytes (= 64 bits) long. One bit in this message is assigned
to each station in accordance with its address. The value of this bit may be 0 or 1,
triggering two different responses in the recipient.
7
Bit
value
0Sends back process input data onlyGreen light
1Trigger fieldbus timeout reaction and send back process input dataFlashing red
MeaningLED BIO
NOTICE
The LED L14 (BIO) on the front of the UFF41B option can be used for distinguishing
between the timeout triggered by the bit-strobe telegram and a real timeout in the
connection. The LED L14 (BIO) lights up green when bit-strobe messages are received
cyclically.
LED L14 (BIO) flashing red means there is a timeout in the bit-strobe connection and
no more bit-strobe telegrams are accepted. Each participant that has received this bitstrobe I/O message responds with its current process input data. The length of the
process input data corresponds to the process data length for the polled I/O connection. The process input data length can be up to four process data.
The following table shows the data range of the bit-strobe request message which
represents the allocation of stations (= station address) to data bits.
Example: For example, the participant with station address (MAC ID) 16 only processes
bit 0 in data byte 2.
Byte
offset
0ID 7ID 6ID 5ID 4ID 3ID 2ID 1ID 0
1ID 15ID 14ID 13ID 12ID 11ID 10ID 9ID 8
2ID 23ID 22ID 21ID 20ID 19ID 18ID 17
3ID 31ID 30ID 29ID 28ID 27ID 26ID 25ID 24
4ID 39ID 38ID 37ID 36ID 35ID 34ID 33ID 32
5ID 47ID 46ID 45ID 44ID 43ID 42ID 41ID 40
6ID 55ID 54ID 53ID 52ID 51ID 50ID 49ID 48
7ID 63ID 62ID 61ID 60ID 59ID 58ID 57ID 56
76543210
ID 16
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
The timeout is triggered by the UFF41B option. The timeout interval must be set by the
master after the connection has been established. The DeviceNet specification refers to
an "expected packet rate" rather than a timeout interval in this case. The expected packet rate is calculated on the basis of the timeout interval using the following formula:
t
Timeout_BitStrobe_IO
It can be set using connection object class 5, instance 3, attribute 9. The range of values
runs from 0 ms to 65535 ms in 5 ms steps.
If a timeout occurs for the bit-strobe I/O messages, this connection type enters timeout
status. Incoming bit-strobe I/O messages are no longer accepted. The timeout is not
passed to the UFF41B fieldbus gateway.
The timeout can be reset as follows:
•Via DeviceNet using the reset service of the connection object (class 0x05, instance
0x03, undetermined attribute)
•By disconnecting the connection
•Using the reset service of the identity object (class 0x01, instance 0x01, un-
determined attribute)
= 4 x t
Expected_Packet_Rate_BitStrobe_IO
72
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
DeviceNet is integrated into the Common Industrial Protocol (CIP).
In the Common Industrial Protocol, all unit data can be accessed via objects. The
objects listed in the following table are integrated in the UFF41B option.
Class [hex]Name
01Identity object
03DeviceNet Object
05Connection Object
07Register Object
0FParameter Object
7.2.1CIP object directory
Identity object•The identity object contains general information on the EtherNet/IP device.
Register object•The register object is used to access an SEW parameter index.
•Class code: 07
ClassNone of the class attributes are supported.
The MOVILINK
object. The "Get_Attribute_Single" and "Set_Attribute_Single" services are used for
access.
As the register object is designed so that INPUT objects can only be read and OUTPUT
objects can be read and written, the options listed in the following table are available for
addressing the parameter channel.
InstanceINPUT OUTPUTResulting MOVILINK® service with
1INPUTREAD parameterInvalid
2OUTPUTREADWRITE parameter
3OUTPUTREADWRITE VOLATILE parameter
4INPUTREAD MINIMUMInvalid
5INPUTREAD MAXIMUMInvalid
6INPUTREAD DEFAULTInvalid
7INPUTREAD SCALINGInvalid
8INPUTREAD ATTRIBUTEInvalid
9INPUTREAD EEPROMInvalid
hex
®
parameter services are mapped in the nine instances of the register
Get_Attribute_SingleSet_Attribute_Single
7
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
3GetSizeUINT0060Data length in bits (96 bits = 12 bytes)
4Get/SetDataARRAY of
BITS
Description
01 = Output register
Data in format of the SEW parameter
channel
TIPS
Explanation of the attributes:
•Attribute 1 indicates whether an error occurred during the previous access to the
data field.
•Attribute 2 indicates the direction of the instance.
•Attribute 3 indicates the data length in bits
•Attribute 4 represents the parameter data. When accessing attribute 4, the SEW
parameter channel must be attached to the service telegram. The SEW parameter
channel consists of the elements listed in the following table.
NameData typeDescription
IndexUINTSEW unit index
Data UDINTData (32 bit)
SubindexBYTESEW unit subindex
ReservedBYTEReserved (must be "0")
Subaddress 1BYTE0
Subchannel 1BYTE03 Lower-level bus system, e.g. SBus 1
Subaddress 2BYTEReserved (must be "0")
Subchannel 2BYTEReserved (must be "0")
Parameter of the
UFF41B itself
e.g. SBus address of units connected to
1 ...
the SBus of UFF41B
The subchannels and subaddresses apply to the UFF41B fieldbus gateway depending
on the lower-level bus system.
Subchannel 1InterfaceValue range subaddress 1
0UFF41B itself0
1Reserved0
2EtherCAT X36 (in preparation)
3SBus1 (X33 and X26)1 - 16
4SBus2 (X32)17 - 32
See the "Appendix" for a schematic representation of parameter access to lower-level
units.
Supported
services
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Return codes of the parameterization via explicit messages
7.3Return codes of the parameterization via explicit messages
SEW-specific
return codes
Return codes
from DeviceNet
The return codes that SEW units issue in case of incorrect parameterization are independent of the fieldbus. However, the return codes are sent back in a different format
when using DeviceNet. The following table shows the data format for a parameter
response message.
•The Service code of an error telegram is always 94
•The general error code of a manufacturer-specific return code is always 1F
hex
hex
•The additional code is described in the table in the "Additional code" section.
•General Error Codes D0hex and D1hex signal protocol-specific errors to
MOVILINK
®
, such as incorrect address information (see section "MOVILINK®-
specific return codes").
The table shows the proprietary error 10
= Illegal parameter index as an example.
hex
DeviceNet-specific return codes are sent in the error message if the data format is not
maintained during transmission or if a service is performed which has not been implemented. The coding of these return codes is described in the DeviceNet specification
(see section "General Error Codes").
Timeout of
explicit
messages
The timeout is triggered by the UFF41B option. The timeout interval must be set by the
master after the connection has been established. The DeviceNet specification refers to
an "expected packet rate" rather than a timeout interval in this case. The expected packet rate is calculated on the basis of the timeout interval using the following formula:
t
Timeout_ExpliciteMessages
= 4 x t
Expected_Packet_Rate_ExpliciteMessages
It can be set using connection object class 5, instance 1, attribute 9. The range of values
runs from 0 ms to 65535 ms in 5 ms steps.
If a timeout is triggered for the explicit messages, this connection type for the explicit
messages is automatically dropped provided that the polled I/O or bit-strobe
connections are not in the ESTABLISHED state. This is the default setting of DeviceNet.
The connection for explicit messages must be re-established to communicate with these
messages again. The timeout is not passed to the UFF41B fieldbus gateway.
82
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Return codes of the parameterization via explicit messages
7
General error
codes
DeviceNet-specific error codes
General error
code (hex)
00 - 01Reserved for DeviceNet
02Resource unavailableThe source required for performing the service is unavailable
03 - 07Reserved for DeviceNet
08Service not supportedThe service is not supported for the selected class/instance
09Invalid attribute valueInvalid attribute data have been sent
0AReserved for DeviceNet
0BAlready in requested
0CObject state conflictThe selected object cannot perform the service in its current
0DReserved for DeviceNet
0EAttribute not settableIt is not possible to access the selected object for writing.
0FPrivilege violationViolation of access right
10Device state conflictThe current status of the device makes it impossible to perform
11Reply data too largeThe length of the transmitted data is longer than the size of the
12Reserved for DeviceNet
13Not enough dataThe length of the transferred data is too short for the service to
14Attribute not supportedThe selected attribute is not supported
15Too much dataThe length of the transferred data is too long for the service to
16Object does not existThe selected object is not implemented in the device
17Reserved for DeviceNet
18No stored attribute data The requested data have not been stored previously
19Store operation failureThe data could not be stored because an error occurred while
1A - 1EReserved for DeviceNet
1FVendor specific errorVendor specific error (see "SEW Fieldbus Device Profile" man-
20Invalid parameterInvalid parameter.
21 - CFFuture extensionsReserved by DeviceNet for additional definitions
D0 - DFReserved for Object
Error nameDescription
mode/state
Class and service
errors
The selected object is already in the requested mode/state
status
the required service
receive buffer
be performed
be performed
saving them
ual)
This error message is used when a parameter does not satisfy
the requirements of the specification and/or the requirements of
the application.
Use this area if an occurring error cannot be entered in one of
the error groups listed above.
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
TermDescription
AllocateProvides a service for setting up a connection.
AttributesAttribute of an object class or instance. Describes the characteristics of the
object class or instance in more detail.
BIO - Bit-Strobe I/OAll stations can be addressed with a broadcast message. The addressed
stations respond with the process input data.
ClassDeviceNet object class
Device-Net scannerPlug-in module for the Allen Bradley PLC which connects the PLC fieldbus to
the peripheral devices.
DUP-MAC checkDuplicate MAC ID test
Explicit message body Includes the class no., instance no., attribute no. and the data.
Explicit messageParameter data message; assists in addressing the DeviceNet objects.
Get_Attribute_SingleRead service for a parameter.
InstanceInstance of an object class. Divides the object classes into additional sub-
groups.
MAC IDMedia Access Control Identifier: node address of the device.
M-FileProvides the data range between the PLC and the scanner module.
Mod/NetModule/network
Node IDNode address = MAC ID
PIO - Polled I/OProcess data channel of DeviceNet; allows process output data to be sent and
process input data to be received.
ReleaseProvides a service for setting up a connection.
ResetProvides a service for resetting an error.
RungSLC500 program line
ServiceService performed via bus, e.g. read service, write service, etc.
Set_Attribute_SingleWrite service for a parameter.
86
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Configuration and Startup on the PROFIBUS DP-V1 Fieldbus
8Configuration and Startup on the PROFIBUS DP-V1 Fieldbus
8.1Configuring a PROFIBUS DP master
You need a GSD file to configure a PROFIBUS DP master for the UFF41B fieldbus
gateway.
TIP
The current version of the EDS file for UFF41B is available on the SEW website
under the heading "Software".
I
8
00
GSD file for
PROFIBUS
DP/DP-V1
General configuration procedure
The GSD file SEW_600D.GSD corresponds to GSD revision 4. The device master data
files standardized by the PROFIBUS user organization can be read by all PROFIBUS
DP masters.
Configuration toolDP masterFile name
All DP configuration tools to IEC 61158For DP master
standard
Siemens S7 hardware configurationfor all S7 DP masters
SEW_600D.GSD
TIP
Do not change or expand entries in the GSD file! SEW assumes no liability for UFF41B
fieldbus gateway or connected inverter malfunctions caused by a modified GSD file.
Proceed as follows for configuring the UFF41B fieldbus gateway with PROFIBUS DP
interface:
1. Install (copy) the GSD file according to the requirements of your configuration software (see manuals of your configuration software or the section "Installing the GSD
file in STEP7", below). Once the file has been installed properly, the device appears
next to the slave stations with the designation Adv.Gateway UFF.
2. To configure the UFF41B fieldbus gateway, now insert Adv. Gateway UFF in the
PROFIBUS structure and assign the PROFIBUS station address.
3. Select the process data configuration required for your application (see section "DP
Configurations").
4. Enter the I/O or peripheral addresses for the configured data widths.
After configuration, you can start PROFIBUS DP. The red Fault Profibus LED indicates
the status of the configuration (OFF = configuration OK).
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Configuration and Startup on the PROFIBUS DP-V1 Fieldbus
Configuring a PROFIBUS DP master
Installing the
GSD file in STEP7
Configuration
with STEP7
Proceed as follows to install the GSD file in STEP7:
1. Start the Simatic Manager.
2. Open an existing project and start the hardware configuration.
3. Close the project window in the HW Config. A new file version cannot be installed
when the project window is open.
4. In the menu, click on [Extras] / [Install new GSD...] and select the new GSD file with
the name SEW_600D.GSD.
The software installs the GSD file and the associated bitmap files in the STEP7 system.
The SEW drive is available under the following path in the hardware catalog: PROFIBUS
DP
+--Additional PERIPHERAL UNITS
+--Drives
+---SEW
+--DPV1
+---Adv. Gateway UFF
The installation of the new GSD file is now complete.
Proceed as follows for configuring the UFF41B fieldbus gateway with PROFIBUS DP
interface:
1. Use drag and drop to add the interface module with the name "Adv. Gateway UFF"
to the PROFIBUS structure and enter the station address (see figure below).
88
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
12052AEN
Configuration and Startup on the PROFIBUS DP-V1 Fieldbus
2. The UFF41B fieldbus gateway is now preconfigured with the 3PD configuration. To
change the PD configuration, you have to delete the 3 PD module in slot 3. Next, add
another PD module (e.g. the maximum configuration 64 PD) to slot 3 from the folder
"Adv. Gateway UFF" (see figure below).
8
12053AEN
Slots 4 to 18 can be configured in the same way. In the following figure, the maximum
configuration 64 PD is distributed among 4 slots (mapping 64 data words in smaller
peripheral areas).
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Configuration and Startup on the PROFIBUS DP-V1 Fieldbus
Configuring a PROFIBUS DP master
Optionally, you can perform project planning for a MOVILINK® parameter channel in
the cyclic process data. To do so, delete the "Empty" module from slot 2 and replace
it with the module "Param (4 words)" using the drag and drop function.
Enter the I/O or peripheral addresses for the configured data widths in the 'I Address'
[1] and 'Q Address' [2] columns.
DP configurationTo enable the UFF41B fieldbus gateway to support the type and number of the input and
output data used for transmission, the DP master must transmit the corresponding DP
configuration to the UFF41B fieldbus gateway. The configuration telegram comprises
the DP configurations for slots 1 to 18. The number of process data depends on the
number of slave units and their process data width.
You can:
•Control the UFF41B fieldbus gateway via process data
•Read or write parameters using the parameter channel
The following tables contain additional information on possible DP configurations.
•The "Parameter data/Process data configuration" column displays the name of the
configuration. These names also appear in a selection list in the configuration software for the DP master.
•The "DP configurations" column shows the configuration data that are sent to the
UFF41B fieldbus gateway when the link to the PROFIBUS DP system is being
established.
Slot 1:
Parameter data
configuration
EmptyReserved0x00
Meaning / notesDP configurations
Slot 2:
Parameter data
configuration
EmptyReserved0x00
Param (4words)MOVILINK
Meaning / notesDP configurations
®
configured
parameter channel
0xC0, 0x87, 0x87
Slots 4 to 18:
Process data
configuration
1 PDProcess data exchange via
2 PDProcess data exchange via
3 PDProcess data exchange via
4 PDProcess data exchange via
5 PDProcess data exchange via
6 PDProcess data exchange via
7 PDProcess data exchange via
8 PDProcess data exchange via
Meaning / notesDP configurations
0xC0, 0xC0, 0xC0
1 process data word
0xC0, 0xC1, 0xC1
2 process data words
0xC0, 0xC2, 0xC2
3 process data words
0xC0, 0xC3, 0xC3
4 process data words
0xC0, 0xC4, 0xC4
5 process data words
0xC0, 0xC5, 0xC5
6 process data words
0xC0, 0xC6, 0xC6
7 process data words
0xC0, 0xC7, 0xC7
8 process data words
90
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Configuration and Startup on the PROFIBUS DP-V1 Fieldbus
Configuration telegram sent to the UFF41B fieldbus gateway: 0x00 0xC0 0xC87 0x87
0xC0 0xC9 0xC9
Data integrityConsistent data is data that always has to be transmitted between the higher-level
controller and the UFF41B fieldbus gateway as one block and must never be transmitted
separately.
Data integrity is particularly important for transmitting position values or complete
positioning tasks. The reason for this is that data which is not transmitted consistently
could be from different program cycles of the higher-level controller, which would lead
to undefined values being transmitted to the UFF41B fieldbus gateway.
For PROFIBUS DP, data communication between the higher-level controller and the
UFF41B fieldbus gateway is carried out with the setting "Data integrity over entire
length".
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Process data exchange with the UFF41B fieldbus gateway
9PROFIBUS DP-V1 Operating Characteristics
This chapter describes the basic characteristics of the UFF41B fieldbus gateway with
PROFIBUS DP.
9.1Process data exchange with the UFF41B fieldbus gateway
The UFF41B fieldbus gateway is controlled via the process data channel which is up to
64 I/O words in length. These process data words are reproduced in the I/O or peripheral
area of the UFF41B fieldbus gateway, for example when a programmable logic
controller is used as the DP master. As a result, they can be addressed in the usual
manner.
PW160
PW158
PW156
PW154
PW152
PW150
PW148
[1]
PW160
PW158
PW156
PW154
PW152
PW150
PW148
PA 3
PA 2
PA 1
PE 3
PE 2
PE 1
PA 1
PA 2
PE 1PE 2
PA 3
PE 3
PA 64
PE 64
UFF41B
L18
L17
S2
L16
L15
L14
L13
L12
L11
X38
X30P
1
2
3
1
X30D
5
0
2
1
2
2
2
ON
3
2
4
2
5
2
6
2
7
2
Figure 3: Mapping PROFIBUS data in the PLC address range
[1]Address range of the higher-level PLC
PI1 - PI64Process input data
PO1 - PO64Process output data
Control example
for Simatic S7
Depending on the chosen process data configuration, process data are exchanged with
the UFF41B fieldbus gateway via Simatic S7 either directly using load and transfer
commands, or using the special system functions SFC 14 DPRD_DAT and SFC15
DPWR_DAT.
STEP7 example
program
In this example, the UFF41B fieldbus gateway is configured with the process data
configuration 10 PD to the input addresses PEW512... and output addresses PAW512...
A data block DB3 is created with about 50 data words.
When SFC14 is called, the process input data is copied to data block DB3, data words
92
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
0 to 18. When SFC15 is called after the control program has been processed, the
process output data is copied from data words 20 - 38 to the output address PAW 512.
Note the length information in bytes for the RECORD parameter. The length information
must correspond to the configured length.
Refer to the online help for STEP7 for further information about the system functions.
//Start of cyclical program processing in OB1
BEGIN
NETWORK
TITLE = Copy PI data from the type DHF41B/UFF41B control card to DB3, words 0 18
CALL SFC 14 (DPRD_DAT) //Read DP Slave Record
LADDR := W#16#200 //Input address 512
RET_VAL:= MW 30 //Result in flag word 30
RECORD := P#DB3.DBX 0.0 BYTE 20 //Pointer
NETWORK
TITLE =PLC program with drive application
// PLC program uses the process data in DB3 for data exchange
// with the DHF41B/UFF41B control card
L DB3.DBW 0//Load PE1
L DB3.DBW 2//Load PE2
L DB3.DBW 4//Load PE3
// etc.
L W#16#0006
T DB3.DBW 20//Write 6hex to PO1
L 1500
T DB3.DBW 22//Write 1500dec to PO2
L W#16#0000
T DB3.DBW 24//Write 0hex to PO3
// etc.
NETWORK
TITLE = Copy PO data from DB3, words 20...38 to DHF41B/UFF41B control card
CALL SFC 15 (DPWR_DAT)//Write DP slave record
LADDR := W#16#200//Output address 512 = 200hex
RECORD := P#DB3.DBX 20.0 BYTE 20 //Pointer to DB/DW
RET_VAL:= MW 32//Result in flag word 32
9
TIP
This sample program is a free service that demonstrates only the basic approach to
generating a PLC program as a non-binding sample. SEW is not liable for the contents
of the sample program.
9.2PROFIBUS DP timeout
The response monitoring time of the UFF41B fieldbus gateway elapses if data transfer
via the PROFIBUS DP system is disrupted or interrupted (if configured in the DP
master). The Fault Profibus LED lights up to indicate that no new user data is being
received. In this case, all inverters connected to the UFF41B fieldbus gateway are
stopped.
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
This section provides you with information about the PROFIBUS DP-V1 functions.
10.1Introduction to PROFIBUS DP-V1
This chapter describes the functions and terms used for operating SEW units on
PROFIBUS DP-V1. Refer to the PROFIBUS user organization or visit PROFIBUS website
for detailed technical information on PROFIBUS DP-V1.
The PROFIBUS DP-V1 specification introduced new acyclical READ / WRITE services
as part of the PROFIBUS DP-V1 expansions. These acyclical services are inserted into
special telegrams during ongoing cyclical bus operation and therefore ensure compati-
bility between PROFIBUS DP (version 0) and PROFIBUS DPV1 (Version 1).
The acyclical READ/WRITE services can be used to exchange larger data quantities
between master and slave (inverter) than it would be possible to transfer in the cyclical
input or output data using the 8-byte parameter channel, for example. The advantage of
the acyclical data exchange via DP-V1 lies in the minimum load on the cyclical bus
operation since DP-V1 telegrams are only added to the bus cycle if required.
The DP-V1 parameter channel provides the user with 2 options:
•The higher-level controller can access all the device information of the SEW DP-V1
slaves. This means that cyclical process data and unit settings can be read, stored
in the controller and modified in the slave.
•It is also possible to route the service and startup tool MOVITOOLS
via the DP-V1 parameter channel instead of using a proprietary RS485 connection.
Once you have installed the MOVITOOLS
detailed information in the folder ...\SEW\MOVITOOLS\Fieldbus.
The main features of PROFIBUS DP-V1 are explained below.
®
MotionStudio
®
MotionStudio software, you can access
C1-Master
Acyclic DP-V1
C1-Services
Cyclic OUT Data
ParamPD
ParamPD
Cyclic IN Data
SEW
Drive
C2-Master
Acyclic DP-V1
C2-Services
PROFIBUS DP-V1
Acyclic DP-V1
C2-Services
C2-Master
58617AXX
94
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
The PROFIBUS DP-V1 network differentiates between various master classes. The C1
master essentially performs the cyclical data exchange with the slaves. A typical C1
master is a control system, such as a PLC, that exchanges cyclical process data with
the slave. If the DP-V1 function has been activated via the GSD file, the acyclical
connection between C1 master and slave is established automatically when the cyclical
connection of the PROFIBUS DP-V1 is being established. Only one C1 master can be
operated in a PROFIBUS DP-V1 network.
10.1.2 Class 2 master (C2 master)
The C2 master itself does not perform cyclical data exchange with the slaves. Examples
for a typical C2 master are visualization systems or temporary installed programming
devices (Notebook / PC). The C2 master uses exclusively acyclic connections for
communication with the slaves. The acyclic connections between C2 master and slave
are established by the Initiate service. The connection is established once the Initiate
service has been performed successfully. An established connection enables cyclical
data exchange with the slaves using READ or WRITE services. Several C2 masters can
be active in a DP-V1 network. The number of C2 connections, established simultaneously for a slave, is determined by the slave. SEW inverters support two parallel C2
connections.
Functions of PROFIBUS DP-V1
Introduction to PROFIBUS DP-V1
10
10.1.3 Data sets (DS)
The user data transported via a DP-V1 service are collected in data sets. Each data set
is represented uniquely by its length, a slot number and an index. The structure of data
set 47 is used for DP-V1 communication with the SEW inverter. This data set is defined
as the DP-V1 parameter channel for drives as of V3.1 in the PROFIdrive profile drive
engineering of the PROFIBUS user organization. Different procedures for accessing
parameter data in the inverter are provided via this parameter channel.
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
The DP-V1 expansions offer new services, which can be used for acyclical data
exchange between master and slave. The system distinguishes between the following
services:
In addition to the acyclical services, the DP-V1 specification also defines extended
alarm handling. Alarm handling now distinguishes between different alarm types. As a
result, unit-specific diagnostics cannot be evaluated in DP-V1 operation using the
"DDLM_SlaveDiag" DP-V0 service. DP-V1 alarm handling has not been defined for
drive engineering as an inverter does not usually transfer its status information via cyclical process data communication.
96
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
The SEW fieldbus interfaces to PROFIBUS DP-V1 have the same communication
features for the DP-V1 interface. The drives are usually controlled via a C1 master with
cyclical process data in accordance with the DP-V1 standard. The READ and WRITE
services give the C1 master access to the parameters of the fieldbus gateway and
lower-level stations stations via the DP-V1 C1 channel.
Two additional C2 channels can be connected in parallel to these parameter setting
channels. The first C2 master as a visualization device, for example could use these
channels to read parameter data, and a second C2 master in the form of a notebook
could use them to configure the drive using the MOVITOOLS
®
MotionStudio software.
10
Figure 4: Parameter setting channels for PROFIBUS DP-V1
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
Generally, the parameter setting of the drives to the PROFIdrive DP-V1 parameter
channel of profile version 3.0 is implemented via data set 47. The Request ID entry is
used to distinguish between parameter access based on PROFIdrive profile or via SEWMOVILINK
elements. The data set structure is the same for PROFIdrive and MOVILINK
®
services. The following table shows the possible codes of the individual
Parameter access takes place with the combination of the DP-V1 services WRITE and
READ. The parameter setting order is transferred to the slave using the WRITE.req,
followed by slave-internal processing.
The master now sends a READ.req to pick up the parameter setting response. The
master repeats the READ.req if the READ.res from the slave is negative. As soon as the
parameter processing in the inverter is concluded, it answers with a positive response
READ.res. The user data now contain the parameter setting response of the parameter
setting order that was previously sent with WRITE.req (see the following figure). This
mechanism applies to both a C1 and a C2 master.
Figure 5: Telegram sequence for parameter access via PROFIBUS DP-V1
100
Manual – Fieldbus Gateway UFF41B DeviceNet and PROFIBUS DP
53126AXX
Loading...
+ 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.