background image

 

 

17 

 

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  tha

t  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”.  In  case  that  a  request  the  profile  number  16,  the  group 

“profile 16” is in processed. For all other request the  group “profile  17” is  in  processed. Important is 
that you have only one profile in the profibus buffer. 

The writing from more than one profiles in the 

profibus buffer get to inconsistent values. 

 

Содержание Profibus DP/V0 UMG508

Страница 1: ...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...

Страница 2: ...a Profile 6 GSD File 9 Incorporating the Slave Unit in the Master Software SIMATIC S7 300 9 Simatic variables table 11 Profibus Profiles in Graphic Programming 13 Profibus Puffer 17 Modbus Profibus Ga...

Страница 3: ...phic programming There is read and write access to the profile which makes it possible to describe digital outputs or user defined variables from the PLC The description of functions has been created...

Страница 4: ...variables and global variables can be individually scaled and converted into one of the following formats 8 16 32bit integer with and without signs 32 or 64bit float format Big or Little Endian Global...

Страница 5: ...iles 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 2...

Страница 6: ...nit button in the unit list In the field bus profile tab selected measurement values can now be allocated to the individual profiles A maximum of 128 bytes are available for a profile The profile numb...

Страница 7: ...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 Li...

Страница 8: ...r PC PLC can only differentiate this unit on the basis of the unit address Each Power Analyzer must have a specific unit address within the network Profibus supports the unit addresses in the range 0...

Страница 9: ...yzer s GSD file currently supports the following modules STD 8 Word In 1 Byte Out STD 16 Word In 1 Byte Out STD 32 Word In 1 Byte Out STD 62 Word In 1 Byte Out STD 8 Word In 3 Byte Out STD 16 Word In...

Страница 10: ...that you previously set on the Power Analyzer Please be aware that the addresses cannot be assigned more than once Information on the module it is not necessary to read out the whole profile If just...

Страница 11: ...ll of the hardware configuration must be transferred to the S7 so that communication can take place Simatic variables table Assign a communication to a variable table for testing purposes In the proje...

Страница 12: ...ofile number request PEB 256 DEZ 0 Profile number request PED 257 Floating point 230 7 1 st value in profile 0 ULN1 PED 261 Floating point 230 5 2 nd value in profile 0 ULN2 PED 265 Floating point 230...

Страница 13: ...d to a profile profiles 16 255 using the graphic programming The write profibus function module is used for allocation Profiles can also be read and analysed read profibus With the read profibus funct...

Страница 14: ...g example case can describe profile values A profile can only be recorded once it has been created A profile is recorded with a write profibus function module or if values are allocated to fixed profi...

Страница 15: ...list of variables the values are written out from the PLC 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 deb...

Страница 16: ...rofibus function module has a status pin that can be used for analysis The following table shows the error codes Error no Comment 1 Error 0 No error 255 Feedback of the incorrect profile number Illust...

Страница 17: ...ne reading and one writing profile in processed program The following illustration shows an IF command with 2 profiles Example The profile number writing 0 In case that a request the profile number 16...

Страница 18: ...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 valu...

Отзывы: