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 75/315<br />

5.3 Functionality of the FSPMM-Task (Layer 7)<br />

Profibus <strong>DP</strong> provides the following functionality with its layer 7 part, which is implemented within the<br />

FSPMM_task:<br />

• Cyclic Data Transfer<br />

• Acyclic Data Transfer <strong>DP</strong> V1 Class 1<br />

• Configuration of Inputs and Outputs at Slaves<br />

• Alarm Processing<br />

• Diagnostics<br />

5.3.1 Cyclic Data Transfer<br />

Cyclic data transfer is the main task of a field bus system. In Profibus <strong>DP</strong>, this functionality is located<br />

in level <strong>DP</strong> V0. The main packets for cyclic data transfer are:<br />

Packets for Cyclic Data Transfer<br />

Section<br />

Packet Name<br />

6.1.8 <strong>PROFIBUS</strong>_FSPMM_CMD_GET_INPUT_REQ/CNF - Get new Input<br />

6.1.7 <strong>PROFIBUS</strong>_FSPMM_CMD_SET_OUTPUT_REQ/CNF – Set new Output<br />

Table 35: Packets for Cyclic Data Transfer<br />

5.3.1.1 Description of Processes during Cyclic Data Transfer<br />

The most important prerequisite for cyclic data transfer is, that the operation mode is OPERATE.<br />

In state CLEAR only a restricted cyclic data transfer is possible, in the other states no cyclic data<br />

transfer at all is performed.<br />

For example, a data transfer from the master to the slave using the<br />

<strong>PROFIBUS</strong>_FSPMM_CMD_SET_OUTPUT_REQ/CNF – Set new Output packet works in the following<br />

way:<br />

• The master sends an SRD request with a variable data field length containing the output data to<br />

the slave.<br />

• Immediately the slave will send back an SRD response containing its input data.<br />

The number of available input and output channels is defined at the configuration during system startup.<br />

This configuration is done as a part of the processing of the bus parameter set, for more<br />

information see<br />

• Section 4.2.4 Detailed Description of Slave Parameters, especially 4.2.4.15 Cfg_Data_Len and<br />

4.2.4.16 Cfg_Data<br />

• Section 6.1.1 <strong>PROFIBUS</strong>_FSPMM_CMD_APP_REG_REQ/CNF – Application Register<br />

• Section 6.3.14 <strong>PROFIBUS</strong>_DL_CMD_SET_VALUE_BUS_PARAMETER_SET_REQ/CNF -<br />

Load the Bus Parameter Set<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!