SiemensETIJohnson ControlsIFMSICKWIKABosch RexrothELKO EPHYUNDAIABBVEGAKSR KUEBLERAlfa Laval

Технічний документ SIEMENS — APLG120 block

Вид документаТехнічний документ
ВиробникSIEMENS
Код документаAPLG120-block
Сторінок72
Мова документаанглійська
Розмір файлу1.4 МБ

Текст документа

Fundamental safety
                              instructions                    1

                              Introduction                    2

                              APL_G120 block                  3
SINAMICS G120
                              General information on
                              faceplates                      4
Drive ES PCS7 block library
DRVPCS7_APL                   Module drivers/
APL_G120 block                Maintenance station             5

Function Manual
                              Feature bits of the APL block   6
                              Adapting the telegram
                              length                          7

                              WebClient                       8

                              Simulation                      9

                              Appendix                        A

                              List of abbreviations           B

03/2021
A5E39409017B AH
Legal information
Warning notice system
             This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent damage
             to property. The notices referring to your personal safety are highlighted in the manual by a safety alert symbol, notices
             referring only to property damage have no safety alert symbol. These notices shown below are graded according to
             the degree of danger.

                    DANGER
             indicates that death or severe personal injury will result if proper precautions are not taken.

                    WARNING
             indicates that death or severe personal injury may result if proper precautions are not taken.

                    CAUTION
             indicates that minor personal injury can result if proper precautions are not taken.

             NOTICE
             indicates that property damage can result if proper precautions are not taken.
             If more than one degree of danger is present, the warning notice representing the highest degree of danger will be
             used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to property
             damage.
Qualified Personnel
             The product/system described in this documentation may be operated only by personnel qualified for the specific
             task in accordance with the relevant documentation, in particular its warning notices and safety instructions.
             Qualified personnel are those who, based on their training and experience, are capable of identifying risks and
             avoiding potential hazards when working with these products/systems.
Proper use of Siemens products
             Note the following:

                    WARNING
             Siemens products may only be used for the applications described in the catalog and in the relevant technical
             documentation. If products and components from other manufacturers are used, these must be recommended or
             approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance
             are required to ensure that the products operate safely and without any problems. The permissible ambient
             conditions must be complied with. The information in the relevant documentation must be observed.

Trademarks
             All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication may
             be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Disclaimer of Liability
             We have reviewed the contents of this publication to ensure consistency with the hardware and software described.
             Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the information in this
             publication is reviewed regularly and any necessary corrections are included in subsequent editions.

             Siemens AG                             A5E39409017B AH                                        Copyright © Siemens AG 2016 - 2021.
             Digital Industries                     Ⓟ 03/2021 Subject to change                            All rights reserved
             Postfach 48 48
             90026 NÜRNBERG
             GERMANY
Table of contents

1      Fundamental safety instructions........................................................................................................... 5
       1.1               General safety instructions................................................................................................... 5
       1.2               Warranty and liability for application examples ..................................................................... 6
       1.3               Security information ............................................................................................................ 7
2      Introduction ........................................................................................................................................... 9
       2.1               General ............................................................................................................................... 9
       2.2               Requirements .................................................................................................................... 10
       2.3               Installing Drive ES PCS7 APL ............................................................................................... 11
       2.4               General Data Protection Regulation .................................................................................... 12
3      APL_G120 block ................................................................................................................................... 13
       3.1               Overview ........................................................................................................................... 13
       3.2               Control block ..................................................................................................................... 15
       3.2.1             Operating modes ............................................................................................................... 15
       3.2.2             Data interface status word ................................................................................................. 16
       3.2.3             States ................................................................................................................................ 17
       3.2.4             Setpoint/process value normalization ................................................................................. 17
       3.2.5             Error response ................................................................................................................... 18
       3.2.6             Startup behavior ................................................................................................................ 20
       3.2.7             Time behavior.................................................................................................................... 20
       3.2.8             Message behavior .............................................................................................................. 20
       3.2.9             User-specific parameterization of the inputs ....................................................................... 22
       3.2.10            Application-specific interconnecting of the inputs ............................................................... 23
       3.2.11            Changing the language for the display device..................................................................... 25
       3.2.12            Coordination of acyclic communication .............................................................................. 27
       3.2.13            Process data interface ........................................................................................................ 28
       3.2.14            I/O bar ............................................................................................................................... 31
       3.2.15            Block call ........................................................................................................................... 39
       3.2.16            Option for compiling the CFC ............................................................................................. 40
       3.3               Faceplate ........................................................................................................................... 41
       3.4               Addressing the drive objects (parameter AxisId).................................................................. 43
       3.5               Block data.......................................................................................................................... 44
