Advertisement

Quick Links

Profibus DP/V0

Description of Functions

UMG604 / UMG605 / UMG508 / UMG511
Example with a Siemens PLC
S7-300
Version 1.2
Document no: XXXXX
Janitza electronics GmbH
Vor dem Polstück 1
D-35633 Lahnau
Support Tel. (0 64 41) 9642-22
Fax (0 64 41) 9642-30
E-mail:
info@janitza.de
1

Advertisement

Table of Contents
loading

Summary of Contents for janitza Profibus DP/V0 UMG604

  • Page 1: Description Of Functions

    Description of Functions UMG604 / UMG605 / UMG508 / UMG511 Example with a Siemens PLC S7-300 Version 1.2 Document no: XXXXX Janitza electronics GmbH Vor dem Polstück 1 D-35633 Lahnau Support Tel. (0 64 41) 9642-22 Fax (0 64 41) 9642-30 E-mail:...
  • Page 2: Table Of Contents

    General ..........................3 Plug Assignment ....................... 3 Connecting the Bus Cables ....................3 Profibus Profile (General) ....................4 Standard Profiles ......................5 Creating a Profile ......................6 GSD File ..........................9 Incorporating the Slave Unit in the Master Software (SIMATIC S7-300) ......9 Simatic variables table ....................
  • Page 3: General

    More functional descriptions can be found on www.janitza.de. All measurement values that the Power Analyzer provides can be incorporated in a profibus profile. Additionally, it is possible to create personally defined variables through graphic programming;...
  • Page 4: Profibus Profile (General)

    Profibus Profile (General) The Power Analyzer can administrate 255 profibus profiles (16 profiles in the configuration). Each profibus profile contains a maximum of 128 data bytes. The first data byte of the output range of the PLC always contains the profile number of the profibus profile requested by the Power Analyzer. In order to request a profibus profile, you should write the profile number in the first byte of the output range of the PLC.
  • Page 5: Standard Profiles

    Standard Profiles Four standard profiles are preconfigured upon delivery (Firmware 1.095). These can also be changed retrospectively if required. The following illustrations show the standard profiles with their profile number. Profile no. 0 Profile no. 1 Profile no. 3 Profile no. 2...
  • Page 6: Creating A Profile

    Creating a Profile The profiles are created in the unit configuration field. You have access to the profibus profile using the “configure unit” button in the unit list. Illustration 3 In the “field bus profile” tab, selected measurement values can now be allocated to the individual profiles.
  • Page 7 Measurement values can be pulled into the profile by drag and drop. On the right side, there is the possibility of swapping variables and putting them in the required order. You can also change the byte order here. Big-Endian = High Byte before Low Byte. Little-Endian = Low Byte before High Byte.
  • Page 8 Each measurement value can be transferred in the following formats: byte, char, short, unsigned short, integer, unsigned integer, float and double. Each measurement value can also be scaled. Profibus value = measurement value * scaling factor. The byte index states the start byte of the variable in the profibus string.
  • Page 9: Gsd File

    Profibus Slave is the UMG604 / UMG605 / UMG508 / UMG511 and the Profibus Master is an PLC for example. The Power Analyzer's GSD file is found on the GridVis CD-ROM or in the download area on our homepage www.janitza.de. Power Analyzer's GSD file currently supports the following modules: "STD: 8 Word In, 1 Byte Out"...
  • Page 10 Entering the Measurement Unit in the DP Master System: Go to the hardware catalogue in the Profibus DP folder. The Power Analyzer installed through the GSD file is found under the "other" field units. Highlight a module e.g. "STD: 16 Word In, 16 Byte Out" in the catalogue, hold the mouse button down and drag it onto the DP master system.
  • Page 11: Simatic Variables Table

    The required module is pulled into the address list with drag and drop. The length of words is determined with the modules. The input and output address ranges are determined in the E-address and A-address. The unit address can be retrospectively allocated again by double-clicking on the slave unit.
  • Page 12 Live values are activated Output byte is written Illustration 12 The following table shows the variables table with the explanation: Operand Symbol Display Format Status value Control value Explanation PAB 256 Profile number request PEB 256 Profile number request PED 257 Floating point 230.7 value in profile...
  • Page 13: Profibus Profiles In Graphic Programming

    The requested profile number is parameterised in the first output byte. This is given back as a confirmation in the first input byte. If the exact profile number is not returned, the profile has not been read or has not been parameterised in the unit. The measurement values are after the first input byte. The spacing between the input and output bytes depends on the format.
  • Page 14 By double-clicking on the "write profibus" function module, the values for the profile can be determined. Each value is allocated to the format. The function module receives an input pin for each variable. The following graphic shows a list of variables in the SIMATIC software. Profibus 16 is illustrated with the first three input values.
  • Page 15 Illustration 15 The following illustration shows the list of variables - the values are written out from the PLC. Illustration 16 For an analysis of values, these are connected to the "print" function module and, after transfer of the programme; they can be browsed in the debug tab.
  • Page 16 Illustration 17 Status Analysis Each profibus function module has a status pin that can be used for analysis. The following table shows the error codes Error no. Comment Error No error Feedback of the incorrect profile number Illustration 19...
  • Page 17: Profibus Puffer

    Profibus Puffer The Power Analyzer provides one profibus buffer for reading and writing profile. If you want to change between difference profiles you could realised that with a graphical function code “IF command”. Without IF command you could use only one reading and one writing profile in processed (program)! The following illustration shows an IF command with 2 profiles: Example: The profile number writing “0”.
  • Page 18: Modbus Profibus Gateway

    Modbus Profibus Gateway It is possible to create a Modbus Profibus Gateway with graphic programming. Measurement units are read using Modbus Slave measurement units in the following example. The read data is placed on a profibus profile. With this programme, it is now possible to write values from slave units using the gateway function without a profibus protocol.

Table of Contents