Siemens FM 458-1 DP Manual
Siemens FM 458-1 DP Manual

Siemens FM 458-1 DP Manual

Function blocks
Hide thumbs Also See for FM 458-1 DP:
Table of Contents

Advertisement

s
FM 458-1 DP
Function Blocks
Manual
Edition 12.2004
Contents, Foreword
Input/output blocks
Communication blocks
Logic blocks
Service-/diagnostic blocks
SIMOLINK blocks
Closed-loop control blocks
Index

Advertisement

Table of Contents
loading

Summary of Contents for Siemens FM 458-1 DP

  • Page 1 Contents, Foreword Input/output blocks FM 458-1 DP Communication blocks Function Blocks Logic blocks Manual Service-/diagnostic blocks Edition 12.2004 SIMOLINK blocks Closed-loop control blocks Index...
  • Page 2 This device and its components may only be used for the applications described in the catalog or the technical description, and only in connection with devices or components from other manufacturers which have been approved or recommended by Siemens. Trademarks SIMATIC...
  • Page 3 Overview (chapter editions) Foreword Edition 12.2004 Input/output blocks Edition 12.2004 Communication blocks Edition 12.2004 Logic blocks Edition 03.2003 Service-/diagnostic blocks Edition 03.2003 SIMOLINK drive coupling Edition 12.2004 Closed-loop control blocks Edition 12.2003 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 4: Foreword

    This Manual explains the principle use and functions of the STEP 7 Purpose of this Manual automation software with the main focus on the appropriate technological and drive control components T400, FM 458-1 DP, SIMADYN D, SIMATIC TDC or D7-SYS. TDC: Technology and Drives Control Basic knowledge This Manual addresses programmers and commissioning engineers.
  • Page 5 The complete hardware spectrum is described as reference in this Manuals. These Reference Manuals provide you with an overview of selected function Function blocks blocks for the associated technological and drive control components T400, FM 458-1 DP, SIMADYN D and SIMATIC TDC. Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 6 +1 (423) 262 2289 Fax: +86 10 64 74 74 74 E-Mail: adsupport@siemens.com E-Mail: simatic.hotline@sea.siemens.com E-Mail: adsupport.asia@siemens.com GMT: +1:00 GMT: -5:00 GMT: +8:00 Technical Support and Authorization speak generally German and English. Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 7: Table Of Contents

    S7WR, S7WR_B, S7WR_I, S7WR_D Write into the peripheral area of the S7- CPU......................... 2-27 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...
  • Page 8 Contents 4 Service-/diagnostic blocks ....................4-1 FMLED Control FM 458-1 DP diagnostics LED ............4-1 5 SIMOLINK drive coupling ...................... 5-1 @SL SIMOLINK central block .................. 5-1 SLAV, SLAVE_R SIMOLINK receive block for one actual value......5-9 SLD SIMOLINK delta evaluation................5-11 SLDIS SIMOLINK dispatcher..................
  • Page 9: Input/Output Blocks

    Input/output blocks Assignment of the input/output blocks to processor- and peripheral devices. Blocks Modules T400 IT41 IT42 EA12 EB11 ITSL*) 448*) *) with SBM2 Module Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 10: Sbm Rotary Encoder Block

    Data transfer error for serial communications between the encoder and SBM2 module • SBM2 module not available In the first three cases, the block goes into the "INI“ initialization status and in the latter case into the "OFF" status. Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 11 Revolutions (default: 0) Group error message (default: 0) QF=0 no error, QF=1 for error (if YF≠0) Error status of the block (default: 16#0000 0000) YF=0x0000 no error, YF>0x0000 (refer to error statuses) Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 12 FM 458-1 DP 13,2 Can be inserted online Can be configured in Interrupt tasks Cyclic tasks Executed in Initialization mode Normal mode Special features Can only be used with an EQN 1325 encoder Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 13: Communication Blocks

    (EXM 448/EXM 448-1). • the function block may only be configured in the sampling interval 32 ms <= TA <= 256 ms . Otherwise an entry is made in the communications error field. Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 14: Prodp Central Block Profibus Dp Coupling

    • the function block initializes and monitors the PROFIBUS DP coupling Brief description at connector X03 on FM 458-1 DP. • the function block may only be configured in the sampling interval 32 ms <= TA <= 256 ms . Otherwise an entry is made in the communications error field.
  • Page 15: Kopplung Profibus Dp

    This means, that in normal operation, a communications error is not entered. Only the cause of the error is signaled at output YTS. Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 16 (0 to 2) should be reserved for the DP master, for a PG and an OP. For a more detailed description, refer to the user manual "FM 458-1 DP", chapter "Configuring", section "PROFIBUS DP coupling". (Default: 0) Overview of which slave had signaled diagnostics data. This output is bit-coded.
  • Page 17 For example, bit 0 of the 32-bit word is assigned to the slave with Profibus address 32. For a more detailed description, refer to the user manual "FM 458-1 DP", chapter "Configuring", section "PROFIBUS DP coupling". (Default: 0) Overview of with which slave data transfer took place. This output is bit-coded.
  • Page 18: Dpsldg Slave Diagnostics, Profibus Dp

    DPSLDG is only used for diagnostics. This means, that in normal operation, a communications error is not entered. Only the cause of the error is signaled at output YTS. Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 19 Status 1 of the diagnostics according to the Standard (byte 1). (Default: 0) For a more detailed description, refer to the user manual "FM 458-1 DP", chapter "Configuring", section "PROFIBUS DP coupling". Status 2 of the diagnostics according to the Standard (byte 2).
  • Page 20 FM458-1 DP Configuring data Can be inserted online Can be configured in Cyclic tasks Executed in Initialization mode Normal mode Special features The function block may only be configured once for each slave. Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 21: Dpevt Alarm Information, Profibus Dp

    A new alarm of the same time is only detected again after the alarm task has been completed. When a communications error occurs, the cause is also output at output YTS and the QTS output is set to "0". Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 22 Detailed status display for additional values at YTS, (Default: 0) refer to: D7-SYS Online Help "Help events". (Press the F1 button in the CFC and call the topic "Help on events" uncer "CFC for D7-SYS".) 2-10 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 23 DPV1 manufacturer-specific alarm (OB57) • Diagnostics alarm (OB82) • Withdraw/insert alarm (OB83) • Failure, subrack alarm (OB86) If this is not the case, DPEVT signals an appropriate communications error and stops processing. 2-11 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 24: Dppevt Process Alarm Information, Profibus Dp Symbol

    When an alarm event is output, all of the values at the outputs are updated. For a communications error, the cause is additionally output at YTS and the QTS output is set to "0". 2-12 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 25 Block output QTS is used to display whether the block is (Default: 0) operating error-free (QTS = 1) or was de-activated after a communications error message was entered (QTS = 0). 2-13 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 26 If this is not the case, DPPEV signals an appropriate communications error and stops processing. A new alarm of the same time is only again detected after the alarm task has been completed. 2-14 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 27: Fm 458-Specific Coupling

    The connection is a 1, if the coupling is enabled for general send/receive operation. The CDM block output is 0, as long as the coupling is still being initialized, or is being re-initialized (after a temporary fault). 2-15 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 28: S7Rd_P Reading Data From A Simatic-Cpu (P Bus)

    Brief description 1 DP. A SIMATIC-CPU can transfer up to 128 bytes to the FM 458-1 DP in its output area of the P bus. Block S7RD_P reads this data from the P-Bus and provides it, via its pointer interface, to the read blocks (DRD…, CPY_Y) for further processing in the CFC configured software.
  • Page 29 (CFC connection via connections PTR). This can only be used for the FM 458-1 DP! Several S7RD_P blocks can be configured. Although this is not a typical application, it can...
  • Page 30: S7Wr_P Sending Data To A Simatic-Cpu (P Bus)

    This block can only be used for the SIMATIC application module FM 458- Brief description 1 DP. An FM 458-1 DP can send up to 128 bytes to the SIMATIC-CPU via the P-Bus. The block S7WR_P sends data which were previously loaded with write blocks via the pointer interface.
  • Page 31 (CFC connection via connections PTR). This can only be used for the FM 458-1 DP! Several S7WR_P blocks can be configured. Although this is not a typical application, it can...
  • Page 32: Brcv Block-Oriented Data Reception Via An S7 Coupling

    Only values of between 0 and 65535 may be configured. Default: 0 The receive data, to be evaluated by the blocks for direct Default: 0 communication, is made available here (e.g. types DRD, DRD_I, etc.). 2-20 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 33 ID, RID and RLN set when running-up For other values at YTS, in addition, a communications error is entered the diagnostics buffer and the block is no longer processed (QTS=0) 2-21 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 34 Communication blocks Computation time [µs] FM458-1 DP Configuring data Can be inserted online Can be configured in Alarm tasks Cyclic tasks Executed in Initialization mode Normal mode Special features 2-22 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 35: S7Stat S7 Cpu Operating State

    Actual operating state of the S7-CPU (Default: 0x8000) Previous operating state of the S7-CPU (Default: 0x8000) Please refer to the help for STEP7 for a more detailed description of the operating states. 2-23 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 36 Communication blocks Commutation time [µs] FM458-1 DP Configuring data Can be inserted online Can be configured in Alarm tasks Cyclic tasks Executed in Normal mode Special features 2-24 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 37: S7Rd, S7Rd_B, S7Rd_I, S7Rd_D Read From The Peripheral Area Of The S7-Cpu

    0 . . . 31 Output QF has the value 1, if an invalid offset was selected, or the block is not configured on the FM 458. 2-25 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 38 (default: 0.0) Error output (default: 0) Computation time [µs] FM 458-1 DP Configuringdata Available online Can be configured in Interrupt tasks Cyclic tasks Executed in Normal mode Initialization mode Special features 2-26 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 39: S7Wr, S7Wr_B, S7Wr_I, S7Wr_D Write Into The Peripheral Area Of The S7-Cpu

    Output QF has the value 1, if an invalid offset was selected, or the block is not configured on the FM 458 application module. Input (default: 0.0) Offset (default: 0) Enable (default: 0) Error output (default: 0) 2-27 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 40 Communication blocks Computation time [µs] FM 458-1 DP Configuringdata Available online Can be configured in Interrupt tasks Cyclic tasks Executed in Normal mode Initialization mode Special features 2-28 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 41: Parameterizing Simadyn D

    Parameter change enable ― BO W ―Status 2.COMBOARD parameter channel BASEBOARD-Function ― BO The FB @FMPAR can only be configured on a FM 458-1 DP module. Brief description FB @FMPAR monitors the COMBOARD (communications submodule of the SIMOVERT MASTER DRIVES, e.g. CBP for PROFIBUS DP) and processes the parameter tasks which are defined for it.
  • Page 42 PEN=0: inhibits operator control parameter changes via all parameter channels (Default: 1) BASEBOARD-Function • BBF=0: SIMATIC FM 458-1 DP operates as TECHBOARD (parameter number from external view 1000..1999, 3000..3999) • BBF=1: SIMATIC FM 458-1 DP operates as BASEBOARD (parameter number from external view 0..999, 2000..2999)
  • Page 43 Can be inserted online Can be configured in Cyclic tasks Executed in Initialization mode Normal mode • Special features 10<=sampling time<=200 ms • Block may not be switched-in or switched-out per task group. 2-31 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 44: Cbconf Comboard Configuration

    The function block CBCONF may only be configured once on a FM458 Configuring on a module per COMBOARD. It is configured on the FM458 module on FM458 module which the function block @FMPAR was configured for the appropriate COMBOARD. 2-32 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 45 Additional values, refer to: D7-SYS Online Help "Help on events" (press key F1 in the CFC and call-up the topic "Help on events" under "CFC for SIMADYN D".) (Default value: 0) D01...D28 Max. 28 words of diagnostics data of the COMBOARD (Default value: 0) 2-33 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 46 P719/ PKW: 0:no, PKW task P704 127:yes, Broadcast 3:one word, 4:one D word P720/ PZD: Baud rate P705 No. of words P706.1 (END) CAN layer P706.2 Bus timing P706.3 (END) P706.4 2-34 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 47 Cyclic tasks Executed in Initialization mode Normal mode Special features • The block can only be configured once for each communications submodule. • Additional block required on the CPU modules: @FMPAR 2-35 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 48: Cbrfaw Receiving Warnings From A Comboard

    For additional values, refer to: D7-SYS online help "Help on events". (press the F1 key in the CFC and call-up the topic "Help on events" under "CFC for SIMADYN D".) (Default: 0) 2-36 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 49 Can be configured in Cyclic tasks Executed in Initialization mode Normal mode • Special features The block can only be configured once for each communications submodule. • Additionally required block: @FMPAR 2-37 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 50: Pname Parameter Names

    The block can be configured in the slowest sampling time. Mode of operation The block saves the configured names in the parameter list of the function block @FMPAR, and then disables itself. 2-38 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 51 FM 458-1 DP Configuringdata Can be inserted online Can be configured in Cyclic tasks Executed in Initialization mode Normal mode Special features • additionally required block on the FM modules: @FMPAR 2-39 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 52: Pstat Change Enable For Parameters

    (Default: 0) Appropriate password for access level i (password i): (Default: 0) Actual "device status": There are 16 statuses. Permissible entry range: 1 to 16 (Default: 1) 2-40 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 53 Executed in Initialization mode Normal mode • Special features Function block may only be configured once per FM module • Function block additionally required on the FM modules: @FMPAR and PLIM 2-41 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 54: Logic Blocks

    REAL value. Output QF is set to 1 if this is not (no mode longer) possible. The function block is then inactive in the RUN operating mode. Input quantity (default: 0.0) Operating mode (default: 0) Output quantity (default: 0.0) No free memory (default: 0) Function Blocks - FM 458-1 DP Edition 03.2003...
  • Page 55 Logic blocks Configuringdata Computation time [µs] FM 458-1 DP Can be inserted online Can be configured in Interrupt tasks Cyclic tasks Executed in Initialization mode Normal mode Special features Function Blocks - FM 458-1 DP Edition 03.2003...
  • Page 56: Pas7 Initiate Process Interrupt At The S7-Cpu

    Initiate interrupt ― BO Brief description This function block, which initiates a process interrupt to the SIMATIC S7-CPU, can only run with an FM 458-1 DP application module. Mode of operation The function block initiates a process interrupt at the associated S7 CPU.
  • Page 57: Service-/Diagnostic Blocks

    FM 458-1 DP application module. Mode of operation The LEDs of the FM 458-1 DP application module can be controlled using this block. The LED display is canceled for a value of 0 at the appropriate input; for a value of 1, it is set and for a value of -1, its status is retained, unchanged.
  • Page 58: Simolink Drive Coupling

    − Checks the validity of the value ranges at the input connections − Checks whether additional @SL central blocks have been configured at the same hardware address (input TAD) − Initializes the SLB module corresponding to the data at the initialization connections Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 59 Timing: The blocks are executed each time cyclic task Tx starts. The SIMOLINK telegrams are sent after the last SIMOLINK block has been calculated. SIMOLINK cycle SIMOLINK cycle Processing time of the Processing time of the SIMOLINK blocks SIMOLINK blocks Cyclic task Tx Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 60 T0 interrupt T0 interrupt SIMOLINK cycle SIMOLINK cycle SIMOLINK cycle Processing time of the Processing time of the Processing time of the SIMOLINK blocks SIMOLINK blocks SIMOLINK blocks Cyclic task T1 = T0 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 61 The first SLB module can be an EXM 448-1- or an ITSL module NOTE without optional SLB. The settings for the second SLB module are only relevant for an ITSL module with optional SLB. Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 62 (default: 0) A timeout means that a telegram has failed (not been received). Number of CRC errors in the SIMOLINK ring (default: 0) A node sends a telegram with a CRC error. Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 63 The number of the processor cycles specifies while the values by PCI Copy are being waited for. No. of CO1 Overruns (default: 0) Group error bit (default: 0) QF=0 No error, QF=1 for error (if YF≠0) Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 64 CRC error (check sum error) Timeout error in the SIMOLINK ring Only for MOD=0: signaled SIMOLINK cycle time (in the special telegram from the SL master) does not correspond to the configured equivalent sampling time Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 65 SIMOLINK drive coupling Computation time [µs] FM 458-1 DP 69,3 Configuringdata Can be inserted online Can be configured in Cyclic task Executed in Initialization mode Normal mode Special features Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 66: Slav, Slave_R Simolink Receive Block For One Actual Value

    − Checks that the inputs are within the permissible value range − Reads-out the actual values to be received from the receive buffer of the SLB module# Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 67 QF=1 for error (if YF≠0) Computation time [µs] FM 458-1 DP 34,7 Configuringdata Can be inserted online Can be configured in Interrupt tasks Cyclic tasks Executed in Initialization mode Normal mode Special features 5-10 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 68: Sld Simolink Delta Evaluation

    QF=1 for error (if YF≠0) Computation time [µs] FM 458-1 DP 19,8 Configuringdata Can be inserted online Can be configured in Interrupt tasks Cyclic tasks Executed in Initialization mode Normal mode Special features 5-11 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 69: Sldis Simolink Dispatcher

    QF=1 for error (if YF≠0) Computation time [µs] FM 458-1 DP 14,7 Configuringdata Can be inserted online Can be configured in Interrupt tasks Cyclic tasks Executed in Initialization mode Normal mode Special features 5-12 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 70: Slsv, Slsv_R Simolink Send Block For One Setpoint

    − Calculates the setpoints − Checks that the inputs are within the permissible value ranges − Enters the setpoints to be sent into the write buffer of the SLB module 5-13 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 71 QF=1 for error (if YF≠0) Computation time [µs] FM 458-1 DP 34,7 Configuringdata Can be inserted online Can be configured in Interrupt tasks Cyclic tasks Executed in Initialization mode Normal mode Special features 5-14 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 72: Slsv2, Slsv2R Simolink Send Block For 2 Setpoints

    − Calculates the setpoints − Checks that the inputs are within the permissible value ranges − Enters the setpoints to be sent into the write buffer of the SLB module 5-15 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 73 QF=1 for error (if YF≠0) Computation time [µs] FM 458-1 DP 39,6 Configuringdata Can be inserted online Can be configured in Interrupt tasks Cyclic tasks Executed in Initialization mode Normal mode Special features 5-16 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 74: Slsvav Simolink Send And Receive Block For One Slave

    • Enters the setpoints to be sent into the write buffer of the SLB module • Reads-out the actual values to be received from the receive buffer of the SLB module 5-17 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 75 QF=1 for error (if YF≠0) Computation time [µs] FM458 / PM6 34,7 Configuringdata Can be inserted online Can be configured in Interrupt tasks Cyclic tasks Executed in Initialization mode Normal mode Special features 5-18 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 76: Closed-Loop Control Blocks

    (default: 0) Bit to set the output value Y to the setting value SV S=1 → Y=SV (initial offset) Hold (default: 0) Holds the instantaneous value at output Y H=1 → Y=Y Function Blocks - FM 458-1 DP Edition 12.2003...
  • Page 77 Overflow, rest positive Overflow, rest negative Configuringdata Computation time [µs] FM 458-1 DP 19,8 Can be inserted online Can be configured in Interrupt tasks Cyclic tasks Executed in Initialization mode Normal mode Special features Function Blocks - FM 458-1 DP Edition 12.2003...
  • Page 78: Index

    S7STAT S7 CPU operating state ....................2-23 S7WR, S7WR_B, S7WR_I, S7WR_D Write into the peripheral area of the S7-CPU....2-27 S7WR_P Sending data to a SIMATIC-CPU (P Bus)..............2-18 SAV_TR Save FB for NOV_RAM ....................3-1 Function Blocks - FM 458-1 DP Edition 12.2004...
  • Page 79 SLDIS SIMOLINK dispatcher ......................5-12 SLSV, SLSV_R SIMOLINK send block for one setpoint ............. 5-13 SLSV2, SLSV2R SIMOLINK send block for 2 setpoints ............. 5-15 SLSVAV SIMOLINK send and receive block for one slave............5-17 Function Blocks - FM 458-1 DP Edition 12.2004...

Table of Contents