4      General information on faceplates...................................................................................................... 45
       4.1               Calling from the faceplate .................................................................................................. 45
       4.2               Scripts ............................................................................................................................... 48
5      Module drivers/Maintenance station .................................................................................................. 51
       5.1               Additional parameters at the control blocks ........................................................................ 51

APL_G120 block
Function Manual, 03/2021, A5E39409017B AH                                                                                                                        3
Table of contents

      5.2               Symbols and their meaning................................................................................................ 52
      5.3               DES_DIAG block ................................................................................................................. 54
      5.4               I/O bar ............................................................................................................................... 56
      5.5               Block data.......................................................................................................................... 57
6     Feature bits of the APL block ............................................................................................................... 59
7     Adapting the telegram length ............................................................................................................. 61
8     WebClient ............................................................................................................................................ 63
9     Simulation............................................................................................................................................ 65
A     Appendix.............................................................................................................................................. 69
      A.1               Status1 .............................................................................................................................. 69
      A.2               Tips and tricks.................................................................................................................... 70
B     List of abbreviations ............................................................................................................................ 71
      B.1               Abbreviations .................................................................................................................... 71

                                                                                                                                      APL_G120 block
4                                                                                                         Function Manual, 03/2021, A5E39409017B AH
Fundamental safety instructions                                                                              1
1.1              General safety instructions

                           WARNING
                     Danger to life if the safety instructions and residual risks are not observed
                     If the safety instructions and residual risks in the associated hardware documentation are not
                     observed, accidents involving severe injuries or death can occur.
                     • Observe the safety instructions given in the hardware documentation.
                     • Consider the residual risks for the risk evaluation.

                           WARNING
                     Malfunctions of the machine as a result of incorrect or changed parameter settings
                     As a result of incorrect or changed parameterization, machines can malfunction, which in turn
                     can lead to injuries or death.
                     • Protect the parameterization against unauthorized access.
                     • Handle possible malfunctions by taking suitable measures, e.g. emergency stop or
                        emergency off.

APL_G120 block
Function Manual, 03/2021, A5E39409017B AH                                                                         5
Fundamental safety instructions
1.2 Warranty and liability for application examples

1.2             Warranty and liability for application examples
                   Application examples are not binding and do not claim to be complete regarding configuration,
                   equipment or any eventuality which may arise. Application examples do not represent specific
                   customer solutions, but are only intended to provide support for typical tasks.
                   As the user you yourself are responsible for ensuring that the products described are operated
                   correctly. Application examples do not relieve you of your responsibility for safe handling when
                   using, installing, operating and maintaining the equipment.

                                                                                                        APL_G120 block
6                                                                           Function Manual, 03/2021, A5E39409017B AH
                                                                                     Fundamental safety instructions
                                                                                             1.3 Security information

1.3              Security information
                     Siemens provides products and solutions with industrial security functions that support the
                     secure operation of plants, systems, machines and networks.
                     In order to protect plants, systems, machines and networks against cyber threats, it is necessary
                     to implement – and continuously maintain – a holistic, state-of-the-art industrial security
                     concept. Siemens’ products and solutions constitute one element of such a concept.
                     Customers are responsible for preventing unauthorized access to their plants, systems,
                     machines and networks. Such systems, machines and components should only be connected to
                     an enterprise network or the internet if and to the extent such a connection is necessary and only
                     when appropriate security measures (e.g. firewalls and/or network segmentation) are in place.
                     For additional information on industrial security measures that may be implemented, please
                     visit
                     https://www.siemens.com/industrialsecurity (https://www.siemens.com/industrialsecurity).
                     Siemens’ products and solutions undergo continuous development to make them more secure.
                     Siemens strongly recommends that product updates are applied as soon as they are available
                     and that the latest product versions are used. Use of product versions that are no longer
                     supported, and failure to apply the latest updates may increase customer’s exposure to cyber
                     threats.
                     To stay informed about product updates, subscribe to the Siemens Industrial Security RSS Feed
                     under
                     https://www.siemens.com/industrialsecurity (https://new.siemens.com/global/en/products/
                     services/cert.html#Subscriptions).
                     Further information is provided on the Internet:
                     Industrial Security Configuration Manual (https://support.industry.siemens.com/cs/ww/en/
                     view/108862708)

                           WARNING
                     Unsafe operating states resulting from software manipulation
                     Software manipulations, e.g. viruses, Trojans, or worms, can cause unsafe operating states in
                     your system that may lead to death, serious injury, and property damage.
                     • Keep the software up to date.
                     • Incorporate the automation and drive components into a holistic, state-of-the-art industrial
                        security concept for the installation or machine.
                     • Make sure that you include all installed products into the holistic industrial security concept.
                     • Protect files stored on exchangeable storage media from malicious software by with suitable
                        protection measures, e.g. virus scanners.
                     • On completion of commissioning, check all security-related settings.

