11.01.2014 Views

PROFIBUS DP-Master

PROFIBUS DP-Master

PROFIBUS DP-Master

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Overview 92/315<br />

5.4 Functionality of the FSPMM2-Task<br />

This task provides the functionality of <strong>DP</strong> V1 Class 2 on layer 7 of the OSI/ISO layer model. The<br />

acyclic data processing capabilities for Profibus <strong>DP</strong> <strong>Master</strong>s Class 2 provided by the FSPMM2-task<br />

are described in this section.<br />

The error handling is the same as already described for <strong>DP</strong> V1 Class 1, so please refer to section<br />

5.3.2.2 “<strong>DP</strong> V1 Error Processing” above.<br />

5.4.1 General Remarks on <strong>DP</strong> V1 Class 2<br />

The <strong>DP</strong> V1 Class 2 technology is characterized by the following features:<br />

• Connection-oriented data transmission over a <strong>DP</strong> V1Class 2 connection<br />

• Connection must be established explicitly (‚initiated’) before first data transmission can take<br />

place. A communication reference identifies the established connection from that time on.<br />

• After that the services ‚Read’, ‚Write’ and ‚Data’ Transport are available.<br />

• Connection must explicitly be de-established (‘aborted’).<br />

• A master class 2 can only have one connection to a slave at a time.<br />

• A slave may have multiple connections to a master class 2 and one to a master class 1 at a<br />

time.<br />

5.4.2 <strong>DP</strong> V1 Class 2 <strong>Master</strong>s<br />

Class 2 masters have special capabilities when communicating with slaves such as:<br />

• Reading the configuration data of the <strong>DP</strong> slave<br />

• Reading the input and output data (but no write access possible)<br />

• Address assignment to slaves<br />

Class 2 masters are used for commissioning the network and for maintenance and diagnostic<br />

purposes and may be removed after the start-up phase when the system is working correctly.<br />

Class 2 masters acyclically communicate with slaves over a class 2 connection (also called MSAC_C2<br />

connection relationship). This class 2 connection must explicitly be set up.<br />

5.4.3 Basic Services for Connection Maintenance<br />

Two services are defined for handling a class 2 connection between a class 2 master and a slave:<br />

• MSAC2_Initiate service.<br />

• This service is used by the <strong>DP</strong> master class 2 in order to set up a <strong>DP</strong> V1-Class 2 connection to<br />

the <strong>DP</strong> slave. The <strong>DP</strong> slave then receives a “Initiate” indication.<br />

• MSAC2_Abort service.<br />

• This service is used by the <strong>DP</strong> master class 2 in order to abort a <strong>DP</strong> V1-Class 2 connection to<br />

the <strong>DP</strong> slave. The <strong>DP</strong> slave then receives an abort indication. The <strong>DP</strong> slave may also request an<br />

abort of the class 2 connection by itself. For instance, this can be accomplished by sending the<br />

abort packet.<br />

<strong>PROFIBUS</strong> <strong>DP</strong>-<strong>Master</strong> |<br />

DOC061001API12EN | Revision 12 | English | 2010-12 | Released | Public © Hilscher, 2006-2010

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!