23.03.2017 Views

wilamowski-b-m-irwin-j-d-industrial-communication-systems-2011

Create successful ePaper yourself

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

Profibus 32-9<br />

32.5 Cyclic Data Exchange: MS0—Relation<br />

The central control (DPM1) performs the following functions:<br />

• Reads input information from the slaves cyclically<br />

• Writes output information to the slaves cyclically<br />

The bus cycle time should be shorter than the program cycle time of the central automation system,<br />

which is approximately 10.ms for many applications.<br />

32.5.1 Device Model<br />

Every field-device is composed of modules, which are located in slots. Every module can have one or<br />

several channels. These modules may be real physical modules or only virtual organization units. The<br />

configuration and number and version of modules may be fixed or variable. The possible modules, order,<br />

and parameters are described in the Generic Station Description (GSD) file, which is provided by the<br />

manufacturer of the device and used by the configuration tool of the controller to support the engineer<br />

in the planning of the Profibus system.<br />

32.5.2 Initialization and Supervision of the Relation<br />

Data <strong>communication</strong> between the DPM1 and its assigned slaves is automatically handled by the DPM1<br />

in a defined, recurring sequence. The user defines the assignment of the slave(s) to the DPM1 when configuring<br />

the bus system. The user also defines which slaves are to be included or excluded in the cyclic<br />

user data <strong>communication</strong>.<br />

Data <strong>communication</strong> between the DPM1 and the slaves is divided into three phases: parameterization,<br />

configuration, and data transfer. Before the master includes a DP slave in the data transfer phase,<br />

a check is run during the parameterization and configuration phase to ensure that the configured setpoint<br />

configuration matches the actual device configuration. During this check, the device type, format,<br />

and length information and the number of inputs and outputs must also correspond. This provides the<br />

user with reliable protection against parameterization errors. In addition to user data transfer, which is<br />

automatically executed by the DPM1, the user can also request that new parameterization data are sent<br />

to the slaves.<br />

For safety reasons, it is necessary to ensure that DP has effective protective functions against incorrect<br />

parameterization or failure of transmission equipment. For this purpose, the DP master and the<br />

slaves are fitted with monitoring mechanisms in the form of time monitors. The monitoring interval is<br />

defined during configuration.<br />

The DPM1 uses a Data_Control_Timer to monitor the data <strong>communication</strong> of the slaves. A separate<br />

timer is used for each slave. The time monitor is tripped if no correct user data transfer is executed<br />

within the monitoring interval. In this case, the user is notified. If the automatic error handling<br />

(Auto_Clear = True) is enabled, the DPM1 exits the operate state, switches the outputs of the assigned<br />

slaves to the fail-safe state, and shifts to the clear mode.<br />

The slave uses the watchdog control to detect errors of the master or of the transmission. If no data<br />

<strong>communication</strong> with the master occurs within the watchdog control interval, the slave automatically<br />

switches its outputs to the fail-safe state.<br />

In addition, access protection is required for the inputs and outputs of the slaves operating in multimaster<br />

<strong>systems</strong>. This ensures that only the authorized master has direct access. For all other masters, the<br />

slaves provide an image of their inputs and that can be read without access rights.<br />

© <strong>2011</strong> by Taylor and Francis Group, LLC

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

Saved successfully!

Ooh no, something went wrong!