APL_G120 block
Function Manual, 03/2021, A5E39409017B AH                                                                             7
Fundamental safety instructions
1.3 Security information

                                                              APL_G120 block
8                                 Function Manual, 03/2021, A5E39409017B AH
Introduction                                                                                                 2
2.1              General
                     The control blocks and associated faceplates of Drive ES PCS7 APL integrate the SINAMICS drives
                     into the SIMATIC PCS 7 process control system.
                     This manual describes the function and handling of the blocks of Drive ES PCS7 APL.

APL_G120 block
Function Manual, 03/2021, A5E39409017B AH                                                                          9
Introduction
2.2 Requirements

2.2            Requirements

Hardware
                   The product Drive ES PCS7 APL is an add-on product for SIMATIC PCS 7
                   For the prerequisites, refer to the readme file of SIMATIC PCS 7 for which this product has been
                   released.

Software
                   The product Drive ES PCS7 APL is an add-on product for SIMATIC PCS 7
                   For the prerequisites, refer to the readme file of SIMATIC PCS 7 for which this product has been
                   released.

References
                   Notes on the installation of SIMATIC PCS 7 is available in the product-specific readme file.

                                                                                                         APL_G120 block
10                                                                           Function Manual, 03/2021, A5E39409017B AH
                                                                                                       Introduction
                                                                                    2.3 Installing Drive ES PCS7 APL

2.3              Installing Drive ES PCS7 APL

                     Note
                     Readme file
                     Also read the information in the readme file.

Procedure
                     1. Insert the CD Drive ES PCS7 APL in the CD-ROM drive of your PG/PC.
                     2. Double-click "Setup.exe".
                        All the other information you need will be provided during the installation process.
                        – The control blocks of the automation system (AS) are installed in the directory of STEP 7
                          > "s7libs".
                        – The components of the faceplates of the operator station (OS) are installed in the
                          directory of SIMATIC WinCC.
                     3. You must carry out further steps before working with the faceplates. The detailed procedure
                        for this can be found in the descriptions of the individual blocks.

                     Note
                     Execute setup on every computer
                     Execute the setup on every computer on which the faceplates are used. This means that the
                     components of SIMATIC WinCC must be installed on all OS servers and OS clients. It is not
                     sufficient to simply copy the project from the engineering station to the server/client.

APL_G120 block
Function Manual, 03/2021, A5E39409017B AH                                                                        11
Introduction
2.4 General Data Protection Regulation

2.4            General Data Protection Regulation

Compliance with the General Data Protection Regulation
                  Siemens respects the principles of data protection, in particular the data minimization rules
                  (privacy by design).
                  For this product, this means:
                  The product does not process neither store any person-related data, only technical function data
                  (e.g. time stamps). If the user links these data with other data (e.g. shift plans) or if he stores
                  person-related data on the same data medium (e.g. hard disk), thus personalizing these data, he
                  has to ensure compliance with the applicable data protection stipulations.

                                                                                                         APL_G120 block
12                                                                           Function Manual, 03/2021, A5E39409017B AH
APL_G120 block                                                                                                3
3.1              Overview

Area of application
                     The block integrates a device of the SINAMICS G120 into the SIMATIC PCS 7 process control
                     system.
                     The following SINAMICS G120 products are supported:
                     • G120, with CU240 up to Version 3.x

                     Note
                     SINAMICS G120 Version 4.2 or higher, use block APL_GS
                     For the SINAMICS G120 Version 4.2 or higher, use the APL_GS block to ensure the correct
                     assignment of the fault texts to the fault numbers in the message archive.

                     The block supports the standard functionality of a SINAMICS with respect to control by a
                     SIMATIC S7 and operator control and monitoring from an operator station.
                     Communication between the converter and SIMATIC is handled via PROFIBUS DP or
                     PROFINET IO, depending on the device design (DP/PN).

Type/number
                     FB1722
                     You can change the block number.

Calling OBs
                     • The cyclic interrupt OB, e.g. OB35.
                     The block must be installed with the same instance in the following OBs. Installation in the CFC
                     takes place automatically:
                     • OB100
                       For start identification

