Connecting UniOP to Profibus DP TI
This Technical Note contains all the information required to connect the UniOP panels to a Profibus DP system with a Simatic TI 555 master and to take advantage from the advanced data access options supported by the UniOP Profibus DP driver.
Important: this Technical Note applies only to the Profibus DP communication driver identified by the name ‘Profibus DP TI’ associated to the Designer file UPLC119.DLL. To run this
protocol it is required a panel of hardware type –0045 and a communication module
type TCM08.
Contents
1.Introduction (2)
2.Configuring UniOP as a Slave with COM Profibus (3)
2.1Configuring the PLC Memory Area for UniOP (8)
3.PLC program (10)
4.Configuring UniOP with Designer for Profibus DP (15)
5.Summary (16)
6.Troubleshooting (17)
Appendix 1 - Communication Error Codes (18)
Appendix 2 - Technical Data and Connection Information (19)
Appendix 3 - Requirements and Compatibility (20)
Appendix 4 - PLC Specific Information (21)
1. Introduction
The UniOP panel can be connected to the Siemens Simatic TI 505 family of PLCs via the Profibus DP network. This technical note describes the principal points to follow for a successful connection.
A Profibus DP network can contain multiple nodes. A node in a Profibus DP network can be either a Master or a Slave. The Masters in the network have a group of Slaves assigned to them. A Master is able to exchange data with the Slaves that are under its control.
UniOP is always a Slave in a Profibus DP network and it is only able to exchange data with a single Master PLC. To enable UniOP to work, a set of special function blocks must be added to the PLC program in the Master PLC. These special function blocks are needed to process the requests from UniOP. This approach has the advantage that it offers to the slave panel full access to the data in the PLC, as if the panel was directly connected through the programming port. The current version is limited to some data types; see below in this technical note for more details.
There are 3 main steps that you need to follow to make UniOP work with Profibus DP:
1)Program the Master PLC to have UniOP as a slave using the COM Profibus configuration
software
2)Add the special function blocks for UniOP to the Master PLC program
3)Configure UniOP with the Designer package
unableThese steps are described in greater detail in the following sections.
2. Configuring UniOP as a Slave with COM Profibus
The Master PLC must be configured to communicate with its slaves. You can do this with the Siemens COM Profibus version 3.00 programming package. This package programs the Profibus DP port of the Master PLC so that it exchanges data with the specified Slaves. With this package you can select different types of slaves such as MMI, Remote Inputs etc.
A Profibus DP Slave type file for UniOP is provided together with the panel. The filename is
EX9649AX.GSD; this file contains the description of the UniOP panels as Profibus DP slaves. The first thing you need to do is to copy this file to the GSD subdirectory of the COM Profibus installation directory and start the ‘Scan GSD Files’ in the COM Profibus software. This will enable COM Profibus to recognize UniOP as an MMI slave type.
Figure 1 – Scanning for new GSD files
Before configuring UniOP as a slave you must select the PLC type of the Master PLC and the addressing mode that you want to use.
Figure 2 - Master & Host Selection Dialog Box
You select the addressing mode via the Master parameters dialog box as shown in Fig. 3. There are a couple of points to bear in mind when selecting the addressing mode of the Master PLC.
1.UniOP supports only the Linear addressing mode.
2.UniOP does NOT support the Multiprocessor addressing mode.
3.Note that not all addressing modes available in COM Profibus are supported by any Master
system; please refer to the relevant Simatic documentation for more information.
Figure 3 - Master Parameters Dialog Box
The network communication speed must be specified. Note that UniOP supports communication speed from 9600 baud to 12 Mb. UniOP performs automatic detection of the network speed.
Figure 4 - COM Profibus Network Configuration Editor
Once you have selected the Master PLC type and addressing mode the COM Profibus screen will appear as shown in Figure 4 in which there are two configured UniOPs. You can now add UniOP as a slave of the Master PLC by clicking on the MMI button and selecting UniOP from the list of availabl
e MMI type files (see Figure 5).
Figure 5 – Slave parameters Dialog Box
COM Profibus will then prompt you to enter the buffer size required by the slave unit. That can be done with the "Preset Configuration" dialog box shown in figure 6.
UniOP panels, when used as Profibus DP slaves require an Input Buffer and an Output Buffer.
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论