Page 80
Function and data blocks for SIEMENS S7
PROFIBUS-Manual Servo positioning controller DIS-2 48/10 FB
Version 2.0
Parameter Declaration Data type Storage area
Description
LADDR
INPUT
WORD
E, A, M, D, L, const.
Projected initial address of the A-area of the
module which has to be written to.
RECORD
INPUT
ANY
E, A, M, D, L
Source area of the useful data to be written. It
has to be as long as has been projected for the
selected module with STEP 7. Only the data
type BYTE is admissible.
RET_VAL
OUTPUT
INT
E, A, M, D, L
If a fault occurs while the function is processed,
the return value contains a fault code.
13.2.4
PROFIBUS connection of DIS-2 48/10 FB servo positioning controller
Several steps have to be performed to set up a functional PROFIBUS connection. Some settings
should or have to be made before the PROFIBUS communication can be activated.
The transmission of data using the DP-V0 service requires a definition of the number of data to be
transmitted and of the meaning of these data, both at the master and at the slave end. If the example
projects described above are used, the master and the slave have to be configured accordingly.
When the example projects are loaded, the data blocks are already structured as required. The
telegrams have to be structured as required by the example projects using the DIS-2
ServoCommander
TM
parameterisation program. Information concerning the use of the telegram editor
and further information on the parameters can be found in the previous chapters of the PROFIBUS
product manual.
13.2.4.1 Reception telegram of the speed control example project
In this case, reception telegram 1 at the servo positioning controller end has to be configured. The
following screenshot shows the necessary parameterisation of the reception telegram for the example
project. An additional diagnostic i
nformation is displayed above the button „Change entry“ if a
communication could have been established between Master and Slave. The really configured length
of the telegram from Master to Slave is displayed.