Function
                     The APL_G120 block offers the following functionality:
                     • Transfer of the setpoints specified by the MotSpdCL block to the drive.
                     • Receipt of process values provided by the drive and transfer to the MotSpdCL block.
                     • Generate signals which trigger alarms for WinCC at the MotSpdCL block.

APL_G120 block
Function Manual, 03/2021, A5E39409017B AH                                                                         13
APL_G120 block
3.1 Overview

                 • Detailed information about drive faults.
                 • Simulation mode with additional inputs and outputs for the connection of an external drive
                   simulation (a simulation block is included in the library).

Boundary condition
                 • You can use the block with SIMATIC PCS 7 Version 8.2 or higher.
                 • The block is CIR-capable. It should be noted that when inserting the block in a CFC chart, the
                   input Restart is set to TRUE. The setting is necessary because the block has startup
                   characteristics, see Chapter: Startup behavior (Page 20)
                 • The block is integrated into the SIMATIC PCS 7 module driver concept. The functionality of the
                   block is only ensured this way, see Chapter: Module drivers/Maintenance station (Page 51)
                 • The communication interface between SIMATIC and SINAMICS comprises 6 words in both the
                   send direction and receive direction. The interface contains exclusively process data. You also
                   have the capability of exchanging more data, see Chapter: Adapting the telegram length
                   (Page 61).
                 • You must configure a SINAMICS with Drive ES/SIMOTION interface in the hardware
                   configuration of STEP 7. Installation of the slave object manager is a prerequisite for this. For
                   this slave, you configure the Siemens telegram 352.
                 • Make sure that the I addresses and the O addresses begin at the same start address.
                 • To commission the fieldbus communication, parameter assignments for the bus address and
                   the parameterization enable are required in the drive.
                   Further information can be found in the SINAMICS Operating Manual.
                 • The process data must be "wired" by means of parameter assignment on the basic converter
                   to permit data exchange between the fieldbus interface of the SINAMICS G120 and the basic
                   unit itself. In this context, the first word sent from the SIMATIC to the converter is always
                   connected as control word STW1. The first word sent from the converter to the SIMATIC is
                   always connected as status word ZSW1, see Chapter: Process data interface (Page 28).
                 • For the assignment of the process data words and their "wiring" in SINAMICS, refer to the
                   following Chapter: Process data interface (Page 28).
                 • The fault memory of the SINAMICS is read by acyclic access from the SIMATIC master in the
                   case of a fault. The master must thus support the "data record read/write" communication
                   services.
                 • The block does not provide a freely usable parameter assignment interface between SIMATIC
                   and SINAMICS G120. If necessary, the interfaces can be implemented using the blocks
                   PDAT_AC2 and PDAT_UD2. The blocks are included in the DRVDPS7 library.
                 • You can operate a SINAMICS drive in an H system following a Y link. If the drive is integrated
                   in the hardware configuration as DP standard slave (via GSD file) from the "Standard" profile,
                   acyclic communication is not possible. The module driver disables acyclic communication by
                   presetting the block input AcStart = 0. If you enable acyclic communication nevertheless, an
                   error message is output: SFBErr = 1.

                                                                                                        APL_G120 block
14                                                                          Function Manual, 03/2021, A5E39409017B AH
                                                                                                    APL_G120 block
                                                                                                   3.2 Control block

3.2              Control block

3.2.1            Operating modes
                     The operating mode is selected via the APL motor block MotSpdCL.
                     The effective control parameters are applied through interconnection of the APL motor block to
                     the corresponding control inputs, from which the control word is formed.
                     The following operating modes are available:
                     • Control room mode:
                        – Manual/automatic (control word)
                        – Internal/external setpoint
                     • Local mode

Control word
                     The control word is formed from the following input values.

                      Control word Parameter/     Data type Type        Description
                                   fixed value
                      Bit 0          Fwd          BOOL       IN         ON/OFF1
                                     or
                                     Rev
                      Bit 1          Protect      BOOL       IN         OFF2, electrical OFF
                      Bit 2          Trip         BOOL       IN         OFF3, fast stop
                      Bit 3          TRUE         BOOL       IN         Inverter enable
                      Bit 4          TRUE         BOOL       IN         Ramp-function generator enable
                      Bit 5          TRUE         BOOL       IN         Start ramp-function generator
                      Bit 6          TRUE         BOOL       IN         Setpoint enable
                      Bit 7          RstLi        BOOL       IN         Acknowledge
                                     or
                                     RstOp
                      Bit 8          FALSE                              Hard-coded status, see column "Parameter/
                                                                        fixed value"
                      Bit 9          FALSE                              Hard-coded status, see column "Parameter/
                                                                        fixed value"
                      Bit 10         TRUE                               Hard-coded status, see column "Parameter/
                                                                        fixed value"
                      Bit 11         sb_L_DIR     BOOL       STAT       Direction of rotation
                      Bit 12         FALSE                              Hard-coded status, see column "Parameter/
                                                                        fixed value"
                      Bit 13         FALSE                              Hard-coded status, see column "Parameter/
                                                                        fixed value"

