Function Blocks - FM 458-1 DP
vii
Edition 12.2004
Contents
Foreword ........................................................................................................................................ iii
1
Input/output blocks ................................................................................................................ 1-1
1.1
SBM Rotary encoder block ....................................................................................... 1-2
2
Communication blocks.......................................................................................................... 2-1
2.1
Central coupling blocks............................................................................................. 2-1
2.1.1
@CSL2F PROFIBUS FMS coupling central block ................................................... 2-1
2.1.2
@CSL2L PROFIBUS FDL central block................................................................... 2-1
2.1.3
@CSPRO Central block PROFIBUS DP coupling ................................................... 2-1
2.1.4
@PRODP Central block PROFIBUS DP coupling ................................................... 2-2
2.2
Kopplung PROFIBUS DP ......................................................................................... 2-3
2.2.1
DPDIAG Diagnostics overview, PROFIBUS DP....................................................... 2-3
2.2.2
DPSLDG Slave diagnostics, PROFIBUS DP ........................................................... 2-6
2.2.3
DPEVT Alarm information, PROFIBUS DP .............................................................. 2-9
2.2.4
DPPEVT Process alarm information, PROFIBUS DP Symbol............................... 2-12
2.3
FM 458-specific coupling ........................................................................................ 2-15
2.3.1
@CPB P-bus, central coupling block...................................................................... 2-15
2.3.2
S7RD_P Reading data from a SIMATIC-CPU (P Bus) .......................................... 2-16
2.3.3
S7WR_P Sending data to a SIMATIC-CPU (P Bus) .............................................. 2-18
2.3.4
BRCV Block-oriented data reception via an S7 coupling ....................................... 2-20
2.3.5
S7STAT S7 CPU operating state ........................................................................... 2-23
2.3.6
S7RD, S7RD_B, S7RD_I, S7RD_D Read from the peripheral area of the S7-
CPU......................................................................................................................... 2-25
2.3.7
S7WR, S7WR_B, S7WR_I, S7WR_D Write into the peripheral area of the S7-
CPU......................................................................................................................... 2-27
2.4
Parameterizing SIMADYN D................................................................................... 2-29
2.4.1
@FMPAR Parameter processing on FM 458-1 DP modules................................. 2-29
2.4.2
CBCONF COMBOARD configuration..................................................................... 2-32
2.4.3
CBRFAW Receiving warnings from a COMBOARD .............................................. 2-36
2.4.4
PNAME Parameter names ..................................................................................... 2-38
2.4.5
PSTAT Change enable for parameters .................................................................. 2-40
3
Logic blocks ........................................................................................................................... 3-1
3.1
SAV_TR Save FB for NOV_RAM ............................................................................. 3-1
3.2
PAS7 Initiate process interrupt at the S7-CPU......................................................... 3-3