5. PROGRAMMING FOR STEP 7
The controller of the device that is going to be connected to the Profibus
board will be realized by using the PDOs (Process Data Objects) defined as
modules of different length, in the board configuration. These PDOs can be
mapped in the data area of a PLC, in case of using this one like Master
Profibus.
Since all of the modules (or PDOs) defined for the Profibus board have more
than 3 or 4 bytes of length, the SFCs (special system functions) SFC14
DPRD_DAT and SFC 15 DPWR_DAT will be used for data transmission and
reception.
The following table shows the SFCs that will be used according to the
modules selected for the Profibus board.
SFC14 (10 bytes)
SFC15 (10 bytes)
SFC14 (32 + 32 + 32 + 24 bytes)
SFC15 (32 + 32 + 32 + 24 bytes)
SFC14 (4 bytes)
SFC15 (15 bytes)
SFC14 (32 + 14 bytes)
SFC15 (32 + 22 bytes)
SFC14 (20 bytes)
SFC15 (20 bytes)