APL_G120 block
Function Manual, 03/2021, A5E39409017B AH                                                                           15
APL_G120 block
3.2 Control block

                    Control word Parameter/       Data type Type            Description
                                 fixed value
                    Bit 14         FALSE                                    Hard-coded status, see column "Parameter/
                                                                            fixed value"
                    Bit 15         FALSE                                    Hard-coded status, see column "Parameter/
                                                                            fixed value"

                    The direction of rotation is specified, adapted to the behavior of a MASTERDRIVES, via the
                    following inputs:

                    Parameter      Data type      Type        Description
                    Fwd            BOOL           IN          Enable positive direction of rotation
                    Rev            BOOL           IN          Enable negative direction of rotation

                    Fwd            Rev            Reaction in control word or setpoint
                    0              0              sb_L_DIR = 0; setpoint = 0
                    1              0              sb_L_DIR = 0; absolute value of the setpoint
                    0              1              sb_L_DIR = 1; absolute value of the setpoint
                    1              1              sb_L_DIR = 0; setpoint >= 0
                                                  sb_L_DIR = 1; setpoint < 0

3.2.2            Data interface status word
                    The block outputs the status word 1 of the drive at its output interface bit by bit.

Overview

                    Status word    Parameter/          Data type Type           Description
                                   fixed value
                    Bit 0          ReadyOn             BOOL      OUT            =1: Ready to switch on
                    Bit 1          Op                  BOOL      OUT            =1: Ready to operate
                    Bit 2          FbkRunOut           BOOL      OUT            =1: Operation released
                    Bit 3          GrErr               BOOL      OUT            =1: Group fault drive
                    Bit 4          ForceAct            BOOL      OUT            =1: No OFF2
                    Bit 5          TripAct             BOOL      OUT            =1: No OFF3
                    Bit 6          Lockout             BOOL      OUT            =1: Power-on inhibit active
                    Bit 7          sb_ALARM            BOOL      OUT            =1: Warning
                    Bit 8          SP_Dev              BOOL      OUT            =1: Speed setpoint/process value differ‐
                                                                                    ence within tolerance
                    Bit 9          PCD                 BOOL      OUT            =1: PLC control requested
                    Bit 10         Comp                BOOL      OUT            =1: Comparison value reached
                    Bit 11         NoCurLim_Act        BOOL      OUT            =1: No warning "Motor at current limit"
                    Bit 12         Brake               BOOL      OUT            =1: Motor brake not active
                    Bit 13         NoMotOver           BOOL      OUT            =1: No motor overload

                                                                                                              APL_G120 block
16                                                                                Function Manual, 03/2021, A5E39409017B AH
                                                                                                            APL_G120 block
                                                                                                           3.2 Control block

                      Status word    Parameter/         Data type Type            Description
                                     fixed value
                      Bit 14         Fwd_Rev            BOOL           OUT        =1: Positive direction of rotation
                                                                                  =0: Negative direction of rotation
                      Bit 15         NoInvOver          BOOL           OUT        =1: No converter overload

3.2.3            States

Overview
                     The following states are defined:

                      State                        Description                                              Parameter
                      OFF                          Drive is switched off, main contactor off,               FbkOffOut
                                                   ON command not present
                      Fault                        Group fault drive                                        GrErr
                      STOP                         Drive ready for operation,                               FbkStopOut
                                                   main contactor on, inverter locked
                      Running                      Inverter and setpoint are released                       FbkRunOut
                      Switching on inhibited       Switching on of drive is inhibited                       Lockout

3.2.4            Setpoint/process value normalization
                     The main and additional setpoint are converted to normalized values using a factor calculated
                     in the startup routine The setpoint is multiplied by this factor; the main process value is divided
                     by this value.
                     The factor is calculated as follows: 16384/FactorRPM.
                     If the motor speed deviates from the actual machine speed (gearbox), the gear ratio is specified
                     by an factorGU. In this case, the factor for the setpoint and process value is made up as follows:
                     16384/(FactorRPM * FactorGU).
                     You have to normalize the freely-selectable setpoints yourself.
                     The current and torque process values are also converted to a physical value using the factors
                     calculated in the startup routine. The process values are divided by the respective factor.
                     The factor for the current is calculated as follows: 16384/FactorCPV.
                     For the factor for the torque, the following applies accordingly: 16384/FactorTPV.
                     The same applies to freely selectable process values as for freely-selectable setpoints.

