14
By double-clicking on the "write profibus" function module, the values for the profile can be
determined. Each value is allocated to the format. The function module receives an input pin for each
variable.
The following graphic shows a list of variables in the SIMATIC software. Profibus 16 is illustrated with
the first three input values.
Example for a Read Profibus Profile
With the "read profibus" function module, it is possible to use PLC values in your own programme
code. The master, an S7 PLC in the following 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 profiles using the unit configuration. In the example, the "write
profibus" module is not placed in the repeater which results in the module being processed once and
the profile being created. The remaining function modules are placed in the repeater; they are then
processed in cycles according to the selected intervals. The values coming from the PLC are written in
local variables and can now be used in the programme. If you want to write a profile extern, the profile
must be in the profibus buffer.
Illustration 14