Beruflich Dokumente
Kultur Dokumente
PROFIBUS-DP PROFIBUS-DP is a protocol optimized for speed which was specially designed for
communication between PLCs (DP masters) and distributed I/Os (DP slaves).
PROFIBUS-DP is a low-cost, flexible substitute for transmission of signals on
cumbersome parallel 24V and 20mA lines.
PROFIBUS-DP is based on DIN 19245 Part 1 and the user-specific extensions in
DIN 19245 Part 3. In the course of the European fieldbus standardization process,
PROFIBUS-DP was integrated into the European fieldbus standard
EN 50170.
Master Devices PROFIBUS makes a distinction between master and slave devices. The PROFIBUS
masters are in charge of data traffic on the bus. A master can send messages
without being requested to do so, provided it is in possession of the token that
entitles it to access the bus. Masters are also referred to as active nodes in the
PROFIBUS protocol.
Slave Devices PROFIBUS slaves are simple I/O devices, such as actuators, sensors, transducers,
etc. They do not receive the token, that is, they can only acknowledge the receipt of
messages or send messages (data) to a master on request. Slaves are also
referred to as passive nodes.
The PROFIBUS is only correctly terminated if the power supply of the node in which
the terminating resistor is inserted is actually switched on. If this is not always the
case, the PROFIBUS can also be terminated with an active RS485 terminating
resistor (6ES7972-0DA00-0AA0). The terminating resistor is then either permanently
supplied with power separately from the other modules or is supplied with voltage
from the peripheral modules.
Termination of the bus system enables the nodes (for example ET 200L) to be
connected and disconnected at will, without causing malfunctions.
RS 485 Repeater An RS 485 repeater boosts the data signals on the bus cables and connects bus
segments. You will require an RS 485 repeater, if:
• more than 32 stations are connected to the bus,
• bus segments are to be operated ungrounded on the bus or
• the maximum cable length of a segment is exceeded.
If you set up the bus with RS 485 repeaters, only a maximum of 9 RS 485 repeaters
may be switched in series. The maximum cable length between two nodes is 10,000
meters at 9.6 to 187.5 kBaud.
What to Do 1. Measure the cable length by placing the cable on the template.
2. Place the measured cable ends in the stripping tool. Limit for the placement
depth is the pointer finger of the left hand. Fasten the cable in the stripping tool.
Turn the stripping tool clockwise four times to strip the cable.
3. Pull the closed stripping tool from the cable end. The residual cable parts
remain in the tool. After opening the tool you can remove the residual parts. If
the white filling did not come off during stripping, you can remove it by hand. To
make it easier to remove the protective foil cut it carefully between the wires using
a screwdriver. Remove the protective foil from the wires.
You can disable or delay and re-enable OB86 using SFCs 39 to 42.
Byte Meaning
0 Station status 1
1 Station status 2
2 Station status 3
3 Master station number
4 Vendor ID (high byte)
5 Vendor ID (low byte)
6 ... Further slave-specific diagnostic information
SIMOTION SCOUT uses the STEP 7 programs HW Config and NetPro for the
configuration of the interface.
Digital inputs/ The digital inputs/outputs are assigned to SINAMICS and can be used for
outputs drive control.
Ethernet The D435-2 PN/DP has 3 Ethernet connections that can be used by SIMOTION, for
connections example, for connecting a PC or an HMI device. 1 is for profinet.
PROFIBUS Here you can connect additional drives or distributed I/O devices.
connections
Mode selector The operating mode is set with this rotary selector switch, e.g. the CPU to RUN. There
is a row of LEDs next to the mode selector which indicate the status of the CPU.
Option slot Optional modules such as additional I/Os can be inserted in this slot.
Special cases Hierarchical systems can be implemented via the hierarchical DP interface function. In
a hierarchical system an isochronous PROFIBUS is used to enable functions, such as
distributed synchronous operation. With distributed synchronous operation the
individual axes are distributed among several SIMOTION systems.
If both interfaces (X126, X136) are to be operated isochronously, both must be
configured with the same DP cycle clock.
Alternatively, the X136 interface can be used as an MPI interface with a baud rate of
up to 12 Mbit/s.
Addresses and As delivered, the following addresses and baud rate are configured for both
baud rate PROFIBUS interfaces :
• Protocol: PROFIBUS DP
• PROFIBUS address: 2
• Baud rate: 1.5 Mbit/s
Note Routing between Ethernet interfaces is not supported. Routing between the Ethernet
and the PROFIBUS interface is possible.
Set PG/PC With this setting you specify the communication between the PG/PC and the
interface target device. The "Set PG/PC interface" tool can be called via the SCOUT command:
Options -> Set PG/PC interface or via the appropriate icon of the Control Panel.
This method offers quick access, e.g. for service purposes. You can access all the
accessible, programmable modules in the network. This method must be selected
when there is no project data for the target systems available on your PG. However,
nodes of other subnets cannot be accessed.
. There are also separate test and diagnostic functions available in the "Set PG/PC
interface" tool to test the interface or check the connection to the other nodes of the
subnet.
Integration via In this case the PG is considered to be part of the current project and
NetPro integrated in the project via the "NetPro" tool.
This integration enables access to other nodes that are not connected to the same
subnet, but that can be reached via a router.
Properties Click this "Properties" button to change the properties, e.g. baud rate or address of the
interface parameter assignment. You cannot make changes to parameters if there are
any open connections. Therefore, first close any open connections.
PG/PC is the Deactivate this option. The PG is not the only master here. The
only master SIMOTION target device is also master.
Address This setting relates to the PG or PC on which you have called up the parameter
settings of the interface. Set the local node address of your PG/PC here (in our case:
0).
The local node address must be unique throughout the network. Your PG/PC is
addressed in the PROFIBUS/MPI network under this address.
NetPro The required routing information is provided by the NetPro tool. In addition, you can
configure a PG/PC connection with SIMOTION SCOUT (engineering system for
access) in NetPro.
The currently valid connection for the access of the PG/PC to a subnet is highlighted in
yellow. This setting generates the routing information and stores it in the SIMOTION
device at download.
This routing information makes it possible to have access from the PG/PC via the
"PROFIBUS (1)" to the SIMOTION device (router) and from there via the other subnets
to the desired drives.
10. Click the "Save and compile" button. The network configuration is saved in the
project. The system data blocks with the routing information is also created and saved.
11. In the last step, select the SIMOTION device and then load the
configuration data via the menu command Target system ->
Load to current project -> Selected stations with the routing information
to the SIMOTION device.
After this download, the relevant routing information is in the
SIMOTION target device and the desired access to the
SINAMICS_Integrated drive system can be performed.
Note The isochronous PROFIBUS permits control of the axes via a digital bus system. The
second PROFIBUS DP interface can be used for easy parameterization and
commissioning of the drives from a PC/PG.
Non-isochronous nodes should not be operated on the isochronous PROFIBUS. The
cycle time has to be recalculated when a non-isochronous node is connected, which
may result in a deterioration of the control behavior of the axes and drives.
IP classes The splitting of an IP address into subnet and host identifiers breaks down an IP
network into a large collection of interlinked subnets of different sizes. Five subnet
classes were originally defined, although only classes A, B and C are actually used.
Subnet mask A subnet mask is nothing more than a filter which allows the identification of all
systems connected to the same physical subnet.
The rules governing subnet masks are very simple:
• Ones in the subnet mask identify the subnet address.
• Zeros identify the part of the IP address that is available for the host ID.
Even if subnet masks are not used, the hardware automatically specifies the standard
subnet mask for class A, B or C.
Note If the send and receive stations are connected to the same network, or connected
directly by a crossed Ethernet cable, then the network ID of the two IP addresses must
be the same.
The following example describes how you can set the IP address.
Requirements: You are in the "Network Connections" dialog box of the Control Panel and have
selected a network connection.
Proceed as follows to change the IP address:
1. Right-click to select the "Properties" context menu.
Reaction: The "Properties of ..." dialog box opens.
2.Select the "General" tab.
3.In the "This connection uses the following elements" list box, select the entry
"Internet protocol (TCP/IP)" and confirm with the "Properties" button.
Reaction: The "Properties of the Internet Protocol (TCP/IP)" dialog
box appears.
4.Select the option "Use the following IP address".
5. Enter the required address in the "IP address" field and confirm with "OK".
Ethernet integration In order to extend the access functionality to Ethernet, an Ethernet interface must first
be "integrated" in the PG.
1.First double-click the "Properties – PG/PC" dialog box in "NetPro" on the PG.
2.Select the "Interfaces" tab in this dialog box.
3.Open the dialog box "New Interface – Type Selection".
4.Select the option "Industrial Ethernet".
5.Confirm your selection by clicking the "OK" button.
The dialog box "Properties - Ethernet Interface" opens.
Note If the "TCP/IP -> VIA PCI 10/100.." driver cannot be found in the list, the driver has to
be installed.
1.Start the "System" dialog box in the Control Panel.
2.In the "Hardware" tab open the device manager to obtain a list of all
devices
3.Open the "Network adapter" entry with the "+" symbol. The list of network
boards is displayed.
4.Select "VIA PCI 10/100 MB Fast Ethernet adapter" and choose "Uninstall" in the
context menu
5.Confirm the prompt "Uninstall the device" with "OK"
6.Restart the operating system. While booting the uninstalled devices are
automatically reinstalled.
Assign IP address 1.Click the "Browse" button to determine the MAC addresses,
and name IP addresses and device names of the accessible devices.
2.In the dialog box that appears following the network search, select the
module required.
3.Set the required IP configuration. The DHCP server option
is not currently supported by SIMOTION.
4.Click the "Assign IP Configuration" button.
5.Enter the required device name and click the "Assign Name" button.
6.Finally, check that your action was successful using the
"Browse" button.
Selection The "Accessible nodes" window can be accessed via its icon in the toolbar or via the
SCOUT menu command: Project -> Display accessible nodes.
Requirements An online connection to the individual target devices via the SCOUT project is only
established if the following conditions are fulfilled for the target devices:
• The type of devices (C230-2, SIMOTION D4x5, etc.) must be identical
online and offline, i.e. in the SCOUT project.
• The firmware version of the devices must be identical online and offline.
The offline firmware version can be checked in the Properties dialog box of
the SCOUT project. The online firmware version can be determined via
"Accessible nodes".
• The addresses for the communication connection of the target devices must
be identical online and offline.
With a PROFIBUS/MPI connection, the online PROFIBUS address can be
determined via "Accessible nodes". The offline PROFIBUS address can be
determined from "NetPro", for example.
With an Ethernet connection, there is no way of determining the IP address
stored in the target system directly via Ethernet.
The IP address can be read out via PROFIBUS using the "Accessible
nodes" function.
Diagnostics The following states of the SIMOTION device are displayed on the "Diagnostics" page:
• System time Current time of day of the SIMOTION
• Time zone Current difference between the system time and GMT
in minutes
• CPU load by cyclic tasks
Computation time of servo and IPO levels as a percentage of the
total computation time
• Memory load Size and allocation of the memory, RAM disk, the memory
card and non-volatile memory in bytes and in percent
• State Current SIMOTION operating mode
DiagBuffer On the "Diag Buffer" page (opened via Diagnostics -> Diag Buffer), you can view
information about events in the diagnostic buffer.
• Time Time of the event
• Date Date of the event
• Event Displays the event as text
Alarms On the "Alarms" page (opened via Diagnostics -> Alarms), you can view the following
information:
• Level Category of the alarm
• Time Time of the alarm
• TO Technology object that triggered the alarm
• No. Alarm number
• Text Displays the alarm message as text
The current trace settings can be saved in a named XML file on the storage medium of
the controller. The trace files stored on the RAM disk are compiled in a ZIP file prior to
downloading the trace results and then downloaded as a whole.
For displaying the trace data, the WebTraceViewer program is required as an example
viewer. This program is able to graphically display the data saved in the ZIP file.