Overview
                     In the startup routine, e.g. processing after restart, rack failure or setting the input restart, the
                     factors are calculated as shown above.

APL_G120 block
Function Manual, 03/2021, A5E39409017B AH                                                                                17
APL_G120 block
3.2 Control block

                    The table below shows the parameters of the SINAMICS G120 that must be specified at the
                    corresponding input parameters of the block.

                    Parameter         Data type Type         Description
                    FactorRPM         REAL       IN          Reference speed/reference frequency, p2000
                    FactorGU          REAL       IN          Gear ratio
                    FactorCPV         REAL       IN          Reference current, p2002
                    FactorTPV         REAL       IN          Reference torque, p2003

                    Note
                    Faceplate display
                    • You define whether frequency, speed or % is displayed in the faceplate. At the FactorRPM
                       input, you enter the value to which 16#4000 corresponds. I.e. if 3000 is at the FactorRPM
                       input, then 3000 = 16#4000.
                    • If the speed of the machine is to be entered and displayed instead of the motor speed, specify
                       0.1 at the FactorGU input for a motor/machine transmission ratio of 10:1.

3.2.5            Error response

Overview
                    The following errors are signaled by the block:

                    Parameter         Data type Type         Description
                    AcErrorNum        WORD       OUT         RET_VAL of SFB52/53, error number
                    MODF              BOOL       IN          =1: System detected a slave failure
                    PERAF             BOOL       IN          =1: System has detected an error while updating the proc‐
                                                                 ess image
                    DatErr            BOOL       OUT         =1: Group error communication
                                                                  •   SndErr
                                                                  •   RcvErr
                                                                  •   ReqErr
                                                                  •   WdogErr
                                                                  •   SFBErr
                    Err               BOOL       OUT         =1: Group error
                                                                  •   ParErr
                                                                  •   RackErrOut
                                                                  •   MODF
                                                                  •   PERAF
                                                                  •   DatErr
                    GrErr             BOOL       OUT         =1: Drive fault
                    ParErr            BOOL       OUT         =1: Normalization factors = 0

                                                                                                            APL_G120 block
18                                                                              Function Manual, 03/2021, A5E39409017B AH
                                                                                                          APL_G120 block
                                                                                                          3.2 Control block

                      Parameter         Data type Type          Description
                      RackErrOut        BOOL        OUT         =1: Rack failure
                      RcvErr            BOOL        OUT         =1: Cyclic communication error
                      RcvErrorNum       WORD        OUT         Status SFC14: DPRD_DAT
                      RACKF             BOOL        IN          =1: System has detected a rack failure
                      ReqErr            BOOL        OUT         =1: Parameter assignment request (DS47) completed with
                                                                    errors:
                                                                     response ID = 0x81 = error during read job
                                                                     Possible cause: e.g. wrong axis ID
                                                                     Further possible causes can be found in the "Function
                                                                     Manual SINAMICS S120 Drive Functions" (FH1), Table
                                                                     10-57
                      SndErr            BOOL        OUT         =1: Cyclic communication error
                      SndErrorNum       WORD        OUT         Status SFC15: DPWR_DAT
                      SFBErr            BOOL        OUT         =1: SFB error during data transmission with SFB52/53
                      WdogErr           BOOL        OUT         =1: No plausible response data within the monitoring time

                     If there are the following errors, the drive is no longer accessed:
                     • ParErr
                     • RackErrOut
                     • MODF
                     • PERAF
                     A restart in the block is only executed when this error has been eliminated.

Drive fault
                     If the drive reports "Fault" in the status word, GrErr = 1 is set and the fault memory of the drive
                     is read. Thus you receive further information about the drive fault.
                     See the following Chapter: Coordination of acyclic communication (Page 27)

Data interface fault memory
                     The following fault information is read by the block and displayed in the "Drive fault" control field:

                      Parameter         Data type Type          Description
                      ErrNum1           DINT        OUT         Fault number 1
                      ErrVal1           DWORD       OUT         Fault value for fault number 1
                      ErrNum2           DINT        OUT         Fault number 2
                      ErrVal2           DWORD       OUT         Fault value for fault number 2
                      ErrNum3           DINT        OUT         Fault number 3
                      ErrVal3           DWORD       OUT         Fault value for fault number 3
                      ErrNum4           DINT        OUT         Fault number 4
                      ErrVal4           DWORD       OUT         Fault value for fault number 4
                      ErrNum5           DINT        OUT         Fault number 5

