Parameterization by dfhdhdhdhjr

VIEWS: 6 PAGES: 17

									                                 DP Extensions

 Additional Services
                                                          Master Class 2
           Master Class 1




 Read Data Set                                           Initiate
                                                          Read Data Set
 Write Data Set
                                                          Write Data Set
 Read Diagnostics with Status
                                                          Data Transport
  or Alarm Information
                                                          Abort



                                  Field Device (Slave)


Master Class1 and/or Class 2 and/or Slave can be implemented in the same Device

s                                                                     DP Extensions
                                                                      Date 09/11/00, Page 1
                               DP Extensions

 Extended Parameterization
 SD     LE   LEr   SD     DA    SA   FC   DSAP   SSAP   DU..    FCS     ED

0x68     x   x     0x68   x     x    x    0x3D   0x3E    x ..   x      0x16




                           Up to 244 Bytes




        7 Bytes       3 Bytes             Device Specific
       Mandatory    DPV1_Status             (Optional)


s                                                                     DP Extensions
                                                                      Date 09/11/00, Page 2
                      DP Extensions

 Parameterization (continued) - DPV1_Status



          7       0
Octet 8
                        Reserved
                        1=Base for Watchdog calculation: 1ms
                        0=Base for Watchdog calculation: 10ms
                        Reserved
                        1=Slave operated in Fail Safe mode
                        DPV1_Enable




 s                                                              DP Extensions
                                                                Date 09/11/00, Page 3
                      DP Extensions

 Parameterization - DPV1_Status (continued)


           7      0
Octet 9
                        1=Application specific behavior for configuration check
                        Reserved
                        Enable alarms (under construction)



Octet 10
                        Alarm_Mode (specifies alarm capabilities) (under construction)
                        Reserved




 s                                                                 DP Extensions
                                                                   Date 09/11/00, Page 4
                        DP Extensions

 Additional Services for the Controlling Master
  (Master Class 1)

     Read Data Set (service is module/slot related)
     Write Data Set (service is module/slot related)
     Definition of Status/Alarm information as part of the
      PROFIBUS diagnostic
     Services are performed in acyclic manner (that
      means in-between two data exchange cycles)




s                                                         DP Extensions
                                                          Date 09/11/00, Page 5
                        DP Extensions

 Additional Services for the Diagnostic Master
  (Master Class 2)

     Initiate/Abort to establish/end a communication
      channel/relationship
     Read Data Set (service is module/slot related)
     Write Data Set (service is module/slot related)
     Data Transport (combination of read and write)




s                                                       DP Extensions
                                                        Date 09/11/00, Page 6
                      DP Extensions

     Additional Communication Ports          Acyclic Communication:




                   DP Master     DP Slave
        Function
                   Dec.   Hex   Dec.   Hex

    MSAC_C1         51    33     51    33     Master Class 1 - Field Device

    MSAC_C2         50    32    0..48 0..30   Master Class 2 - Field Device

    Resource        50    32     49    31     Initiate Master Class 2
                                              Communication
-
    Manager




    s                                                 DP Extensions
                                                      Date 09/11/00, Page 7
                            DP Extensions

 DP Extended - Device Model

     Application Process Instances (API)
         Allows definition of multiple applications within the device
         Master Class 1 ALWAYS addresses API 0
         Addressed API for Master Class 2 is selected with Initiate
          service

     API objects are identified by Slot and Index
         Slot 0..254 possible
         Recommendation: slot = module
         Slot 0 = head module/device itself
         Index 0..254 possible
         Index identifies data block/set within the module



s                                                                        DP Extensions
                                                                         Date 09/11/00, Page 8
                           DP Extensions

 DP Extended - Device Model (continued)



    Base Module    Module 1   Module 2   Module 3   Module 4

      API 0
      Slot 0
     Index 0
                    8 DO       16 DO       8 DI       2 AI
        API 0
        Slot 0                  API 0                 API 0
       Index 1                  Slot 2                Slot 4
                               Index 4               Index 1
          API 1
          Slot 0                                        API 2
         Index 2                                        Slot 4
                                                      Index 16