APL_G120 block
Function Manual, 03/2021, A5E39409017B AH                                                                               19
APL_G120 block
3.2 Control block

                    Parameter         Data type Type          Description
                    ErrVal5           DWORD       OUT         Fault value for fault number 5
                    ErrNum6           DINT        OUT         Fault number 6
                    ErrVal6           DWORD       OUT         Fault value for fault number 6
                    ErrNum7           DINT        OUT         Fault number 7
                    ErrVal7           DWORD       OUT         Fault value for fault number 7
                    ErrNum8           DINT        OUT         Fault number 8
                    ErrVal8           DWORD       OUT         Fault value for fault number 8

3.2.6            Startup behavior

Overview
                    • Read in the logical base address and the diagnostic address of the slave.
                    • Calculate the normalization factor from the reference variables, which are specified at the
                      following inputs:
                       – FactorRPM
                       – FactorGU
                       – FactorCPV
                       – FactorTPV
                    You can also perform the tasks above by setting the Restart input The Restart input is reset by the
                    block.
                    After a restart, there is a wait period for a parameterizable number of cycles before you can
                    operate the drive.

3.2.7            Time behavior
                    The block has no time behavior.

3.2.8            Message behavior
                    Message generation for SIMATIC WinCC is implemented via SFB 35 (ALARM_8P). This SFB is
                    integrated in the block as instance.

                                                                                                           APL_G120 block
20                                                                             Function Manual, 03/2021, A5E39409017B AH
                                                                                                          APL_G120 block
                                                                                                          3.2 Control block

Overview

                      Message        Block parame‐        Block parame‐       Default text                        Mes‐
                      number         ter                  ter                                                     sage
                      MotSpdCL       APL_G120             MotSpdCL                                                class

                      6              Gr_Err               Ext Msg 1           Fault drive no.: @4%d@;             S
                                                                              @4W%t#TextbibSG@
                      7              Alarm                Ext Msg 2           Warning drive no.: @5%d@;           F
                                                                              @5W%t#TextbibSG@
                      8              Err                  Ext Msg 3           @6W%t#TextbibGen@                   S

                      Message        Description
                      class
                      F              AS control system message fault
                      S              AS control system message failure
                      A              Alarm message
                      W              Warning

                     The following associated values for message generation must be provided for the MotSpdCL
                     block.

                      Block parameter         Input associated value           Use in message                     Mes‐
                      APL_G120                MotSpdCL                                                            sage
                                                                                                                  class
                      ErrNum                  ExtVal106                        Ext Msg 3                          S
                      AlarmNum                ExtVal105                        Ext Msg 2                          F
                      GrErrNum                ExtVal104                        Ext Msg 1                          S

                     The error texts of the drives are dynamically inserted into the message with the help of user text
                     libraries. The associated value provides the index for the current text in the text library. A
                     placeholder is entered at the location where the dynamic text is to be displayed.
                     The user text libraries are part of the library. Always copy these libraries into the projects as well.
                     The following text libraries are used:

                      Text library            Description
                      TextbibG120             Fault texts SINAMICS G120
                      TextbibGen              General error texts for all versions

                     You will find more information on user text libraries in the online help for SIMATIC PCS 7 under
                     the keyword "User text libraries".

APL_G120 block
Function Manual, 03/2021, A5E39409017B AH                                                                                 21
APL_G120 block
3.2 Control block

3.2.9            User-specific parameterization of the inputs

Overview
                    You must parameterize the block inputs listed below application-specifically:

                    Parameter        Data type Type       Description
                    AxisId           BYTE        IN       Module ID of the drive object to be addressed
                                                          See Chapter:
                                                          Addressing the drive objects (parameter AxisId) (Page 43)
                    DADDR            INT         IN       Diagnostic address of the slave
                                                          With the use of the module driver, the parameter is automat‐
                                                          ically provided with the corresponding values.
                                                          See Chapter:
                                                          Option for compiling the CFC (Page 40)
                                                          Module drivers/Maintenance station (Page 51)
                    FactorCPV        REAL        IN       Reference current, p2002
                    FactorGU         REAL        IN       Gear ratio
                    FactorRPM        REAL        IN       Reference frequency, p2000
                    FactorTPV        REAL        IN       Reference torque, p2003
                    FautEn           BOOL        IN       =1: Fault number in PZD6
                    LADDR            INT         IN       Logical base address of the slave
                                                          With the use of the module driver, the parameter is automat‐
                                                          ically provided with the corresponding values.
                                                          See Chapter:
                                                          Option for compiling the CFC (Page 40)
                                                          Module drivers/Maintenance station (Page 51)
                    WH_MS_Days       INT         IN       Time until maintenance (M): low requirement
                    AH_MS_Days       INT         IN       Time until maintenance (M): medium requirement
                    MsgLen_PV        INT         IN       Telegram length process values
                                                          See Chapter: Adapting the telegram length (Page 61)
                    MsgLen_SP        INT         IN       Telegram length setpoints
                                                          See Chapter: Adapting the telegram length (Page 61)
                    RunUpCyc         INT         IN       Number of cycles to be waited after a restart before messages
                                                          are generated and the drive can be started.
                    VALUE            WORD        IN       Input value: Start address of the first slot of the drive
                                                          See Chapter:
                                                          Module drivers/Maintenance station (Page 51)
                    WarnEn           BOOL        IN       =1: Warning number in PZD5

                    You have to parameterize the following inputs:
                    • VALUE
                    • DADDR
                    • LADDR
                    The remaining inputs have default values that can be changed specifically for the application.

                                                                                                           APL_G120 block
22                                                                             Function Manual, 03/2021, A5E39409017B AH
                                                                                                           APL_G120 block
                                                                                                           3.2 Control block

                     The inputs WarnEn and FaultEn can be used to parameterize whether the following is to be
                     transferred in the 5th and 6th word of the PZD communication:

                     Warning num‐      WarnEn     = TRUE;       Warning number is transferred to WinCC in associ‐
                     ber:                                       ated value 5.
                     Fault number:     FaultEn    = TRUE;       Fault number is transferred to WinCC in associated
                                                                value 4.
                     Process values: WarnEn       = FALSE;      0 is transferred to WinCC in associated value 5.
                                     FaultEn      = FALSE;      0 is transferred to WinCC in associated value 4.
                     You can re-parameterize the message such that no associated value is shown in the message
                     text.
                     Further information can be found in the following chapter: Message behavior (Page 20)

3.2.10           Application-specific interconnecting of the inputs

Overview
                     You must interconnect the block inputs listed below application-specifically:

                      Parameter         Data type Type       Description
                      AcStart           BOOL      IN         Interlock "Read out fault memory"
                                                             =0: Acyclic communication channel to the drive is used by
                                                                 another application. Fault memory may not be read out.
                                                             =1: Acyclic communication channel to drive is free. Fault
                                                                 memory may be read out.
                      Fwd               BOOL      IN         Enable positive direction of rotation: clockwise rotation
                      Rev               BOOL      IN         Enable negative direction of rotation: counter-clockwise rota‐
                                                             tion
                      RstMSLi           BOOL      IN         Interconnectable input to reset maintenance requirement.
                                                             The operating hours counter is reset to 0.
                      RstLi             BOOL      IN         Acknowledge
                      Protect           BOOL      IN         OFF2 (electrical OFF)
                      InvEn             BOOL      IN         Inverter enable (bit 3 in the control word)
                      MODF              BOOL      IN         =1: System detected a slave failure.
                                                                  With the use of the module driver,
                                                                  the parameter is automatically interconnected.
                                                                  See Chapter:
                                                                  Option for compiling the CFC (Page 40)
                      Trip              BOOL      IN         OFF3 (quick stop)
                      PERAF             BOOL      IN         I/O access error when the system updates the process image.
                                                             With the use of the module driver,
                                                             the parameter is automatically interconnected.
                                                             See Chapter:
                                                             Option for compiling the CFC (Page 40)

APL_G120 block
Function Manual, 03/2021, A5E39409017B AH                                                                                23
APL_G120 block
3.2 Control block

                    Parameter          Data type Type        Description
                    RACKF              BOOL        IN        Rack failure
                                                             With the use of the module driver,
                                                             the parameter is automatically interconnected.
                                                             See Chapter:
                                                             Option for compiling the CFC (Page 40)
                    SP                 REAL        IN        External setpoint

                    If the input "Protect" = FALSE, an OFF2 command (electrical OFF) is sent to the drive.
                    If the input "Trip" = FALSE, an OFF3 command (quick stop) is sent to the drive.
                    The "Read fault memory" function can be interlocked via the "AcStart" input. This interlocking is
                    nec

Показано початок документа. Повний текст — у PDF за посиланням вище.

Документ виробника, опублікований як довідковий матеріал на обладнання, яке ми постачаємо. Правовласник може попросити прибрати його — приберемо.