s                                                                DP Extensions
                                                                 Date 09/11/00, Page 9
                                 DP Extensions

 Communication Sequence


         Initiate (Master Class 2 only)            Which SAP to be used?

    Read Data v Write Data v Data Transfer   Data Transfer is Master Class 2 only

                    Polling                          Until data available

         Abort (Master Class 2 only)           Close communication channel




s                                                                           DP Extensions
                                                                            Date 09/11/00, Page 10
                              DP Extensions

 Startup Sequence - Parameterization for Status/Alarms
  Diagnostic - Device Related Part used
 SD    LE   LEr   SD     DA    SA     FC   DSAP   SSAP   DU..    FCS     ED

0x68    x    x    0x68   x     x      x    0x3D   0x3E    x ..   x      0x16




                          Up to 244 Bytes




     6 Bytes  Device Related        Identifier Related    Channel Related
    Mandatory (Status/Alarms)          (Optional)           (Optional)


s                                                                      DP Extensions
                                                                       Date 09/11/00, Page 11
                   DP Extensions

 Startup Sequence - Parameterization
  Diagnostic (continued) - Alarm Coding




s                                         DP Extensions
                                          Date 09/11/00, Page 12
                    DP Extensions

 Diagnostic (continued) - Coding Status


                                     Up to 59 bytes additional status information
Octet 1
                   Data length (including header) - 4 to 63
                   “00”
                                                     0-Reserved
Octet 2                                              1-Status Message
                   Status Type                       2-Module Status
                   1 (= Status)                      3..31-Reserved
                                                     32..126-Manufacturer Specific
Octet 3
                                                     127-Reserved
                   Slot Number
Octet 4
                   Status Specifier
                   00=No further differentiation   10=Status disappears
                   01=Status appears               11=Reserved
                   Reserved

 s                                                             DP Extensions
                                                               Date 09/11/00, Page 13
                        DP Extensions

 Additional Data Types
     Integer
     Unsigned
     Floating Point
     Visible String
     Octet String
     Date
     Time of Day
     Time Difference



s                                       DP Extensions
                                        Date 09/11/00, Page 14
                             DP Extensions

 Additional Data Types (continued) - Configuration
  Special Format




    Header     I/O Data         Vendor            Additional Config Data
             Specification    Specific Data     (Simple or Special Format)
7               0                             1-Boolean          10-Octet String
                                              2-Integer8         11-Date
                      Code for Data Type      3-Integer16        12-Time of Day
                                              4-Integer32        13-Time Difference
                                              5-Unsigned8        14-Time of Day
                                              6-Unsigned16       15-Time Difference
                                              7-Unsigned32       16..31-Reserved
                                              8-Floating Point   32..63-User specific
                                              9-Visible String   64..255-Reserved

    s                                                                  DP Extensions
                                                                       Date 09/11/00, Page 15
                                 DP Extensions

 Additional Data Types (continued) - Example
  Special Format


                                     1 Byte for Input Data Specification & 2 Bytes
     0   1   0   0   0   0   1   0   Vendor Specific Data follow

     1   0   0   0   0   1   0   0   5 Bytes of Input Data with Consistency over
                                     whole Length
     0   0   0   0   1   0   0   0   Data Type Floating Point
     0   0   0   0   0   1   0   1   Data Type Unsigned8




 s                                                                               DP Extensions
                                                                                 Date 09/11/00, Page 16
                        DP Extensions

 Application Example
        PROFIBUS (up to 12 Mbaud)      x
                                                                          Engineering Tool
                                                                         (Diagnostic Master)




                                                                Direct access to field

                  x                                                device via DP
                                                                   Extensions (e.g.
                                                                 to change range of
                                                                    measurement)

                                    PROFIBUS-PA (31.25 kbaud)




s                                                                  DP Extensions
                                                                   Date 09/11/00, Page 17

								
To top